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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a69f88373acdba4f45322add2de1d981f0ad5d2a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_YZ14VPX_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | 8e2a0dec1e43e6d844f65d691e1195ac222a8834 | [] | 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,405 | 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... |
dbcb673245b620994b5212d42a4f22b3f82bdd0e | 717ddeb7e700373742c617a95e25a2376565112c | /869/CH10/EX10.2/10_2.sce | d9adcafa6ceb79d4bf6a8faaafe95f7a960672ef | [] | 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 | 274 | sce | 10_2.sce | clc
//initialisation of variables
d= 4 //ft
T= 5000 //psi
angle= 0.1 //degrees
//CALCULATIONS
T1= (%pi*d^3)*T/16
T2=angle*%pi*G*%pi*d^4/(180*12*32)
//RESULTS
if (T1<T2)
printf ('Safe torque= %.2f lb in',T1)
else
printf ('Safe torque= %.2f lb',T2)
end
|
58ebfa0801a78abb7bd545ccb1e58b600310bd45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH4/EX4.29/example429.sce | 7d0d6fe263b7454f541d6eb9c93ce81e566aa817 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | example429.sce | //Example 4.29
clc;
syms t;
h=0.24*(%e^(-0.36*t)-%e^(-2.4*t));
H=laplace(h);
x=1;
X=laplace(x);
Y=X*H;
y=ilaplace(Y);
disp(y); |
60a67b26dc44682c613a1920167305b7a4f5869d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH3/EX3.3/Ex3_3.sce | 42a4c783da72846c3a04c213dcabf3e1a39e52fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex3_3.sce | // Example 3.3;hystresis loss per Kg
clc;
close;
clear;
// given :
format('v',7)
l=10;//lengh in mm
atm=200;//AT/m
a=4800;//area in m^2
loss=atm*(l*10^-2)*(a/100);//loss in J/m^3/cycle
d=7.8*10^3;//kg/m^3
vikg=1/d;//m^3
loss1=loss*vikg;//J/cycle
f=50;//Hz
tl=loss1*f;//J/s
disp(tl,"hystersis loss is ,(W/kg)=")
|
e96796836fa362b8f460cc19fb0abb21e7bdd3c5 | bae098aa91588d492ec8bb4c76c274001c27cfe7 | /simple4.tst | e6736cf45f8e593ec783d69f80c8c77132cf7a03 | [] | no_license | i5-2/pentium-dual-core | 1e7abb217972ec468b54eee6fa077dc6eec1875d | e56c0a450666ddd15e99a351d9335952b29431e6 | refs/heads/master | 2020-04-20T21:55:34.594056 | 2019-02-26T16:52:19 | 2019-02-26T16:52:19 | 169,122,993 | 0 | 0 | null | 2019-02-25T18:36:58 | 2019-02-04T18:01:59 | Python | UTF-8 | Scilab | false | false | 587 | tst | simple4.tst | timelimit 5
boardsize 10
# Horizontal Win Detection
clear_board
play b C1
play b D1
play b E1
play b F1
gogui-rules_board
genmove b
#?[G1|B1]
clear_board
play b F10
play b G10
play b H10
play b J10
gogui-rules_board
genmove b
#?[E10|K10]
# Vertical Win Detection
clear_board
play b G3
play b G4
play b G5
play b G6
go... |
db10131b3d7cf86c8ce399bf1cc6f9967670b5b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.4/15_04.sce | 886be6e704b6cc10521c1e1f6d15abf6e4b712bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | 15_04.sce | //Chapter 15, Problem 4
clc;
f=50; //frequency in hertz
Xc=40; //capacitive reactance
C=1/(2*%pi*f*Xc); //capacitance in farad
printf("Capacitance C = %.2f uF",C*10^6);
|
3647fc94dd01ea71fa0c494bf6f08df5da4800d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH3/EX3.7.11/Ex3_11.sce | e8830f36a1c12eb983b06bb44ee7051d261e59d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | Ex3_11.sce | //Example 11// Ch 3
clc;
clear;
close;
// given data
I = 1;
I0 = 6;
x=20;//in cm
u = -(1/x)*log(I/I0);
printf("absorption coefficient %f cm^-1",u)
|
d426aec950d305b924f42a83e14be79af308785d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH12/EX12.7/Ch12Ex7.sce | 82e17513bd88c10b1ae424758ef81e7c36dc4a00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ch12Ex7.sce | // Scilab code Ex12.7: Pg:473 (2008)
clc;clear;
Pi = 1; // Initial Power level of optical fibre, mW
Po = 0.85; // Output Power level of optical fibre, mW
L = 0.5; // Lenght of optical fibre, km
alpha = (10/L)*log10(Pi/Po); // Attenuation of optical signal, dB/km
printf("\nThe attenuation of optical si... |
2b3cb148ede22c081f58ef0803e557439b0270fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH2/EX2.5/Ex2_5.sce | 922fb075a3a27a2d85397500024a0ee3dc40121c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | Ex2_5.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex2_5.sce.
clc;
clear;
R1=10;
R2=30;
R3=15;
R4=45;
a1=3;b1=-1;c1=-9; //these are the coefficient values of VA,VB and the source... |
70d51276cb5a83035995e34d723fc78a1978364e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH4/EX4.6/Ex4_6.sce | 3b82cb570402e6bb6527a908ef40c6530fcd73e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,473 | sce | Ex4_6.sce | // Example 4.6
clear;
clc;
// Given data
A_U = 238; // Atomic Mass number of Uranium
A_O = 16; // Atomic Mass number of Oxygen
amt_UO2 = 33000; // Amount of Uranium dioxide (UO2) present in kilogram(kg)
x_P = 0.032; // Enrichment of 3.2 w/o uranium product
x_T = 0.002; ... |
06882aea2607d0cbb689d3195f45be13d548e291 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH3/EX3.13/Ex3_13.sce | 53e00a22dd7c86bc97a968547f9e537d91d79e83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | Ex3_13.sce | // Chapter 3 example 13
//------------------------------------------------------------------------------
clc;
clear;
// Given data
f = 1*10^9; // frequency in Hz
a = 5*10^-2; // wall separation
c = 3*10^8; // velocity of EM wave in m/s
m = 1; // for TE10
n = 0; ... |
fe2f5a671533e84e15089a07fd543bab86d5beb5 | c4210d9a5fd50633e1e4fb57cab0ad24ac992f1f | /taller1punto2.sce | dfd1ebb3d535d65f771b05b631a5c459166f7875 | [] | no_license | ijuanfe/uv-amn_taller1_punto2 | 53d7a7b9dcba7733a7af8e40ccf8455ec2ebe822 | fa59662d2712d6c2b363e829316c50d32c7a6a5a | refs/heads/master | 2022-01-11T15:21:14.053742 | 2019-06-08T07:08:03 | 2019-06-08T07:08:03 | 190,856,593 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,613 | sce | taller1punto2.sce | ////////// ----- Ejercicios de Scilab: Funciones ----- //////////
//// 1. Derive el siguiente polinomio f(x) = 4x^3 + 5x^2 + x + 96
// Funcion que define y evalua un valor x en un
// polinomio y retorna la evaluacion de dicho valor:
function y = derivar_polinomio(x)
y = 4*x^3 + 5*x^2 + x + 96;
endfunction
// Mos... |
04a324b8c6da67e47c7eac4648f31ec7a0cebc04 | 0277172cd938a49eba93d1b1178c308707a8807e | /tests/advanced.tst | 2460c2f03d13f2a83fed2e4ed6076199cc65c894 | [] | no_license | inhanp/CS3214-cush | e13ff4c43f57aa4f1e6539dcb572313b5c058828 | 394c2917a56ad446f28a0db8c035362dd30f3f29 | refs/heads/main | 2023-08-14T23:40:59.507123 | 2021-09-26T21:19:22 | 2021-09-26T21:19:22 | 410,390,886 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | tst | advanced.tst | = Advanced Tests
3 advanced/io_in_test.py
3 advanced/io_out_test.py
3 advanced/single_pipe_test.py
3 advanced/single_pipe_test_stderr.py
3 advanced/io_append_test.py
6 advanced/multi_pipe_test.py
5 advanced/io_and_pipes.py
6 advanced/pipe_job_cntl.py
6 advanced/exclusive_access_test.py
6 advanced/multiple_pipes.py
3 ad... |
d5275b54545b737dd2e9c917cb624c8d3ab9dace | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH10/EX10.6/Ex10_6.sce | 89a80a1759ee2217d2f4d189b1ec8307de028105 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | Ex10_6.sce | //Ex:10.6
clc;
clear;
close;
Lc=1;// connector loss in db
Ls=5;// star coupler insertion loss in dB
af=2;// fider loss in dB
Ps=-14;// transmitted power in dBm
Pr=-49;// receiver sensitivity in dBm
sm=6;// system margin in dB
N=16;
L=(Ps-Pr-Ls-4*Lc-(10*log(N))/log(10)-sm)/(2*af);// max transmission length i... |
20d29a1baeb8905a7d8f00e224ab8541144882d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH14/EX14.5/Ex14_5.sce | ec4e64f47d49f304ad1f5f0fb976d0fec2d2729d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,401 | sce | Ex14_5.sce | clc
P2 = 1554.3 // Pressure at state 2 in kPa
P1 = 119.5// Pressure at state 1 in kPa
Pi = sqrt(P1*P2)
h1 = 1404.6 // Enthalpy at state1 in kJ/kg
h2 = 1574.3 // Enthalpy at state2 in kJ/kg
h3 = 1443.5 // Enthalpy at state3 in kJ/kg
h4 = 1628.1// Enthalpy at state4 in kJ/kg
h5 = 371.7 // Enthalpy at state5 in kJ... |
7f846d72c6c7d6088d4796fb7a0ffceeab397a96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.6/Example5_6.sce | 45144cb253af239e840c8f569420a07222112a47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Example5_6.sce | //Example 5.6
clc;
clear;
close;
format('v',8);
//Given data :
D1=1.25;//meter
D2=0.625;//meter
slope=100;
L=300;///meter
g=9.81;//constant
Z12=L/slope;//meter
Q=100;//litres/sec
Q=Q*10^-3;//m^3/sec
A1=%pi*D1^2/4;//m^2
A2=%pi*D2^2/4;//m^2
v1=Q/A1;//m/s
v2=Q/A2;//m/s
p1=100;//kN/m^2
//Higher End :
w... |
b9ba8ad1afc4f3e1567c6efd8fee3a2040c94c3d | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/redef_local_01.tst | d15eb5dfd468fcb00ca9eec00d0ea1d7e5b9ec66 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | tst | redef_local_01.tst | // @Harness: verifier
// @Purpose: "Test for redefinitions of local variables"
// @Result: "RedefinedLocal @ 7:13"
architecture redef_local_01 {
subroutine foo(a: int): void {
local a: int = 0;
}
}
|
a290cc0f97193944e90ba194c3e40119c8fc0d09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH5/EX5.16/Ex5_16.sce | 3e7e9948fbf090abadd4f648dd8a4ba0844f438f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,649 | sce | Ex5_16.sce | //Chapter 5:Dc Motor Drives
//Example 16
clc;
//Variable Initialization
//Ratings of the separately excited motor
V=220 // rated voltage in v
N=960 // rated speed in rpm
Ia=12.8 // rated current in A
Ra=2 // armature resistance in ohms
Vs=230 // source voltage in v
f=50 //frequency ... |
9e75dfc64e16d78e1a4f6d7c2ec3121bfa096a78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.40/4_40.sce | 3333f6e04132d71c694ab0cd7eb9bfab86aed36d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | 4_40.sce | V=240
w=100*%pi
R=6
Vr=120
I=Vr/R
t=(205/I)^2 ////t=r^2+Xl^2
r=((240/I)^2-t-R*R)/2/R ///this part solved wrong in the book
Xl=sqrt(t-r*r)
Z=sqrt(t)
disp(r)
disp(Xl)
disp(Z)
Pl_choke=I*I*r
disp(Pl_choke)
pf=Pl_choke/205/20
disp(pf)
|
b96a7ae9846b2f5fed0c4083106f454bbe35315f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH11/EX11.14/Ex11_14.sce | 62badf0eaf184335e8fece0163ba229b1d4d01e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Ex11_14.sce | //chapter11
//example11.14
//page218
Vcc=12.5 // V
Rc=2.5 // kilo ohm
// we know that Vce=Vcc-Ic*Rc
// when Ic=0, Vce=Vcc i.e. 12.5V
// when Vce=0, Ic=Vcc/Rc i.e.5mA
// so equation of load line becomes Ic=-0.4*Vce+5
x=linspace(0,12.5,5)
y=-0.4*x+5
clf()
xtitle("dc load line","Vce(volts)","Ic(mA)")
pl... |
bd840e5a95481535e2459c4f24bfdb5c2d251afb | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_X2.sce | 72e45d1806250fcddeffeb506e6f371b38856038 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | Mission_X2.sce | // Mission X2
// Obtention de l'image
pathname = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_X\Gliese 581d V2.pbm";
img_in = readpbm(pathname);
// Application du filtre médian
image_median = filtreMedian(img_in);
// Application de l'égalisation
histogramme = histogrammeFct(im... |
16d708737d17367d1aeac012278d27805653b287 | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH7/EX7.2.2/7_2_2.sce | 5a9e17c47a399facce87405c5aa8145b70921fed | [] | 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 | 725 | sce | 7_2_2.sce | //CAPTION:Charactristics_of_a_GaAs_Gunn_Diode
//chapter_no.-7, page_no.-298
//Example_no.7-2-2
clc;
//(a)Calculate_the_electron_drift_velocity
q=1.6*(10^-19);
f=10*(10^9);//operating_frequency
L=10*(10^-6);//Device_Length
vd=f*L;
disp(vd,'the_electron_drift_velocity(in m/sec)is =');
vd=vd*100;
disp(vd,'th... |
b9b071e5c25fe65155bacf0b8140de265bef4468 | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH4/EX4.14/4_14.txt | fbddcd729de1a249b3f1907023b6dae08dfe8537 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | txt | 4_14.txt | //Caption:Find the line current,line voltage and power
//Exa:4.14
clc;
clear;
close;
I_L=4*80/5;
disp(I_L,'Line current (in Amperes)=');
V_L=110*100/1;
disp(V_L,'Line voltage (in Volts)=');
P=(100/1)*(80/5)*352;
disp(P,'Power on the transmission line (in Watts)='); |
a965f4b622d6495bd0704d0bf9296e1556dc5116 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.25/Ex5_25.sce | 86711bb5fb1f50e603be895eea9fc597db02f65f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,336 | sce | Ex5_25.sce | clear;
clc;
function [p1, p2,theta] = func(p,q)
p1 = 0.5*p + sqrt(q^2 + 0.25*p^2);
p2 = 0.5*p - sqrt(q^2 + 0.25*p^2);
theta = 0.5*atan(2*q/p) * 180/%pi;
endfunction
b = 5;// inches
d = 12;// inches
F = 4800 ;// lb-wt
M = 192000;// lb-inches
I = (1/12)*b*d^3;// in^4
//At 6 inches above the N.A
... |
8743b562f7d36c476c5e83b497435e7cc08f8963 | 0c3cccb3c81eb151f654e5d9d470662c19122857 | /scilab/fractales.sce | dc2804c1a3f20fe973f046d7ca5196deea5821f1 | [] | no_license | gmordelet/oldProg | 6b2bb7c247dd1f16a641d0f840f7c82e8eb37ffb | c108060bf1b87b4aad196484036f226fd9c4422c | refs/heads/master | 2021-01-12T16:28:52.448277 | 2016-10-30T11:16:22 | 2016-10-30T11:16:22 | 69,155,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | fractales.sce | stacksize('max');
function tracer(z)
x = [0, cumsum(cos(cumsum(z)))];
y = [0, cumsum(sin(cumsum(z)))];
plot2d(x, y, axesflag = 0, frameflag = 4);
endfunction
function y = iter_dragon(x)
y =[x, 1, -x($:-1:1)];
endfunction
function z = dragon(n)
z = []
for i=1:n
z = iter_dragon(z)
... |
0890352c70fa3ab17ca92ba4d413f1fd6f935423 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH5/EX5.2/example_2.sce | 37e2ddb7b0558b1815653f11e6ac03c854716259 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | example_2.sce | clc
clear
printf("example 5.1 page number 171\n\n")
//to find the heat loss
d1=0.15 //in m
d2=0.16 //in m
l=1 //in m
A1=3.14*d1*l;
A2=3.14*d2*l
Am=(A1-A2)/log (A1/A2);
T1=120; //in K
T2=119.8; //in K
delta_T=T1-T2;
x=(d2-d1)/2;
k=50 //in W/mK
Q=k*Am*(delta_T/x);
printf("rate of ... |
ed0db51d88566b3c226a85e609f29d2f39f0b955 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH12/EX12.32/Ex12_32.sce | bed5fea483db19cff4043ae663f1b9f9397fb61d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | Ex12_32.sce | //Initilization of variables
//The symbols used here differ from the textbook solution to avoid conflict
t1=0 //s
t2=0.5 //s
t3=2.5 //s
t4=1/3 //s
w=200 //rpm
w0=0 //rpm
//Calculations
theta1=0.5*(w0+w/60)*t2 //rev
theta2=(w/60)*(t3-t2) //rev
theta3=0.5*(w/60+w0)*t4 //rev here the values of w and w0 are int... |
c89e82978d833a91167b1df04149c5f917be5471 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH9/EX9.1.2/Ex9_1_2.sce | 102857971249c621f93d265529e36eaa0f5dcc8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex9_1_2.sce | //Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
//Windows 8
//Scilab version- 6.0.0
//Example 9.1.2
clc;
clear ;
//given
Pout=100E-6;//radiated power in W
n1=1.48;//refractive index of the core
n2=1.46;//refractive index of the cladding
b=n1*n1;
c=n2*n2;
v=b-c;
NA=sq... |
5a24b2c0b5653bd1984ef3394f43d53fcf6b9cc2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%sxr.sci | 9398833a5e8cb8c0b8e946f1e3a9932c6c83bd1f | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 201 | sci | %sxr.sci | function f=%sxr(n1,f2)
// %sxr(,M,r) calcule le produit element par element de la matrice de
//scalaires M par la matrice de fractions rationnelles r . (M.*r)
//!
f=tlist('r',n1.*f2(2),f2(3),f2(4))
|
442274475fb832ddb66e23faaad96fb2011eeebf | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/dc/adit/prac2.sce | 19c610024b0a0306a5e4cdd45a664a38b2f5d73c | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | prac2.sce | t=0:200
x=3*square(2*%pi*t/100);
y=2*square(2*%pi*t/100);
z=x+y;
figure;
plot(t,x);
plot(t,y);
plot(t,z);
p=dft(x,-1);
figure;
plot(p);
|
8e933ef12d1428314cca64902cf33ef7da9f2eda | 0de083fe9bb7d2e99260bcd5e4f13f68cbeecab1 | /P9 - Rayleigh Power Method.sce | f3ee03e34cd9f7d48e842ec7ff1af9844bf73dae | [] | no_license | JeevanSamrudh/Linear-Algebra-Scilab-Assignment-UE18MA251 | abf1052771da5385c665ba05a6b64345c2a41056 | bdbde802e9b68a2c6c7be0fe8818d25b7cd27c94 | refs/heads/master | 2022-04-19T11:23:33.318292 | 2020-04-17T05:43:43 | 2020-04-17T05:43:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | P9 - Rayleigh Power Method.sce | clc;clear;
A = [1 -3 2;4 4 -1;6 3 5];
disp(A,"The given matrix A is: ");
u0 = [1 0 0]';
disp(u0,"The initial vector is: ");
v = A*u0;
a = max(u0);
disp(a,"The first approximation is: ");
while abs(max(v)-a)>0.002
disp(v,"The current eigen vector is:");
a = max(v);
disp(a,"The current eigen value ... |
549be10a8143d561498ee5f77e69b46c7d62c5d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH5/EX5.16/ex5_16.sce | 420163b9eece3c0950fa5788291273e561056517 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | ex5_16.sce | // Exa 5.16
clc;
clear;
close;
format('v',7)
// Given data
P = 18;// in kW
P= P*10^3;// in W
I_L = 60;// in A
V_L = 440;// in V
f= 50;// in Hz
// P = sqrt(3)*V_L*I_L*cosd(phi);
phi= acosd(P/(sqrt(3)*V_L*I_L));// in °
I_L= I_L*expm(phi*%pi*%i/180);// in A
I_Ph= I_L;// in A
V_Ph= V_L/sqrt(3);// in V
Z_Ph=... |
40e29497819f7bd6d3de5fc7d8c1e1f913f2ded1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH10/EX10.2/Ex10_2.sce | 6ee80ee8b088969dbd26615b54163da8206819cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | Ex10_2.sce | clc;
sx=0.01 //in ev. where x=E-Ef
x1=sx*1.6*1e-19 //converting it in joule
T=200 //in kelvin
Fe=1/(1+exp(x1/(1.38*1e-23*T)));//The value of F(E)
disp(Fe,'The value of F(E) =')
|
d6d318fbc7e47b4decaa55ef61757e9a79a6d97d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH11/EX11.8/11_8.sce | d73023e33450587d455c2061fcf4b6ef3c6e39b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | 11_8.sce | clear
clc
//Example 11.8
disp('Example 11.8')
S=(55-35)/(7-1.07);//%/min
delta_p=43-30;//%
R=S/delta_p;//min^-1
delta_x=55-35;//%
K=delta_x/delta_p;
theta=1.07;//min
tau=7-theta;//min
mprintf("\nThe resulting process model is with delay of 1.07 min\n")
s=%s;
G=K/(tau*s+1);
disp(G,'G=')
|
9f1273f9d09063e422e9897017d18db82e540e7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH2/EX2.1/ex2_1.sce | 79d347ac3d9ada5956aab69ccc1d3b8e3626fb7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | sce | ex2_1.sce | clc;
disp(9/(3/4),"Velocity in min/hr = "); //displaying result |
95c2b9fb004a60a59da2241814bfd293163e996b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH21/EX21.1/21_1.sce | 9afa7dadbc4cc09cb02b20a77748385f44b4e60c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 822 | sce | 21_1.sce | //Example 21.1
//Parallel Bisection Method
//Page no. 721
clc;close;clear;
deff('y=f(x)','y=x^2-cos(x)')
a=0;b=1;e=0.0001;i=1;
printf('Itr\ta\tb\th\t\tx0\t\tx1\t\tx2\t\tx3\t\tx4\t\tx5\n\t\t\t\t\ty0\t\ty1\t\ty2\t\ty3\t\ty4\t\ty5')
printf('\n-----------------------------------------------------------------------... |
8fed3011e5b97a9874bcbaf5c787d4e77b329b13 | 6eff8b49b95e2779561fe36f11ef0e9c41d45671 | /Experiment2/recall.sce | c8c7f7cae3efff9352237d16a802e7b49a7eb016 | [] | no_license | marliekevk/Integrating-Educational-Knowledge | ab44067273b359cc00e5dc1b68213fa0114153f6 | 8dbcffd4cb7f885a04b9bb995d845d2a44d1132a | refs/heads/master | 2018-10-31T18:07:13.770458 | 2017-10-19T11:19:24 | 2017-10-19T11:19:24 | 105,515,708 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,704 | sce | recall.sce | #--------------------------------------------------------------------
#Header part
#--------------------------------------------------------------------
response_matching = simple_matching;
scenario= "recall";
no_logfile = false;
#Response buttons
active_buttons = 7; # use 1 response button
butto... |
329527e1e7f75108e306f6ae03282d23114ed711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH4/EX4.5/Ex4_5.sce | 296c204615dcbf0042fb4b2c7ff171f28b469b1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,327 | sce | Ex4_5.sce | //Ex4_5
//Refer fig.4.8
clc
IDQmax=5*10^(-3)
disp("IDQmax = "+string(IDQmax)+" ampere") // drain current for JFET for maximum transfer characteristics
IDmax=IDQmax// maximum drain current will be given by IDQmax
IDQmin=3*10^(-3)
disp("IDQmin = "+string(IDQmin)+" ampere") // drain current for JFET for minimum t... |
93c72c03508ee161facffd91e08fb41eb039fbda | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.2/example6_2.sce | f8a3033fe860ab6be046a8b9422794bc2b46248d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | example6_2.sce | syms R1 R2 I1 I2 C V1 VI L s Vo;
T1=L/(R1*R2*C)
L1=-1/(s*R1*C);
L2=-1/(s*R2*C);
L3=-(s*L)/R2;
delta=1-(L1+L2+L3)+(L1*L3)
del1=1;
TF=(T1*del1)/delta ;
disp(TF,"Vo/VI = ")
|
ba5f6a8e2d8ae13b0989b54221e05256098ef08b | ed81f401dcd2ce0399cec3a99b6e5851e62e74ca | /data/github.com/scilab/scilab/0068b70ee75ebbfd7f0201abec7a5e56df5469b0/scilab/modules/xcos/tests/nonreg_tests/bug_11821.tst | 038f17e592fc4967cf610cc5f27ed89448fd6453 | [
"MIT"
] | permissive | smola/language-dataset | 9e2a35340d48b497cd9820fa2673bb5d482a13f7 | 4d1827d1018b922e03a48a5de5cb921a6762dda3 | refs/heads/master | 2023-03-10T12:42:04.396308 | 2022-07-15T18:05:05 | 2022-07-15T18:05:05 | 143,737,125 | 18 | 3 | MIT | 2023-03-06T05:01:14 | 2018-08-06T14:05:52 | Python | UTF-8 | Scilab | false | false | 781 | tst | bug_11821.tst | // =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2012 - Scilab Enterprises - Alexandre HERISSE
//
// This file is distributed under the same license as the Scilab package.
// ============================... |
b3c253451333894f103f04de3198464e8f1d6784 | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/determinism-002.tst | 080e14a686c8b82fa05e5fe1aac54d6bda4e5edb | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23 | tst | determinism-002.tst | ../inputs/black-3x3.ssv |
4fd45b18683bf29681de5d3b28bb8b78098a8c2a | 05db16b4f57b0182fa452e2c11554c3de6fff271 | /branches/vac4.52_sac_cuda/dev/vac4.52mkg_24_06_2010/scilab/getpict.sci | 527eadcdce5980c99c2330600021531053163ce0 | [] | no_license | SpungMan/smaug-all | 09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b | 01df12e98c734529ff984662badc26eaa3a9138b | refs/heads/master | 2021-11-29T14:09:47.094457 | 2018-06-08T09:48:05 | 2018-06-08T09:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,285 | sci | getpict.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// Read the npict-th picture from 1 or more files
// ! L.3: mtlb(filename) can be replaced by filename() or filename whether filename is an M-file or not.
filename='../data/shearalfven.out';
//filename = askstr("filename(s) ",mtlb(fi... |
fa121f7fb5941d2841be3ef8d46495e82df6c2f3 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testinversetermesatermes.sce | e6952143d13c962d773b19da0e57f2f38f894e51 | [] | 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 | 107 | sce | testinversetermesatermes.sce | A=[1 2 3]
A.^(-1) // matrice des 1/A(i)
(1)./A // matrice des 1/A(i)
1./A //mauvaise syntaxe !! |
8274ece42948521dfabee1a940483a285198c1d1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH15/EX15.54/example15_54.sce | d03e2a1d4224f280a0488b5959026f37241f57b7 | [] | 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 | 330 | sce | example15_54.sce | mode(2);errcatch(-1,"stop");driver("GIF");//Example 15.54
//Nyquist plot
clear; clc;
s = %s/2/%pi;
num=(2);
den=s*(s^2+2*s+2);
G=syslin('c',num,den)
clf();
nyquist(G)
xinit('/home/fossee/Downloads/tbc_graphs/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/example15_54');xend(... |
f85bc648ff0ed5dd7dbd2e73ba790ea46df5191f | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /fizzbuzz.sce | 7d983424dc825e80b3a1973a71f1dd0882a2b9d9 | [] | 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 | 274 | sce | fizzbuzz.sce | n = input("Give a number: ")
for(i=1:n)
if modulo(i,15)==0
printf(", FizzBuzz")
elseif modulo(i,3)==0
printf(", Fizz")
elseif modulo(i,5)==0
printf(", Buzz")
elseif (i==1)
printf("%g",i)
else printf(", %g",i)
end
end
|
3133f481cfeb32a3914788a300e96b550f1268c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH5/EX5.2.1/Example_5_2_1.sce | c0d8245f0be36a2a2168e4346f31c96707900331 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_5_2_1.sce | clear;
clc;
close;
//Get the corresponding matrix equation.
A = [1 1;4 -2]
[R,E]=spec(A)
//where E corresponds to eigen values
//And R corresponds to eigen vectors.
//Note that 0.9701425 = -4*0.2425356
//And we can assume 0.7071068 to be 1.
|
e15584d00d638e7fb2d5f382053f08d0368d903a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.51/ex_1_51.sce | e4827185305e566b0e8c00d7de9c50875de91366 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 766 | sce | ex_1_51.sce |
//Example 1.50.d // variance
clc;
clear;
close;
//given data :
n=10;
a=39.6;
b=39.9;
c=39.7;
d=39.9;
e=40;
f=39.8;
g=39.9;
h=39.8;
i=40.4;
j=39.7;
q=(a+b+c+d+e+f+g+h+i+j)/n;
d1=a-q;
d2=b-q;
d3=c-q;
d4=d-q;
d5=e-q;
d6=f-q;
d7=g-q;
d8=h-q;
d9=i-q;
d10=j-q;
d=(abs(d1)+abs(d2)+abs(d3)+abs(d4)+a... |
bc5336aba0ad2e73f7be01ba740787f024099321 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /oplogle.sci | 983e91b7303efdeb38bb3591db15676a16c6bf9f | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sci | oplogle.sci | function oplogle()
a = uint8(5);
b = uint8(6);
aa = uint8(9);
bb = uint8(9);
c = uint8([5 6 8;10 11 17;13 30 0]);
d = uint8([1 6 4;1 2 17;14 30 1 ]);
cc = int8([6 -1 -3;-4 1 -2;10 -1 -16]);
dd = int8([1 -1 -2;-10 1 -2;10 -1 -16]);
disp(a==b);
disp(a~=b);
disp(a>b);
disp(a... |
3963d70fa775a5c5e0e93f082f8c9d38507123d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH8/EX8.1/8q1.sce | 2dfb2c4ffdbd4c9779ec89caa9123fe271b582f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | 8q1.sce | clc
//initialisation of variables
H1= 12 //in
H2= 20 //in
z= 8 //in
h1= 24 //in
h= 20 //in
k1= 0.026 //in/sec
D= 3 //in
//calculations
k2= H2*k1/((z/(1-h/h1))-H1)
i= h1/(H1+H2)
A= %pi/4*D^2
keq= (H1+H2)/((H1/k1)+(H2/k2))
q= keq*A*i*3600
//results
printf ('rate of water flow = % 2f in^3/hr ',q)
|
b19f7c0d9eeac21c46b8d8565809f4361c17942a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH8/EX8.13/Ex8_13.sce | 64318da5952e32feef746f0e533017d20bceaf7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | Ex8_13.sce | clear
//
//variable declaration
P=(60) //load,KN
d=(25) //diameter,mm
A=%pi*(d**2)/4 //Area**mm^2
L=(200) //gauge length,mm
delta=0.12 //extension,mm
deltad=0.0045 //contraction in diameter,mm
Linearstrain=delta/L
Lateralstrain=deltad/d
Pr=Lateralstrain/Linea... |
ddafb22d0770b4322e0f3ab03b5a10a2bfb39cb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH3/EX3.6/3_6.sce | 79e481b7327dba660dd12b1c37b251d716e8ae6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | 3_6.sce | //ques-3.6
//Calculating number of polyethylene molecules formed
clc
m=28;//mass of ethylene polymerised (in g)
deg=500;//average degree of polymerisation of PE
n=(28*(6.023/28))/deg;//number of PE molecules (x10^23)
printf("The number of polyethylene molecules formed are %.4f x 10^21.",n*100);
|
aa617017634c439e8377c3f03f590d728b4f8ecf | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/demos/Binarization_Demo.sce | 2b5c103b0318b795300f753ed238c1fc736e2f90 | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | Binarization_Demo.sce | // Demo script for Binarization
getd('../macros')
// Data preparation
M = csvRead('Datasets/titanic.csv')
x = M(:, 10);
x(or(isnan(x),'c'),:) = []
x = real(x);
x = binarize(x);
disp(tabul(x)) |
b9b58fd9dfffe3549919c0064108b56b661f48be | f23e565144f1b0f63c7b613c0f549944d425a073 | /Cours/TP_INFO/TP_noteD3/TD4-GabrielliTiphaine-DubernetCamille.sce | 94f6d124072337a1872f997a3ddaa9f230a521e1 | [] | no_license | Antoine-Gerard/Valar-Morghulis | c45766f03898241bd9c424256744b5ffa16dd82c | 796363bfbc6f2e3249c90f1762e041ff5a4e705a | refs/heads/master | 2021-08-31T06:06:55.296982 | 2017-12-20T13:54:33 | 2017-12-20T13:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,460 | sce | TD4-GabrielliTiphaine-DubernetCamille.sce | //Dubernet Camille
//Gabrielli Tiphaine
zeros(1,50)
10.*ones(1, 50)
z = 0:0.3:10
linspace (-3,7,50)
v = (2.*ones(1, 25)).^linspace(1, 25, 25)
function r = f(x)
r =(1+x).*(sin(%pi.*x))
endfunction
x = linspace(-2,2,100)
fenetre = figure("Figure_name", "Equations", "Position", [100 50 1000 600]);
fenetre.background =... |
22471877424c637830b84638de65c45ab628bb55 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/tests/AIO_COMPLEX_TEST/ADC6-10.sce | 6c7acdacbb6f0e59a759813212440da6347df111 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 4,875 | sce | ADC6-10.sce | clc;
mdaqClose();
//mdaqHWInfo();
if exists("mdaq_ao_test") == 0 then
exec(mdaqToolboxPath() + "tests\AIO_COMPLEX_TEST\mdaq_aio_test_utils.sci");
end
exec(mdaqToolboxPath() + "tests\AIO_COMPLEX_TEST\test_defines.sce")
// AI RANGES
mprintf("------ TESTING ADC0%d / DAC0%d config -------", ADC_ID, DAC_ID)
// ... |
c50071367cafbb95b8bd81b9728f711988128eb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH13/EX13.16/Ex13_16.sce | 1878b3536a6c458d02aae0b037c4b022b1806d98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,158 | sce | Ex13_16.sce |
// Given:-
Tnot = 298 // in kelvin
// For the case of complete combustion with the theoretical amount of air
sigmadot = 5404.0 // rate of entropy production from example 13.9, in kj/kmo... |
cd6b958a3a4ba67a93e8d5cc940d2ab4a6526a0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH10/EX10.15/example_10_15.sce | c91021bbc7002072dc75eb216d86b79d6adbb8b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 905 | sce | example_10_15.sce | clear;
clc;
disp("--------------Example 10.15---------------")
//a) g(x)= x+1
gx="x+1";
printf("\na)No x^i can be divisible by x + 1. In other words, x^i/()x + 1) always has a remainder. So the syndrome is nonzero. Any single-bit error can be caught.\n"); // display result
//b) g(x)= x3
gx="x3";
printf("\nb)If ... |
2bf7f0ff67ab8cc10ab2dc884af14cf00717c2c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH4/EX4.2/Ex4_2.sce | e0815e45b476962b52c5500d0e9c9d628ab39876 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sce | Ex4_2.sce | clc;
VL=-0.7; //volt
Vin=-12; //volt
VRS=Vin-VL; //volt
disp('Vpk',VRS,"VRS=");//The answers vary due to round off error
|
b609274284998c2f60968e3fe38799ff3bb2bbfb | 68bc9ed8216a93c9b0bc0a6dbde62a7bb8328383 | /param/test_lightsoff.tst | 13a7b102b97979cf33a9e26ab14cdbe9189467bc | [] | no_license | michaelhuang14/AutonomousAgentsGreenhouse | 5e305e522c95dfaaebd7e4f148de87572d4185ce | 83e4aad142c9ca72ba4ababf58c25bed53428f0c | refs/heads/main | 2022-12-20T01:59:27.773408 | 2020-10-08T03:02:55 | 2020-10-08T03:02:55 | 300,742,055 | 1 | 0 | null | 2020-10-08T02:41:49 | 2020-10-02T21:40:36 | Python | UTF-8 | Scilab | false | false | 358 | tst | test_lightsoff.tst | # Wait a minute before starting, to give agent a chance to initialize
DELAY FOR 60
WHENEVER 1-22:00:00
# Wait for 6 minutes for lights to go off after 10pm each day
WAIT not led FOR 360
# Ensure lights stay off until just before 7am the next day
ENSURE not led UNTIL 2-06:59:59
QUIT AT 3-23:59:59 # R... |
6e1313f55fcc6c966a9665d57fb77b1391f4f689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH4/EX4.3/example4_3.sce | 8de8e73d6c38ba77327a66dee06158fd9e644615 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,016 | sce | example4_3.sce | clear;
clc;
//Example4.3[Boiling Eggs]
//Given:-
T1=5;//Initial temperature of egg[degree Celcius]
T2=95;//Temperature of Boiling Water[degree Celcius]
h=1200;//Convection heat transfer coefficient of egg[W/m^2.degree Celcius]
r=0.025;//Radius of egg[m]
T3=70;//Final temperature attained by centre of egg[degr... |
67eb5fb74ee2d6d54127f7a454b989a434058374 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH10/EX10.8/Example_10_8.sce | 7078a92ce07ebc89e89602cf65bcdea6a3aca203 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sce | Example_10_8.sce | //Caption: Linear regression and Time series
//Simple regression
//Example10.8
//Page388
clear;
clc;
x = [1997,1998,1999,2000,2001,2002];//Year
X = x-2000;
y = [50,60,50,80,72,90];//Demand
[b,a,sig]=reglin(X,y);//Linear Regression
disp(b,'Regression coefficient b=')
disp(a,'Regression coefficient a=')
D = 2... |
91381b7b9b712983a38dc7323375b28647e3680e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH11/EX11.12/Ex11_12.sce | 12b0e656b42db76e55c859fc2db926f1bee9e460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,648 | sce | Ex11_12.sce | //CHAPTER 11 ILLUSRTATION 12 PAGE NO 298
//TITLE:VIBRATIONS
//FIGURE 11.20
clc
clear
//===========================================================================================
//INPUT DATA
PI=3.147
g=9.81// ACCELERATION DUE TO GRAVITY IN N /m^2
Na=1500// ... |
301cb6669056514e87cada58491aa27fab1e25ef | 358500bb97c17245f609c658ce3c029bf6f82c70 | /ex1-prac/1D-fft.sce | e310d9e99c4ec271385618caf01f84c46bb08817 | [] | no_license | wilson911013/information-theory-UNAL | 4a3bf7ce1804ec6bfba261bb7e661895e1fe81d4 | 2d22817275f7b58dab0daa660725afde42da939e | refs/heads/master | 2021-08-26T09:45:25.005995 | 2017-11-23T04:24:36 | 2017-11-23T04:24:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 1D-fft.sce | clear
clc
//Frequency components of a signal
//----------------------------------
// build a noised signal sampled at 1000hz containing pure frequencies
// at 50 and 70 Hz
sample_rate=1000;
t = 0:1/sample_rate:0.6;
N=size(t,'*'); //number of samples
s=sin(2*%pi*50*t)+sin(2*%pi*70*t+%pi/4)+grand(1,N,'nor',0,1);
y=fft... |
a1ad2a5568fff86b7d974e3f4e3bc521cbb9225b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH5/EX5.3/Ex5_3.sce | ef142fad974a56fd760323d369b8e1a9990571fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex5_3.sce | //Example 5.3:
clc;
clear;
close;
//given data :
Pac=3;//in W
Pdc=10;//in W
eta=(Pac/Pdc)*100;//percentage efficieny
format('v',4)
disp(eta,"collector efficiency is ,(%)=")
disp(Pdc,"power rating of transistor is ,(W)=")
|
5fa1e75adbe6de0cd8a137e574cb4414595a1f76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH7/EX7.2/72.sci | a9343cad8d3009cda2d4d6c6d0078948faa36de1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sci | 72.sci | //chapter 7 example 2//
clc
clear
//longitudnal displacement=S,numerical aperure=NA,core radius=a,coupling efficiency=ns1.critical angle=Am//
NA=0.2;
Am=asind(NA);//in deg//
printf("\n critical angle=%f deg\n",Am)
a=25*(10^-6);//in mts//
S=2.5*(10^-6);//in mts//
ns1=((a/(a+(S*tand(Am))))^2)*100;
printf("\n co... |
cd846b39a035198586fe9be6c8e58a821d5d03eb | c03689c3547a8d6a40f80aaf7e53c4edf766eaab | /Multiply Function.sce | c58ddf459f577ca894d9d7399f64af8296531f46 | [] | no_license | DoanTanLoc-2203/Digital-Signal-Processing-Scilab | 2951686f7a8f015ff966f21c8324508a84cb2fba | eccea257fd10c8bdafba4d7af1ddf8cde9d4dc5c | refs/heads/main | 2023-01-07T15:26:51.606190 | 2020-11-13T15:48:16 | 2020-11-13T15:48:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,064 | sce | Multiply Function.sce | function mymultiply=multiply(xn,n0,xm,m0)// Hàm multiply y(n)= x1(n).x2(n)
// Tiền xử lí tín hiệu xn và xm
// Bổ sung thêm a lần phần tử '0' vào bên trái tín hiệu xm
a=abs(m0-n0);
if n0>m0 then //xn --> xnnew0
xnnew0=xn; //xm --> xmnew0
... |
b66d46648cbf87bde47841e59df983e089aa230b | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/isl.tst | 0927b5402672f563cc1aaded4f5da2aba68c2363 | [] | 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 | 494,891 | tst | isl.tst | toga toguðuð V;SBJV;PL;2;PST
múkki múkkans N;GEN;DEF;SG
víkja víkið V;SBJV;PL;2;PRS
fóður fóður N;NOM;INDF;PL
innræting innræting N;NOM;INDF;SG
skrokkur skrokkum N;DAT;INDF;PL
dý dýið N;NOM;DEF;SG
sveigur sveiga N;GEN;INDF;PL
sífra sífra V;IMP;SG;2
halastjarna halastjörnu N;ACC;INDF;SG
ferill ferilsins N;GEN;DEF;SG
sér... |
19d3ef812dc549e5755c907ebb933c841fc9a497 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.53/ex_53.sce | c8704f68e2cd12c723ee6d7e9a2e4de968aa404a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | ex_53.sce | R1=2;
R2=10;
R3=5;
R4=15;
I1=1/3;
R5=3;
V1=10;
V2=18;
A=[8,-2;3,-9]; //Applying KCL at the two nodes
B=[50;-85];
V=inv(A)*B;
I1=(V1-V(1,1))/R1;
I5=(V(2,1)-V2)/R5;
disp("Amperes",I1,"Current in 2 Ohm resistor");
disp("Amperes",I5,"Current in 3 Ohm resistor"); |
cf9f0c639db695850f263a0d3347280f80da2821 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.6_3.tst | 2e664f3abce782be39cd009fe7a983858db35074 | [] | 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 | 820,260 | tst | 5.6_3.tst | 6 298:1 939:1 1127:1 1153:2 1176:1 1289:1 1443:1 1612:1 1897:1 1898:1 1985:1 1987:1 2127:1 2244:1 2555:1 2842:1 2875:1 2883:1 2909:1 2912:1 3325:1 3399:1 3401:1 3412:1 3609:1 3651:1 4268:1 4321:1 4396:1 4677:2 4738:2 4777:1 4933:1 4979:1 5187:1 5343:1 5347:1 5402:1 5447:1 5694:1 6155:1 6223:1 6461:1 6755:1 6955:1 7061:... |
3e61d67ee240a9f05161dd76133f9a257a803ad3 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latcfilt/latcfilt13.sce | 931106ed2cecec54c4402d60e17d122aba517875 | [] | 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 | 298 | sce | latcfilt13.sce | k=[0.2 0.3 0.4 1];
x=['a' 'b' 'c' 'd' 'e'];
[f,g] = latcfilt(k,x);
disp(f);
disp(g);
//output
//!--error 10000
//wrong input data type
//at line 36 of function latcfilt called by :
//[f,g] = latcfilt(k,x);
//matlab
//Ladder filter coefficients (V) must be a double precision 2-D
//array.
|
0a891ec5cfd827c53944bc0b21efd1dec318df02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/20_3_data.sci | c77339d8be3032e7655405428e0874031df6b42e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 20_3_data.sci | //CO2+CO
CO2=7.5
CO=0
//N
N=83.5
//Fuel flow (in kg/h)
ff=15
//Compression ratio
cr=16
//Diameter(in cm)
d=25*(10^(-2))
//Length (in cm)
l=30*(10^(-2))
//Ambient temperature ( in kelvin )
t=308
//Universal gas constant
r=287
//Exhaust pressure ( in bars )
ep=1.05*(10^(5))
//Calorofic value ( in KJ )... |
fcaafeb83c2947467261b18822c0bbde8b51b9d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.26/example26.sce | e633cfc7b5b194d4bec558282f23e8c76eebf12b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | example26.sce | //determine the transfer function
printf("syms R1 R2 C1 C2\nz1=R2/(R2*C2*s+1);\n z2=(R1*C1*s+1)/(C1*s);\n g=z2/(z1+z2);Transfer function Eo(s)/Ei(s)=g")
|
d467a644e372fb00e0f0cce0a290806d77086a78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH18/EX18.2.b/Example18_2b.sce | e4b7b91d074fea544f36f30d6607ae62221ba399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | Example18_2b.sce | clear;
clc;
//Caption:SCR half wave power control circuit
//Given Data
Vs=230;//in V
Rl=200;//in ohm
//Trigger is adjusted so that conduction starts after 60degree of start of cycle
//Instantaneous Current il = (230*2^0.5*sin(a))/200
//It is noted that between 0 to pi/3 SCR voltage equals line voltage and bet... |
3c582f4b7fe9ef0db6eab7d3e3b721e68962c7cb | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/Flex-UDP/loader.sce | 8073f88f1381ce8d8b0e36b67312a790c11ed1d1 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | loader.sce | // ------------------------------------------------------
// generated by builder.sce: Please do not edit this file
// ------------------------------------------------------
udp_receiver_path = get_absolute_file_path('loader.sce');
udp_link_num = link(udp_receiver_path+'Release\libFlexUDPComms.dll',['udp_config... |
19b622d18ca37df99b43528bffba342778eb3eb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH10/EX10.06/10_06.sce | bd9295e805666c93b57fe8e80a03fb51f2034daa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,528 | sce | 10_06.sce | //Problem 10.06:
//initializing the variables:
//calculation:
//TThe standard heat of combustion for chlorobenzene is obtained from the heats of formation data in Table 10.1. Since
//C6H5Cl + 7O2 ---> 6CO2 + 2H2O + HCl(g)
DH0c = 6*(-94052) + 2*(-57789) - 22063 - 12390
//This stoichiometric reaction is now wri... |
31b8a61589da606343c88a1bf10c300fef193792 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH14/EX14.26/example14_26.sce | c014a86733a004d9f07ad4044cdd700152e190ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | example14_26.sce |
//example 14.26
//calculate bed width of channel;also check depth using Kutter equation
clc;funcprot(0);
//given
Q=5; //discharge
S=0.2/1000; //bed slope
m=0.8; //critical velocity ratio
s=1/2; //side slope of chanel
C=30;
//assuming
D=1;
Vo=0.55*m*D^0.64;
A=Q/Vo... |
e6eccdc8710095456e9cc53002f1a14f8c3cafda | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/25_3data.sci | a16697c144f16cc54f1def5af735f80ff2562b81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sci | 25_3data.sci | S1=60;//stress parallel to the x reference axis,given,in N/mm^2
S2=40;//stress perpendicular to the x reference axis,given,in N/mm^2
theta=45*(%pi/180);//given
El=150000;//given,in N/mm^2
Et=90000;//given,in N/mm^2
Glt=5000;//given,in N/mm^2
vlt=0.3;//given |
5a75a1436e475294c575341c5484ddb56690955e | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH28/EX28.3/Example28_3.sce | 43149c2ed5606af30eaf659d2f20073996ce4b29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Example28_3.sce | //Given that
E1 = 3.0 //in Volts
E2 = 6.0 //in Volts
R1 = 2.0 //in Ohm
R2 = 4.0 //in Ohm
//Sample Problem 28-3
printf("**Sample Problem 28-3**\n")
function [f] = circuit(i)
f = zeros(2, 1)
//Using KVL in both the loops
f(1) = -i(1)*R1 - E1 - i(1)*R1 + E2 + i(2)*R2
f(2) = E2 + i(2)*R2 + ... |
0ed18eb0b42d18832680842ffa01f99265a876c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.45.a/ex_5_45a.sce | 1877446c7a78472c3c7d9766dbd07875b2cffe05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | ex_5_45a.sce | clear;
clc;
close;
disp("dy(t)/dt+2y(t)=x(t)");
w=0:0.1:10;
t=w;
dw=.1;
Xw=ones(1,length(w))./(1+%i*w);
Hw=ones(1,length(w))./(2+%i*w);
Yw=Xw.*Hw;
y=Yw*exp(%i*t'*w)*dw*.31;
d=gca()
plot(t,y);
poly1=d.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('y(t)','t')
yy=exp(-t)-exp(-2*t);
dis... |
56acfaba18d93ebfa1659c525817dd174f003826 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH17/EX17.4/EX17_4.sce | 13e60ece71f1af0784d4acde8e5bc470397fa2db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | EX17_4.sce | //Chapter 17, Example 17.4
clc
//Initialisation
VDD=15 //voltage
Vq=10 //quiescent output voltage
RD=2.5*10**3 //resistance in Ohm
Vp=-6 //voltage
IDSS=8*10**-3 //saturation drain current in amp
//Ca... |
98ff07ebf77a53e3803c20ad41f5994ae2fe745f | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /balred/balred.sci | 88815afeb8eb6b83f2ff882b69ba5c6958463baf | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 7,809 | sci | balred.sci | function[rsys]=balred(sys,n)
//a reduced-order approximation of the input LTI system
//
//Calling Seqence
//output=balred(sys,n)
//
//Parameters
//sys : state-space or rational model of a continuous or discrete time linear system.
//n : the desired reduced order of the sytem,can ... |
6d21c95a0910cb6638e01453793ed89b8d6afe99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.a.3/exaA_5_3.sce | 5f0f599cd998d7c57a058631a35ae07f119a7b23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | exaA_5_3.sce | // Example A-5-3
// Verifying design to match given response curve
clear; clc;
xdel(winsid()); //close all windows
// Please edit the path
// cd "/<your code directory>/";
// exec("plotresp.sci");
s = %s;
K = 1.42;
T = 1.09;
K = 1.42;
G1 = (K/(s*(T*s + 1)) ) /. 1;
G = syslin('c',G1);
t = 0:0.1:10;
u = ones(1,lengt... |
536ac1c150c24dfc041f661f89e15933b9676e2a | cd3baacb9aa523e8ac4f10406c5fb62c9c60998a | /gate/MyMux4Way16.tst | 5022ebb1b4a43fe01229929aa9b626f1af18f37f | [] | no_license | wangkekekexili/cuddly-octo-pancake | f8bbebc043417af9662712de610b390f062545f8 | 67b3d4c3d15c5877644221b6d987dd911101d013 | refs/heads/master | 2023-03-06T12:49:54.668374 | 2021-02-14T14:53:07 | 2021-02-14T14:53:07 | 338,038,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | tst | MyMux4Way16.tst | load MyMux4Way16.hdl,
output-file MyMux4Way16.out,
output-list a%X1.4.1 b%X1.4.1 c%X1.4.1 d%X1.4.1 sel%B1.2.1 out%X1.4.1;
set a %Xd10c, set b %X3def, set c %X05ae, set d %Xeaee, set sel %B00, eval, output;
set a %Xda46, set b %Xa5fa, set c %X8846, set d %X44a2, set sel %B01, eval, output;
set a %X2bf3, set b %Xf37e, se... |
c9309bdc8ca5dd474c68666851a734f39946b6f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH5/EX5.1.11/example5_11.sce | 4547250d226ab870718d944c239147cf17e08c96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,372 | sce | example5_11.sce |
//exapple 5.11
clc; funcprot(0);
// Initialization of Variable
g=9.81;
q=1.49;
pi=3.14;
//calculation
//part1
Dc=(q^2/g)^.333;
disp(Dc,"critical depth in (m):");
//part2
n=0.021;
su=1.85*pi/180;//slope upstream
sd=0.035*pi/180;//slope downstream
Dnu=(n*q/sqrt(su))^(3/5);
Dnu=round(Dnu*1000)/1000;
d... |
2d5324333d184252f77519451a3c18bb9a116aa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH6/EX6.9/e6_9.sce | 5e81cdcb5ede53324a9946c30ca85d811d24853a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | e6_9.sce | //example6.9
clc
disp("R_L=16 ohm, V_CC=25 V")
disp("Now 2N1=200, N2=50")
n=200/2
disp(n,"Therefore N1=")
n=50/100
disp(n,"Therefore n=N2/N1=")
r=16/(0.5^2)
disp(r,"Therefore R''_L =(R_L)/(n^2)=")
disp("For maximum power output, V_m=V_CC")
p=(25^2)/(2*64)
disp(p,"i) (P_ac)_max [in W]=(V_CC^2)/(2*R_L)=")
di... |
88653d1af1808492e15b948048dfb61cf963a0c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH9/EX9.1/Ex9_1.sce | 49f4ea6aba5d054ceddad21e0e7c1ba711d19bb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,844 | sce | Ex9_1.sce | clear;
clc;
// Example 9.1
printf('Example 9.1\n\n');
printf('Page No. 252\n\n');
//given
a = 40;// in m
b = 25;// in m
c = 20;// in m
d = 10;// in m
e = 5;// in m
f = 2;// in m
g = 3;// in m
h = 6;// in m
//(1) Production Area
T1 = 21;// Temperature difference in degree celcius
T2 = -3;// Temperatu... |
0d821c312f1845c58fd477844d9a020c28b2c5d7 | ef7da921e1289d3deaaf9727db2b6f025656e8d9 | /DelayMeasurementByCorrNoise.sce | c2515727296b9259eebe369180b838a8be5d70c7 | [] | no_license | PrayagS/SciLab_Exercises | ea88438207f2dc5d3f211c9abfe137a4bd43f68f | 0495ba76e693750980fefb386c28209a6fd6563e | refs/heads/master | 2020-09-08T01:52:22.914681 | 2019-11-16T05:39:29 | 2019-11-16T05:39:29 | 220,977,317 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | DelayMeasurementByCorrNoise.sce | clear;
clf;
// n = 0 : 1 : 1000;
t = 0 : 1/10 : 100;
x = sin(2*%pi*(1)*t);
// y = sin(2*%pi*(1)*t);
y = [zeros(1,500),x];
x = [x, zeros(1,500)];
t2 = 0 : 1/10 : 150;
genNoise = 4*rand(t2)-2;
y = y + genNoise;
subplot(411);
plot(x);
subplot(412);
plot(y);
[z,IZ] = xcorr(x,y);
subplot(413);
// disp(IZ');
plot(genNo... |
1ae7b6b979f136029e1dde6bd436e392ea785a7e | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.14_7.tst | e2233941cb3d0a1c799e9d0b871bd64d2a0d1453 | [] | 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 | 39,397 | tst | bow.14_7.tst | 14 4:0.1 22:0.25 48:0.02631578947368421 65:0.125 89:0.1111111111111111 131:1.0 144:0.5 164:0.08333333333333333 166:0.5 208:0.5 335:1.0 526:1.0 644:1.0 895:1.0 1058:0.25 1832:1.0 2015:1.0 3620:1.0 3845:1.0 4375:1.0 5659:1.0
14 3:1.0 4:0.2 22:0.25 30:2.0 32:0.5 43:1.0 44:3.0 48:0.05263157894736842 65:0.375 143:1.0 175:0.... |
98f1f08c625f0149fc90f0e5abb8267100417906 | 481f3317298608c37d4cb96f148faf5068d712bb | /lib/scilab/verbifyGraph.sci | 8814cef55bccce0f718152237452170b9a125880 | [] | no_license | masilvabustos/xcos2uc | 1f83c0710da6506cec8c8aad5a97848903f6ad32 | 531c35a53b7efc11e69e98c643ebad3df3d362f5 | refs/heads/master | 2020-04-05T22:41:50.570623 | 2016-11-13T18:18:22 | 2016-11-13T18:18:22 | 22,852,879 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,820 | sci | verbifyGraph.sci |
function result = verbifyGraph(graph, edges)
// !!! ---> Proper nodes not tested!!!
result = list()
proper_nodes_list = getProperNodes(graph, edges)
proper_nodes = zeros(length(proper_nodes_list))
i = 1
for n = proper_nodes_list
proper_nodes(i) = n
i = i + 1
... |
4317d9e94275c980455f1799bc05db73f2c3fff1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH10/EX10.6.b/ex_10_6_b.sce | 2a0951b35527e9c8e1be9ce606a278e16177572e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | ex_10_6_b.sce | //example 10.6(b)//
clc
//clears the screen//
clear
//clears all variables//
fs=0.02*5000/100;
//full scale error//
disp(fs, 'full scale error (in mV) = ')
e=19.607+fs;
//total possible error//
disp(e, 'total possible error (in mV) = ') |
e5235fd51805d26ef14c5e9e08314f749a0db8c5 | 694cd908fb6cdaa69d3490af6639c5a88f10cf5b | /SampleTests/hwb/login_new_mob.tst | ebad15c2335daf0f4d044833da1c787ac17ecbf0 | [
"MIT"
] | permissive | Logang1007/inifinity_repo | 679ea3f52fce08c1b6af4973e428d572998baa63 | d22d72a3d3fe07f930ad408816de063fb4795fbe | refs/heads/master | 2023-03-06T18:43:56.813781 | 2021-02-04T11:45:20 | 2021-02-04T11:45:20 | 179,215,732 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 7,283 | tst | login_new_mob.tst | {
"TestDetail": {
"TestUniqueCode":"001",
"ExcelColIndexValue": -1,
"Description": "Demo hollywood bets horse racing",
"TestIncludeToRunFirst": ".\\vars.tstinc",
"Name": "Horse racing",
"Author": "Logan Govender",
"FileName": null,
"FilePath": null,
"DirectoryPath": null,
"Output... |
ef292f67c1105bc6acbb78d16331f8c7ae5ca191 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_1_c.tst | a8a27ca8d372e7aba201be2d8dc46746a4d57e96 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 2,835 | tst | test_ods_1_c.tst | ** File Info
Version: 1.0
Num Logs = 0
Num Trans = 0
Num Writers = 0
Init Tranlog = 0
Total Entries = 14
Tranlog Offset = 0
Transaction Id = 11
Index Free List = 12
Total Size of Data = 428
Data Transformation Id = 9
Index Transformation Id = 57
** Entry Info for: all
num: 0000000000000000 pos: 00000000000000... |
b00f0bc4d95825b10560279127ff93414bd525d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.32/example11_32.sce | 12a38e259e5705fe5bad679f1baa1c7d141d8b50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | example11_32.sce | clc
// Given that
T = 4 // no. of year when rocket is moving corresponding to one year
// Sample Problem 32 on page no. 11.30
printf("\n # PROBLEM 32 # \n")
printf(" Standard formula used \n")
printf(" t = t_0/((1-v^2/c^2)^1/2) \n")
v = 3e8 * sqrt(1 - (1 / T)^2)
printf("\n Speed of rocket is %f c.",v/3e8)
|
6a2fd4db927f489cc012a8ce7c3a5ed1958af9bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.8/example_3_8.sce | 2b06f6554fb901c7af2f5967e75ba5ba88884b61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | example_3_8.sce | clear;
clc;
clf();
xname("--------------Example 3.8----------------");
a1=gca();
// define the properties of the axes
a1.x_location = "middle";
a1.x_label.text="Time"; // display the quantity along x-axis
a1.x_label.font_style = 3;
a1.x_label.font_size = 5;
a1.x_label.foreground = 3;
a1.title.text="A Composi... |
ec10bf1260ed41087d140edd79af09791ef20794 | 56743f362de98f910919780918c86679ec136d3e | /resolucao-provas/2016-2017/Material/algoritmo_3.sce | 0dd2f990264a5f1aa7b5d2b4606e5b8dd373761e | [] | no_license | andre-paulo98/fichas-ei-a1s2-MD | aaf75e6b45cbac7ebbf92949deb783ce6f1201b7 | 99c50eb08cf409ce8e5aa8301728dbe9148e16c5 | refs/heads/master | 2022-02-24T23:13:49.293944 | 2019-10-06T17:50:26 | 2019-10-06T17:50:26 | 171,472,323 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | algoritmo_3.sce |
function B=insert_tree(A,item)
k=1;
L=length(A);
aux=1;
while aux==1
if item > A(k)
k=2*k+1;
if (k>L | A(k)==0)
A(k)=item;
disp('Item foi inserido na árvore!')
aux=0;
end
elseif item < A(k)
k=2*k;
if k>L | A(k)==0
A(k)=it... |
5f13dfa4a0924b6ad4a9179233a03445748512f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH16/EX16.2/16_2.sce | bd275be757840be69c03984234cba5b4da0448e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | 16_2.sce | clc
//initialisation of variables
p=500//ft
p1=6//in
t=500//cfm
p2=7//psig
P=p2+14.7//psia
T=520*(P/14.7)^0.283//F
f=0.048*p1^0.027/(t)^0.148//in
//CALCULATIONS
delP=20*10^-3*p*T*(t)^2/(38*10^3*P*p1^5)//psia
//RESULTS
printf('the pressure drop=% f psia',delP)
|
c80d104e011136de089271c1a776816d9472eb6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH2/EX2.2/sadiku_2_2.sce | 570296bc97b6419bd32febf7367672a1116f7e7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | sadiku_2_2.sce | clear;
clc;
format('v',6);
function [X,Y,Z]=sptocart(x,y,z);
R=sqrt(x^2+y^2+z^2);r=sqrt(x^2+y^2);
P=asin(r/R);Q=acos(x/r);
X=(10/R)*sin(P)*cos(Q)+R*(cos(P))^2 *cos(Q)-sin(Q);
Y=(10/R)*sin(P)*sin(Q)+R*(cos(P))^2 *sin(Q)+cos(Q);
Z=(10/R)*cos(P)-R*cos(P)*sin(P);
disp([X Y Z],'B in cartesian cordinate')
endfuncti... |
015bd38fba0e5583fef45f522e31a8819fc924ea | 388836a0e92519504c2c9143a16ea6a04599aa9d | /Cantor.sce | daf5c2c9d25983b2844b0ae27335999736e99be9 | [] | no_license | edaniszewski/FractalPlots | 8b9df8991c2b157ba62033f5f6cb5cdd9a1d4dd9 | 2e50f49cc6775a2df20d0e466ce7c948519f9f2b | refs/heads/master | 2016-08-07T10:35:07.380116 | 2014-04-09T14:18:17 | 2014-04-09T14:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Cantor.sce | a = 3;
function y = f1(x)
y = x/a;
endfunction
function y = f2(x)
y = 1-x/a;
endfunction
x = [0;0];
n = 50000;
X = zeros(2,n/5);//# of iterations, n, should be divisible by 5
for i = 1:n
r = rand(1,1);
if r < 1/2 then
x = f1(x);
else
x = f2(x);
end
if i > n-n/5 then
... |
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... |
4e46cc6de56ceed23a2ee9a81e31e353c9d297ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.5/18_5.sce | 9122305170cc1cdfb4abcd88c07dac208e4fbf51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | 18_5.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.5
//calculation of refractive index of material from known value of angle of minimum deviation by prism
//given data
deltam=37; // angle of minimum deviation by prism of the material(in degree)
A=53; //angle of pr... |
46788276bcef3d52b7f6fd5a15cec3465e862cba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH6/EX6.12/Ex6_12.sce | 21e276997d31648564f57fe27cf34b54bd305f7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sce | Ex6_12.sce | clear;
clc;
//page no. 204
r1 = 3;//in
r2 = 10;//in
beta1 = 120;//degrees
beta2 = 135;//degrees
t = 1;//in
Q = 4;//cfs
gam = 0.434;
V1 = Q*144/(2*%pi*r1);
V_r1 = V1;
V_r2 = Q*144/(2*%pi*r2);
u1 = V1*tan((beta1-90)*%pi/180);
omega = u1/(r1/12);
u2 = omega*(r2/12);
V_t2 = u2 - V_r2/tan((180-beta2)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.