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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43fc0c269c7414981a803ce73bbb679027e0c08b | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH13/EX13.16/Example13_16.sce | 957097c384af971c7d62a75bfeb4f12121ec0718 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Example13_16.sce | //Transformer frequency fr, Source frequency fs
close();
clear;
clc;
Pr = 500;//VA
ft = 25;//Hz
fs = 60;
V1 = 120;
V2 = 30;
//Maximum permissible primary voltage 'V1max'
V1max = fs/ft*V1;
V2r = fs/ft*V2;
I2r = Pr/V2;
mprintf('Maximum primary voltage = %0.0f V\nrated V2 = %0.0f V\nrated I2 = %0.2f A',V1max,... |
ad1ac1da70eee68b07cf5d831503b818b64dea37 | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-print-UTF-8.tst | 2d69bdc50b2af7904996d69ee6a633b7e018a358 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | tst | test-print-UTF-8.tst | FLAGS='--print UTF-8'
STDIN=''
STDOUT='\xef\xbb\xbf'
STDERR=''
EXITVAL='0'
|
1f152f078b13b881664f27ef1fcfcdfa428c0992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH1/EX1.1/Example1_1.sce | 0c77d737c305c1921fc23d9ae62a80c59b2390f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | Example1_1.sce | //Illustrating that a small error in data provided can result in big errors.
//with original equations
//X+Y=2 & X+1.01Y=2.01
clear;
clc;
close();
A=[1 1;1 1.01];
B=[2 2.01]';
x=A\B;
disp(x,'Solutions are :')
x=linspace(-0.5,1.5);
y1=2-x;
y2=(2.01-x)/1.01;
subplot(2,1,1);
plot(x,y1)
plot(x,y2,'r')
xtitl... |
5571233e79975f5d0da8914a0cfd41c4c1d6e337 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH3/EX3.13/Ex3_13.sce | f4d3590d05605cc9cb5c5e879ca52f64082431ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | Ex3_13.sce | clc
// Example 3.13.py
// In example 3.12, what is the length of the duct required to choke the flow//
// Variable declaration from example 3.12
M1 = 3.0 // mach number
C1 = 0.5222 // C1 = 4*f*L1star/D
f = 0.005 // friction coefficient
D = 0.4 // diameter of pipe (in ft)
// Calculati... |
3e668a8171d2fce912a4e41870bb7debb382969b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.28/2_18_28.sce | 5f4155bd95bdeca56902e3341b26e437c313787e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 839 | sce | 2_18_28.sce | //water and its treatment//
//example 2.18.28//
clc
Purity_Lime=.89
Purity_soda=.95
W1=14.6;//amount of HCl in ppm//
W2=34.2;//amount of Al2(SO4)3 in ppm//
W3=9.5;//amount of MgCl2 in ppm//
W4=30;//amount of KCl in ppm//
M1=100/(2*36.5);//multiplication factor of HCl//
M2=(3*100)/342.3;//multiplication fa... |
105e61eba693b049daf5017eecffd754ea8c64e6 | 14f70bf0434ef1ebb3565a343b34c7317fbc85ac | /PSO_inertial_MP_LT.sci | 363e939b532f3b0af7b606e127bf6eb3618411fc | [] | no_license | tyllukasz/PSO-structural-optimizations | 042d409bb45a0d6c18efc84ff66939705aa41ac5 | 9f2166eb907725555aeffa28f91eb620fee8fc78 | refs/heads/master | 2023-07-10T09:58:00.895902 | 2021-08-23T17:05:09 | 2021-08-23T17:05:09 | 382,402,067 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,939 | sci | PSO_inertial_MP_LT.sci | //Algorytm PSO z waga inercji
//mode(-1) //usuniecie echa
//jawne deklaracje wektorow i macierzy
clear
stacksize('max')
//wczytanie parametrow konstrukcji - potrzebne modulowi MES do obliczenia funkcji celu
//exec('mes_parametry_trojkat.sce');
//exec('mes_parametry_platforma.sce');
exec('mes_parametry_krato... |
aef4e6a97d3502cf855179c78e5d5b23d74e8d42 | 84f37612dfa9cc8828df9e23d769031cf9690814 | /if_statement.sce | f500d6d6d07d60a43099e8a3928764b3f0e6c311 | [] | no_license | gauravdhokre/scilab_workspace | 9d5669039cc5e49986fc88fcd0753cd1231478fc | 754b382fa5736b3d8e7ea5776221f6502ae81d54 | refs/heads/master | 2021-01-21T13:26:10.871775 | 2017-09-01T14:53:53 | 2017-09-01T14:53:53 | 102,122,774 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | sce | if_statement.sce | if (%f) then
disp("hello")
else
disp("hi")
end
|
30fb1c02fe12c4c428450ab97d97ee6e49a293f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH1/EX1.3/Example1_3.sce | c806f83b2d1eb50002672b4ef933c760abf07672 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Example1_3.sce | //Caption:Program to calculate number of samples required for an image
//Example1.3
//page 12
clc;
close;
//dimension of the image in inches
m = 4;
n = 6;
N = 400; //number of dots per inch in each direction
N2 = 2*N; //number of dots per inch in both horizontal & vertical
Fs = m*N2*n*N2;
disp(Fs,'Number of ... |
e6d08e50e467a68161bc90f43feccd2746166d63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH7/EX7.23/7_23.sce | 1df53a024e646d0820e719263a5d8ff641d45f16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | 7_23.sce | //pathname=get_absolute_file_path('7.23.sce')
//filename=pathname+filesep()+'7.23-data.sci'
//exec(filename)
//Mass of water(in kg):
m=75
//Temperature of hot water(in K):
T1=400+273
//Final temperature(in K):
T2=300
//Temperature of the environment(in K):
T0=27+273
//Specific heat of water(in kJ/kg.K):
Cp=... |
ce73d900f11775385e1f6a73a736590137367ff5 | 6afc7fb4c7404da6523ba7b016531b1fc4ea53d6 | /Scilab/Scilab1/prog1.txt | 43bdadab7245a50f3a1ed7e2a1ec622b72198c4a | [] | no_license | GarageInc/old-university-projects | 8867bb29e0229f56c4996a6e7241648d8db7ec19 | fb50c5273b58898ecde0a351e694929a8fa1ad81 | refs/heads/master | 2021-06-04T21:09:51.305920 | 2016-09-26T15:51:19 | 2016-09-26T15:51:19 | 50,765,728 | 5 | 6 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | txt | prog1.txt | function [r] = prog1(d, O, y)
i = 1;
for a = (d + 2):0.5:(d + 4)
r(i) = sin(a + O + y) * sin(a + O + y) + sin((O + y) / a);
i = i + 1;
end
endfunction
|
7976c24a30a988dc2ad8030a97dfe9acaf0cb13b | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/n2reject.tst | 22971014694c4d106f30026a69d1c428efdce49d | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,871 | tst | n2reject.tst | # Nitrogen Rejection Unit (from old Hysim manual)
units Field
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + Nitrogen Methane Ethane PROPANE
thermo + ISOBUTANE n-BUTANE ISOPENTANE n-PENTANE
hp_feed = Stream.Stream_Material()
hp_ovhd = Stream.Stream_Material()
hp_btms = Stream.Stream_Material()
cd hp_f... |
bd351d1dd1a1fff31bb9cbb5b6936a689991b6f1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/fraclab/mtlb_diff.sci | 350af84692c273b18128407dee2f7c4642e1295e | [
"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,490 | sci | mtlb_diff.sci | function [y] = mtlb_diff(x,order)
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right to use modify the Software,
// integrate... |
403749be9b3e81e837bdc0a8e3ed6973ad5b5e88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH13/EX13.2/CKJ_2.sce | bd3da83108fca42d091979e0eb8ec5c5142c2ba8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | CKJ_2.sce | // sum 13-2
clc;
clear;
P=40*10^3;
sigut=490;
FOS=4;
sigts=sigut/FOS;
sigcs=1.4*sigts;
sigs=0.8*sigts;
d=sqrt((4*P)/(%pi*sigts));
d=21;
sigcc=1.4*330/4;
Tc=0.8*330/4;
t=d/3;
b=P/(2*t*Tc);
b=31;
t=10;
d1=28;
d2=40;
c=d/2;
c=15;
a=P/(2*(d2-d1)*98);
a=20;
L=(2*a)+(2*b)+(2*c)+(2*3);
// printing ... |
c4f30268d54ffe207b8770cc4ca9c794aae8b078 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH2/EX2.2/ex2_2.sce | dbd97dca9a3649d3cee69cd9041a3b4d50cbbe8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | ex2_2.sce |
//Exa:2.2
clc;
clear;
close;
//Given:
L=50*10^-6;//henry
C=10^-9;//in farads
f=1/(2*%pi*sqrt(L*C));
printf("\n\n\t total power of modulated signal = %f Hz ",f); |
172167f7a6441ad3057cd52a90edd45414d38b55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH3/EX3.7/Example_3_7.sce | 81f9e705dc3ef407a0121f10ca35fe40b578d4d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 997 | sce | Example_3_7.sce | //Chemical Engineering Thermodynamics
//Chapter 3
//First Law of Thermodynamics
//Example 3.7
clear;
clc;
//Given
m = 5000;//Amount of steam recived per hour in Kg
H1 = 666;//Specific enthalpy when steam entered in the turbine in Kcal/Kg
H2 = 540;//Specific enthalpy when steam left the turbine in Kcal/Kg
... |
4534beffa99042cf8d01d7a73d88c96c6e1e89dd | 12d519f18a15ef7423dffa1727cb877966fcf913 | /scilab/get_custos_implantacao.sce | e9ca08db81143fda35b6873c8eb7d22bb11d1df3 | [] | no_license | gviolato/gviolato.github.io | e9b799bf61dd345fe06760ebc296f49f467347b7 | 190748c14c115f63e366d2244a572de08daa7e5e | refs/heads/master | 2021-01-17T15:29:43.924914 | 2017-01-25T23:33:53 | 2017-01-25T23:33:53 | 22,399,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,506 | sce | get_custos_implantacao.sce | function [custo_MW_instalado] = get_custos_implantacao(parametros,verbose,arquivo_xls)
// ------------------------------------------------------------------
// //-----//-----// MODELAGEM DE MASSAS E CUSTOS \\-----\\-----\\
// ------------------------------------------------------------------
//
//
// Au... |
d5018ce71507dd5994060529f109a3a6061334f9 | a6af5644f4bd8bae3050c4aa8784fc7f67012528 | /mirror.sce | 163aff76042e9edd4c6ca504980c68a788a8eeac | [] | no_license | kalliopiioumpa/mirror | b1a46d4adafbef54f1aa41e8fcf341d2959c3093 | aaa809085991f4f291cbe63c600c0618cadeea8f | refs/heads/master | 2021-01-20T02:46:53.006916 | 2017-04-26T07:35:46 | 2017-04-26T07:35:46 | 89,452,020 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,182 | sce | mirror.sce | ####### INITIATION ####### sce
scenario = "mirror";
pcl_file = "mirrorMAIN.pcl";
active_buttons = 7; # na do o arithmos ton kato
button_codes = 1,2,3,4,5,6,7; # na do WAS BUTTON BOX SPECIFIC
default_background_color = 0, 0, 0;
default_font = "arial";
default_font_size = 20;
default_text_color = 235, 235... |
4a4acfb6abec094a20d7dd8ed3ea1cda0a1c7b83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH6/EX6.3.7/6_3_7.sce | a0d8ffeebc8ba78eee81241e597ec99d054aa434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | 6_3_7.sce | disp('Vectors u1 u2 and y are')
u1=[1;3;-2]
u2=[5;1;4]
y=[1;3;5]
disp(y,'y=',u2,'u2=',u1,'u1=')
disp('u1.u2=')
a=u1'*u2
disp(a,'=')
disp('Hence, {u1 u2} form an orthogonal basis.')
disp('Let W=span{u1 u2}')
disp('Therefore, projection of y on W is:')
disp('((y.u1)/(u1.u1))*u1+((y.u2)/(u2.u2))*u2')
a1=y'*u1
... |
dcb82ddc27305663af1ba29c6469c52f9483288b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/robust/h2norm.sci | 8a38b5c5a8b80f96ac23e77d099847a530f53a42 | [
"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 | 979 | sci | h2norm.sci | function [nh]=h2norm(g,tol)
//
// /+00
// 2 | *
// |g| =1/(2*%pi).|trace[g(jw).g(jw)]dw
// 2 |
// /-00
// Copyright INRIA
if type(g)==1,if norm(g)==0,nh=0,return,end,end,
[lhs,rhs]=argn(0),
if rhs==1 then tol=1000*%eps,end;
g1=g(1);
if g1(1)=='lss' t... |
eaaa8e80f611b3b5946f9370df95f542d7e206aa | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_diff_1_i.tst | 13a88a80afe6a8d8cbc2bbf8a9d4b154aed64b51 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 16 | tst | test_diff_1_i.tst | d3 3
a7 2
x0
x1
|
14e64b8d42d441216a37c816f8a19b4dd81b622a | 9cd37a2b01b865c0bc7e2e6c246bf78efa5cd9cd | /examples/circulo.sce | 683e0e8ef606aacd39d2ec9e3b7c3b794eb34958 | [] | no_license | kenreurisontm/latex-examples | d125ab0422f8e4c7fdd3cee8580c34b2c734b2fb | f93c5361a04fd62b432e61f386be4367cc26a082 | refs/heads/master | 2020-12-30T19:57:40.550479 | 2016-05-15T13:47:16 | 2016-05-15T13:47:16 | 58,808,371 | 0 | 0 | null | 2016-05-14T13:08:36 | 2016-05-14T13:08:36 | null | UTF-8 | Scilab | false | false | 371 | sce | circulo.sce | function [x,y] = circulo(raio)
// c = 1;
// for i=-raio:0.01:raio
// for j=-raio:0.01:raio
// raio2 = i^2 + j^2;
// if (abs(raio - raio2)) < 0.1
// x(c) = i;
// y(c) = j;
// c = c + 1;
// end
// end
// end
t = -%pi:0.1:... |
2d584ddcf47c8a95f608a47a8ee07c13ce8db07c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.29/1_29.sce | bbe75b9163c7a68094b1970e0def28fcd4649b4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | 1_29.sce | //Chapter-1,Example 1_29,Page 1-50
clc()
//As Dn^2=4*n*R*lam.
//thus, Dn is directly proportional to sqaure root of n
D5=sqrt(5) //D5 is directly proportional to sqaure root of 5
D4=sqrt(4) //D4 is directly proportional to sqaure root of 4
k1=D5-D4
printf('Separation between D5 and D4 is directly propo... |
64350225a923b1fffd4c83325284dd62be07e735 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH5/EX5.2/Ex5_2.sce | c725c76a5a4171b8bb73a5606da699bcfe56e643 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | Ex5_2.sce | //Chapter 5
//page no 131
//given
clc;
Di=155; //in Mb/s
sl=10^-3*Di*10^6; //in bitstream
//PRBS=2^x-1=sl;
x=log(sl+1)/log(2);//equation is made to pick value of x
printf("\n PRBS =2^%0.0f -1 \n",x);
|
9e33f9cbadaad6df327d8709754d8850cd051ce9 | 463377b6374a24bbe111707a34e24949f3bd2543 | /compareBJ.sci | 06d2fb80be8440227b2e28c3eed5686bb3650d99 | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,796 | sci | compareBJ.sci | function varargout = compareBJ(varargin)
//varargin(1) -> idpoly data about oe
//varargin(2) -> [y u] matrix of "nx2" dimension
//disp('compareBj')
bjData = varargin(1)
//disp(typeof(bjData))
plantData = varargin(2)
//disp(typeof(plantData))
yData = plantData(:,1)
uData = pl... |
3caeac8b7bf91897180d39fa74fccf5bb25d56f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.30/Ex6_30.sce | 782f132256ab6f0bd8424c0222af4bf913af3d78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 759 | sce | Ex6_30.sce | clear;
clc;
printf("\t\t\tProblem Number 6.30\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.30 (page no. 274)
// Solution
//data given
//mass of 1 kg
T1=500+273; //Celsius temperature converted to Kelvin //final temperature
p2=1; //atm //absolute final pressure
p1=5; //atm //absolute initial pressure
... |
838ab781becd7dea7c97f7c0b9fe4d9edebbf44e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH6/EX6.4/Ex6_4.sce | aa17eabd20e41a038c57bb3fa12f77755b4bfdd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_4.sce | clear
//Initialisation
Vo=15.2 //Output Voltage
Rl=50 //Load Resistance
//Calculation
Po=(Vo**2)/Rl //Output Power
//Result
printf("\n Output Power, Po = %.1f W",Po)
|
30864410a5892f443db8504557ad28b249fc4847 | fce47a4c482ae622563fc72d7643d824cc572edc | /_scilabTP/tp6/cosmetique.sce | 47c146fb1e217e5fcdf1c317de833ade26ef9667 | [] | no_license | ece2lr/ece2lr.github.io | a57ff8852ef06b7cef1c734106f1badd668ebcb1 | 13479dc224e39521c6c387401b889e62a90a8d0b | refs/heads/master | 2021-01-12T12:07:37.196408 | 2017-12-16T19:25:16 | 2017-12-16T19:25:16 | 72,310,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | cosmetique.sce | //cosmétique nuage de points
e = gce() // attraper le résultat du `plot`
courbe = e.children // attraper la courbe
courbe.mark_mode = "on" // dessiner les points
courbe.mark_size = 0 // taille des points
courbe.line_mode = "off" // ne pas joindre les points
courbe.... |
129f6bacd300c78e6c0a61df53e75379cfa9ee6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH8/EX8.5/ex8_5.sce | 67fbe2d768c843bc435709da5412a1f6445b5ca7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex8_5.sce | //ex8.5
R_D=3.3*10^3;
R_L=4.7*10^3;
R_d=(R_D*R_L)/(R_D+R_L); //Equivalent drain resistance
g_m=3.25*10^-3; //from previous question
V_in=100*10^-3; //previous question
V_out=g_m*R_d*V_in;
disp(V_out,'Output voltage rms value in Volts') |
7bff33cde094b9ad8bb38cea3e0561c2a611fb2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH1/EX1.1/Ex_1_1.sce | 6c8686b83b4a8e453fa7e3c0ac1cec6e357d1163 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Ex_1_1.sce | // Exa 1.1
format('v',7);
clc;
clear;
close;
// Given data
G= -100;
R1= 2.2;// in kohm
R1=R1*10^3;// in ohm
// Formula G=-Rf/R1
Rf= -G*R1;
Rf= Rf*10^-3;// in kohm
disp(Rf,"The value of Rf in kohm is ")
|
7fe182e1986c7ad37e7427d9d3c5ddb61dfd8f2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH14/EX14.2/14_2.sce | ffbe9fd543fd00829963cd7848d3cba4e4a7b146 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | 14_2.sce | ////
//Variable Declarations
h = 6.626e-34 //Planks constant, J.s
k = 1.38e-23 //Boltzman constant, J/K
c = 3.0e8 //speed of light, m/s
v = 1.0 //Volume, L
T = 298.0 //Temeprature of Ar, K
m = 6.63e-26 //Mass of Argon molecule, kg
//Calculations
GAMA = h/sqrt(2... |
4cae12b86fcb5a8f0e653e6381d65d30e3466d3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH7/EX7.2/7_2.sci | bdaf110428ea6c4c64b36a6d3ff5577707d4e0be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sci | 7_2.sci | //7.2
clc;
C1=50*10^-12;
r2=1500/%pi;
r3=120;
Cs=C1*r2/r3*10^12;
printf("Cable capacitance=%.1f pF",Cs)
C2=0.95*10^-6;
rs=C2*r3/(C1*10^6);
printf("\nParallel loss resistance=%.2f Mega-ohm",rs)
w=314;
Loss_angle=atand(rs*w*Cs);
printf("\nLoss angle=%.1f degree",Loss_angle) |
175aeb29177966fd6c6bfea2706a2120ed7083db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.4/Exa_5_4.sce | 965acc4d9afb1814cb84f94bd5587e9ca10d3141 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Exa_5_4.sce | //Example No. 5.4
clc;
clear;
close;
format('v',7);
//Given Data :
Ia1=10;//A
V1=200;//volt
N1=1800;//rpm
Ra=0.6;//ohm
Rfield=360;//ohm
V2=180;//volt
I_line=20;//A
//fi2=V2/V1*fi1
fi2BYfi1=V2/V1;
//Ia1*fi1=Ia2*fi2
Ia2=Ia1/fi2BYfi1;//A
Eb1=V1-Ia1*Ra;//V
Eb2=V2-Ia2*Ra;//V
//Eb1/Eb2=fi1*N1/fi2/N2
N2... |
38d90c2680532fb2e85fb3a30360a6261e694c07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH8/EX8.1/Example_8_1.sce | 5598be334444df70911159a503d5d2d6fe2572cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | Example_8_1.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 8.1
//Caption : Program to Find the Thermal efficiency in a Steam Turbine
//Given Values
//(a)-As in Example(7.6)
P1=8600;//[KPa]
T1=773.15;//[K]
//values... |
98c2e3d073ee523e5bd04be2b7fa4a0b6d726322 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH2/EX2.4/2_4.sce | 653d500fdf3a17bee7395650f4946b7939c29b18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_4.sce | clc
clear
//Initialization of variables
H1=0.059
O1=0.199
H2=0.044
O2=0.079
C=0.66
S=0.011
//calculations
Qh1= 14600*C+62000*(H1-O1/8)+4050*S
Qh2=14600*C+62000*(H2-O2/8)+4050*S
//results
printf("Heating value in case 1 = %d Btu/lb ",Qh1)
printf("\n Heating value in case 2 = %d Btu/lb ",Qh2)
|
fa630920a7864951277c92121fb1ac39bfb03eea | 3c31145b7b0914a28b5c5c61d01c47253663df63 | /1 unidade trabalho/mqr_rec.sci | de73e51a8d4866c100cbd8ada13aa285f6cf5b60 | [] | no_license | APFN/INTRODUCAO-A-IDENTIFICA-O-DE-SISTEMAS | 1eb05ddc0debe5381d941715915388f7ca8af22c | d1a7afd8c8f894285aa9d4c282939538cfaa45d4 | refs/heads/master | 2021-07-21T14:50:25.870205 | 2017-10-30T19:31:48 | 2017-10-30T19:31:48 | 108,897,789 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,988 | sci | mqr_rec.sci | //clear all
cd("C:\Users\Álvaro\Google Drive\0 mestrado mecatronica\2017.2\INTRODUÇÃO À IDENTIFICAÇÃO DE SISTEMAS\Trabalho_final");
data = read('pHdataP2.dat', -1, 4);
total_points = size(data,"r");
num_points = 7*total_points/10;
u1 = data(1:num_points,2);
u2 = data(1:num_points,3);
y = data(1:num_poi... |
850cdda90d512eb47fbf6ed486a838df84a09058 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.16_17.tst | e04093addc4845ab52008e8bad3f311fc073efe5 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,219 | tst | bow.16_17.tst | 16 23:0.017543859649122806 45:0.25 70:0.037037037037037035 72:1.0 116:0.25 120:0.5 331:1.0
16 23:0.017543859649122806 28:0.25 70:0.037037037037037035 85:0.3333333333333333 100:0.2 120:0.5 122:1.0 164:0.3333333333333333 213:0.16666666666666666 216:1.0 241:1.0 253:1.0 256:1.0 257:1.0 289:0.3333333333333333 298:0.33333333... |
a418572cfd4d6e92fb15ce955a5830542a70b833 | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/THREAD/SYSAPI/sysApi.tst | 80205b1cc1403de1bdd8a1374c915c25b79035ed | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 54,864 | tst | sysApi.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : THREAD1
-- Unit(s) Under Test: sysApi sysCfg sysCore sysMsg sysMutex sysPrio sysQueue sysSem sysStat sysTask sysTick sysTime
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCR... |
04e86ecdf2c33840ce2a1d0836bdb67d5aab91ea | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm/cylcart.sce | eee99cefd06c37113ce5c7c9f92b59068b8dda26 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,038 | sce | cylcart.sce | function [gxx,gxy,gxz,gyy,gyz,gzz] = cyltocart(nx,ny,nz,x,y,z,r,grr,grt,grz,gtt,gtz,gzz)
// [gxx,gxy,gxz,gyy,gyz,gzz] = spheretocart(nx,ny,nz,x,y,z,r,grr,grt,grz,gtt,gtz,gzz)
// [PURPOSE] Convert spherical metric components to cartesian
//
// [ARGUMENTS]
// [INPUT]
// nx,ny,nz : grid sizes of the 3d c... |
0eeae853c53e87b57f9f46fac5d626812306a2d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH18/EX18.7/Ex18_7.sce | 97403295068204b538cca8e1f8195d3d4fdcc157 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Ex18_7.sce | // Initilization of variables
theta_a=60 // degree // angle made by sphere A with the verticle
e=1 // coefficient of restitution for elastic impact
// Calculations
// theta_b is given by the eq'n cosd*theta_b=0.875, hence theta_b is,
theta_b=acosd(0.875) // degree
// Results
clc
printf('The angle through which ... |
4ed65865cc5ac9df43e53a8eb1b50f4d09a99aac | 9b046504c3b7683d3bfa294fe100408058e75aa3 | /Metodos/Clase8/scripts/1EjemploClase.sce | db78a1ca6d3a040ec988c5a193c7d605c92e83ab | [] | no_license | DavidAlex99/Cursos | f15cb4f4fbb35a6eb62cbae0a9b51ea671f3ea8f | aee547ab09db7e535bea5a6d41ed6e455f8a9a89 | refs/heads/master | 2023-01-08T02:46:07.502656 | 2020-11-14T00:45:57 | 2020-11-14T00:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,659 | sce | 1EjemploClase.sce | clear all
clc()
clf()
function result=eqd(y,t)
result = 2*t-2*y
endfunction
function result = solucionAnalitica(t)
result = exp(-2*t)*(t*exp(2*t)-0.5*exp(2*t)+7/2)
endfunction
function result = metodoHeunOrden1(h,y0,t0,tf,f)
tiempo = t0:h:tf
result = (length(tiempo))
result(1)=y0
... |
9d465c314b1a2ef84e63818fa0b225db9127f937 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH2/EX2.10/ex_2_10.sce | f0bf6d08761c0df5df1557361c3f0a277a01e5e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | ex_2_10.sce | //Example 2.10 // peak to peak, amplitude and rms value
clc;
clear;
close;
//given data :
Va=3; // vertical attenuation in mV/div
S=0.2; // 1 subdivision
//From the figure given in question : Div=1 unit & subdiv=0.2 unit
Div=1;//unit
subdiv=0.2;//unit
Vpeak=2*Div+3*subdiv;//only for one peak
Vpp=Vpeak*2;//F... |
935deef3eac1ef4ab1c8a660a5e6cf26f13a28b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH8/EX8.3/8_3.sce | bb424781f62907e15d2350fc907851cf2ed0cb06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | 8_3.sce | //example 8.3
clc; funcprot(0);
// Initialization of Variable
h1=3348.4;
h2=2741.8;
h3=3353.3;
h4=2428.5;
h6=181.94;
h5=173.88;
neta=(h1-h2-h4+h3-h6+h5)/(h1-h6+h3-h2);
disp(neta*100,"thermal efficiency in %");
mdot=100*1000*3600/(h1-h2-h4+h3-h6+h5);
disp(mdot,"mass flow rate in kg/h");
Qoutdot=mdot*(h4-h5)... |
bdbb82ab8d6f9f13ea21dd4c48497d3548688d98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH6/EX6.3/Ex6_3.sce | d6f09a6cb6e86981cacf640039d351d781cb738b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | Ex6_3.sce | //example 6.3
clc; funcprot(0);
cu=2800;
B=60;
L=100;
Df=5;
B=60;
Gamma=120;
A=60*100;
Q=25e6;
FS=5.14*cu*(1+0.195*B/L)*(1+0.4*Df/B)/(Q/A-Gamma*Df);
disp(FS,"factor of safety");
|
34dc61239231d8d1e449482f5571922d17c896a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH7/EX7.9/ex7_9.sce | 33683062b448c7edde18cd6ae2b0e2b5af94bb19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | ex7_9.sce | // Example 7.9
format('v',6)
clc;
clear;
close;
// given data
R1= 100;//in kΩ
R2= 100;//in kΩ
R3= 360;//in Ω
bita= 100;
V1= 5;// in V
v1= 1.4;// in V
v2= 25;// in mV
// Voltage at first base
V2= R1/R2*V1;// in V
// Emitter current in second transistor
I_E2= (V2-v1)/R3;// in A
I_E2= I_E2*10^3;// in mA
... |
61769cb3e5abef509db76b977702b410dc46b8a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH13/EX13.2/ii_2.sce | 15f6d89160e5efb5b874d089529084cc2c28bea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | ii_2.sce | // Computing InstantaneousInduced EMF
clc;
clear;
l=0.2;
n=1000;
b=0.5;
r=l/2;
t=200;
//Number of conductors
c=2*t;
//Velocity Equation.
v=2*(%pi)*r*1000/60;
// Angles
x=90;
y=30;
z=0;
// EMFs
e1=c*b*l*v*(sind(90-x));
e2=c*b*l*v*(sind(90-y));
e3=c*b*l*v*(sind(90-z));
disp('volts',e1,'i... |
2971803539bd6bbfcac254f6d08af7c68eae8a0c | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH9/EX9.2/Ch09Ex02.sce | 120a7e9a178de4561441db39826fde58abd08d65 | [] | 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 | 691 | sce | Ch09Ex02.sce | // Scilab code Ex9.2: Pg.367 (2008)
clc; clear;
E_ex = 0.72; // Potential energy due to exclusion-principle repulsion, eV
k = 9e+09; // Coulomb constant, N-metre-square/coulomb-square
e = 1.602e-019; // Charge on an electron, C
r0 = 0.193; // Equilibrium separation of Na+ & F- ions, nm
F_C = k*e^2/(r0... |
838fbb9c857275fc707139b184475125c7ed3a22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH1/EX1.21/ex_1_21.sce | b7d5084b6602f07315f9f4e35cc35ffcbd87c517 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | ex_1_21.sce | //Example 1.21 // radius of lens
clc;
clear;
//given data :
w=5890D-10;//wavelength used in m
d=.01;//diameter of dark ring in m
r=%pi/6;//angle that light passes in radian
n=3;// order of ring
u=1;// refractive index of medium between lens and plate
R=u*(d^2)*cos(r)/(4*n*w);// radius of lens in m
disp(R,"r... |
b717885c4de250597476f42643451928cddf225e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH7/EX7.3/Ex7_3.sce | b30c19bc3d2f0f826a73c5b7299e530109db1ef4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 989 | sce | Ex7_3.sce | //===========================================================================
//chapter 7 example 3
clc;clear all;
//variable declaration
V = 240; //voltage in V
I = 8; //current in A
x = 0.1; //pf lagging
Rp = 8000; //resistance in Ω
f = 50; //frequency in Hz
L = 63.6*10^-3 //inductance
//calcula... |
e4eb051d2dc806e85be31fb1f811a39492e1e4de | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH5/EX5.10/5_10.sce | 7f73ac53949ac0b216a8fabac31c69758d6a8a65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | 5_10.sce |
clear;
clc;
close;
disp("Example 5.10")
p=0.96 //p=p't8/pt8
f=0.02
fAB=0.04
z0=[0.45:0.03:0.65]
gmr=1.3/1.33 //gm=gm/gm' gm=gamma
gm=1.33
gm1=1.3
tlAB=7
tl=6
i=2
for tlAB=7:1:9
tt=6.5
g1=[]
gc1=1
for tt=0.45:0.03:0.65
A=(1+f+fAB)/(1+f)*((gmr)^(1/2))*1/p*((tlAB/(tl*tt))^(1/2)... |
a624669a9637bcdae6c98827a96b9d6277a2d321 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH5/EX5.12/ex5_12.sce | 732e32ba41cd326f27cca80df1e4cae4790dc03b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,024 | sce | ex5_12.sce | clc;
warning("off");
printf("\n\n example5.12 - pg178");
// given
T=0+273.15; //[K] - temperature in Kelvins
pa2=1.5; //[atm] - partial presuure of a at point2
pa1=0.5; //[atm] - partial pressure of a at point 1
z2=20; //[cm] - position of point 2 from reference point
z1=0; //[cm] - position of point1 from... |
cf6807267debac3af816f607386dd4f326afe738 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH6/EX6.13/13.sce | a725dc3c8bc4a0450a50dea2a5f82d4716e5e38a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | 13.sce | clc
//Example 6.13
//Calculate the gasoline leakage rate through a seal
p=100//lbf/in^2
l=1//in length od seal in direction of leak
mew=0.6//cP
d=0.25//in diameter of valve stem
t=0.0001//in thickness of valva stem
//1 cP = 0.0000209 lbf.s/ft^2
//1 ft = 12 in
q=(p/l)*(1/12/mew)*(%pi)*d*t^3/0.0000209*144*3600/... |
88eb6c656941d21a5fd24f749a1cb64cc2f04cb5 | 33f77c32fb16283501d950b6fc6b43a07914f32e | /scilab_autopilot/lib/math/vect/vect_crossProd.sce | 59cfa41f1184493ac12804a12b18fe4a49715297 | [] | no_license | CLUBMODELISMECEADSTOULOUSE/autopilot | 26b79d6a2a632f08989a5528e82f553616617646 | a6ffae2f8a86fbc79e636ddd5173af104e1af9cd | refs/heads/master | 2021-01-21T00:59:06.271128 | 2015-10-25T09:31:54 | 2015-10-25T09:31:54 | 34,409,237 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | vect_crossProd.sce | // Cross product
//
// Only meaningful on R3.
//
// INTPUT
// - v1: a R3 vector
// - v2: another R3 vector
//
// OUTPUT
// - res: the cross product
//
// USAGE
// res = vect_crossProd(v1, v2);
//
// HISTORY
// 28/03/2014: T. Pareaud - Creation
function [res] = vect_crossProd(v1, v2)
res = [ v1(2,:).*v2(3,:) - v1(... |
0fe15f6f08763f8e0f3b010a50b696a53a4a2adc | 4da581946b1d34d19dde6701f7b0cb7a6b4f04cc | /userEvaluate.sci | c7b0a6b32d603d132726ef5bc52d27e64a370c97 | [] | no_license | acdcsg66/my_master_research | 3d94069b54aa9edacd79511722c07b8b02d531b3 | f7d36bad83b6284ae50fe8efcbc92180652d3b78 | refs/heads/master | 2016-08-12T08:11:49.121756 | 2016-05-05T05:14:04 | 2016-05-05T05:14:04 | 51,115,104 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sci | userEvaluate.sci | function userEvaluate
global individuals Pareto Pair children x_span y_span Pheno Objective ..
generation_num sample_num
Hoge=ones(3,7);
//editvar Hoge
input Hoge
Hoge(1,:)=Objective(1:7,7,generation_num,sample_num);
try
m=evstr(x_dialog('enter a 3x3 matrix ',['[0 0 0';'0 0 0';'0 0 0]']))
catch
a=1+1
end
endf... |
766940887309e263d32b90b67693d6f83c44e635 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH8/EX8.7/8_7.sce | 97bd0b9b326a2f6200a8b8b9af08b85c6481fe04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_7.sce | clc
//initialisation of variables
clear
p= 100 //atm
T= 25 //C
a= 1.38
b= 3.92*10^-2 //lit atm
R= 0.082 //lit-atm mole^-1 K^-1
Tc= 126 //K
Pc= 33.5 //atm
M= 81 //gms
m= 32 //gms
//CALCULATIONS
dC= a*2*p/(R*(273+T)^2)
dC1= M*R*Tc^3*p/(m*Pc*(273+T)^3)
//RESULTS
printf ('Cp-Cp* = %.3f lit atm deg^-1 mole^-... |
3efa4d049c5ad1130882b69bea988c435bcd6265 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/diff.tst | cf663b016d59f6081a55c59fca471fb7ed3f054f | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 637 | tst | diff.tst | ## Test diff
read <<EOF
blob
mark :1
data 20
1234567890123456789
commit refs/heads/master
mark :2
committer Ralf Schlatterbeck <rsc@runtux.com> 0 +0000
data 14
First commit.
M 100644 :1 README
blob
mark :3
data 20
0123456789012345678
blob
mark :4
data 4
foo
commit refs/heads/master
mark :5
committer Ralf Schlatterb... |
6b331fe4b90f2fc50f1ee5321ddb05e38cf694be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH8/EX8.14/Ch08Ex14.sce | ec3bea2f8284987f69a95a011f6f78b77aeb83ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,206 | sce | Ch08Ex14.sce | // Scilab code Ex8.14 Page:268 (2006)
clc; clear;
C = cell(4,4);
// Enter compound names
C(1,1).entries = 'LaTiO3';
C(2,1).entries = 'LaCrO3';
C(3,1).entries = 'LaFeO3';
C(4,1).entries = 'LaCoO3';
// Enter total energy difference w.r.t. ground state for Paramagnetics, mRyd
C(1,2).entries = 0.014;
C(2,2).entri... |
0cdd3d734bc3f4e7a57e05838c8e524108eab59e | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.31/31.sci | 95e5e09927b007f0c869becde42a39c67cefcd01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sci | 31.sci | clc;
clear all;
disp("Maximum system temperature")
La=0.02;//m
Lb=0.01;//m
kA=50;//W/(m*C)
kB=0.2;//W/(m*C)
h1=200;//W/(m^2*C)
h2=50;//W/(m^2*C)
A=0.15*0.15;//m^2
A
Q=1000;//W rating of heater
Q
ta=25;// degree C
//Q=A*(Tmax-ta)*(1/(La/kA+1/h1)+1/(Lb/kB+1/h2))
Tmax=Q/(A*(1/(La/kA+1/h1)+1/(Lb/kB+1/h2)))+t... |
8ba0a013256d195f6b45ca837b4e12eb1cc2c950 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.vowel-10-1tra/result5s0.tst | e31d026bf45fb8d5c5719661ea14ee9306e9a286 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 972 | tst | result5s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute ... |
a0571e5351f73704f58d60aa78c752d3ad167292 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH1/EX1.4/Ex1_4.sce | c557bf266fb30ea037a57ff4097acddd0e27f45a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | Ex1_4.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 4")
h=1;//depth of oil tank in m
sg=0.8;//specific gravity of oil
RHOw=1000;//density of water in kg/m^3
g=9.81;//acceleration due to gravity in m/s^2... |
d5599e611e4ac6a52b9af54990a96c7077d83d37 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_thresh_inverse.sci | cf251279720aa7424844c6e79827ae5b8ef7dae8 | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sci | cv_thresh_inverse.sci | function[img_ret]=cv_thresh_binary_inverse(image)
pyImport simple_thresholding
img_ret=simple_thresholding.thresh_binary_inv(image)
endfunction |
6aa744dcb680257a57ff488618d7a5fcd1100f94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH4/EX4.7/4_7.sce | bbb003e46100b6ef8421134e576ad3dae08d96be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | 4_7.sce | //All the quantities are expressed in SI units
c = 1.5; //airfoil chord
Re_c = 3.1e6; //Reynolds number at trailing edge
//from eq.(4.84), the laminar boundary layer thickness at trailing edge is given by
delta = 5*c/sqrt(Re_c);
//from eq(4.86)
Cf = 1.328/sqrt(Re_c);
//the net Cf for bot... |
1a5404bbbd40b00c12ac30e4b2a7cb5616ef8521 | f98e6eb45cba97e51f3e190748f75d277fc4c38d | /Lab/Lab5/recursive_f.sce | ff40279d0ecb650ab4e2fa3911d453131a4b1b99 | [] | no_license | sctpimming/SC422401 | 68359adab92095e4c60121ff17ac43efc9c46fb4 | 5c43c58c9bf0e923b640c115b4ef618ad72d15a6 | refs/heads/master | 2020-11-25T18:37:53.377582 | 2020-02-26T07:56:39 | 2020-02-26T07:56:39 | 228,796,306 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | recursive_f.sce | function [y] = recursive_f(x)
// หาค่าของ y จาก x ที่กำหนดให้ โดยใช้ฟังก์ชันเวียนเกิด (recursive function)
if x <= 0 then
// output สำหรับกรณีฐาน (base case)
y = 1
else
// เรียกใช้ตัวเองซ้ำ แต่เปลี่ยน input ให้เล็กลง
y = 2 + recursive_f(x-2)
end
endfunction
|
33540c92abcc65b7a79bb193a57a81f4e5bd1b23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH2/EX2.1/Example2_1.sci | 851381b67d21fc6be50a9bfe6a7bcf0367a1fa00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 982 | sci | Example2_1.sci | //Chapter 2_Thick Film and Thin Film Hybrid ICs
//Caption : Resistance
//Example2.1: a) A resistor has an aspect ratio of 20:1 and sheet resistance of 200 ohm/square. Find out the value of resistance.
// b) Find out the number of squares contained in a 2kiloohm resistor whose sheet resistance is 200 ohm per square.
... |
93e70a02335b7f05e842a34aec57c0110011a5b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH4/EX4.23/eg_4_23.sce | 7e1724b52aa2decf7f969f349569bc149f1fca27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 995 | sce | eg_4_23.sce | //Example 4.23
//Convolution of x(t) and h(t)
clc
clear
t1=0:0.01:20;
t2=0:0.01:20;
t3=0:0.01:40;
a1=0.5;//constants a and b are equal
b1=0.5;
a2=0.8;// constants a and b are unequal
b2=0.3;
for i=1:length(t1)
x1(i)=exp(-a1*t1(i));
x2(i)=exp(-a2*t1(i));
end
for j=1:length(t2)
h1(j)=exp(-b1*t2(j));
h2(j... |
3a74580834da1cd6786f1282dd46e0ecbc3ce419 | 56743f362de98f910919780918c86679ec136d3e | /resolucao-provas/2015-2016/Material-recurso/algoritmo_2.sce | e65aaa2325c2eeab7632201fcc231b9b5adb7f2f | [] | no_license | andre-paulo98/fichas-ei-a1s2-MD | aaf75e6b45cbac7ebbf92949deb783ce6f1201b7 | 99c50eb08cf409ce8e5aa8301728dbe9148e16c5 | refs/heads/master | 2022-02-24T23:13:49.293944 | 2019-10-06T17:50:26 | 2019-10-06T17:50:26 | 171,472,323 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | algoritmo_2.sce | function Z=Warshall_MIN(W)
[u,v]=size(W)
for i=1:u
for j=1:v
if W(i,j)==0 then
W(i,j)=%inf
end
end
end
Q=W
for k=1:u
for i=1:u
for j=1:v
Q(i,j)=min(Q(i,j),Q(i,k)+Q(k,j))
end
end
disp(Q,"Q"+string(k)+"=")
end
Z=Q
endfunction
Warshall_MIN(A... |
e8de0bf44cd35656031b1cfcbbdb4ac5e32b4536 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH7/EX7.4/ex_4.sce | 4643fdca6f1558fe63b180d2f5f6c2b66f092fbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | ex_4.sce | // PG (481)
x = [1,0,-1,2]
// 1-norm
norm(x,1)
// 2-norm
norm(x,2)
// infinity norm
norm(x,'inf')
|
de138ec55dcbdb27e9538629f5d5b60d945ac22b | 364fc2bac23ae5482a18e5e9392ff63e68642dae | /TP4/libTP4.sce | 97b78a8e5b7efaad25080ed2d686c3119dbcff10 | [] | no_license | Raphael-De-Wang/2M310TP | 259e55e9dc931b0a0102ed7a5dbbb31e82b88295 | af21ffee07fadeb5b27c5f30d0deb1926972ccee | refs/heads/master | 2021-01-11T14:14:21.447623 | 2017-03-29T20:27:35 | 2017-03-29T20:27:35 | 81,227,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,087 | sce | libTP4.sce | function X = EulerExplicite(a,b,x0,T,p)
// X(k+1) = (1 + hp * a(t(k,p)))X(k) + hp*b(t(k,p)).
hp = T/p;
X = [x0];
t = linspace(0,T,p+1);
for k = (1:p),
X(k+1) = (1 + hp * a(t(k))) * X(k) + hp * b(t(k));
end
X = X';
endfunction
function X = EulerImplicite(a,b,x0,T,p)
// (1 − hp*a... |
dda59ec5456bb193448e579d784011b3a2a5e9ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH4/EX4.2/Ch04Ex2.sci | 1573ce7317bc998af8b9fa7b26b5b95cbfa82561 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch04Ex2.sci | // Scilab Code Ex4.2 Ionization potentials of hydrogen atom: Page-126 (2010)
Z = 1; // The atomic number of hydrogen
h = 6.626D-34; // Plank's constant, Js
eps_0 = 8.85D-12; // Absolute electrical permittivity of free space, coulomb square per newton per metre square
e = 1.602D-19; // Electronic charge, C
m... |
67fca0eee21adb56acc4a1ce5ece268e07857d58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH4/EX4.1/Ex4_1.sce | 757ecc342fc45d66dc7575650094db1b8c3f723a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex4_1.sce | //Ex 4.1 page 158
clc;
clear;
close;
R=5;// ohm
Vs=230;// V
f=50;// Hz
alpha = 120;// degree
Vor=Vs*sqrt(1/%pi*(%pi-alpha*%pi/180+sin(2*alpha*%pi/180)/2));// V
printf('\n rms load voltage = %.2f V', Vor)
Ior=Vor/R;// A
printf('\n rms load current = %.2f A', Ior)
Irms=Ior/sqrt(2);//A
printf('\n rms thyristor current... |
4d0148598e8b2b964873a06964c95be2bd34dd67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH23/EX23.11/Ex23_11.sce | 05c12f7aeca53e22ddfbefcd8983a444ee604477 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Ex23_11.sce | //Example 23.11
C=5*10^-6;//Capacitance (F)
//Value of capacitance is mentioned wrongly in the question
f1=60;//Frequency 1 (Hz)
f2=10*10^3;//Frequency 2 (Hz)
X_C1=1/(2*%pi*f1*C);//Capacitive reactance at 60Hz (ohm)
printf('a.Capacitive reactance at 60Hz = %0.1f ohm',X_C1)
X_C2=1/(2*%pi*f2*C);//Capacitive reacta... |
9f2891c1e1e51f2d000bea7bd7af8cbcf0071950 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/sci_meshdom.sci | ab914c0a18ed93004e0b69c3a44b7c0ca3d5c78a | [
"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 | 186 | sci | sci_meshdom.sci | function [stk,txt,top]=sci_meshdom()
// Copyright INRIA
txt=[]
RHS=[]
for k=1:rhs
RHS=[stk(top)(1),RHS]
top=top-1
end
top=top+1
stk=list('mtlb_meshdom'+rhsargs(RHS),'0','?','?','?')
|
9ffe7bf3331b3ba197d101e8b7a0eb69ffc1c48a | 85744a910858b3185731e57d7d39dac2b5b17982 | /Amplitude Modulation.sce | c3c520b44462004b0f2c744c25e20014f0df7384 | [] | no_license | shashwat2811/Analog-Digital-Communication | b53aac1ae75d53df90e0b938ef8fdc38caaf3084 | edd1ba5b0abad34aa74bed3441fddb26497f91db | refs/heads/main | 2023-06-05T04:33:21.979126 | 2021-06-12T13:41:56 | 2021-06-12T13:41:56 | 376,288,206 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Amplitude Modulation.sce | fc=5000;
Ac=9;
t=linspace(0,10*(10^(-3)),500);
Vc=Ac*sin(((2*%pi)*fc)*t);
subplot(411)
plot(t,Vc)
fm=500;
Am=4.5;
Vm=Am*sin(((2*%pi)*fm)*t);
subplot(412)
plot(t,Vm)
m=Am/Ac;
Vt=(Ac*(1+m*sin(((2*%pi)*fm)*t))).*sin(((2*%pi)*fc)*t);
subplot(413)
plot(t,Vt)
|
cfc44849b8a74c3b5fc224e34b65539437b7777e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH13/EX4.6/Ex_B_4_6.sce | 29e0c591a12e208c3c22b78165ebae68633c6865 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Ex_B_4_6.sce | //Ex 4.6
clc;clear;close;;
format('v',6)
//Part (a)
K1=5;//kHz/V
//vm(t)=2*cos(2*p*2000*t);
Vm=2;//V
fm=2000;//Hz
delta_f=K1*Vm;//kHz
disp(delta_f,"(a) Pak frequency deviation(kHz)");
m=delta_f*1000/fm;//modulation index
disp(m,"(a) Modulation index");
//Part (b)
K=2.5;//rad/V
//vm(t)=-cos(2*p*2000*t);
f... |
1df30a61222c6bf66b6cc026c0c0746f8c51efa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH5/EX5.8/Ex5_8.sce | a20ff3285b0e488b4bbe7a01416c80a37b26dcd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | Ex5_8.sce | clear
//
w=20000.0 //weight of upper block
o=15.0 //The angle of friction for all surfaces of contact
u=tan(o) //coefficient of friction
//R1 R2 are forces
Or1=15.0 //angle force R1 makes with x axis
Or2=35.0 //angle force R2 makes with Y axis
R2=w*sin((90-Or1)*3.14/180.0)/sin((90+Or1+Or2)*3.14/180.0... |
727027e0015c4287f39756c8c6d872bc1868ea1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.1/example_5_1.sce | 439a1a7408c36ed9bb0a696e2d5797790f010788 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | example_5_1.sce | syms G1 G2 G3 G4 H1 H2
a= G1*G4 //series
b= (a)/(1-(a*H1)) //positive feedback
c= (b*(G2+G3)) // G2 AND G3 are in parallel
Y= c/(1+(c*H2)) // negetive feedback
disp(Y,"C/R =") |
c2885e4160096aff2117bf3badb65aac96b4a777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH6/EX6.5/EX6_5.sce | 58f87b797de72cec1c7e74f7f77d745b6e3e57f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,582 | sce | EX6_5.sce | clc;funcprot(0);//EXAMPLE 6.5
// Initialisation of Variables
F=8000;.......//Load applied for the aluminum alloy in lb
F2=7600;......//Load applied for the aluminum alloy in lb at fracture
dt1=0.505;.......//diameter of for the aluminum alloy in in
dt2=0.497;.......//The diameter at maximum load
Lt=2.120;........... |
c80a4b134df73df7abfbb7a9d0728b79d0dc77cf | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/XG57FZY/ATWM1_Working_Memory_MEG_XG57FZY_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 9711664c6d1c0dc1ecaa8c18d092628ad04b6721 | [] | 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,599 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
00739c60cc97baa3592763bc51a54fe0b5c285e0 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.flare-10-1tra/result9s0.tst | 3b3785f6a9f59649aacb630dea9a384ee98052b1 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 949 | tst | result9s0.tst | @relation flare
@attribute LargestSpotSize{A,R,S,X,K,H}
@attribute SpotDistribution{X,O,I,C}
@attribute Activity{1,2}
@attribute Evolution{1,2,3}
@attribute Prev24Hour{1,2,3}
@attribute HistComplex{1,2}
@attribute BecomeHist{1,2}
@attribute Area{1,2}
@attribute C-class{0,1,2,3,4,5,6,7,8}
@attribute M-class{0,1,2,3,4,5}... |
be85bdd718329c8fb7f35a1a123589e154d61b92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH4/EX4.8/4_8.sce | 719b92ae285cb88ae18911805db39bdb916f706b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | 4_8.sce | clc
//initialisation of variables
g= 32.2 //ft/sec^2
h1= 16.63 //cm
h2= 10.18 //cm
h3= 16.53 //cm
//CALCULATIONS
H1= h1-h2
H2= h3-h2
p= (H1^1.5-H2^1.5)*100/H1^1.5
//RESULTS
printf ('Percent decrease in discharge = %.2f per cent ',p)
|
80cad2714bd01993bf320e992211ce0146eaed11 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/fas.tst | 3fa462b168b0153fb518c37181750d736421c941 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 410,041 | tst | fas.tst | بحث کردن داشتن بحث میکردن V;PROG;PL;3;COL;PST
فارغالتحصیل شدن فارغالتحصیل شدهایم V;PRF;PL;1;PRS
اغوا کردن اغوا خواهید کرد V;PL;2;FUT
پاک کردن داشتید پاک میکردید V;PROG;PL;2;PST
باختن میبازیم V;IPFV;PL;1;PRS
طرفداری کردن طرفداری میکنی V;IPFV;SG;2;PRS
منتشر کردن منتشر کنیم V;PFV;PL;1;COL
ازدواج کردن دارید ازدواج میکنید V... |
1b5b9d9a7703f3ecace92a9e9052f0ad7e140ae4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH2/EX2.11/example2_11.sce | fec9f44300d0306d91556d329014d5396218fa2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | example2_11.sce | //Chapter 2
//Example 2_11
//PAge 25
clear;clc;
h=25;
power=400;
vol=[10 6 1.5];
months=[4 2 6];
n_overall=0.8;
//standby capacity
pd1=vol(1)*1e3*9.81*n_overall*h/1000
pd2=pd1*vol(2)/vol(1)
pd3=pd1*vol(3)/vol(1)
cap=power-pd3
printf("(i)\t Capacity of standby unit = %.1f kW \n\n", cap);
//excess power
discharge = v... |
958d5bcd6953ed4b6b10959660bf0c5bbe1b60fe | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-DateFunctions/FLDateAdd-Netezza-01.tst | 7beff5632ecd0c5304dd1ee35c87551873462782 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,546 | tst | FLDateAdd-Netezza-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
19d5fa3f2af81a07dc961b56b9b6e2ff93075bcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH8/EX8.7/Ex8_7.sce | 1989c72cd3107ef89c028fc93e02dd89702df9ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,208 | sce | Ex8_7.sce |
// Given:-
// Analysis
// The solution to Example 8.2 gives
h1 = 2758 // in kj/kg
h4 = 183.36 // in kj/kg
// From table A-22
hi = 1491.44 ... |
2a4013f09384046fd540443eb979e712a41c733b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH9/EX9.6/Ex9_6.sce | 65502098a5f9cfc8cfc448bf35a3bbc42bfea73d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex9_6.sce | // Example 9.6
clear all;
clc;
// Given data
E =2 ; // Energy of gamma radiation in MeV
X_dot = 1; // Exposure rate in mR/hour
// Using the data from Table II.5
// Let mu_a/rho of air at 2 Mev be denoted as mu_rho
mu_rho = 0.0238; ... |
8306e1dcba2ac477e4df362dd433bb5af5717941 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.29.C/EX3_29_C.sce | f6509b7a876dcf86e77909fd5efb03f1d1eafc21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | EX3_29_C.sce | //Example 3.29.C
clc;
syms s t;
x=laplace((1/25)*(exp(-5*t)+5*t-1));
y=laplace(exp(-5*t));
z=x/y;
f=ilaplace(z);
disp(f);
|
7ca608352255ed532872f8270d8e3857184ac2b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH5/EX5.11/Example5_11.sce | 766a1dde5004fe61ecbdd6015457d1c68f07cb75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Example5_11.sce | //Example 5.11
clear;
clc;
Tmax=70;
T=100;
Iqmax=2.8*10^(-3);
VCC=15;
VEE=-15;
P1=(VCC-VEE)*Iqmax;
P=310*10^(-3);
Io=(P-P1)/VCC;
PC=5.6*10^(-3);
Pmax=P+((Tmax-T)*PC);
Io=(Pmax-P1)/VCC;
printf("Maximum Current at 100degC=%.1f mA",Io*10^3); |
bd15e661b48f9387aefb8abf9d71a8db65aca650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH8/EX8.2/8_2.sce | 46e97510116dd931abee8dc6c04d296c60b8b04f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | 8_2.sce | clc
//initialization of variables
cydia=3 //in
crdia=5 //in
ratio=7
rpm=3000 //rpm
hp=50 //hp
w=24.2 //lbm
Q=18000 //B/lbm
P1=14.7 //lb/in^2
T1=60+460 //R
g=1.4
cv=0.1715
//calculations
eta=hp*550*3600/(778*w*Q)
vol=%pi*(cydia/12)^2 *(crdia/12)*6/4
vdot=vol*rpm/(60*2)
v1=53.3*T1/(144*P1)
wdot=vdot/v1
... |
83e92bd6f0ec26829f48c31ddd1b4dc2d0be4fa9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH9/EX9.11/Ex9_11.sce | 59af439756fc2bbded6adc547a97fbdac7f167fc | [] | 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 | 327 | sce | Ex9_11.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
F=180 //N
m=100 //kg
g=9.81 //m/s^2
mu=0.25 //coeffiecient of friction
//Calculations
//Assuming F2 is maximum
N2=F*2/(1+mu) //N
F2=mu*N2 //N
N1=m*g-F2 //N
F1=F-F2 //N
//Result
printf('The vaules are N2=%fN,F2=%fN,N1=%fN and F1=%fN',N2,F2,N1,F1)
e... |
be2f4172948c982ed6bc8c397d3ff659e6206cf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH2/EX2.9/ex2_9.sce | c3880a1a013966f49f9e21935eef6632e6a52c22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | ex2_9.sce | // Example 2.9, page no-89
clear
clc
Vdd=12
Vss=-12
Iss=175*10^-6
Rd=65*10^3
kn=3*10^-3
Vth=1
Ids=Iss/2
Vgs=Vth + sqrt(Iss/kn)
Vds = Vdd- Ids*Rd + Vgs
// Requirement for saturation
Vicmax= Vdd - Ids*Rd + Vth
Ids=Ids*10^6
printf("\nIds=%.1f uA", Ids)
printf("\nVgs=%.3f V", Vgs)
printf("\nVds... |
d7003dc0f6a1da1b349ebc7cac073d8c0fa98365 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/C6_CARGAS.sce | 4f6d699f4aca46a0fdf1137b591d55f61f8a6ad6 | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,107 | sce | C6_CARGAS.sce | // DADOS DAS CARGAS NODAIS
nc = length(Cargas)
// Inicia o vetor-coluna F com zeros em todos os deslocamentos da estrutura
F = zeros(3*nj,1);
// Inicia com zeros os dados de todas as cargas a serem declaradas
desC = zeros(1,nc);
opC = zeros(1,nc);
t0 = zeros(1,nc);
t1 = zeros(1,nc);
w1 = zeros(1,n... |
a0f060e740d94ece008ef6f888939a9a6a5368c8 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/characterization/Recover_Injection_for_Scurve.sce | 9fdc6a8252bcf47a5cd3778a1d21cb8eb7bebe81 | [] | 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 | 21,710 | sce | Recover_Injection_for_Scurve.sce | exec('~/rasp30/prog_assembly/libs/scilab_code/read_tar_pgm_result.sce',-1);
time_scale=1e-5; // Time unit : 10us
// Tunnel & Reverse Tunnel
while 1==1,
[a1,b1]=unix_g("sudo tclsh ~/rasp30/prog_assembly/libs/tcl/program.tcl -speed 115200 "+hid_dir+"/tunnel_revtun_SWC_CAB.elf");
if (b1==0) then break end // 0 if... |
e85552ad557fd08f85c908e28d43afa5854b3f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH11/EX11.12.3/Ex11_3.sce | 421e4ba34317524a8c6f50d01aad169ebb3b3990 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | Ex11_3.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 11 Sinusoidal oscillator and multivibrators
clc
clear
L=20*10^-3//L=inductance in henry
C1=(200*10^(-12))//C1=capacitance in farad
C2=(300*10^(-12))//C2=capacitance in farad
Cs=((C1*C2)/(C1+C2))
f=1/(2*%pi*sqrt(L*Cs))
disp("kHz",f/10^3,"Frequency of oscill... |
405ac4d6f787b73179c62c2899f5cfc34fb973b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH12/EX12.7/Ex12_7.sce | 1e76238210c910f6c1eaeea4573ab792ddcf6bd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | Ex12_7.sce | clear
//
//
//
//Variable declaration
h1=1
h2=1
k1=1
k2=1
l1=1
l2=1
l3=0
s=3.5*10**6 //stress(Pa)
//Calculation
x=sqrt(h1**2+k1**2+l1**2)
y=sqrt(h2**2+k2**2+l2**2)
z=sqrt(h2**2+k2**2+l3**2)
cos_phi=((h1*h2)-(k1*k2)+(l1*l2))/(x*y)
sin_phi=sqrt(1-(cos_phi)**2)
cos_theta=((h1*h2)+(k1*k2)+(l1*l3))/(x*z)
ss=s*cos_the... |
15b4bf36d09509f00282214e51c8e5ed95d998d3 | 1db0a7f58e484c067efa384b541cecee64d190ab | /testcase.sce | 32cc3bb4a1b2bf30c2eb8f0b587f364e449c5e86 | [] | 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 | 10,297 | sce | testcase.sce | //exec FOSSEE_Scilab_Octave_Interface_Toolbox/loader.sce
exec loader.sce
exec builder.sce
exec unloader.sce
exec loader.sce
//cd macros
//getd .
test_pass=[]
res=[]
/////////Test case for 2) arburg //////////
a = arburg([1,2,3,4,5],2);
a = round(a*10000)/10000;
if(a == [1. -1.8639 0.957... |
3d1b38ba3bd17188d4b8cb95f9f1a175902420b1 | a1e081ceabd043cf1506b917c7f2fb243be290d8 | /P2/beuler.sci | 13d6017dbbc692e8e19b03c8ce693ab8ffd28437 | [] | no_license | pablospe/ssc | 2cd8e21e1843f246e2d7f565557f4f73368aa4b8 | 353fc62f18202e73b84bea4f2d83f64cdeb15723 | refs/heads/master | 2021-01-10T21:35:46.798450 | 2014-04-24T05:11:51 | 2014-04-24T05:11:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sci | beuler.sci | function [t,x]=beuler(f,x0,ti,tf,h)
//metodo de Backward Euler con iteracion de Newton
//exec('jacobiant.sci')
t=[ti:h:tf];
x=zeros(length(x0),length(t));
x(:,1)=x0;
k=0
for tk=ti:h:tf-h
k=k+1;
x(:,k+1)=step_beuler(f, x(:,k), tk, h);
end
//t=[ti:h:tf];
//x=zeros(length(x0),length(t));
//x(:,1)=x0;
//k=0;
//I=eye(... |
4225a6149348092d24c819a6a0d2bc4974d7d928 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH9/EX9.2/9_02.sce | c6de3996aa6d6fe50be07a967bcb3931f2a85994 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_02.sce | pathname=get_absolute_file_path('9_02.sce')
filename=pathname+filesep()+'9_02data.sci'
exec(filename)
Pe=Pa*120/(n*Nmech*rpm*d);
disp(Pe,"Pe=","Pe=Pa*120/(n*Nmech*rpm*d)","mean effective pressure Pe:")
printf("\Answer:\n")
printf("\n\Mean effective pressure : %f N/m^2\n\n",Pe)
|
82a2786963f35419c26d6d548ed2a6980b76e77c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Heat_And_Thermodynamics_D._S._Mathur_1286.zip/Heat_And_Thermodynamics_D._S._Mathur_1286/CH14/EX14.1/14_1.sce | 9cef674d5c19e7290feb7e0a5052286d6245fd72 | [] | 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 | 210 | sce | 14_1.sce | errcatch(-1,"stop");mode(2);
//initialisation
si=5.735*10^-8//j m^-2 sec ^-1 deg^-4
t=1227+273//k
r=0.003//m
//CALCULATIONS
e=3.14*r*r*si*t^4*60/4.2
//results
printf(' \n energy= % 1f cal',e)
exit();
|
4e6e297be7d226882cb0cbbe7366d88c911ea3ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH2/EX2.11/ex2_11.sce | 6f3c284513406bb55ac918b271cfd29907c16988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex2_11.sce | // Exa 2.11
format('v',5);clc;clear;close;
// Given data
At = 8.5;//true value in A
Am = 8.3;//measured value in A
Absoluteerror = At - Am;//absolute error in A
disp(Absoluteerror,"The Absolute error in A is");
// Relative percentage error
Per_Error = ((At-Am)/At)*100;// %e in %
disp(Per_Error,"The relative p... |
ed341dcff1cd7a11c5de96c9d87af89eca07915f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.12/Exa3_12.sce | 064e187ee691ac6cc8a0dd5122a88a8f60865ee9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Exa3_12.sce | //Exa3.12
clc;
clear;
close;
// given data
e=1.6*10^-19;// in coulomb
Resistivity=9*10^-3;// in ohm-m
R_H=3.6*10^-4;// in m^3 coulomb^-1 (Hall Coefficient)
sigma=1/Resistivity;
rho=1/R_H;
n=rho/e;
disp("Density of charge carriers is : "+string(n)+" /m^3");
miu=sigma*R_H;
disp("Mobility is : "+string(miu)+... |
d8eda880ebbff2bb9f9ea4dec84ef9fe16a549d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH8/EX8.7/8_7.sce | 01f5add3d317eb96b099965454f1276e6be24a34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 8_7.sce | clc
//initialisation of variables
dm= 0.75 //in
dt= 0.25 //in
dP= 10.4 //lb/in^2
rd= 0.84
w= 62.4 //lb/ft^3
g= 32.2 //ft/sec^2
//CALCULATIONS
v1= sqrt(dP*144*g/(rd*w*((dm/dt)^4-1)))
Q= %pi*dm^2*v1*60*w/(4*144*10)
//RESULTS
printf ('Discharge rate = %.1f gal.min',Q)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.