blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c439709ba8339ee9d07c5ea54e352594f2d7cc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH1/EX1.03/1_03.sce | 6d5aa090a0612a867ba75aea09a05635d8a4450d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 1_03.sce | //Problem 1.03: Find the force acting vertically downwards on a mass of 200 g attached to a wire.
//initializing the variables:
M = 0.2; // in Kg
g = 9.81; // in m/s2
//calculation:
F = M*g
printf("\n\nResult\n\n")
printf("\nForce: %.3f Newton(N)\n",F) |
3a58fb50cf6c66d0e84562d8df4b7183cd804e66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH13/EX13.2.b/13_2b.sce | 97c0abdd3553803ce4ac917ac158d75b931e4c4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | 13_2b.sce | clc
//initialization of varaibles
T1=350+460 //R
v1=6 //cu ft/lb
m=1 //lb
R=53.34
v2=2*v1
cp=0.24
//calculations
disp("From steam tables,")
vg=3.342 //cu ft/lb
P1=77.5 //psia
P2=P1
h1=1204.8 //B/lb
v2=2*v1
T2=1106 //F
h2=1586.7 //B/lb
Q=h2-h1
W=P1*144*(v2-v1)
//results
printf("Final temperature = %... |
e18620cd4aa88122a014fb432bcd19817f4c1aca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH7/EX7.7/Example77.sce | 3427ce5da6fc5e92fbda797a29fc6a3b090c3c7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,238 | sce | Example77.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 7")
Cpg = 1147;
disp("Temperature Drop = T01 -T03")
Drop = 145;
U = 345;
psi = Cpg*(Drop)/U^2
disp("Using velocity diagr... |
c3f792a9042beac7a120ab674d39e65af73fcccc | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/acoshm.man.tst | c30e2f6c7a28793facf281d1e753786db321af6d | [
"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 | 81 | tst | acoshm.man.tst | clear;lines(0);
A=[1,2;3,4];
coshm(acoshm(A))
A(1,1)=A(1,1)+%i;
coshm(acoshm(A))
|
a1ed3d1a5ff35caa3937fb029e1225d71ea3bbb3 | a4bbc60bcc82ee6212825ce21fc9e4fa7b04e870 | /Bioinformatics_3k/3uzd/tests/1AXC.tst | df229dd1bbc0d125423d334cc0e6c3af9d7b1879 | [] | no_license | Luksys5/LT_programos | 3a7cabb6c5e8a23a856983c1938d2d492cddf916 | 959ab74029df334767fcad84adc46ae36cf7cdf1 | refs/heads/master | 2021-01-19T19:33:11.505596 | 2017-03-12T18:08:14 | 2017-03-12T18:08:14 | 16,478,166 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | tst | 1AXC.tst | #$Id: pdbboxes 232 2015-05-04 12:44:10Z Lukas_Tutkus $
93.962 97.136 44.179 inputs/1AXC.pdb
|
aa2e688b6881fe3cc5a85fcd733bca1f0e6a0de1 | b3285989ffe1c1bb555a67a92c4bbe7e1e39dcc5 | /Agrégation Mathieu/LP12 - Traitement du signal. Étude spectrale/carré.sce | 7792b1debb7d301958703153288d353c20cbfe74 | [] | no_license | mubero/AgregationPhysique2020 | 82b840924dd800e8d614ecf3e24ab511b2326243 | 9a038fb0302059e9e5b8442ba765f918176916b0 | refs/heads/master | 2022-11-10T13:03:22.976863 | 2020-06-21T15:22:24 | 2020-06-21T15:22:24 | 270,004,658 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | carré.sce | // ******************* Signal carré *******************
clear all
// Paramètres
N = 1; // Nombre de modes
t = linspace(-5,5,1000);
s = 0;
for k = 1:N
s = s + (4/%pi)*(sin((2*k-1)*%pi*t))/(2*k-1);
end
h=gca();
plot2d(t,s, style = 2);
h.data_bounds = [-5, -2 ; 5, 2];
h.x_label.text = "Temps";
... |
304def3adb16a9c2a5e0d9da4ceb97ea21759a41 | 2ac3595ed7f1ea89f95169caefd85f9a1c52a6d9 | /base/Applications/Eventing/EventActive/EventActive.tst | 9ce564eda0e35a587c91a9bf3d4147408fd40822 | [] | no_license | lastweek/source-singularity | bc61bdac3047ef02cc017841d7621831b5413fe8 | d37047d36f26f7543224905ae35a369448be904e | refs/heads/master | 2021-10-13T01:19:54.646849 | 2021-09-26T18:58:14 | 2021-09-26T18:58:14 | 210,944,019 | 86 | 8 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | tst | EventActive.tst |
<Profile Name="ProfileEventActive">
<Module Name="EventActive">
<Suite Name="EventActive">
<Test Name="TestAll"/>
</Suite>
</Module>
</Profile>
|
09f697a3f9f222643839af5998f8d00932b6ccb6 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_6/Scilab_codes/parte.sce | 171cfece58520c6219f6a5774427556994d87624 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | parte.sce | clear
clc
s = poly(0,'s');
G = 1/((s+3)*(s+4)*(s+12));
for k = 1:50:1000
T = k*G/(1+k*G);
t = 0:0.1:20;
T1 = syslin('c',T);
ts = csim('step' ,t, T1);
plot(t , ts);
end
|
b913f92841d5b2693311d36593419595f7256c32 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /ODE/scilab/bvp2_shoot_secant.sce | cdcf641680d9c97dcaf0bed46265729e5fb0d587 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,376 | sce | bvp2_shoot_secant.sce | function [t,x] = bvp2_shoot_secant(f,t0,tf,x0,xf,N,tol,kmax)
// To solve BVP2: [x1,x2]’ = f(t,x1,x2) with x1(t0) = x0, x1(tf) = xf
if ~exists("kmax","local")
kmax = 10
end
if ~exists("tol","local")
tol = 1e-8
end
if ~exists("N","local")
N = 100
end
dx0(1) = (xf - x0)/(tf - t0) // the i... |
22c3fdf7e7fa8f05ac70de3a115d6d18ab21b2ff | eee6b5ba0933f6b42d6abe6b5180679afff46b59 | /model_17.5kpa.sce | 3f30143ebb51337d246fd85e88127452e3ef3545 | [] | no_license | Cedev/fluidic-amplifiers | f3e528dc22cc2824cf0c5c869c7e04489c3b116f | 08db2e272a580947d744605bbc42c536ce7e43cf | refs/heads/master | 2021-05-17T16:30:12.460688 | 2020-04-05T15:35:28 | 2020-04-05T15:35:28 | 250,872,346 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | model_17.5kpa.sce | exec("model_defaults.sce", -1)
// CONTRL
FINTIM=1E-2
// PARAM - geometry
D=0.905
B0=1.06E-3
BC=1
ALPH=.20944
XV1=8.640
LGTHC=10
AREAC=2
LGTHS=15
AREAS=3
LGTHV=10
AREAV=1.95
SPL=10
LGTHR=27.75
// PARAM - supply
P0=3.5/.165 // An output pressure of 3.5 kPa with only .174 times the input reaching t... |
9316523b4c469733461f2398cb78c48184ee3834 | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /Self_tuning_controller/ConventionalTuning_Vikas/PIDControllersetpointchange/pid_bda.sci | b2c916daf41ca0f0430c5438c212ba21c62128f6 | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sci | pid_bda.sci | mode(0)
function [temp] = pid_bda(setpoint,fan,K,Ti,Td)
global temp heat_in fan_in C0 u_old u_new e_old e_new e_old_old
global heatdisp fandisp tempdisp setpointdisp sampling_time m name
e_new = setpoint - temp;
Ts=sampling_time;
S0=K*(1+(Ts/Ti)+(Td/Ts));
S1=K*(-1-((2*Td)/Ts));
S2=K*(Td/Ts);
u_new = u_old + S0*e_n... |
1a35766586b8db020f5081a43ed730f281d49362 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.26/ex3_26.sce | c3d524802a38ab8ecccfc4961fd02e5fe354362e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | ex3_26.sce | // Exa 3.26
format('v',7);clc;clear;close;
// Given data
Vm = 0.1;//full scale deflection voltage in V
Rm = 20;//meter resistance in ohm
Im = Vm/Rm;//current in A
I1= 10;// in A
I2= 1;// in A
I3= 100*10^-3;// in A
// I1*R1 = Im*(R2+R3+Rm) or I1*R1 - Im*R2 - Im*R3 = Im*Rm (i)
// I2*(R1+R2) = Im*(R3+Rm)... |
56d040cbb8743926a6b91bd961bd31447363751b | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/dak.tst | 6e1222fde26322dc865411a1e39c82b97991f311 | [] | 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 | 23,767 | tst | dak.tst | waṗiye waṗiwaye V;SG;1;PRS
ohitike uŋkohitikapi V;PL;1;PRS
icimani ye icimani ye V;SG;3;PRS
héc̣a héuŋc̣a V;PL;1+INCL;PRS
ṡapye ṡapuŋye V;PL;1+INCL;PRS
ḣtani ye ḣtani uŋye V;PL;1+INCL;PRS
okicide owekicide V;SG;1;PRS
nataŋ nawataŋ V;SG;1;PRS
hdasaŋ hdasaŋ V;SG;3;PRS
ḣa ḣa V;SG;3;PRS
kaḳi yakaḳipi V;PL;2;PRS
hde yahdapi... |
3354d3e82e9e73957efeee8200519ebf074d9d9c | 8aff21ee3944bdacbff38a386556c89c38377c6a | /dare.sci | bef39737c44254ec47d3f6c35310cffa7d7003dd | [] | no_license | rutup1595/control-system | bd4704a4aa437a66260301a22adb5e55b49c5c84 | b30d559d8835cd278cc6d6bb81f821cdfcc9ee55 | refs/heads/master | 2021-01-17T10:17:03.192056 | 2019-10-10T05:28:46 | 2019-10-10T05:28:46 | 59,283,553 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,516 | sci | dare.sci | function [varargout]=dare(A,B,Q,varargin)
//
//Calling Sequence
//function[X L G]=dare(A,B,Q,R) --- for discrete time systems
//Parameters
//A - Real matrix (n-by-n).
//B - Real symmetric matrix (n-by-m).
//Q - Real symmetric matrix (n-by-n).
//R - Real matrix (m-by-m).
/... |
904176004f69d8be862a39aa055a844721bf9350 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH10/EX10.4/Exa10_4.sce | e71d7c943547f48c771d1984581298949a77fd21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,251 | sce | Exa10_4.sce | //Exa 10.4
clc;
clear;
close;
//Cost to the state :
disp("Cost to the state :")
n=20;//in years
P=2500000000;//in Rs.
Agt=10000000;//in Rs.
Ai=1000000;//in Rs.
Com=48000;//in Rs./year/employee
C1=Com*300;//in Rs.
i=10;//in % per annum
//Formula : (A/P,i,n) : ((i/100)*(1+i/100)^n)/(((1+i/100)^n)-1)
C2=P*... |
84a770cc44cc1e17f1daa021a21c043be314a1dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH15/EX15.8/15_8.sce | 8d8a838f41e8df76a5166e60fad08e73084a0553 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | 15_8.sce | //Two incloned planes
//refer fig.15.10 (a),(b) and (c)
//Let the assembly move down the 60 degree plane by an acceleration a m/sec^2
//Consider the block weighing 100 N
//Applying equilibrium conditions
N1=50 //N
mu=1/3
//From law of friction
F1=mu*N1 //N
//T+((100*a)/(9.81))=69.93
//Now consider 50 N bloc... |
ef63600e8d92d340558d88982704b1d8e92f6d31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH10/EX10.15/Ex10_15.sce | 8e00ce9e022cd5ba3db41880c2d391fdb2bfffc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_15.sce | clear
//
//
//
//Variable declaration
epsilon0=8.85*10^-12; //dielectric constant
Na=6.023*10^26; //number of atoms
M=32; //atomic mass
alphae=3.28*10^-40; //dielectric polarizability(Fm^2)
rho=2.08*10^3; //density(kg/m^3)
//Calculations
x=Na*rho*alphae/(M*3*epsilon0);
... |
635292ec39d274e6b4ddff58d1e6219f8ac81538 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.2/ex6_2.sce | 504f3fb033627d90d8ea6df1f8f00dd6935cb532 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | ex6_2.sce | // Exa 6.2
clc;
clear;
close;
format('v',7)
// Given data
Beta = 0.01;//feedback fraction
// Voltage gain with negative feedback
A = 3000;// unit less
Af = A/(1+(Beta*A));// unit less
disp(Af,"The voltage gain of the amplifier is");
|
456dbecdd747fda52a1f3b3878869b063d51619f | 218307820851c017df48930a4607586b000dc01d | /Project7-8/BasicTest/BasicTestVME.tst | 7d1ba17ab4672a06d3c6f4e97d872d40d9bdac84 | [] | no_license | catiecook/nand2tetris | 8e51a09488b46ba1b8fd996e32ad45004bb47037 | 4d70f9683ab51283317ff194eece12e52a7901f8 | refs/heads/master | 2021-01-10T13:30:52.798712 | 2016-05-05T15:34:11 | 2016-05-05T15:34:11 | 53,958,856 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | tst | BasicTestVME.tst | //BasicTestVME.tst
set sp 256,
set local 300,
set argument 400,
set this 3000,
set that 3010,
repeat 25 {
vmstep;
}
output; |
f709b6ee8d0eadf0a5402f1d433a9b7ac81caa96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH5/EX5.2/2.sce | c6616f4b50938e606c9ca318a4a92faf6128bc0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | 2.sce | clc
r=[0 0.05 0.10 0.15 0.20 0.225 0.25];
v=[19 18.6 17.7 16.3 14.2 12.9 0];
// We define a new variable dQ=v*2*%pi*r. According to the given values of r, v, we get dQ as follows
dQ=[0 5.8 11.1 15.4 17.8 18.2 0];
plot(r,dQ)
xtitle("", "Radius", "v*2*%pi*r")
// From the graph area under the curve comes out to b... |
d2a57ab2995ab054334887a7ffde6552ab17b4ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH12/EX12.10/Ex12_10.sce | d33554222c354827ff001d9d14d344696d7a2068 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,588 | sce | Ex12_10.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 12 : Three Phase Circuit
// Example 12 - 10
clear; clc; close; // Clear the work space and console.
//
// Given data
V1_mag ... |
41d79ae218c9fca5f9575d5b55ae3fc014f8d9bf | 1485852dd59aafc286600126cf832a32e10f117f | /tests/localMaximaFinder/test3.sce | 1373dbf1c0ab5424f846eedb5fc0dc0487eb0f8b | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 126 | sce | test3.sce | src= imread("../images/color2.jpeg");//input is grayscale image
gray = rgb2gray(src);
loc=localMaximaFinder(gray,[1 3],4,1);
|
189840e90853795036b3db458c05f730f167e85e | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.48/48.sci | 27cbb7cb91e66a71ab627052b340b6c6eb6dffac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sci | 48.sci | clc;
clear all;
disp("heat transfer rate")
d=300/1000;//m diameter
L=3.5;//m
delT=40;//degree C =ts-ti
f=0.022;// friction factor
St=f/2;
disp("The energy balance yields Q=h*A*(ts-ta)=m*cp*(to-ti)")
disp("h*(%pi*D*L)*(ts-(to+ti)/2)=rho*(%pi*D^2*U/4)*cp(to-ti)")
disp("(h/(rho*U*cp))*L*(ts-to+ts-ti)/2=D/4*(to-t... |
ca8660f117e170b7fd65a4200e3d469ff164e035 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/diffpara.sci | c36ae7cfbd817dba5e5f3d2ebb8ab8376101c86c | [] | 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 | 1,524 | sci | diffpara.sci | function [D,DD] = diffpara(X,varargin)
//Return the estimator D for the differencing parameter of an integrated time series
//Calling Sequence
// [D, DD] = diffpara (X)
// [D, DD] = diffpara (X, A)
// [D, DD] = diffpara (X, A, B)
//Parameters
//X: Input scalar or vector.
//DD:The estimators for all frequencies in the ... |
989b3c859c18ba9ec25d1337b7d744f4b2211c17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH6/EX6.13/6_13.sce | 4666cf3618fe02346edfa8ab3d28b144cd35cc29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 6_13.sce | clc
//initialisation of variables
f= 0.01
l= 2000 //ft
d= 6 //in
g= 32.2 //ft/sec^2
Q= 10 //cuses
//CALUCLATIONS
v= sqrt(2*g*(d/12)*Q/(4*f*l))
Q1= v*%pi*(d/12)^2/4
//RESULTS
printf ('Discharge through the pipe= %.3f cuses',Q1)
|
9ae98c58f34f7df75a0f61457fbc50d0c3ec7110 | 4007d5ac6efaf1f2cc139e7b92e59cebf0f7a1bf | /requirements.tst | 055a102aed727721d5bb428f637d4cdd9b8991a2 | [] | no_license | codekidX/omi_pi | 5daedc024e77844c4685856428b0322082815665 | cb3264e1271e2b229d264b1223e1c47d2e9a775b | refs/heads/master | 2020-03-28T09:38:01.301752 | 2018-09-09T17:37:20 | 2018-09-09T17:37:20 | 148,047,639 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | tst | requirements.tst | astroid==1.6.5
backports.functools-lru-cache==1.5
click==6.7
configparser==3.5.0
enum34==1.1.6
Flask==1.0.2
futures==3.2.0
gunicorn==19.9.0
isort==4.3.4
itsdangerous==0.24
Jinja2==2.10
lazy-object-proxy==1.3.1
MarkupSafe==1.0
mccabe==0.6.1
pylint==1.9.3
singledispatch==3.4.0.3
six==1.11.0
Werkzeug==0.14.1
wrapt==1.10.1... |
b5328cad2004c7c17f8a36c3bb681fb5f446a77a | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/overload_extend2_runme.sci | 9b1fd46dcefc8c642b6770b9b98d8ea923e8134b | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sci | overload_extend2_runme.sci | exec("alaqiltest.start", -1);
try
x = new_Foo();
catch
alaqiltesterror();
end
if Foo_test(x, 1) <> 1 then alaqiltesterror(); end
if Foo_test(x, "Hello alaqil!") <> 2 then alaqiltesterror(); end
if Foo_test(x, 2, 3) <> 3 then alaqiltesterror(); end
if Foo_test(x, x) <> 30 then alaqiltesterror(); end
if Foo_test... |
533fd2807ca924f6d7ccdf70410898e4f155328a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/util/halt.sci | 356bd46af5416232be18058c7635717dd45fc9e9 | [
"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 | 163 | sci | halt.sci | function []=halt()
//halt() stops execution until something is entered in the keyboard.
//!
// Copyright INRIA
write(%io(2),'halt'),read(%io(1),1,1,'(a1)');
|
1f9ccc99b4913bf71318dbf74d540f68020b8e67 | b55b3f4ecb80cc7d4e6ccad7124adeae711f42f7 | /Digital_communication/Lab_2/Lab_2.sce | 4ec39c6cc115494ec9c85a309e76e1fb5a9dab49 | [] | no_license | shivamchopra99/Lab-Works | 9ada57e2093be3290be18ed21289e4bd6fc68df2 | 0dbb533ca502c2256089970acfd3420f43568801 | refs/heads/master | 2020-09-21T04:52:25.548472 | 2019-11-18T09:23:18 | 2019-11-18T09:23:18 | 224,683,152 | 1 | 0 | null | 2019-11-28T15:35:53 | 2019-11-28T15:35:52 | null | UTF-8 | Scilab | false | false | 658 | sce | Lab_2.sce | //Aim to perform sampling of a given signal and plot it's waveform using SciLab
//Function Used sin wave
//Conditions for Sampling:-
//fs>2fm [Over Sampling]
//fs=2fm [Critical Sampling]
//fs<2fm [Under Sampling]
clc
clear all
fm = input("Enter the MAXIMUM frequency : - ")
fs = input("Enter the SAMPLING frequency :... |
f4350ef922cd701c2a18b8ff1bb10435b899e79f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH4/EX4.4/Chapter4_example4.sce | aff4696301365c10313c661f3d1a5f4fc7173dd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | Chapter4_example4.sce | clc
clear
//Input data
r=0.2//Radius of uniform disc in m
d=0.15//Distance from the centre in m
//Calculations
T=2*3.14*sqrt((17*r)/(12*9.8))//Period of oscillations in s
//Output
printf('The period of oscillation is %3.2f s',T)
|
a44f6d932bd00bd66106d45bfc530cd4e1c2c55d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH1/EX1.2/Ex1_2.sce | e2b6997cc0ecd4e01889da924a05b05cec27e5f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex1_2.sce | //fiber optic communications by joseph c. palais
//example 1.2
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
Loss=-23// total loss in dB
//to find
P2byP1=10^(Loss/10)//P2/P1 gives efficiency
mprintf(" System Efficiency=%fpercent",P2byP1*100)
|
c45ba79883f457c56f627e9d8054e4a8ea0b8a6b | 60942a0ce55fe4c61fa78aebb849b3a352611edd | /higher order/third order higher V.sci | 3c9b5cfa89eee5249ad36e7076f4f4a59f0b55ee | [] | no_license | lalithDupathi/EIL-lab-IITB | 7a7d3232368546b5cbc5d3aa32bf5d74fbc91c98 | cac01a81a92e2d8444996a710325634a20b4b942 | refs/heads/master | 2022-08-22T23:42:48.202385 | 2017-10-17T16:27:26 | 2017-10-17T16:27:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sci | third order higher V.sci |
V.a3=input('coeff of third differential of y')
V.a2=input('coeff of second differential of y')
V.a1=input('coeff of first differential of y')
V.a0=input('coeff of zeroth differential of y')
V.b3=input('coeff of third differential of x')
V.b2=input('coeff of second differential of x')
V.b1=input('coeff of first differ... |
e70e118795505b3dab4183965936384652ad689f | dabaa151dd30205dd92a6844c0cd61cf046fb8fe | /CSA/CSA.tst | dcc2c750ec6ef9ee3979e1d6e23d43f3338a3515 | [] | no_license | hakesh729/Project_hack | 627ef8260f81dbc971bb5371839523daac4a2646 | a1ea76fa612bbe4515863495922167bb4c65c418 | refs/heads/main | 2023-01-13T13:37:09.828021 | 2020-11-27T06:05:39 | 2020-11-27T06:05:39 | 316,411,714 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 778 | tst | CSA.tst | load CSA.hdl,
output-file CSA.out,
output-list a%B1.16.1 b%B1.16.1 c%B1.16.1 carry%B1.16.1 sum%B1.16.1;
// 10 + 20 = 30
set a %B0000000000000000, set b %B0000000000001010, set c %B0000000000010100,
eval, output;
// 65,535 + 65,534 + 65,532 = 196,610(out of bound)
set a %B1111111111111111, set b %B11111111111... |
3129d246a0fcdf92ffc95576fc4276d9484323cb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673.zip/Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673/CH1/EX1.5/1_5.sce | faee016d157c1cfcb80cf9a8f1f9521ba5c1aced | [] | 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 | 249 | sce | 1_5.sce | errcatch(-1,"stop");mode(2);//relative error
//example 1.5
//page 10
;;
n=8.6;// the corrected number
N=1;//the no is rounded to one decimal places
E_A=(10^-N)/2;
E_R=E_A/n;
printf('the relative error of the number is:%0.4f',E_R);
exit();
|
4343de86138aa5993e5121935fc1e2e8e1d5313b | 857f7516c898df1639b27c209cf85ba30f76f696 | /QuadraticDistortion.sce | 66e7b17a3dcce0458cacab1cb5c63f22a79a2797 | [] | no_license | pracheejaviya1/signals-and-systems | ba72429fc1022d72245c2b2305e341fc9faea7c7 | 604aa7a71a858c03f816702f689ea05dc139ecf4 | refs/heads/master | 2022-02-25T23:54:46.695092 | 2019-11-16T12:41:14 | 2019-11-16T12:41:14 | 222,097,028 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | QuadraticDistortion.sce | clear;
clf;
dt = 1/10000;
t = -0.01:dt:0.01;
x = sin(200.*(%pi).*t);
a = 3;
b = 5;
y = a.*x + b.*x.*x;
subplot(2,1,1);
plot(t,x);
xgrid(1);
subplot(2,1,2);
plot(t,y);
xgrid(1);
|
565d1579254c99643df9a1eedf65cc6fda499f79 | 0e637a0e41450cddb847e0328eaebb9365cefdd4 | /1st assignment/demo.sce | 95d4c0b6acf20abe95e5d2bb7f7c688e4fe483c2 | [] | no_license | mehtasankets/CASP | 32c7ea00fca072e85d664f4acd050edee5f26a5f | 5dbdd3c14b1b2620c29ab5bfdad640f4529d779c | refs/heads/master | 2020-04-28T09:20:00.026745 | 2011-11-03T08:33:12 | 2011-11-03T08:33:12 | 2,700,756 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,951 | sce | demo.sce | // x initialisation
x=[0:0.1:2*%pi]';
//simple plot
plot(sin(x))
clf()
plot(x,sin(x))
//multiple plot
/*
clf()
plot(x,[sin(x) sin(2*x) sin(3*x)])
clf()
// axis on the right
plot(x,sin(x))
a=gca(); // Handle on current axes entity
a.y_location ="right";
clf()
// axis centered at (0,0)
plot(x-4,sin(x),x+2,cos(x))
... |
800799bc476648481c6aed46f26ae1d8cc8db71c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.15/ex5_15.sce | b5278d585b4445e17b28499d9af49ca1af86f2e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | ex5_15.sce | // Exa 5.15
clc;
clear;
close;
format('v',6)
// Given data
Af = 100;
Vi = 0.6;// in V
Vo =Af*Vi;// in V
Vi = 50;// in mV
Vi = Vi * 10^-3;// in V
// Internal gain of amplifier,
A = Vo/Vi;
disp(A,"The value of A is : ");
B= ((A/Af)-1)/A;
disp(B,"The value of B is");
|
6f798c0cd6ee5fa5d2ade18778aa688c26b66114 | ea4cf3aee5b04d1e41192e211d6a41f7ef08ed3f | /loop.tst | f33f8f5a74bc406d889a26773d7f5014a010f7d9 | [] | no_license | 0xsanchit/HackComputer | dfb97c3ce29de6c6b9b472f9ecf4971914e21221 | 7912f1091fabd2c8a671732c16db7529c8e5ab82 | refs/heads/master | 2023-06-17T17:28:37.319421 | 2021-07-18T11:40:15 | 2021-07-18T11:40:15 | 387,161,569 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | tst | loop.tst | /*
PROGRAM 3 :
//HLL
int i = 1 ;
int sum = 0 ;
while (i < 100) {
sum = sum + i ;
i = i + 1 ;
}
//endHLL
i : RAM16K[16]
sum : RAM16K[17]
*/
load HackComputer.hdl, //loading hdl file
output-file loop.out, //declaring output file
output-list RAM64[16]%D1.10.1 RAM64[17]%D1.10.1 ; //o... |
b7b2bf550486c83a2931e119b6b3661bff00ba27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH6/EX6.3/6s3.sce | 15cd9748bc19c676f47060ca0e3371748ffca43b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | 6s3.sce | clear;
clc;
disp("Example 6.3");
//Warshall's Algorithm
clc;
clear;
funcprot(0)
function[path]=transclose(adj,n)
for i=1:n
for j=1:n
path((i-1)*n+j)=adj((i-1)*n+j);
end
end
for k=1:n
for i=1:n
if(path((i-1)*n+k)==1)
for j=1:n
path((i-1)*n+j)=path((i-1)*... |
62f18ecb7cc3b7b878be5e30d21331a5b3063e6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH8/EX8.9/Ex8_9.sce | 6e394be01d5783fd91ed0579ee3e7c1260f2c80d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex8_9.sce | //Example 8_9 page no:319
clc;
R=50;
Xl=25;
V=200;
f=50;
Imax=V/Xl;
Imin=V/(sqrt(R^2+Xl^2));
Pmax=V^2/(2*Xl);
disp(Imax,"the maximum value of current is (in A)");
disp(Imin,"the minimum value of current is (in A)");
disp(Pmax,"the maximum power is (in watts)");
//In text book calculation in Imin is wrong
|
25de69c092d47a04f1c3cced24352a78a7fae20b | e3c27edbd2f0a8e733cee84b90a906c0a6d7c176 | /sem_3/c/ljudge/4.2.tst | 13a9240e0fda7c96f2d5f298aa308714915684a5 | [] | no_license | dmitryhd/dmitryhd_code | c32223da5506156a068bbb0f20ad4cd06fdf2166 | 5173f6f74d4fa1c9c5fba9ffc4fc9134c56f4b0c | refs/heads/master | 2021-01-17T11:56:50.221745 | 2011-04-26T18:31:58 | 2011-04-26T18:31:58 | 1,650,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22 | tst | 4.2.tst | 5
#
-#
-+#
+++#
---+#
|
e157c06751ccb39617c70320c2d59199fce08e8b | 1effec70f42dbf473f60b45855c2902a9c162d63 | /scripts/exercice7.sce | 2f5236e2191bd00e24295774d3585ecd20157054 | [] | no_license | OlKakine/TP-Scilab-Analyse | fd7abdc2698e2f1344ddb8e4b0c5904653e76da1 | d99e1947127a05a6ff2c98e99f9e56cfa1afb29e | refs/heads/master | 2020-04-09T00:35:39.797674 | 2016-11-23T12:16:37 | 2016-11-23T12:16:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | exercice7.sce | clc; clf; clear;
A = [1+%i, %i, 2; 3, 2+%i, 1; 1, %i, 6]
n = size(A, "r")
d = diag(A)
B = A - diag(d)
a = linspace(0, 2*%pi, 100)
figure(0);
//Disques
for i = 1:n
cx = real(d(i))
cy = imag(d(i))
radius = sum(abs(B(i,:)))
x = cx + radius * cos(a)
y = cy + radius * sin(a)
plot(x, y, "r")
end... |
5ef6934e06a5efb54f4017dd6fccec518397cc48 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/midcross/midcross10.sce | 12c19333a0ef66b5ba658cb89c7c5111fde223ab | [] | 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 | 323 | sce | midcross10.sce | x=['a','b','c'];
midcross(x);
//output
// !--error 10000
//X must be a vector with more than one element.
//at line 45 of function midcross called by :
//midcross(x);
//matlab
//Error using midcross (line 61)
//Expected X to be one of these types:
//
//double
//
//Instead its type was char.
//... |
c6bbcb75e5194958083cf791dafcb3a01e7a215b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH11/EX11.4/ex11_4.sce | 0e4cb3f18a9b817b537c8de130a9126342f55213 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | ex11_4.sce | clc;
lf=335; //heat of fusion in kJ/kg
g=9.8; //gravitational constant in m/sec square
h=lf/g; //height in km
disp(h,"Height in km = "); //displaying result |
78b68ed536cd797ceafa55a9576fb24ebf69426b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH7/EX7.22/EX7_22.sce | 9fa938870115882810f75a15ee78e17957ae0ce3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | EX7_22.sce | //Example 7.22
//Find the laplace transform .
clc;
t=-10:.01:10;
for i=1:length(t)
y(i)=exp(-t(i))-2*exp(-2*t(i))+exp(-3*t(i));
x(i)=exp(-0.5*t(i));
end
s=%s;
numfs1=1;
denfs1=s+0.5;
fs=syslin('c',numfs1/denfs1);
numfs2=2;
denfs2=(s+1)*(s+2)*(s+3);
fs1=syslin('c',numfs2/denfs2);
hs=fs1/fs;
hs1=c... |
0d1dd7f8d5012fee29a0e042f05d7cb29e217ab1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH2/EX2.7.e/2_07_example.sci | ac015937cda18cb6243048f8241bf689d46b37e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sci | 2_07_example.sci | //Example 2-7 Using Capillary Rise to Generate Power in a Hydraulic Turbine
h = 5 //rise of water column due to capillary effect [cm]
g = 9.81 //gravitational acceleration [m/s^2]
rho = 1000 //density of water [kg/m^3] |
444fefbbe65b4f364246fd9f18f9635631bd5365 | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /src/transformation/homogeneousMatrixFromPose.sci | bfb2a76dd915c2e68707d7f9086ecc365ac2398a | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sci | homogeneousMatrixFromPose.sci | function [M] = homogeneousMatrixFromPos(pose)
M = homogeneousMatrix(pose(1),pose(2),pose(3),pose(4),pose(5),pose(6));
M = M.* (abs(M)>%eps);
endfunction
|
b0204f5005161a820523cdb814a3338e46340047 | d8c4bf9ddb7db18c69e9e5e543d546b8dd4338d2 | /userland/bin/utils/e/expr/test/backup/parse-bignums.tst | 92cd56774ff472237c5a01b39de8d9079c1e2ea8 | [] | no_license | r-tty/QRV | aac7bb7167f8dc630be54c041169a4867e8e963f | 87d22fc3c3b8e14902643fa987af8ba06bda2a8a | refs/heads/master | 2022-07-27T13:40:02.469769 | 2021-12-09T12:57:19 | 2021-12-09T12:57:19 | 322,424,788 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | tst | parse-bignums.tst | expr 111 + 111
expr 1111 + 1111
expr 11111 + 11111
expr 111 + 111
expr 1111 + 1111
expr 11111 + 11111
expr 111 + 111
expr 1111 + 1111
expr 11111 + 11111
expr +111 + +111
expr +1111 + +1111
expr +11111 + +11111
expr + 111 + + 111
expr + 1111 + + 1111
expr + 11111 + + 11111
expr + 111 + + 111
expr + ... |
0fa0feb0217394545ca78a80f33f46a4f7fb5d03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH5/EX5.12/Ch05Ex12.sce | 1d4c2b1e93b6fef213dd26c503773d1a9f86b292 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | Ch05Ex12.sce | // Scilab Code Ex5.12 : Page-5.25 (2004)
clc;clear;
h = 6.626e-34; // Planck's const in Js
m = 9.1e-31; // Mass of the electron in kg
lam = 1.66e-10; // de Broglie wavelength, m
e = 1.6e-19; // Charge on electron, C
v = h/(m*lam); // Velocity of electron, m/s
E = (m*v^2)/(2*e); // Kinetic energy of... |
2659b3aa192e58c494434f40b69e423d86606f9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH8/EX8.5/ex_5.sce | eaea2f771bee2fcad15a53eb3568922cb2165d50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | ex_5.sce | //Example 5 // initial tension
clc;
clear;
close;
rt=2/3;//ratio
mi=5;//kg wt
M=((1/rt)^2)-1;//
mo=mi/M;//kg wt
disp(mo,"initial tension in string is ,(kg-wt)=")
|
11693c13922f47f41e59590e24848d669c89d4f0 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testcdlsstring.sce | e4facc7c98c9ee6d3b7ad353cbbea2f5a23ba936 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | testcdlsstring.sce | cd SCI // here SCI is interpreted as a Scilab variable!
ls *.txt // *.txt is viewed as '*.txt'
cd contrib // contrib is interpreted as 'contrib'
cd .. // waiting for end of command
// equivalent to 'cd home'
home
|
4a0ccf339bbbe3c35175416ca7ace171f09cc347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.16.p/prob1_16.sce | 61560c5bed5386fbcb8a433dc47c2d3e7f265a7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | prob1_16.sce | // Prob 1.16
clc;
clear;
close;
format('v',7);
// Given data :
EP=6000;//in volt
Em=EP;//in Volt
Xs=1.5;//in ohm/phase
IL=1000;//in Ampere
VT=Em-IL*Xs;//in volt
disp(VT,"Terminal voltage in volt : ");
VL=sqrt(3)*VT;//in volt
sinfi=1;
Preactive=sqrt(3)*VL*IL*sinfi;//in VAR
disp(Preactive/10^6,"Reactive Po... |
1d5b33d70461ad585c474c21cabf291a28363f3c | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RDE2.prev.tst | 056483da0454c6095fa62a3e6baba87d5edd6788 | [
"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 | 71 | tst | RDE2.prev.tst | (x^3 + x^2*y + y^2; x^4 - y^4).derivative("x", 2) = 12*x^2; 6*x + 2*y
|
9cc7ece3cc97403602af16f009cb1578f28c195c | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/fir1.sci | 70c95b70b5a31956e4fbb03422c41cec3c2857b6 | [] | 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 | 1,843 | sci | fir1.sci | function B = fir1(N, W, varargin)
//Produce an order N FIR filter with the given frequency cutoff, returning the N+1 filter coefficients in B.
//Calling Sequence
//B = fir1(N, W)
//B = fir1(N, W, TYPE)
//B = fir1(N, W, TYPE, WINDOW)
//B = fir1(N, W, TYPE, WINDOW, NOSCALE)
//Parameters
//N: Integer
//W: Integer or Vecto... |
d6fcd3b2ce7d65452deb7c885c2020101a3dc520 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH15/EX15.5/Ex15_5.sce | 5e95c3259fab5b290c2535ad037fa2a56ae41190 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,022 | sce | Ex15_5.sce | // Exa 15.5
clc;
clear all;
// Given data
Fl=100;// lower cutoff frequency in Hz
Fh=1000;// higher cutoff frequency in Hz
Af=4;// pass band gain
// Solution
// Wide bandpass filter design
// 1. For a low pass filter Fh=1 KHz =1/(2*%pi*R*C);
disp(" For a low pass filter section");
disp(" Let C1=0.... |
fd5da4bfd7d6b13b69007240bbf33507f1f18bfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH9/EX9.2/Ex9_2.sce | 2b3a25464b5ce051d392ca4fcb41950547c76987 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Ex9_2.sce | //EX9_2 PG-9.13
clc
f=900e3;//frequency of oscillation
C=1e-12;//each capacitance of the RC phase shift oscillator
R=1/(2*%pi*sqrt(6)*f*C);
printf("\n each resistance of the RC phase shift oscillator is %.3f kohm \n",R*1e-3)
G=29;//opamp gain Rf/R1=29
R1=1e3;
printf("\n R1=%.0f kohm \n",R1*1e-3)
Rf=G*R1;
prin... |
ccbadc3dc9c898e4d46fb39a3f8eecc31221d612 | f6223fa28b65208fb0a3d61cee2e0db4e1dacb79 | /pointstab.tst | 5a796b06671972d6cb5a510aa9291bdfdf37e478 | [] | no_license | ssiccha/aut-semigroup | a2eba2b31646ab0016d51082a438b682d7345dc6 | 66125c9ea250c2a14d1cda4bd482002e0cede3d4 | refs/heads/master | 2021-03-24T12:12:03.936564 | 2018-06-05T16:47:15 | 2018-06-06T11:15:56 | 73,397,409 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | tst | pointstab.tst |
BruteForcePointStabilizer := function( S, pnt )
local l;
l := AsList( S );
return SortedList( Filtered( l, x -> pnt^x = pnt ) );
end;
test := function( S, pnt )
local res, bf;
if not pnt in MovedPoints(S) then
return true;
fi;
res := PointStabilizer( S, pnt );
bf := BruteForceP... |
86509d4b2622d32d582b29a8228809bd5c1437a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH5/EX5.7/5_7.sce | 18106c0f19e4aeb0385007bba77ad9cccad8134c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | 5_7.sce | //characteristic equation from transfer function
s=%s
sys=syslin('c',1/(s^3+5*s^2+s+2))
c=denom(sys)
disp(c,"characteristic equation=") |
1814eea8fc91b6a5b01ec7f7f4ab4e2756e1c8c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH14/EX14.2/ex14_2.sce | 74d83482de0a9313c25d88c28a5e49d8cdaf98be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | ex14_2.sce | // Example 14.2, page no-386
clear
clc
ed=0.4//eV
e=1.6*10^-19//C
kT=0.025//eV
q=10^8
r=q*%e^(-(ed/kT))
printf("The escape rate per unit time = %2.1f per sec\n Therefore, the luminescent lifetime is nearly %.0f sec",r,r)
|
c0e7792a8a32afb934852a281d44612a0a523a11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH7/EX7.8/7_8.sce | 1ca7401abfe099ef4302137bf6cf3a0ac6a6d08b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,153 | sce | 7_8.sce | //Example 7.8
//Stirlings Central Difference Derivatives
//Page no. 242
clc;close;clear;
printf(' x\t\t y\t\t d\t\t d2\t\t d3\t\t d4\n')
printf('------------------------------------------------------------------------------------------')
h=0.01;
a=poly(0,'n');
deff('y=f3(x)','y=z(x,1)^2*y2(x)+z... |
ec48438486c4b66b24135eb3a0a0010be596d5c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.10/Ex4_10.sce | c4631e04126ad39df40aa213aa1f2fe790273b43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Ex4_10.sce | clc
//Variable Initialisation
V=230//Input Voltage of motor in volts
f=300//Chopper Frequency
Tl=40//Load Torque in N-m
N1=900//Rated Speed of Motor in rpm
Ra=0//Armature resistance in ohm
La=12e-3//Inductance in Henry
k=2//Motor Constant
//Solution
Ia=Tl/k
W=2*%pi*N1/60
Eb=k*W
d=(Eb+(Ia*Ra))/V
t1=1/f
to... |
14b27cdbaa1ce2e66c49705aacdbc509ea1824ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH4/EX4.27/Ex4_27.sce | c9d752c53b168b518f462f0544869fdae99a1894 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,543 | sce | Ex4_27.sce | // Calculating the amount of water required per second, area of water duct and pumping power
clc;
disp('Example 4.27, Page No. = 4.52')
// Given Data
Q = 800;// Stator copper losses (in kW)
Ti = 38;// Temperature of water inlet (in degree celsius)
To = 68;// Temperature of water outlet (in degree celsius)
Ns = 4... |
ce2a21a90dd35752c1364c8d0867615c51f45594 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.32/6_32.sce | fdbca2b8d637b0b7ed5e782cc21f2db6705dab83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,039 | sce | 6_32.sce | clc,clear
printf('Example 6.32\n\n')
V_L=11*10^3
V_ph=V_L/sqrt(3)
VA=700*10^3
I_FL=VA/(sqrt(3)*V_L)
IX_s=(14/100)*V_ph //product of I and X_s
X_s=IX_s/I_FL
//X_s=complex(0,IX_s/I_FL)
IR_a=(1.5/100)*V_ph //product of I and R_a
R_a=IR_a/I_FL
I=I_FL,phi=acos(0.8)
V=complex(V_ph*cos(phi),V_ph*sin(phi))
E_ph=sqrt( (V_ph*... |
b71ff8569c39b024a6e21141f011c20a6f20db6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH6/EX6.1/Example_6_1.sce | dc1f981fbf703a6c87cb091527cfbdf7b623669b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_6_1.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 6
//Thermodynamic Properties of Pure Fluids
//Example 1
clear;
clc;
//Given:
betta = 1.25*10^-3; //coeffecient of expansion (K^-1)
V = 0.1; //molar volume of organic liquid (m^3/kmol)
P2 = 20; //final pressure (bar)
P1 = 1; //initial pressu... |
deaf45b9dc853b7fd5b555396818f3f6756cf1e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.25/chapter1_25.sce | e2d69bdce3dacd09a1d5851246e57e51400aef82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | chapter1_25.sce | //example1.25
clc
disp("The arrangement is shown in the fig 1.97.")
x=110/10
disp(x,"X_L(in ohm)=V/I=")
disp("THe inductive reactance is 11 ohm")
disp("X_L=2*pi*f*L")
disp("Therefore, 11=2*pi*50*L")
l=11/(2*%pi*50)
format(9)
disp(l,"L(in H)=")
|
9776ad948c09320497b346a0bce748791054e7a7 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.17_9.tst | ed156da0396f72afa522930110c7c7dd8403c797 | [] | 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,103 | tst | bow.17_9.tst | 17 122:1.5 198:0.09090909090909091 209:0.4 317:1.0 401:1.0 479:1.0 1255:1.0
17 4:0.6666666666666666 17:0.25 19:0.6666666666666666 40:0.5 51:1.0 69:0.3333333333333333 76:0.16666666666666666 93:0.05 156:1.0 209:0.6 372:0.5 395:1.0 472:1.0 479:1.0 506:2.0 1079:1.0 1386:1.0 1731:1.0
17 17:0.25 19:0.3333333333333333 53:0.2 ... |
ff3f2b76a0e098aa51c41e967feeed9e843bfe65 | 71fc0b80f29bd03d097bc45e07b3184189b6445c | /nand2tetris/proj3/a/RAM8.tst | 5c406275ff8de74ac33c5d71c4f5b2c7f17696ed | [
"MIT"
] | permissive | ethull/university | 05441b4a74833dd9ae2f904017bfe5140461f4af | 80e00400cf06e5574f4654f51d78544a5d7f66bb | refs/heads/main | 2023-06-08T00:52:03.533293 | 2023-05-25T15:37:21 | 2023-05-25T15:37:21 | 313,761,541 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,847 | tst | RAM8.tst | // This file is BASED ON part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: project03starter/a/RAM8.tst
load RAM8.hdl,
output-file RAM8.out,
compare-to RAM8.cmp,
output-list time%S1.4.1 in%X1.2.1 load%B2.1.2 address%D3.1.3 out%X1.2... |
e50bbd9925f53373afa5547f151afc65ac7573a6 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/WK47ZQE/ATWM1_Working_Memory_MEG_WK47ZQE_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | e2844fc22fa001a74219e16ed7496c7e202dad02 | [] | 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,620 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_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... |
5e35c4d00012fdcf6ca3c7a89379ad888602de49 | d422d2bd9c82ca6a247ec578514ee6d3b5fa48b7 | /local/lctrs/step_distribution.sce | 5232817efe38fcac2b5f3a961a83fc36374e7752 | [] | no_license | kirillin/python_ev3 | bee3d9682f848b188d6c3b967f37dfc5a4aa3080 | 58c34ad11588bdc05e53a8466d6a12fe2c1a6ab2 | refs/heads/master | 2020-08-04T22:52:07.665251 | 2017-01-06T15:17:10 | 2017-01-06T15:17:10 | 67,629,534 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | step_distribution.sce | clear;
function e = G(a, z)
e = z(2) - a(1)*z(1) - a(1)*a(2)*exp(-z(1)/a(2)) + a(1)*a(2);
endfunction
function [tm, speed] = plt(data, color_real, color_model)
time = data(:,1);
time = time -time(1);
data(:,2) = data(:,2) * %pi / 180;
angle = data(:,2);
a0 = [0; 10];
[aa, er] = datafit(G, ... |
ecea83ca86f319532883bcebbf541a65cbe4ef5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH2/EX2.6/2_6.sce | a04b597636cb5ca78c36ef463cc7ef9f97f69a24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | 2_6.sce | clc
//initialisation of variables
F= 100 //lb
x1= 6 //in
x2= 8 //in
x3= 2 //in
//CALCULATIONS
xab= sqrt(x1^2+x2^2)
d= x3*x1/xab
M1= F*d
Fx= F*x2/xab
Fy= F*x1/xab
M2= Fy*xab-Fx*x1
M3= Fy*x3
//RESULTS
printf ('M1 = %.f lb.in',M1)
printf (' \M2=%.f lb.in',M2)
printf (' \M3=%.f lb.in',M3)
|
340afad81b7e78be88941ec800f9037363ff3806 | 79a9b8e61be2b6f6982c748002a7eb60ebe61e94 | /scilabCode/timeshift.sci | d8750c735ace55e6db3648c34dc15d2bfcf2ee4b | [] | no_license | kavyamanohar/DSPlab | 2537afda78992bf9fc2e60d93ef95849c40c23e9 | eca8a02bbac243a61db8db89f3e05ea2e6485c39 | refs/heads/master | 2021-01-21T13:53:00.373606 | 2016-06-05T08:27:51 | 2016-06-05T08:27:51 | 54,376,427 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sci | timeshift.sci | clear all
clf;
x=[1 2 3 4 5];
n=-2:1:2;
subplot(2,3,1);
plot2d3(n,x);
title('original sequence');
k=n-2;// advanced seq
subplot(2,3,2)
plot2d3(k,x);
title('advanced sequence');
l=n+3;//delayed sequence
subplot(2,3,3)
plot2d3(l,x);
title('delayed sequence');
t=0:0.0005:0.01;
f=100;
s=0.5*sin(2*%pi*f*t);
subplot(2,3,4)... |
646e621df504369dcb1dbb750f0ccce5abdd2879 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH1/EX1.4/eg_1_4.sce | d2fd429f572471a668192c8f74d42b3019e994a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | eg_1_4.sce | clc;//clears the command window
clear;//clears all the variables
format('v',8);//making the default precision to 8 significant digits
i=1;
dec=0.3125;//given decimal number which should be expressed in base 8
temp=modulo(0.3125,1);//separating decimal part from the given number
while(temp~=0) //storing each d... |
7264edcf1578c5f03e53664ea7ce5fed22fad6e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH11/EX11.2/11_2.sce | b533dcfd389547c308f20c158303a839a5f8e464 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | 11_2.sce | clear;
clc;
n=5;
Z=0;
z=[ 0 1 .25*%i 1; 1 2 .06*%i 2; 2 3 .05*%i 2;3 4 .07*%i 2; 0 4 .2*%i 3];
for(i=1:n)
mcase=z(i,4)
znew=z(i,3)
n1=real(z(i,1))
n2=real(z(i,2))
dim=max(size(Z))
select mcase
case 1 then
if Z(1,1)==0 then
dim=dim-1
... |
96cbc357adcb6914f6d356e3f126933b36bcf728 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testzeros.sce | bb7320cc530b67c829df0a407e27f62c1d865a1c | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | testzeros.sce | A=rand(2,2)
// creates a zero matrix of the same size as A
zeros(A)
// zeros(2) does not create a vector with two entries
zeros(2)
|
1b0ec02055fee8c4675f549785a74a367d29baf0 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/linear/scilab/P1/P1.sce | 96cd70723d47ce96d7e0840f43a7e99622ab4e4f | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,639 | sce | P1.sce | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
//Rao, R Ramesh, and Shankar Narasimhan. 1996.
//“Comparison of Techniques for Data Reconciliation of Multicomponent Processes.”
//Industrial & Enginee... |
4502d9204a5624735ebd496a06267c04fe3eb8c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.8/15_8.sce | 49c24e8288fa3663bab0083b4d109cecfa368054 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | 15_8.sce | //Example 15.8
//Euler Method
//Page no. 513
clc;clear;close;
deff('y=f(x,y)','y=x+y')
y(1)=1;
h=0.1;
for i=1:6
printf('\ny(%g) = %g\n',(i-1)/10,y(i))
y(i+1)=y(i)+h*f((i-1)/10,y(i))
end |
8c8b39923af37441c6250d73425fb3ef21adf54e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.15.3/ex1_15_3.sce | caf682f56f530ad60881d67979c0b02245dc18aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | ex1_15_3.sce | //Chapter-1,Example1_15_3,pg 1-69
n1=1 //for 1st order
n2=2 //for 2nd order
t=3.4 //angle where 1st order reflection done
t1=t*%pi/180 //convert degree to radian
m=sin(t1)
... |
be6d39f1553a7e3bfe98f0b8d3f460edd23d45af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH57/EX57.14/57_14.sce | 0d353cc9b04510cc4db08d33174ee374afdf9fd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | 57_14.sce | clear;
clc;
ud1=510;
ud2=490;
ud=(ud1+ud2)/2;
id=1;
p=ud*id;
b=2*p;
r=(ud1-ud2)/id;
pl=r;
pbl=2*pl;
pdr=ud1;
pdi=ud2;
pz=pdr-pdi;
mprintf("power flow per pole=%dMW\nbipolar line flow=%dMW\nthe line loss per pole in bipolat line=%dMW\nbipolar line loss=%dMW\nreactive power flow through DC link=%dMW",p,b,pl... |
0dbfe16c8d0446d27740493521c78cc915fad9bb | c09855a0cffb60bbb6dbdd0327339516e88fb7a7 | /test.tst | 48455c36afffe5cb3d20c0a58acb4e904974e731 | [] | no_license | Ratnam113/Second | 9c4682f40cb133bd087b8b0fecd78796d4c02a55 | 9eb813f2bbd90529c117e734f23872bedbee89aa | refs/heads/main | 2023-02-26T23:40:11.723160 | 2021-02-08T11:51:00 | 2021-02-08T11:58:10 | 336,959,132 | 0 | 0 | null | 2021-02-08T11:58:12 | 2021-02-08T04:24:15 | null | UTF-8 | Scilab | false | false | 24 | tst | test.tst | This is test for rebase
|
77dfe7309eaeb303209d7a60afe3a3c01004e15e | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH7/EX7.19/ex19.sce | 87e16c27306ed6a020454f512950482e0774576c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | ex19.sce | //ques19
//Entropy Generated when a Hot Block Is Dropped in a Lake
clear
clc
//(a) The entropy change of the iron block
m=50;//mass in kg
Cavg=0.45;//average specific heat in kJ/kg
T2=285;//final temp in K
T1=500;//initial temp in K
Siron=m*Cavg*log(T2/T1);
printf('(a) Entropy change of iron block = %.2f kJ/K... |
acfb851b55229c82aba6eba27fcc5be1c3e799cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH6/EX6.14/Ch06Exa14.sce | bcd1155cca62d55a9ff2585ce029b7cdc2c9c564 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | Ch06Exa14.sce | // Scilab code Exa6.14: : Page-246 (2011)
clc; clear;
t_half = 12.5*365*24; // Half life of hydrogen 3, hour
lambda = log(2)/t_half; // Decay constant, per hour
N_0 = 6.023e+26; // Avogadro's number, per mole
m = 0.1e-03; // Mass of tritium, Kg
dN_by_dt = lambda*m*N_0/3; //... |
4c60f2830e5bceee3ae99a53e36c496e1545a13c | 151e9d9a47b8c4098e67f5ecc974b3a811d91a95 | /brofist/scicos_32/bro_sensor_enc.sci | 24cae0e7f5a01a075ec5fdc6071bb232cfd4ce61 | [] | no_license | AliaksandrSiarohin/AppliedRobotics | a81c568be77962723b6b17394d1a42a4e76d8a69 | 5d79e537dd6926738ffc59eff18a78fd42c44417 | refs/heads/master | 2021-01-13T00:49:45.571990 | 2016-01-26T22:22:40 | 2016-01-26T22:22:40 | 45,112,715 | 2 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 4,207 | sci | bro_sensor_enc.sci | function [x,y,typ] = SPAM_Sensor(job,arg1,arg2)
x=[];y=[];typ=[];
sensor = '';
port_no = '';
select job
case 'plot' then
graphics=arg1.graphics;
ierr=execstr('(evstr(graphics.exprs(1))==1)','errcatch')
if ierr<>0 then
sensor = 'Custom Sensor'; ... |
263abdd79826158899c45ab764818270f20dbf67 | eec0cb8a9a3987d4e28fc22c89750a158a00ea84 | /Assignment1_team8/Project_01/Assignment1_team8/Q2/Enc4to2.tst | ba3295cf82d2314149a8c0e412d6a31b7e9728e3 | [] | no_license | Archaic-Mage/CS2310_LAB_Assignments | 8ac90e0123de95f5cf8db709cd7761962bf8cef2 | e922b59fc1350db3f23b07b8f5986ac54f197c8d | refs/heads/main | 2023-08-29T23:42:07.913682 | 2021-11-16T14:00:05 | 2021-11-16T14:00:05 | 401,640,543 | 1 | 1 | null | 2021-10-01T05:55:36 | 2021-08-31T09:10:15 | Scilab | UTF-8 | Scilab | false | false | 233 | tst | Enc4to2.tst | load Enc4to2.hdl,
output-file Enc4to2.out,
compare-to Enc4to2.cmp,
output-list x%B3.4.3 y%B3.2.3;
set x %B1000,
eval,
output;
set x %B0100,
eval,
output;
set x %B0010,
eval,
output;
set x %B0001,
eval,
output; |
2c3e4369aa20be85d6c71a2293272978cdad965e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH3/EX3.11.7/Ex3_7.sce | aa477e259fd4f19da173def3f2db65cbff9ff3fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex3_7.sce |
//scilab 5.4.1
//windows 8 operating system
//chapter 3:Properties of Semiconductors
clc
clear
//given
c=3*(10^8);//c=velocity of light in vacuum in m/s
h=6.6*(10^-34);//h=Planck's constant in J.s
Eg=1.98*1.6*(10^-19)//Eg=band gap in J
//calculating Y=required wavelength
Y=((c*h)/Eg)/(10^-9)
disp("nm",Y,"Y=... |
b4c1c64a27074d0bd1aa98030a51384899fa1d10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH4/EX4.1/Exa4_1.sce | 4ee9bcadd74d9c6db7eeb2a5166bd8d70e14d4ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Exa4_1.sce | //Exa 4.1
clc;
clear;
close;
//Given data :
P=8;//no. of poles
T=5;//no. of teeteh in each pole
Nr=50;//no. of teeth in rotor
Ns=P*T;//no. of teeth
Beta=(Nr-Ns)*360/(Nr*Ns);//in degree
disp(Beta,"Stepping Angle(in degree) :"); |
9ae93c4d66abb69a82a2a4162904fec59c209efc | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.14/example2_14.sce | f78cb66c7fd286f740d212a04c6e9c9d859cb66a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | example2_14.sce |
clear;
clc;
printf("\t Example 2.14\n");
ya1=0.2; //molefraction at pos.1
ya2=0.1; //molefraction at pos.2
T=(293); //temperature in kelvin
pt=1*1.013*10^5; //total pressure in pascal
z=0.2*10^-2; ... |
e480796feebb7ed2891d1775b23da23e6664453c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.20_14.tst | 32b54353e4ffa39460160ee9c48779417f234bfe | [] | 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 | 499,985 | tst | 5.20_14.tst | 20 25:1 240:1 967:1 1094:1 1108:1 1208:1 1241:1 1510:1 1641:1 1663:1 1766:1 1775:1 1961:1 2164:1 2507:1 3237:1 3801:1 4107:2 4192:1 4234:1 4323:1 4394:1 4409:2 4450:1 4498:2 4654:1 4872:1 5187:2 5322:1 5347:1 5592:1 6183:1 6429:1 6451:1 6460:1 6497:1 6619:1 6859:1 6926:1 7038:1 7068:1 7177:1 7400:1 7451:1 7573:1 7604:1... |
43716463c6dab21cdeb16c3ea3f2fbed1efc747f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH5/EX5.8/Ex5_8.sce | 4ffb4feabfa1760818c7d1df36b37459bbcb2c03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Ex5_8.sce | // Example 5_8
clc;funcprot(0);
// Given data
V_f=200;// The speed of flying air plane in km/h
rho=1.2;// The density of air in kg/m^3
F=3*10^3;// The propulsive force in N
D_p=2;// The diameter of the propeller in m
// Calculation
// (a)
V_f=(V_f*10^3)/3600;// The speed of flying air plane in m/s
A_p=(%pi... |
22b8714430c5ee3a55815feaea2be9df34973105 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH5/EX5.7/Example5_7.sce | 28160134dd42150ae520a3815df52323a0a88f99 | [] | 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 | 323 | sce | Example5_7.sce | errcatch(-1,"stop");mode(2);//Example 5.7
//To Design an analog Chebyshev Filter with Given Specifications
;
;
;
os=2;
op=1;
ap=3;//db
as=16;//db
e1=1/sqrt(2);
l1=0.1;
epsilon=sqrt(1/(e1^2)-1);
lambda=sqrt(1/(l1^2)-1);
N=acosh(lambda/epsilon)/acosh(os/op);
disp(ceil(N),'Order of the filter, N =');
exit(... |
81c8ded98ecaad7c1d167dd941185c3b8ff2c632 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/m12/M12 - aprox-derivada_encontre_coeficientes.sce | b4f5757993a5713dc3e3f8f19dbf3d3e6cb116bb | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | M12 - aprox-derivada_encontre_coeficientes.sce | // Os x sao os pontos onde a f(x) e' calculada
// Fx(xn) = [C1Fn-1 + C2Fn+0 + C3Fn+1] / H
// ^ ^ ^ ^
//M12-q7-q8
n = 2; // indice do coeficiente que multiplica o Fn
xc = 0.0 // Numero que multiplica h e soma com xn
x(1) = -1;
x(2) = 0
x(3) = 2;
//x(4) = ...
//M12-q9-q10
//n = 1; // indic... |
96427dab12075bf4ca151610c2a9b68253a83d8f | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/testBaptiste.sce | 9b2c148ae828acdee13920fa982b5701bac2b4c9 | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | testBaptiste.sce | //Load scripts from folder
funcprot(0)
getd("../scripts");
//Global variables
imgPos = "../images/"; //The position of the source images
renderPos = "render/"; //The folder where the render images will be saved
//Load image
imgin = readpbm(imgPos+"Earth.pbm");
//Assign a "seuillage" filter to the image
imgout=seuil... |
cbd11c6d7f31cc39e16f4ea5f9b2dd0af8b7ace0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH3/EX3.19/Ex3_19.sce | 71f96902d76dcd9b5e4371ddf1387e5f8834aabe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | Ex3_19.sce | //lubricants//
//page 3.38 example 9//
clc
S_C=188//Saponification value of castor oil//
wt_oil=12.3//weight f oil saponified(gms)//
blank=45//volume blank titration reading(ml)//
back=30.2//volume back titration reading(ml)//
volume=blank-back//volume of alcoholic KOH consumed(ml)//
N=0.5//normality of KOH for... |
f949955ea8e9631bd7427155ca6f411fc1293158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.14/Ex7_14.sce | 1812532d1d5a2f228b25ea7aee2c6c9f33391d71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,167 | sce | Ex7_14.sce | //Example 7.14
//Analysis of state equations of Tape Drive.
//compute the poles, zeros and transfer function of Tape Drive System.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space matrices of Tape Drive System
F=[0 2 0 0 0;
-0.... |
d8cb713107f0c0119059d85de1006dba778b908b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.6/Exa1_6.sce | 4debfc34003ebb0b46d535f6eee10323408e8db9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | Exa1_6.sce | //Exa 1.6
clc;
clear;
close;
//given data
format('v',7);
StatorSlots=24//No. of stator slots
Poles=4;//No. of poles
SlotsPerPole=StatorSlots/Poles;// no. of slots per pole
coilSpan=1:6;//unitless
disp("If the sides of the coil are placed in slots 1 and 7, then it is full pitched, but if the coil slides are pl... |
76b8409680989dd0e5d33af5a04df4ee4486fb01 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/extractHOGFeatures/extractHOGFeatures.sce | 62707f9f60469a18d220c5c011cce1945ef5a81d | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,932 | sce | extractHOGFeatures.sce | //**************************************************************************
//"output->" shows the error on console
//"->" means that output is correct and no modification needs to be done
//**************************************************************************
I1 = imread("left.jpg");
values = extractHOGFeatures... |
47c76a44fbea03769cad83f2b0b358ffeed6d542 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._Rajagopal_2840.zip/Engineering_Physics_K._Rajagopal_2840/CH10/EX10.4/Ex10_4.sce | 979c45371bf1cfdb2a1e5f7987752fa4278b9131 | [] | 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 | 205 | sce | Ex10_4.sce | errcatch(-1,"stop");mode(2);;
all;
Ef=5.51 //in eV
E=(3/5)*Ef;//The average energy of a free electron in silver at 0k
disp(+'eV',E,'The average energy of a free electron in silver at 0k =')
exit();
|
ee2ec3906b148e8508908bc5eebd8d5cbe07bc63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.6/Ex12_6.sce | db64bc9fb4e66df0efa4b089385ec4fd89a9e780 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Ex12_6.sce | //EX12_6 Pg-12.23
clc
clear
m=0.75;//modulation index
P=20;//total power in kW
Pc=P/(1+m^2/2)//since P=Pc*(1+m^2/2)
printf("therefore carrier power in the modulated wave is %.1f kW",Pc)
Psb=Pc*m^2/4;//side band power
Pusb=Psb;
Plsb=Psb;
printf("\n Pusb=%.1f kW \n Plsb=%.1f kW",Pusb,Plsb)
|
a7a89ade1f86f57bac0bc54d8f342da146dff250 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/util/define.sci | 7b0426be71eeefddf0c35cecef118876358c5993 | [
"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 | 850 | sci | define.sci | function define(x)
txt=[]
if x<>'{' then error('define :Incorrect syntax'),end
while %t
t=''
while %t
t1=stripblanks(read(%io(1),1,1,'(a)'))
if part(t1,1:3)=='-->' then t1=part(t,4:length(t)),end
ks=strindex(t1,'..')
if ks==[] then t=t+t1,break,end
if ks(1)==length(t1)-1 then
t=t+part(t1,... |
f39c8f4f716cf02ec654978881b043cfa3f11372 | ac717936dd571d8c25bf302308d8ad59dc34321f | /src/testControlSystem/writeValue.sce | 1db40ca70817e540ae2fab3655bb1d2f06aa20e6 | [] | no_license | MhDelt/diplom | df6e5b2a3941563719d05b9bbc1dac2b6c8b0b28 | d27a26fdc5f12481a1f6f63612f46d7b49bfe845 | refs/heads/master | 2021-01-18T21:57:15.082025 | 2016-06-07T10:10:11 | 2016-06-07T10:10:11 | 54,836,786 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | writeValue.sce | function [res]=writeValue(handle, t,u1)
SOCKET_write(handle, string(u1));
res=0;
endfunction
|
c79f3fc93b30a19d508364877fbd257862f14d5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH1/EX1.14/Ex1_14.sce | 4d1ec5efa914c4e1ca3780a6e1a8989baa2316b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | Ex1_14.sce | //pagenumber 33 example 14
clear
up=1800;//centimetre square per velocity second
un=3800;//centimetre square per velocity second
//(1) resistivity is 45 ohm
q=1.6*10^-19;//coulomb
ni=2.5*10^13;
sigma1=(un+up)*q*ni;
resist=1/sigma1;
disp("resistivity = "+string((resist))+" ohm centimetre");
disp("resis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.