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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db0b8510e9089df1439c9c8208ec24ed25727b75 | aaebbe73cc851ba9ed8a3493abedb739d122533a | /code/resource/scene/yiji/yj_3_3.sce | a854b4c288a812d8989c2018e28b038114bef541 | [] | no_license | coeux/lingyu-meisha-jp | 7bc1309bf8304a294f9a42d23b985879a28afbc0 | 11972819254b8567cda33d17ffc40b384019a936 | refs/heads/master | 2021-01-21T13:48:12.593930 | 2017-02-14T06:46:02 | 2017-02-14T06:46:02 | 81,812,311 | 1 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,885 | sce | yj_3_3.sce | <?xml version="1.0" encoding="utf-8" ?>
<Scene>
<Sprite Translate="X:-853.000000 Y:0.000000 Z:0.000000" Scale="X:1.000000 Y:1.000000 Z:1.000000" FileName="bf006-8-4.jpg" ImageArea="L:0.000000 T:0.000000 R:853.000000 B:480.000000" ZOrder="-10003" Opacity="1.00" MoveSpeed="0.10" />
<Sprite Translate="X:0.000000 Y... |
8be31ce473d0c6ece3a05ac57e9ec6a6ef974b80 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/examples/intersci-examples/ex8.sce | bd00bfef82269c5e1c112dbf9bcf8d8bc5f242c4 | [
"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 | 500 | sce | ex8.sce | //1-Creating interface source file (matusr.f)
// from ex8fi.desc file by call to intersci
// Making object files
// Interface file '/tmp/ex8fi.o'
// User's files '/tmp/ex8c.o';
files=G_make(['/tmp/ex8fi.o','/tmp/ex8c.o'],'ex8.dll');
//2-Link object files .o with addinter
//addinter(files,'ex8fi',matusr_funs);
exec('e... |
9c64836ff003dc2e7b1f07f1948a71c2bbfe7ae5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH13/EX13.14/13_14.sce | 057566b15b682aad61a7b909da9b72fd6d785afa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | 13_14.sce |
clc
//initialisation of variables
Co=25.5//percent
Co2=6.58//percent
H2=13.20//percent
H20=6.23//percent
N2=48.49*100//percent
CO2=17.70//percent
CO=0.17//percent
O2=0.0268//percent
n=0.7945//mol
e=0.2701//mol
h=0.1935//mol
w=0.21//mol
//CALCULATIONS
D=((CO2*100)+(CO*100))*0.0001//mol
F=((Co*100)+(Co2... |
204f37ad273049357b7b7dce5a228666d35acb81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH12/EX12.2/exm12_2.sce | 7c8bad3ad19455303106ff1ee9def78d26c62819 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,415 | sce | exm12_2.sce | // Example12.2
//A file named DATA contains a series of integer numbers. Code a program
//to read these numbers and then write all 'odd' numbers to a file to be
//called ODD and all 'even' numbers to a file to be called EVEN.
warning('off');
//Input numbers in the DATA.txt file
printf("Con... |
f2896d6b0bad6492fbc9b7a3489e1e4731840448 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH15/EX15.2/Example_15_2.sce | 3dbe02fbbe8675b8728a3258893b3be0bd6f3ef9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | Example_15_2.sce | //clear//
clear;
clc;
//Example 15.2
//Given
Tca = 70; //[C]
Tcb = 130; //[C]
Tha = 240; //[C]
Thb = 120; //[C]
//Solution
//Using Eq.(15.7) and (15.8)
neta_h = (Tcb-Tca)/(Tha-Tca);
Z = (Tha-Thb)/(Tcb-Tca);
//From Fig 15.7a, the correction factor is found
Fg = 0.735;
//the temperature drops are
//At s... |
e9b24160bba0f354f366e0f6eb876fb10625c9c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH12/EX12.5/12_5.sce | 8d07e690a1e942302f11d35f50494e4ba693645a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,455 | sce | 12_5.sce | //Example 12.5
//Interpolation Methods
//Page no. 403
clc;close;clear;
x=[0,1,2,3,4];
y=[0,1,8,27,64];
//Inverse lagrange Method
P=0;
y1=20;
for k=0:4
p=x(k+1)
for j=0:4
if(j~=k)
p=p*((y1-y(j+1))/(y(k+1)-y(j+1)))
end
end
P=P+p;
end
disp(P,'Inverse Lagran... |
6c9722a47a28eae00b6ddb9d6e25ab5e3f370022 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH14/EX14.7/Ex14_7.sce | f8cc312e2ffa13103cd32a5fc30ccc8c8ec5d867 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | Ex14_7.sce | clc
clear
//Initalization of variables
hv=14000 //Btu/lb
ef=0.4
tmin=80 //F
tmid=300 //F
m=13 //lb
c=0.27
tmean=2300 //F
//calculations
heat=ef*hv
Qavail=heat*(tmean-tmin)/(tmean+460)
Q=m*c*(tmean-tmid)
Q2=Q- (tmin+460)*m*c*log((tmean+460)/(tmid+460))
tot=Qavail+Q2
//results
printf("Total available ene... |
7a186180f7c2a598f2ade5649276acb6e681227d | 6cbc9ef86318b4cfcbe32fc27dc997eea5d0ae94 | /nana/perf/assert.tst | eeae0ec97b92384e61cfabd830885799ddfba70e | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | sasagawa888/eisl | c60c8307cf4ba1be20be15a4d59005f04b2b348e | 450e09dbb59139621981f1104eefcad19957de2a | refs/heads/master | 2023-09-03T17:48:38.297684 | 2023-09-02T05:42:40 | 2023-09-02T05:42:40 | 168,798,493 | 200 | 25 | NOASSERTION | 2023-06-17T21:16:28 | 2019-02-02T05:35:38 | Common Lisp | UTF-8 | Scilab | false | false | 119 | tst | assert.tst | assert(i >= 10);
BSD_assert(i >= 10);
TRAD_assert(i >= 10);
I(i >= 10);
DI(i >= 10);
I(gf>=0.0);gfs=sqrt(gf);I(0<=gfs); |
d727ac528f63fc1326c46bfa440e3bdebbcbcd4d | 51683e3e67826b9d2adb221486fac8085138fb15 | /Controle/OnlyPIFeedBackLoop.sce | 5c687cdfeb849c56e7b63d9cfaa3d57b2fc72df6 | [] | no_license | ValdirPedrinho/Main | d4a009b7608ad28f92b7a8aac6757da1f6333f18 | 0d42299d5aef2095981bbdc3a23cfbedd71f83f5 | refs/heads/master | 2021-09-02T19:54:21.239257 | 2018-01-03T20:25:25 | 2018-01-03T20:25:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,259 | sce | OnlyPIFeedBackLoop.sce | clc;
delete(gcf());
clear;
xdel(winsid());
// ============================================================================
kilo = 1000;
mega = 1000*kilo;
giga = 1000*mega;
mili = 0.001;
micro = 0.001*mili;
nano = 0.001*micro;
// ============================================================================
step_simul... |
e8a28aa13dc25bfdf3b25cb6e8ed18b3b9372982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH5/EX5.9/Ch05Ex9.sci | ef79d0ad0ca7409ba04e96423455c4b6083d1c42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 710 | sci | Ch05Ex9.sci | // Scilab Code Ex5.9 Determining total force from its resolved component in a given direction: Page-168 (2010)
h1 = 1; k1 = -1; l1 = 0 // Miller indices for first set of planes
h2 = 1; k2 = 0; l2 = 0; // Miller indices for second set of planes
F_100 = 130; // Resolved component of force along [100] direction, ... |
38c9eeabb2b28640e12b4f5c7161cba936b926b7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/percent/%pqp.sci | b596c0859ccfd31f7d77ee21646cc92cea6bdea1 | [
"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 | 84 | sci | %pqp.sci | //<f>=%pqp(p1,p2)
//f= p1.\p2
//!
[p1,p2]=simp(p1,p2)
f=tlist('r',p2,p1,[])
//end
|
168a704b7d3437a92b6ac7a46ae49f169e8688eb | 786f4889a44528121ba13abdf284f206c1e6553a | /diff/test-2D.sce | 953ba76ee94849d24f8e0b0fb42f1799afb0044b | [] | no_license | Arttaaz/MNBPLS | a151d44e13da5016e60944d7df539f4470286449 | 48eb509fdc834218e57738ffa0c391617e8fd359 | refs/heads/master | 2020-04-28T10:37:25.692040 | 2019-03-17T21:54:28 | 2019-03-17T21:54:28 | 175,208,639 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | test-2D.sce |
Nx=100;
Ny=100;
nu=0.001
Lx=1;
Ly=1;
Tf=0.5;
function u=conv(y, x)
alpha=1;
bento=1;
u=bento*[cos(alpha)*x-sin(alpha)*y,sin(alpha)*x+cos(alpha)*y];
endfunction
function z=phi_0(y, x)
p_0=[0.5 0.3];
r_0=0.2;
if (x-p_0(1))**2+(y-p_0(2))**2>r_0**2 then
z=0;
else
z=1-((x-p_0(1))**2+(y-p_0(2))**2)... |
490b2d32496f2389d7fdc800135b43c9e14890a8 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/DEVELOPMENT-LANGUAGES/oto-manguean/otm.tst | 0785a7767475f8a71320ef6898e4f873eebfafc8 | [] | 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 | 147,150 | tst | otm.tst | ʔa²-do V;IPFV;SG;2;PRS
hwa¹²ʔt’i V;PRF;SG;3
ʔba²ʔts’i V;PRF;PL;1
yä¹ V;PFV;SG;1
n=kä¹²ni V;IRR;SG;2
ʔạ¹-pa¹nt’ë²di V;PRF;PL;3
tsä²ki V;IPFV;SG;1;PRS
ʔbạ¹²i V;PRF;SG;3
pẹ¹²hni V;IPFV;SG;1;PST
n=thë²-ndo V;PFV;SG;2
n=hye² V;IPFV;SG;1;PRS
ʔä²nba²-tho¹ho V;PRF;SG;3
za¹nt’i V;PFV;SG;2
n=hwä¹ni V;IPFV;SG;1;PST
ʔyä¹²ni V;IPFV... |
3763ad0604029c05d58c59fcb42c1cc40fa9d8e2 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnHe/enhe.0.tst | 361fb6eff4e45687578b10431b73c3d01bc540ce | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28,858 | tst | enhe.0.tst | a c c a d e m i a א ק א ד י מ י ה
a c c r a א ק ר א
a d e l s t e i n א ד ל ס ט י ן
a d i v a s i א ד י ב א ס י
a j a x א י ג ' א ק ס
a k i h i t o א ק י ה י ט ו
a k l ע ק ל
a l a n א ל ן
a l a n s a r i א ל א נ ס א ר י
a l b a y y a t i א ל ב א י א ט י
a l b i א ל ב י
a l e k s a n d e r א ל ק ס נ ד ר
a l e x a n d r ... |
c3187d718664a1ec7f52059cdcaa9364845bbeff | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH3/EX3.11/3_11.sce | 53e65d9332e177a43121f4fe896816ef299976bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | 3_11.sce | clc;
// page no 127
// prob no 3.11
//Refering the fig. 3.17
//From fig it is clear that thee waveform is made from two sine waves
Vp=12.5;//Since Vp-p is 25V from fig hence individual Vp is half of Vp-p
Rl=50;//Load resistance is 50 ohm
//Determination of average power
Vrms=Vp/sqrt(2);
P=((Vrms)^2)/Rl;
disp... |
698f33b761cbed7c9077dd6248eea0ea1be7ff9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH11/EX11.7/11_7.sce | 009c8de4b4c98f573ad89310741c79275c46ae25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | 11_7.sce | clear; clc; close;
Rf = 1*10^(6);
R1 = 100*10^(3);
R2 = 50*10^(3);
R3 = 500*10^(3);
v2 = ["*V2"];
v1 = ["*V1"];
Vo = strcat([string((-Rf/R2)),v2,"+",string((Rf/R3)*(Rf/R1)),v1]);
disp(Vo,'Output voltage = ');
|
aca8e99b2fe1c570b84ebc5f926008ff7a8e597b | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH6/EX6.12/example6_12.sce | 2876aa285e2801265e35c7615e072a56a8c9fd80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | example6_12.sce | // Determine approximate Rds
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 6-12 in page 287
clear; clc; close;
// Given data
K=0.25*10^-3; // Constant in mA/V^2
Vt=2; // Voltage in V
Vgs=[4 6 10]; // Drain-source voltage in V
// Calculati... |
03b60579629b4075dc45bd12d152f974067b0734 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH12/EX12.4/exa12_4.sce | c43470311b1c51855626982ac43d9a9f396c46e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | exa12_4.sce | clc;
//Example 12.4
//Page No 509
//solution
C=96.6*10^-12;
L=241.56*10^-9;
ep=2.3;
c=3*10^8;
disp("From equation 12-16 ");
Vp=(1/sqrt(C*L));
disp('m/s',Vp,"Vp = ");
disp("From equation 12-24 ");
Vf=(Vp/c);
disp(Vf,"Vf = ");
disp("From equation 12-26 ");
vf=(1/sqrt(ep));
disp(vf,"Vf = "); |
91bcd42944786bfa8a8714d55be27fc644867e91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH25/EX25.11/ex_25_11.sce | 6af92c3e62caba77d179f2d7c547364cee75338c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | ex_25_11.sce | //find..
clc
//solution
//given
d=600//mm
r=0.300//mm
q=4.2//rad
t=5//mm
w=100//mm
u=0.3
ft=50//N/mm^2
//let P be least force req
//log(T1/T2)=u*q
//T1/T2=3.53 ...eq1
T1=ft*t*w
T2=T1/3.53
P=(T2*150-T1*75)/(600)//N
printf("force req is ,%f N\n ",P)
Tb=(T1-T2)*r//N-m
printf("torque applied is,%f N-m\n... |
ea30ffcf73af836dcf07647869482bee42655d5b | 9d2c9394c6b6997318b9d04556462c9bba639045 | /Replication 2/Dave_RIFData/Dave_RIFData/Sub24/VP24_OneBack.sce | c13fd7fb2f8c00b45822ad2d934eaa19562f3482 | [] | no_license | rettopnivek/Wimber_et_al_replication_3 | 673b156d8d18d58b92b2f05fedef87976e787089 | 8dbc22329093a61b1e5cb8aac3feca45a5c82d06 | refs/heads/master | 2020-12-31T04:42:39.856717 | 2018-02-01T15:49:15 | 2018-02-01T15:49:15 | 58,006,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,885 | sce | VP24_OneBack.sce | array <int> finalSeq[432] = {8,32,53,55,55,63,42,68,60,20,41,42,37,6,49,8,59,14,65,39,32,27,34,35,31,31,16,7,9,3,59,23,13,12,36,58,46,46,68,46,46,44,54,1,52,31,14,13,11,20,33,13,20,18,17,13,64,64,32,22,15,10,17,43,65,10,45,71,50,40,2,2,28,59,42,41,72,70,56,55,58,26,26,48,53,53,55,42,54,54,12,12,29,61,10,41,32,65,70,33,... |
da27aa828382a1addf3ab3fd7f8c7765c90a4d7c | 4bbafdcb09bc6e988d512f6eaa98595da34ae7e6 | /examples/QMLBarcodeScanner/images/toolbutton.sci | 9e4f9653078d6a31907a80b4e66d60aa17a497ed | [
"Apache-2.0"
] | permissive | ftylitak/qzxing | 79f6b1625f13e6a44179014d983004f26db11e96 | 641da3618b3c3e386d32c70a208a49df72839c0a | refs/heads/master | 2023-08-30T06:30:35.244893 | 2022-11-16T12:02:02 | 2022-11-16T12:02:02 | 11,994,153 | 576 | 334 | Apache-2.0 | 2023-07-31T17:29:35 | 2013-08-09T05:56:52 | C++ | UTF-8 | Scilab | false | false | 87 | sci | toolbutton.sci | border.left: 15
border.top: 4
border.bottom: 4
border.right: 15
source: toolbutton.png
|
a9901a5a057e6524ecea1a530e87883c394306fc | 6373fc463d246d62439b191e765f698ba0f4c2d4 | /exercises/Ex2/gabriel_gava_trab2_script.sce | 2c7056bfa8912e9db2ffd4a77ba26f82f45c2284 | [] | no_license | gabrielgaava/Numerical-Calculus-Laboratory | 50a1daa4ef1b5c7e1186078a87d8a89e90d5fd3e | 48874bde79b713488d9e03bd5b5ac22278e3d8c6 | refs/heads/main | 2023-01-12T21:07:58.741065 | 2020-11-09T23:43:00 | 2020-11-09T23:43:00 | 303,496,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,600 | sce | gabriel_gava_trab2_script.sce | // Define the function needed
function [result] = f(x)
result = cos(%pi * (x + 1) / 8) + 0.148 * x - 0.9062;
endfunction
function [result] = fp(x)
result = -0.125 * (%pi * sin(%pi * (x + 1) / 8) - 1.184);
endfunction
// Plot the graphic of the function
function plot_function(start, finish, window_id... |
d99ab70290c8bf1907f503e790f38aa37e96943c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH5/EX5.4/5_4.sce | 819041ae3da4ba57cc4fde93f219b84d01d045a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_4.sce | clc
clear
//Initialization of variables
g=32.2
gam=62.4
r0=1
//calculations
function al= func1(r)
al=8/r0^8 *(r0^2-r^2)^3 *(2*r)
endfunction
alpha=intg(0,r0,func1)
function a2= func2(r)
a2=4/r0^6 *(r0^2 -r^2) ^2 *(2*r)
endfunction
bet=intg(0,r0,func2)
//results
printf("Alpha = %d ",alpha)
print... |
90c27dcb498de9507d194f4da718f0a89983b2c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH13/EX13.2.1/Ex13_2.sce | a9ff24b37d48d3114479028a22122546fe5a24cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | Ex13_2.sce | clc
clear
D1=600;
D2=300;
N1=100;
VR=D1/D2;
N2=VR*N1;
printf('Case One \n');
printf('Velocity Ratio= %2.2f',VR);
printf('\n');
printf('Speed of driven shaft= %2.2f RPM',N2);
printf('\n\n');
printf('Case Two \n');
VR=(D1+5)/(D2+5);
N2=VR*N1;
printf('Velocity Ratio= %2.2f',VR);
printf('\n');
printf... |
be4fddf8f509e5324a399f3c24f01bf8b9a2c603 | 4fb238a760c6455db1aff7bb230317e175011b4a | /ScilabFichiers/CodeCalculCoefficient_stagiaire_Malik.sce | 8b37db0f5d7ae3ecaacd84ee031bd7ceac80fda2 | [] | no_license | Abdel-Malik/scilabBSFC | 90feaf817c2bb1367fc2a8b97399b1b9fc3693ba | 2b5ffe850f8b66af6e387672ef5d805e963746ec | refs/heads/master | 2020-12-02T16:25:39.167882 | 2017-07-25T16:11:56 | 2017-07-25T16:11:56 | 96,550,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,527 | sce | CodeCalculCoefficient_stagiaire_Malik.sce | //**Données du moteur**//
//Plage de fonctionnement (tr/min):
miniR = 800;
maxiR = 2500;
//Couple fourni (Nm):
miniCouple = 0;
maxiCouple = 1800;
//Puissance fourni (W):
miniP = 0;
maxiP = 266000;
//Consommation (g/kWh):
miniConso = 180;
maxiConso = 210;
n = 10;
//intervalle dans lequel l'échantillonnage a été réal... |
78243f420749191b91687448069effd27fc0f1d1 | a195e307602bacc3397b8f74a3b9b4cbd7a3b752 | /trajectory_generator/scilab/plot.sce | ceb01afb0632ad91f662e20286a202fb56c3b8c9 | [
"BSD-3-Clause"
] | permissive | Robator/red_manipulation_step | eb0026e92b9eef7ba1bbf9bd2bc9730be7a45f02 | 7f8d82c47a97a1ae641fbfee64efa09c23f56853 | refs/heads/master | 2021-01-01T18:30:54.118019 | 2018-03-11T08:25:11 | 2018-03-11T08:25:11 | 98,350,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,486 | sce | plot.sce | function makeWorkSpacePlot()
filePath="~/vrepWS/src/red_manipulation_step/trajectory_generator/logs/WorkSpaceTraj.log"
results=read(filePath, -1, 4);
i=1;
angle=[results(:,i)*RAD2DEG,...
results(:,i+1)*RAD2DEG,...
results(:,i+2)*RAD2DEG,...
results(:,i+3)*RAD2DEG]
plot(angle(:,4), angle(... |
6579b5e0f63ebf938f42919e10897d7c8e774465 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH3/EX3.2/3_2.sce | a46a219d260f0a7046ec214079e58b4e6f350af9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | 3_2.sce | clc
//initialisation of variables
M= 20 //grams
V= 25 //mm^3
//CALCULATIONS
d= M/V
d1= M*0.001/(V*0.000001)
d2= M*0.0022/(V*0.00003531)
//RESULTS
printf ('density = %.2f gm/cm^3',d)
printf ('\n density = %.f kg/m^3',d1)
printf ('\n density = %.1f slugs/ft^3',d2)
|
4ccedf4c7f1b244ff78391a45f87b006ecc33c5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH5/EX5.21/5_21.sce | f109bb2b850070f059648a8acdac3eadee2056a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 5_21.sce | //observability
A=[-2 0;0 -1]
B=[3;1]
C=[1 0]
V=[C;C*A]
if det(V)==0 then
printf("system is unobservable")
else
printf("system is observable")
end |
609c3bede03bb54a3b3e5bd0929322b07aff002a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH3/EX3.17/Ex3_17.sce | 39cbdd3b7d4bfacf03637630f5ec6f8555c7a85a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | sce | Ex3_17.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 101
clear;
clc;
//Given Data
Vin1=24;//value of voltage source in volts
Vin2=20;//value of voltage source in volts
Vz=12;//zener breakdown voltage in volts
Izmax=20;//maximum zener current in milli-ampere... |
4bae285dad4ab7751db5a975e6721c563b157b3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH10/EX10.3.b/Example10_3_b.sce | fc538880915389b3d869eddc8ec81607d7405db7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | Example10_3_b.sce | //Example 10.3(b)
//Program to Determine the Percentage Increase in Power because of Distortion
clear;
clc ;
close ;
P1=poly(0,"P1");
//Given Circuit Data
//io=15*sin(600*t)+1.5*sin(1200*t)+1.2*sin(1800*t)+0.5*sin(2400*t)
I1=15;
I2=1.5;
I3=1.2;
I4=0.5;
//Calculation
D2=(I2/I1)*100;
D3=(I3/I1)*100;
D4=(I4... |
5d3207eb43d2b1d27834a9ee948420ace064b2c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.39/EX3_39.sce | a6aa5a4c874044f19789a4967e08347b524b3175 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,170 | sce | EX3_39.sce | clc;funcprot(0);//EXAMPLE 3.39
// Initialisation of Variables
etat=0.85;..............//Turbine efficiency
etac=0.8;...............//Compressor efficiency
t3=1148;................//Max temperature in K
t1=300;................//Temperature of working fluid when entering the compressor in Kelvin
cp=1;................. |
146b58a2e363bfea8963f3337857e15252590d0f | f23cac45e0a1e3e9444fd3bb8e11d56a5be97cf8 | /fsolvehexs.sci | 50f7349b272e61ef6586f87806bb6cd1bb9d4665 | [] | no_license | paulaperdigaoram/YOGURT | 4cd805bfb9a06630fba0d990ad7edbbf3786903b | fc95ba5408e085c91bca2a04084fc36b2ea39f95 | refs/heads/master | 2020-03-22T07:56:53.718648 | 2018-08-23T17:31:35 | 2018-08-23T17:31:35 | 139,734,779 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sci | fsolvehexs.sci | function y = fsolvehexs(x)
y(1) = mf * Cpf * (x(1)-Tf1) - x(2);
y(2) = x(4) * lambda - x(2);
y(3) = A * U * x(3) - x(2);
y(4) = ((Tc-x(1))-(Tc-Tf1))/(log((Tc-x(1))/(Tc-Tf1))) - x(3);
endfunction
|
9d95ffb5951a0d664168f521b16c848c36ddafd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.9/Ex8_9.sce | 93b95e2c5132e6a36a720fd7009ce9aace4ddc16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Ex8_9.sce | clc
//initialization of new variables
clear
Cd=1.2
r=1.2 //kg/m^3
u=15 //km/h
l=1 //m
b=1 //m
//calculations
D=Cd*1/2*r*(u/3.6)^2*(l*b)
//result
printf('The force on the plate is %.1f N',D)
|
3ed34ffa1bcc94765efcf72a8f25eb6347c2b5b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH5/EX5.4/Ex5_4.sce | ceb47146696ffa91b80f17acea26c818ececea7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | Ex5_4.sce | //example 5.4
clc; funcprot(0);
zbar=5;
mus=0.3;
F1=0.641;
F2=0.031;
z1=2;
z2=1;
z3=2;
Es1=10000;
Es2=8000;
Es3=12000;
qo=150;
//from table
If=0.709;
Es=(Es1*z1+Es2*z2+Es3*z3)/zbar;
disp(Es,"modulus of elasticity in kN/m^2");
Is=F1+(2-mus)/(1-mus)*F2;
Sc=qo*(1/Es-mus^2/Es)*Is*If*2;
Scrigid=0.93*Sc;
... |
bfd7b29e3c02a2c0bd4e5f79c0578164b893d7f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH2/EX2.1/2_1.sce | f170d895abe8c37ed53526c067fdc8356112fe6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_1.sce | d = 1; l = 1; // Assuming
A_ACDB = (%pi/4)*(1/3)*((1.05*d)^2)*10.5*l - (%pi/4)*(1/3)*d^2*10*l ; // Area of ABCD
A_AEFB = (%pi/4)*(1/3)*((1.1*d)^2)*11*l - (%pi/4)*(1/3)*d^2*10*l;
t = 100*(A_ACDB/A_AEFB);
disp("degree Celcius",t,"The straight bore thermometer reading would e") |
029b6d4340d82192a1ed0c7f10423aefe83c5283 | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtdeclarative/examples/quick/imageelements/content/colors-stretch.sci | e4989a723cd692db3fc3fc7a2f5af7f647f7716d | [
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"LGPL-3.0-only",
"GPL-1.0-or-later",
"GPL-3.0-only",
"Qt-LGPL-exception-1.1",
"LGPL-2.1-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GFDL-1.3-only",
"LicenseRef-scancode-digia-qt-preview",
"LicenseRef-scancode-warranty-discl... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | Scilab | false | false | 80 | sci | colors-stretch.sci | border.left:30
border.top:30
border.right:30
border.bottom:30
source:colors.png
|
0abd8125502b8adbf3eb6a39f6721f8fc7e2dd05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH8/EX8.7/Ex8_7.sce | 3da1fc8a9a44ca0e172ecec2c51b9832669155fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | Ex8_7.sce | // Chapter8
// Determine appropiate heat sink rating
// Page.No-296
// Example8_7
//Figure 8.34
// Given
clear;clc;
Tj=150; // in degree C
Ta=40; // in degree C
Qjc=3.0; // in C/W
Qcs=1.6; // in C/W
PD=6; //in W
Qsa=(Tj-Ta)/PD - Qjc-Qcs;
printf("\n Value of... |
413dae8ac34df4d3ca5c535079dae636b511df1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.28/Ch01Ex28.sce | 30338da0dae336727a5e6d018c5c71ca6f0836ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ch01Ex28.sce | // Scilab Code Ex1.28:: Page-1.33 (2009)
clc; clear;
h = 6.6e-034; // Planck's constant, Js
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
delta_v = 7.54e-015; // Uncertainty in velocity of the particle, m/s
m = 0.25e-06; // Mass of particle, kg
// delta_x*delta_p = h/(4*%pi), solving for delta_x
delt... |
3836fb6bf0dd0b60c16a540db98ba0385f73cdaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH6/EX6.4/S_6_4.sce | 0a3cfcaee8ed7b7cf4947f42b0bfd2f43b116784 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | S_6_4.sce | clc;
//Entire truss
//Applying sum(Fy)=0
Ay=480;//N, Y component of reaction at A
//Applying sum(M_A)=0
B=480*100/160;//N, reaction at B
//Applying sum(Fx)=0
Ax=-300;//N, X component of reaction at A
alpha=atan(80/150);//radian
//Free body member BCD
//Applying sum(M_C)=0
F_DE=(-480*100-B*60)/(sin(alp... |
1d73f60c2ba2c5d70279de6fad47e880f4366122 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH5/EX5.9/5_9.sce | 8f86ba87a472749047007289aa64aaa78b2e765a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 879 | sce | 5_9.sce | clc;
//page no 204
//prob no. 5.9
//A direct FM transmitter with kf=2kHz/V & max deviatn of 300Hz.
kf=2*10^3;tx_dev=300;
disp('a)See fig.5.23 for this block diagram');
f_mul=3*2*3;//3 stage freq multiplier with tripler doubler and tripler
//b)Determination of max dev at oscillator
dev_o=5*10^3;//Deviation at o... |
1af0be566687e32d953aab7b1c8761562e9dc0cb | 341625013613a364dc510d6265238858e3666ff4 | /TP1/sourcePonctuelle.sce | 591c558b102bc45375a984a4f478812eb2ade127 | [] | no_license | Remynoschka/TI | b63476a8f4d1d6070e0b365c5217f93839a2e2d5 | 0a03f607ce668037f517599983be7e35b589f0ad | refs/heads/master | 2021-01-22T14:02:08.519549 | 2014-11-25T23:29:51 | 2014-11-25T23:29:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | sourcePonctuelle.sce | // Définition des échantillons sur un axe
axe = [0:99] / 100 + 5e-3;
// Définition des éléments de surface
x = ones (1:100)' * axe;
y = axe' * ones (1:100);
// Position de la source
xs = 0.5;
ys = 0.5;
// Calcul de la distance
d = sqrt ((x - xs).^2 + (y - ys).^2);
surface = 2*%pi;
Io = 100/(2*%pi);
h = 0.5;
r = sqrt (... |
16e2b06ec3b70f812e1f869613fee12bbbe4cb0e | 89019820ed684cab108f9e2ba182353e5a3bde8b | /input1.sci | 58b473df3f60a0c2a1c6b1535c182e92d7e4cabd | [] | no_license | LuizAlbino/MC_NPT_HGO-SW | 42243632503527e5286f544c5f15de60dac856e6 | 81cc90e83246afa2f4b642a774ed6686c4cea954 | refs/heads/main | 2023-07-08T06:05:54.374255 | 2021-08-13T12:24:14 | 2021-08-13T12:24:14 | 388,113,429 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sci | input1.sci | n_particles= 500
eta0= 0.01d0
pressure= 0.0260d0
temp= 2.1819d0
ke= 3.4953d0
coord= 3
initang= 0
steps= 1000
|
25afe40abaa707a57bcb5fef68614d5b2bd6ed2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH13/EX13.3/13_3.sce | aa0f70cb6010288b96b813ecc049d0d578212622 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | 13_3.sce | clc
//initialisation of variables
hfg= 2406.7 //kJ/kg
Psat40= 7.384 //kPa
R= 8.314 //J/mol K
T= 40 //C
T1= 50 //C
M= 18 //kg
//CALCULATIONS
Psat50= Psat40*%e^((hfg*M/R)*((1/(273.15+T))-(1/(273.15+T1))))
//RESULTS
printf (' Saturation pressure= %.3f kPa',Psat50)
|
e789e35dafff25ed463ef89ec74bf51100f55afb | 2e494112a7fd2c06f9bedfc7be770d24e2350e2b | /1857_3.sce | a06773f32237f6178d22cdab4434de699f9fe7b5 | [] | no_license | NipunBhat/SCILAB | d6d8b0ff0318acabbca724b8a3325cd4487ecfe3 | db25212389eaae4de650b6d4118240c3dbf4f860 | refs/heads/master | 2022-09-25T23:50:48.302369 | 2020-06-04T05:31:45 | 2020-06-04T05:31:45 | 269,266,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 1857_3.sce | function best_fit(A,b)
x = (A'*A) \ (A'*b);
disp (x,'x=');
C = x(1,1);
D = x(2,1);
disp(C,"C=");
disp(D,"D=");
endfunction
A = [1 -1;1 1;1 3];
disp(A,'A=');
b = [2;4;3];
disp(b,'b=');
best_fit(A,b);
disp('The-line of best fit is b=C+Dt');
|
7aafc166dbd4067b8fcac96b2091f7224201789e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH9/EX9.8/Ex9_8.sce | 4ede5dd284562a17cf6424c8c1f104e2ee98c0b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Ex9_8.sce | clear
//Initialization
ni1=11010 //binary number
//Calculation
ni=ni1
deci = 0
i = 0
while (ni > 0)
rem = ni-int(ni/10.)*10
ni = int(ni/10.)
deci = deci + rem*2**i
i = i + 1
end
w=deci //calling the function
//Declaration
printf("\n Decimal Equivalent = %f",w)
|
b3519d57fdb42cb850c933444c15c4e0b7e63adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH5/EX5.3/Ex5_3.sce | 8aef87cacb91016f6c1c3903229b136f2b83fdae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Ex5_3.sce | //fiber optic communications by joseph c. palais
//example 5.3
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
d=62.5*10^-3//Daimeter in mm
delta=0.01//change in reractive index
//to find
a=d/2//radius in mm
P=a*%pi*sqrt(2/delta)//Pitch of GRIN rod lens in mm
mprintf(' Pitch of GRIN rod... |
34fb9b62ca5bdaf005267c0657e50810cb92dd5e | dd62f0e176af8b35f4de2d6b64692105fd90afd6 | /bj.sci | dd21928319428c0e5cae00e9c1825112c4abad76 | [] | no_license | FOSSEE/FOSSEE-System-Identification-Toolbox | 2a631de0f2d6b993b3f19df4a220b274a1d85edb | 11ee9c829fe88301c69b731cdf9fe7957d0fa68c | refs/heads/master | 2018-10-15T08:25:21.323393 | 2018-07-31T10:56:53 | 2018-07-31T10:56:53 | 108,255,727 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,319 | sci | bj.sci |
function sys = bj(varargin)
// Parameters Estimation of BJ(Box-Jenkins) model using Input Output time-domain data
//
// Calling Sequence
// sys = bj(ioData,[nb nc nd nf nk])
//
// Parameters
// ioData : iddata or [outputData inputData] ,matrix of nx2 dimensions, type plant data
// nb : non-negative integer numb... |
b49a88fb5ee14a7a9720fdc1c4fcf1deba052db0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH16/EX16.9/Chapter16_example9.sce | 39c871a649207d797443c1f2ad1cad52f179e190 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,963 | sce | Chapter16_example9.sce | clc
clear
//Input data
n=6;//Number of cylinder
bp=130;//Brake power in kW
N=1800;//The speed of the engine in rpm
CV=42000;//The calorific value of the fuel in kJ/kg
C=86;//The composition of carbon in the fuel in percent
H=13;//The composition of Hydrogen in the fuel in percent
NC=1;//The non combustibles p... |
8b3aab661e3e99495636f312864055fe5abcd95b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH6/EX6.7/ex6_7.sce | c714653407f8bcf5f050fe1fba6300b092b95f4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | ex6_7.sce | // Exa 6.7
format('e',9)
clc;
clear;
close;
// Given data
f_o = 1;// in kHz
f_o = f_o * 10^3;// in Hz
// f_o = 1/(2*%pi*Rc);
RC = 1/(2*%pi*f_o);
disp(RC,"The value of RC is : ")
disp("So R and C can be choosen as 15.9 kΩ and 0.01 µF respectively.")
|
3702e7fa1405e78a44df9623f53b89f262beb15c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH3/EX3.13/Ex3_13.sce | 5702ea20f219fb6d9fb494054b9ec42726ac4a62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Ex3_13.sce | //Example 3.13:
clc;
clear;
close;
//given data :
Ie1=20;// in mA
Ie2=15;// in mA
Ib1=0.48;// in mA
Ib2=0.32;// in mA
del_Ie=(Ie1-Ie2)*10^-3;// in A
del_Ib=(Ib1-Ib2)*10^-3;// in A
del_Ic=del_Ie-del_Ib;// in A
alfa=del_Ic/del_Ie;//
Beta=del_Ic/del_Ib;
format('v',5)
disp(alfa,"ac current gain in common base arrangement... |
a51670c967f8c006aa550ef4a6210f078cdb10bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH7/EX7.3/Ex7_3.sce | a9ec66e7b7c148d1169bcd877bf1a148e94a2c56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,287 | sce | Ex7_3.sce | //Example 7.3, Page Number 311
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
//Minimum detectable signal
clc;
A=1000*(10**-6) //Cathode Area in metre square
wf=1.25 //Work function in eV
T=300 //Cathode temperature in Kelvin
e=1.6*(10**-19) //Charge of an ele... |
e428e34f90f7d79918e81639f87b39a2b4e88558 | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /smallest-greatest-numbers.sce | 7757b05242f73175b0308c1a8ca3ec2d5a621201 | [] | no_license | letyrobueno/Scilab | a47648473aa681556561d5cea20659d143e4f492 | 2f23623dccea89a3ab2db12ec1f615186f785aa4 | refs/heads/master | 2020-09-01T19:00:30.804237 | 2019-11-01T17:45:22 | 2019-11-01T17:45:22 | 219,031,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | smallest-greatest-numbers.sce | // Return the smallest and the greatest number among many numbers
n = input("How many numbers would you like to enter? ")
smallest = %inf
greatest = 0
for(i=1:n)
x = input("Give a number: ")
if (x<smallest)
smallest = x
end
if (x>greatest)
greatest = x
end
end
printf("The smallest n... |
74cd140c78d49589cb5b84209f2f965176f0c370 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH4/EX4.11/Ex4_11.sce | 23b32d1518d5387bc7bff0d7bf175e4dd5f88df2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | sce | Ex4_11.sce | clc
// Given that
alpha_b = 6 // Back rake angle in Degree
alpha_s = 10 // Side rake angle in Degree
gama = 7 // Front clearance angle in Degree
gama_ = 7 // Side clearance angle in Degree
Shi = 10 // End cutting edge angle in Degree
shi = 30 // Side cutting edge angle in Degree
r= 0.5 // Nose radius in mm
// Sample P... |
965cd9010e8dcad382c8514977eb4f462763f751 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_reset.sci | 011e5905d101d4d5d22f2979f874605323d968ee | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,066 | sci | kiks_reset.sci | function [res] = kiks_reset(rndobjects)
// Ouput variables initialisation (not found in input variables)
res=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://w... |
d7e39aa40db7ea3600d6d2cdeafad6db83f391ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH8/EX8.7/65ex3.sce | 50f6cd31ab87008e08e4084a20d231757ba276da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | 65ex3.sce |
//ex3
clear;
clc;
close;
//let x=number originally sold at 25p
//let y=number originally sold at 20p
//amounts received for these were 25x pence and 20y pence & their total value was 1100pence =>25x+20y=1100
x=poly(0,'x');
y=(1100-25*x)/20;
//when the no.s are reversed he receives 20x and 25ypence ans their... |
aba9c2cb5d753c25ff90f832b41a7857844dedee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX6.16/Ex6_16.sce | a21196a34fadfba763103bb5607a42390512b514 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,503 | sce | Ex6_16.sce | //Example 6.16
//Lead compensation for Servomechanism System.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function
s=poly(0,'s');
numG=10;
denG=s*(s/2.5+1)*(s/6+1);
G=numG/denG;
//Dc gain
K=1;
KGs=syslin('c',K*G);
//Le... |
b0e18ef75a1fb76474765f506409b8b343f788cf | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/22.ted.sci | 35e1eaa6064535eb0c80428df34b0f7d93dcf327 | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 11,704 | sci | 22.ted.sci | hey i am michael shermer the director of the skeptics society the publisher of skeptic magazine we investigate claims of the paranormal pseudo science and fringe groups and cults and claims of all kinds between science and pseudo science and non science and junk science voodoo science pathological science bad science n... |
044a94519451d5fcdd7da2b3296f82f4f835dfcd | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.24/Ch11Ex24.sce | 467817b3289d0b5d192a5e11175888d66c8eb6c3 | [] | 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 | 1,083 | sce | Ch11Ex24.sce | // Scilab code Ex11.24: Pg.535 (2008)
clc; clear;
// Part (a)
k = 9e+09; // Coulomb's constant, N-m^2/C^2
e = 1.6e-19; // Electronic charge, C
r = 3.0e-15; // Separation between tne charges, m
U = k*e^2/r; // Height of potential barrier, J
k = 1.38e-23; // Boltzmann constant, J/K
// In order to... |
fc0b8c0b081ba70d603f639b6053fcf7d8a11446 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH4/EX4.15/Example_4_15.sce | a8eeb800d02506d1116d993ab9a996c5581c4fc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,111 | sce | Example_4_15.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 4
//Second Law of Thermodynamics
//Example 15
clear;
clc;
//Given:
V = 1; //volume of each compartment in cubic m
T = 300; //temperature of ideal gas in 1st compartment (K)
P = 200; //pressure of ideal gas in 1st compartment (kPa)
R = 8.314; ... |
5b5c1582c8818ae2efe34dc42e77c72d8d193ac4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PT5.prev.tst | 35354b4d9e5c01d984e4f2e60fca326e6ab7a95e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | tst | PT5.prev.tst | a^3 + 2*b^3 + 3*c^3 - d^3 can be transposed in 0 ways:
{}
|
112ab870f32bc83378cd1f804dc04da70ffbef1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH9/EX9.3/Example9_3.sce | f2cb81770cb3fc62eea143f65fa83d6da8527a35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,268 | sce | Example9_3.sce | //Example 9.3
//Program to compare the shot noise generated in the photodetector
//with the thermal noise in the load resistor
clear;
clc ;
close ;
//Given data
Id=3*10^(-9); //A - DARK CURRENT
e=1.602*10^(-19); //Coulumbs - CHARGE OF AN ELECTRON
h= 6.626*10^(-34); ... |
debedcbe956692f63e6630938fa6f7d8391e02de | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.4.1/Ch1Exa1_4_1.sci | 15b3a12f73155b5cc2d4e067003d748d83dbb623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sci | Ch1Exa1_4_1.sci | // Scilab code Exa1.4.1: To calculate the energy of electron at rest : Page 33 (2011)
m = 9.1e-031; // Mass of the electron, Kg
C = 3e+08; // Velocity of the light,m/s
E = m*C^2/1.6e-013; // Energy of the electron at rest, MeV
printf("\nEnergy of the electron at rest : %5.3f MeV", E)
// Result
// Energy of... |
0b42abe5e00799a049b162e355a4bf0728ecc0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH4/EX4.2/4_2.sce | c330d3201dd2f2f4a2f5f19eeedc48b64526df18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | 4_2.sce | clc
//initialisation of variables
m= 0.0346 //gms
V= 800 //ml
P= 742 //mm
M= 32 //gms
p= 400 //mm
//CALCULATIONS
c= m*1000/V
g= c*760/(P*M)
K= g*22.4
k= c/P
c1= k*p
//RESULTS
printf (' concentration of oxygen= %.4f gram per litre',c)
printf (' \n moles dissolved = %.5f moles',g)
printf (' \n Bunsen abso... |
49745cfacbdbd38f588d62185c3c502d70993158 | c7ca7c2793552f5f73495c73ad14a36f10d92e80 | /M3DA/Simu1/InterpolationTriangle.sci | 4e91ef78069cfc957300bad936a9936449d4b20f | [] | no_license | UchihaMadamiaow/Lille1-Master-Info | f402fb69497b1dd100236ed634590deae983bbcc | 353b05ede296d729bc66b0cec8fa146a3552448b | refs/heads/master | 2021-09-07T19:14:09.730841 | 2018-02-27T19:13:57 | 2018-02-27T19:13:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sci | InterpolationTriangle.sci | function [Phi1, Phi2, Phi3]=InterpolationTriangle(P1,P2,P3)
P(:,1)=P1;
P(:,2)=P2;
P(:,3)=P3;
// positions en X et Y des noeuds 1, 2 et 3 du triangle
x1 = P1(1);
y1 = P1(2);
x2 = P2(1);
y2 = P2(2);
x3 = P3(1);
y3 = P3(2);
// matrice pour créer les fonctions d'interpolation
B = [1, 1, 1; x1, x2, x3; y1, y2, y3];
A =... |
e3d16a2b29cea3b42e9031bf82c3137a41651505 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH8/EX8.8/8_8.sce | 1fbbb22ee5c5bd8ecf7b62a29e2033b7d6dab1e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 8_8.sce | clc
//Initialization of variables
R=1545
n=1.3
T1=520 //R
p2=125 //psia
p1=14.7 //psia
M=29
cv=0.171
k=1.4
//calculations
Wrev= R*T1/M/(1-n) *((p2/p1)^((n-1)/n) -1)
T2= T1*(p2/p1)^((n-1)/n)
Qrev= cv*((k-n)/(1-n))*(T2-T1)
//results
printf("Work done = %d ft lbf/lbm",Wrev)
printf("\n Heat transferred = %... |
7eccdf5de1b0958bc72d9327fb7ed860e27ab212 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH3/EX3.8/Example3_8.sce | 178599d54407ffc766a018e56959cd77a703d7e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,410 | sce | Example3_8.sce | //Example 3.8
//Program to estimate
//(a)The delay difference between the slowest and fastest modes at the fiber output
//(b)The rms pulse broadening due to intermodal dispersion on the link
//(c)The maximum bit rate
//(d)Bandwidth-length product corresponding to (c)
clear;
clc ;
close ;
//Given data
d... |
bcbbc99216b4f39a13156052f5f34769ab27ee09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.7/7_7.sce | 34016d7aad340c174db88174b17f4f6351f5ecbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,394 | sce | 7_7.sce | clear;
clc;
printf("\t\t\tExample Number 7.7\n\n\n");
// calculation with simplified relations
// Example 7.7 (page no.-338-339)
// solution
// this example is calculation of heat transfer with simplified relations for example (7.5) so we use the data of example 7.5
d = 0.3048;// [m] diameter of pipe
Ts =... |
bf6657e45ef5b28c69877b612c03243301ead908 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/metanet/circuit.sci | 14fbff39a1ba94c52d66d3318657d2de23a0201b | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sci | circuit.sci | function p=circuit(g)
[lhs,rhs]=argn(0), if rhs==0 then g=the_g, end
[i,r]=frank(g)
if i==0 then p=[]
else p=prevn2p(i,i,r,g)
end
|
9ea76a4358c61394cd2d587bc76d5d49a7bc14c1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/mtlb/mtlb_sscanf.sci | 6d69419f1f2ae0b36902b41db3d9a4304c84365f | [
"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 | 1,164 | sci | mtlb_sscanf.sci | function [a,nvars,errmsg,nextindex] = mtlb_sscanf(s,fmt,sz)
[lhs,rhs]=argn()
if lhs==4 then error('mtlb_sscanf: nextindex not implemented'),end
if rhs<3 then sz=%inf,end
nmx=prod(sz)
nvars=0
errmsg=''
//replicate the format many times to emulate Matlab format reuse
fmt=strcat(fmt(ones(1,50)))
lvars=msscanf(s,fmt);
if... |
3b2ec07837d2785eed61a19c96c33e378571255b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH7/EX7.7/Ex7_7.sce | cea418d3fb8067574f639ae31c496ad4dd14f56f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Ex7_7.sce | clc;
clear;
P=1 //power in W
lambda=694.3*10^-9 //wavelength in m
h=6.63*10^-34 //Plancks constant in J-s
c=3*10^8 //velocity of light in m/s
//calculation
n=(P*lambda)/(h*c)
mprintf("The number of photons emitted per second = %1.2e",n)
|
f7f76b472b27b3077f6d0cbff83c0cccc2fb8abc | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/wave_intro/run_wave1d_intro.sce | dacbf8466285c4c526bd01a9e7ca9b923321af09 | [] | 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 | 595 | sce | run_wave1d_intro.sce | wavetype=1; //stationary
nsteps=50;
maxamplitude=10;
wavenumber=1*2*%pi;
wavefreq=2;
delta=0.01;
deltat=0.05;
nmax=400;
//Wave packet
npackets=5;
pwavfreq=2;
pwavnum=7;
x=1:1:nmax;
clf;
for i=1:nsteps
//clf;
//realtime(i);
y=wave1d(i*deltat, wavetype, maxamplitude, wavenumber, wavefreq, delta,nmax)+wave1d(i*d... |
a4befcccd16067150fb2126575bbc7a5f1f08247 | 2cd8b0e4bbb07d439d7279a1b2e9125d94467388 | /scilab/Nearest.sci | a245097513cdcd0235c21d1e6bcd0cad0b9a1781 | [] | no_license | edielsonpf/particle-swarm-optimization | 1887aa8045f78406f5249ef00ba920aee838be8e | 204602da90563c55530717439252543b4db3fa42 | refs/heads/master | 2023-02-06T08:38:24.921081 | 2021-05-26T08:26:36 | 2021-05-26T08:26:36 | 32,630,421 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sci | Nearest.sci | function x = Nearest(birds)
[a,b] = size(birds);
x = 1:b;
for i=1:b //Para cada passaro do bando.
//Calcula a distância euclidiana para cada um dos outros passaros e
//identifica o passaro que está mais próximo.
best = 1000000;
for j=1:b ... |
8000f07d8503d1c333ebddd6a5cd51a96c3eba05 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH15/EX15.5/Ex15_5.sce | 11f4e917d9f16012153fad99dedcb2ea64875491 | [] | 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 | 129 | sce | Ex15_5.sce | //clear//
//Example 15.5:Lapalce Transform of delta (t)
syms t s;
y = laplace (delta (t));
disp(y)
//Result
//delta(t) ;
|
432b47f20b2ad367a121d5f0fdb995cf34c5eaf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH2/EX2.11/Ex2_11.sce | cd9a69ab812ce8a892d07a7073bf99ed605abce8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sce | Ex2_11.sce | clear;
clc;
printf("\t\t\tProblem Number 2.11\n\n\n");
// Chapter 2: Work, Energy, and Heat
// Problem 2.11 (page no. 74)
// Solution
printf("At the entrance of device,\n");
p1=100; //pressure at the entance //Unit:psia,lbf/in^2
Rho1=62.4; //Unit:lbm/ft^3 //Rho=The density
v1=144*(1/Rho1) //Specific Volume... |
9c4f328ae7030e157cb09f8d15ecaea3ea858e0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.34/ex34.sce | f509241d302cd9dc7f5bd91824f9833c2fba7171 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | ex34.sce | clc
clear
//Input data
p1=32;//Pressure in mm of Hg at triple point of water
p2=76;//Pressure in mm of Hg above atmospheric pressure
p3=752;//Barometric pressure in mm of Hg
T=273.16;//Triple point of water in K
//Calculations
P1=p3+p1;//Total pressure in mm of Hg
P2=p2+p3;//Total pressure in mm of Hg
T2=((... |
048b63a80ffc0c62c13dc6640e0b4aa712ab72ef | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RA72WYU/ATWM1_Working_Memory_MEG_RA72WYU_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | 2d50ea976c2035b951c9b63d0a0bf61497635d17 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,478 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
18a7016045f70c3f961ab0537988b9423e425d18 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/while.tst | f205706fe2e5052afc8206f4addacd4e54b7e957 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,806 | tst | while.tst | ## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later vers... |
c1411d3f79ff29252dad7c690a2a7ccff344f9e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH27/EX27.8/Example27_8.sce | 9e5bfe0231e0810455e4201434bc75a598fda944 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,313 | sce | Example27_8.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 1: SYMMETRICAL SHORT CIRCUIT CAPACITY CALCULATIONS
// EXAMPLE : 1.8 :
// Page number 472
clear ; clc ; close ; // Clear the... |
073ca1bfa289d91248ad6f232850827163b3ddf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.11/ch9_11.sci | 59899d2bd16bf66770fffb19d1508f954a3ed465 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sci | ch9_11.sci | //to find starting current and torque, necessary exteranl resistance and corresponding starting torque
clc;
f=50;
R2=.1;
X2=2*%pi*f*3.61*10^-3;
a=3.6;
R22=a^2*R2;
X22=a^2*X2;
V=3000;
n_s=1000;
w_s=2*%pi*n_s/60;
I_s=(V/sqrt(3))/sqrt(R22^2+X22^2);disp(I_s,'starting current(A)');
T_s=(3/w_s)*(V/sqrt(3))^2*R2... |
f0fae7da2224a74b39558e40a5727dc8e4830088 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH4/EX4.5/ex4_5.sce | 39ac0cfcb6a5ce729a573deec93728f675d6c03c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | ex4_5.sce | clc;
m=9*10^-31; //mass of electron in kg
q=-3.2*10^-7; //charge in C
e=-1.6*10^-19; //charge on electron in C
n=(q/e); //calculating n
M=n*m; //calculating mass transfered
disp(n,"no. of electrons = "); //displaying result
disp(M,"Mass transfered to polythene in kg = "); //displaying result |
4c9eb08d73c55de5b1c2f98d788af121fdd38c2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH27/EX27.11/Example27_11.sce | e74e57098a9fd9f7d8b2655a5752505408899408 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,607 | sce | Example27_11.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 1: SYMMETRICAL SHORT CIRCUIT CAPACITY CALCULATIONS
// EXAMPLE : 1.11 :
// Page number 472-473
clear ; clc ; close ; // Clea... |
e000a473b4be09f163eb0a6b1edcac61604cbc5e | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/00_recycleIdeal.tst | bb3dbb2aacfe03bdeb7158043947b663930fbb6c | [] | 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 | 2,316 | tst | 00_recycleIdeal.tst | # A simple recycle test
# set up thermo - the name can be anything, I just use
# 'thermo' for convenience. Essentially the rhs causes
# a thermo package to be created and assigned to the unit op
# owning the name thermo - in the case the base flowsheet
# Also note that for now spaces are needed around the operators ... |
d343a8b7252e64529f4220c62f57010ec5fcda6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH15/EX15.5/15Q5.sce | d297656c358cb583f73a8c769d2916553fbb54ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | 15Q5.sce | clc
Fs=1
b=56
Kh=0.25
M=3.66
Cu=500
G=100
Hc=Cu*M/G
printf('a)The maximum depth = %f ft\n',Hc)
Fs=2
H=Cu*M/(G*Fs)
printf(' b)H= %f ft',H)
|
597edeeeeb07eb246d94c2eecacc962b48bc291d | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/icceps/icceps4.sce | 89360ff602a326d889a589750777c0508dc6ec4d | [] | 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 | 257 | sce | icceps4.sce | //check o/p when the i/p arg nd is negative
xhat=[0.1 .2 .3 .4 .5];
nd=-4;
y=icceps(xhat,nd);
disp(y);
//output
// column 1 to 3
//
// 0.8382767 0.9046584 0.9513608
//
// column 4 to 5
//
// 1.1333049 0.6540882
//
//
|
695e7c285bc1a26cceda24fce1c1ffce8c2cfd1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH4/EX4.9/Exp4_9.sce | f44cedef7744863386532f6eea7fda6a5770b8c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | Exp4_9.sce | //Example 4.9
clc
disp("P = 10, N_a = 600 r.p.m, slots = 90")
disp("phi = 16 mWb, E_line = 11 kW")
f=6000/120
format(3)
disp("N_s = 120f / P")
disp(f,"Therefore, f(in Hz) =")
eph=(11*10^3)/sqrt(3)
format(9)
disp(eph,"For star connection, E_ph(in V) = E_line/sqrt(3) =")
disp("Now E_ph = 4.44*K_c*K_d*phi*... |
64cc3cfc6adcf8329ffb02a6e141743da45c125b | bbf84038a44646a2fcb96b7d840d8b4f721e93bd | /Reduced cluster size.sce | 054ff0c17ebbe4ae09f584ebb7c40ee21d3f660b | [] | no_license | Dhwaninaik22/SCILAB | 2e1f685572ef4868792391e3ec187cf1a2e946bb | e954a2bd9452d6363cbe16d480858cc98ea2dca4 | refs/heads/main | 2023-06-25T23:19:06.513029 | 2021-07-28T16:34:47 | 2021-07-28T16:34:47 | 390,406,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Reduced cluster size.sce | Asys=4200//area of system
Acell=12//area of cell
N=1001
K=7
Acl=K*Acell//area of cluster
M=Asys/Acl//no. of clusters
disp(M,'no. of clusters')
J=N/K//cell capacity
disp(J,'cell capacity in channels/cell')
C=N*M//system capacity
disp(C,'the system capacity in no. of channels')
k=4
acl=k*Acell
m=Asys/acl
m1... |
e62fd8cf727ba7c1276d46041a59c9870f2ccdd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH8/EX8.1.4/example8_4.sce | 05edf1a1246519fc65bca70fd249ec19b3d0183c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 979 | sce | example8_4.sce |
//exapple 8.4
clc; funcprot(0);
// Initialization of Variable
t1=3*60;//time 3min
t2=12*60;//time 12min
t3=5*60;//time 5min
P=45*1000;//pressure at t1&t2
P2=85*1000;//pres. at t3
a=1.86;//area
mu=1.29/1000;
c=11.8;
V1=5.21/1000;//volume at t1
V2=17.84/1000;//volume at t2
V3=10.57/1000;//volume at t3
... |
425252aadd15d02fe480b8b0003975654afc1574 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH1/EX1.5.1/Ex1_5_1.sce | f57a4369345b0c731cbfa17ff6806d4222a63d91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Ex1_5_1.sce | clear ;
clc ;
T1 = 234.5 ;// Temperature in K
P = 1 ; // Pressure in atm
rho1 = 14.19 // Density of solid Hg in g/(cm^3)
rho2 = 13.70 // Density of liquid Hg in g/(cm^3)
V = 200.59 // volume of liquid and solid in g/mol
delV = ((V/rho2)-(V/rho1))*(10^-3)// in dm^3/mol
delTdelP = 0.0051 // K/atm
R1 = 8.314 // i... |
1fd52e5132b2a15e4d92da2ed21ad01f026994d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH8/EX8.6/6.sce | 44ad8935989f8f7e9d055a901cd24ac49cdc5e55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | 6.sce | clc
d=2.5; //m; diameter
V1=4/3*%pi*(d/2)^3; //volume of each sphere
T1=298; //K
T2=298; //K
m1=16; //kg
m2=8; //kg
V=2*V1; //total volume
m=m1+m2;
R=287; //kJ/kg K
p=m*R*T1/V/10^5; //bar
disp("pressure in the spheres when the system attains equilibrium=")
disp(p)
disp("bar") |
d3d4f93f955fb2695e47b2726c93af3987e147fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH7/EX7.2/Ch07Ex2.sce | 503c1ac4d9275f26b12c8ff5815c68293db5138e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | Ch07Ex2.sce | // Scilab Code Ex7.2:: Page-7.8 (2009)
clc; clear;
n1 = 1.50; // Refractive index of core material of fibre
n2 = 1.47; // Refractive index of cladding material of fibre
phi_C = asind(n2/n1); // Critical angle of optical fibre, degrees
NA = sqrt(n1^2-n2^2); // Numerical aperture for the fibre
thet... |
05c5f97256cd07e07903fd2273fdf3c7f5cb1512 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Engineering_Economics_R._Panneerselvam_1682.zip/Engineering_Economics_R._Panneerselvam_1682/CH9/EX9.2/Exa9_2.sce | 8d3787129d4ad7f05531fd2a8baea7075e0bb044 | [] | 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 | 285 | sce | Exa9_2.sce | errcatch(-1,"stop");mode(2);//Exa 9.2
;
;
//Given data :
P=100000;//in Rs
F=20000;//in Rs
n=8;//in years
D5=(P-F)/n;//in Rs.
disp(D5,"D5 in Rs. : ");
disp("(This is independent of the time period)");
t=5;//in years
Bt=P-t*(P-F)/n;//in Rs
disp(Bt,"B5 in Rs. : ")
exit();
|
09ee7ed34af697df8fe5ec8a9b742dcee4d0a1e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.23/Ch03Ex23.sce | 7254a98c0700eb4c5e6e8769303d94d783f3712b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch03Ex23.sce | // Scilab Code Ex3.23:: Page-3.45 (2009)
clc; clear;
lambda = 5500e-008; // Wavelength of light used, cm
N = 15000; // No. of lines per inch of grating, lines/inch
a_plus_b = 2.54/N; // Grating element, cm
n = 1; // Order of diffraction for principal maxima
// As (a+b)*sin(theta_n) = n*l... |
dd9d443f4d144a9261f1284a9656585a3ca06bc9 | 8a2fe77cfeb71c00f74b267d5f024b9f8476a5c5 | /nand2tetris/projects/01/Or8Way.tst | aef561ddf1ab572bde61bbcd8e7a244ffb209db8 | [
"MIT"
] | permissive | kejadlen/katas | 3919d4e3f3943edd05c7e93ebea0566c4bb81a0d | cf7bef5b3477e7062d413dcfc5d01100557c1b2a | refs/heads/master | 2023-04-11T04:54:15.703636 | 2022-12-09T04:08:09 | 2022-12-09T04:09:06 | 196,322,880 | 0 | 0 | MIT | 2023-04-03T19:28:46 | 2019-07-11T05:02:10 | Ruby | UTF-8 | Scilab | false | false | 439 | tst | Or8Way.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/Or8Way.tst
load Or8Way.hdl,
output-file Or8Way.out,
compare-to Or8Way.cmp,
output-list in%B2.8.2 out%B2.1.2;
set in %B00000000,
eval,
output;
set in %B1111111... |
7ee047d3e2bfae98dd4a17ff5710fbd67b01d5a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH2/EX2.5/ex2_5.sce | a834d00b2e99c40d3f6a5af35c7e2d6f623a2938 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | sce | ex2_5.sce | clc;
s=1000; //distance in mile
v=400+120; //velocity in mile/hr
disp(s/v,"Time in hr = "); //using t=s/v |
91f33a19a7bd2ae461fc6d991cf0bad82e2e14cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH21/EX21.7/ex21_7.sce | f743ac6810d45b4d67fccdab29fcbe0c5ce760ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | ex21_7.sce | clc;
clear all;
er=80;//relative permittivity
C=2e-6;//the capacitance
V=1000;//applied voltage
E1=C*V^2/2;//energy stored in the capacitor
C0=C/er;//capacitance of the capacitor when the dielectric is removed
E2=C0*V^2/2;//energy stored in capacitor with vacume as dielectric
c=E1-E2;//'energy stored in polaris... |
de5044c3e63a595b37477fd1d0336c301872e912 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH14/EX14.6/14_6.sce | 5483e4bf158dfe2b5b866624fab4fa181131a8e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | 14_6.sce | //Eg-14.6
//pg-590
clear
clc
close()
a = [6 -6 1];
exec graeffe.sci
q = graeffe(a,10^-6);
x0 = 0;
x1 = q(2);
x2 = q(1);
x3 = 1;
P = [1 x0 x0^2 x0^3;1 x1 x1^2 x1^3;1 x2 x2^2 x2^3;1 x3 x3^2 x3^3];
Q = [0 1 2*x0 3*x0^2;0 1 2*x1 3*x1^2;0 1 2*x2 3*x2^2;0 1 2*x3 3*x3^2];
R = [0 0 2 6*x0;0 0 2 6*x1;0 0 2... |
84b602334866f05ef769b839d142a986fa4f3e92 | 54cca39cd1cf7f62b001c8a4d64dcc3d29e3cb4e | /CentralLimitTheorem/randomwalk.sce | 7b931c2131cc593bf775ae854a38ed902fc7d9d3 | [] | no_license | hamling-ling/NumericalResearches | d2487c2566c24ba3dc674e7e17f1745c1020d542 | a824357d7650d3ed86220f1315ee37e577285a7d | refs/heads/master | 2021-01-25T08:36:58.455319 | 2015-04-22T15:17:21 | 2015-04-22T15:17:21 | 7,775,139 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | randomwalk.sce | clear;
// sampling num
samplenum=500
// number of repetition
repeat=1000;
R=grand(repeat,samplenum,'uin',0,1);
R=1-R*2;
// avarage of repetition
X=sum(R,'c');
//plot2d(X);
xmin=-samplenum/10;
xmax=samplenum/10;
param=[xmin:1:xmax];
histplot(param,X)
n=repeat;
p=1/2;
avg=0;
s=sqrt(n*p*(1-p))
x=[-50:0.05:50];
plot(... |
5ebd7757dc0749dbadc8ac9c03c5c9004333beb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.24/EX5_24.sce | d8b9c120141d9f7924ba8a9a73357b4e35f52531 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX5_24.sce | // Exa 5.24
format('v',5)
clc;
clear;
close;
// Given data
kn= 0.5;// in mA/V^2
V_T= 1;// in V
R2 = 40;// in k ohm
R1 = 60;// in k ohm
R_S= 1;// in k ohm
R_D= 2;// in k ohm
V_DD = 5;// in V
V_SS = -5;// in V
V_R2 = (R2/(R2+R1))*(V_DD-V_SS);// in V
V_G = V_R2 - V_DD;// in V
I_D= poly(0,'I_D');
V_S= I_D*... |
46d7e1a61a177e2e0e191bd7a113f0ebafc40c9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH4/EX4.46/EX4_46.sci | bf30e1cbbc6cab837d4af62e3f1e9f71093bf4e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sci | EX4_46.sci | //EXAMPLE 4-46 PG NO-258-259
X1=[10 -104-%i*200;0 205+%i*150];
X2=[200+%i*200 -104-%i*200;-104-%i*200 205+%i*150];
I1=det(X1/X2);
disp(' Current is in polar form= '+string(I1)+' A');
X3=[200+%i*200 10;-104-%i*200 0];
X4=[200+%i*200 -104-%i*200;-104-%i*200 205+%i*150];
I2=det(X3/X4... |
990303c3c4c69e29a36e431fad3f0d9b6bef0a50 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH8/EX8.3/ex_8_3.sce | d5999c60943676d607bd1140daccbb3282c67526 | [] | 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 | 813 | sce | ex_8_3.sce | //find out dimension of joint
clc
//solution
//given
D=250//mm
p=0.7//N/mm^2
//ref table 8.1,foa cast iron ft=14//N/mm^2
ft=14//N/mm^2
//table 8.2,C=9 mm//
C=9//mm
pi=3.14
t=(p*D)/(2*ft)+C//mm
d=0.75*t + 10//mm//nominal dia of bolts
n=0.0275*D+1.6//mm//numbr of bolts
tf=1.5*t+3//mm//thickness of flanges
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.