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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba64533bcb37074b57cb4d3fa9838b6ace093369 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.28/Example_1_28.sce | cd33e8d6d8b1deb6c1b369b16e9f20ef1267c7b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Example_1_28.sce | //Example 1.28 Four Cards are drawn at random from a full pack.
clc;
clear;
N=(52*51*50*49);
disp(N,"total no. of ways in which 4 cards are drawn =");
M1= (52*39*26*13);
disp(M1,"No. of favourable cases with cards of 4 different suits =");
P1=M1/N;
M2=(52*36*22*10);
P2=M2/N;
disp(M2,"No of favourable cases ... |
7b636f42b30fae158761d1f344a5e236407ac933 | b32474ae2727233775f44c71edfe1f10b6a3430f | /Euler2 (1).sce | b47e18dc1c964121b4bc326d80a2dcb1625a6adb | [] | no_license | lucaslyon96/scilab | 8400b98c25dafa13069dd64bd391c15218323575 | 8fe45fd3bd27ab21490682874f72f9c20c8717e1 | refs/heads/master | 2020-03-18T12:25:20.253687 | 2018-05-24T14:49:08 | 2018-05-24T14:49:08 | 134,725,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Euler2 (1).sce | function w=df1(x,y,z)
w=z;
endfunction
function d=df2(x,y,z)
d=(5/7)*12862.985*sin(0.2931197)
endfunction
function [x,y,z]=Euler2(a,b,h,y0,z0)
x = a:h:b;
y(1) = y0;
z(1) = z0;
n=length(x);
for i=2:n
y(i)=y(i-1)+h*df1(x(i-1),y(i-1),z(i-1));
z(i)=z(i-1)+h*df2(x(i-1),y(i-1),z(i-1));
end
... |
a8d2f824f7293ac5d1898afeb2bdfda9d291f43e | ea06465a076a423fb07a3686dcec3d68100f8a8c | /createWave.sce | e326f995b3a4805b0055996611d8092ed7f07ac0 | [] | no_license | KASHIHARAAkira/soundCreator | 6d5130ae36b9ea4fa72511dd4bd4f012615f5e8c | 25ccd217ac048b330242e0045747cdfe8581d276 | refs/heads/master | 2021-05-14T01:02:57.345588 | 2018-01-11T04:32:46 | 2018-01-11T04:32:46 | 116,555,559 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,564 | sce | createWave.sce |
fr = 440; //base freaquency
m = 0; //0 is piano, 1 is violin
if m == 0 then
samples = soundsec(1);
//xw = 0:0.0001:0.9;
yw = sin(2*%pi*fr*samples(:));
//plot(yw);
//create envelope
//piano*guitar
AT = 0.01; //Attack Time
DT = 0.9; //Decay Time
RT = 0; //Release Time
... |
4c915dd0df4aff12142d14cc96ef29197d2d1fc7 | 09c4a8bcbc605cc3a5a45779e9218e6f309b0132 | /MC1/question-0-2.sci | 098b22b0e8af741580b6f7bfc40116a890d91ff9 | [] | no_license | emilemathieu/ImportanceSampling | 8224833f7255160230532329aeb220723338eea2 | 2afeb94bc6b1063d0a1f24fc41b79c434b34a5ca | refs/heads/master | 2021-05-28T20:54:32.251555 | 2015-06-01T17:57:00 | 2015-06-01T17:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sci | question-0-2.sci | // Preliminaries, question 2
function [X]=gauss(N)
U=rand(1,N,'unif');
V=rand(1,N,'unif');
X=sqrt(-2*log(U)) .* sin(2*%pi*V);
endfunction
x=[-4:0.1:4];
densite=(1/sqrt(2*%pi))*exp(- x .* x /2);
plot2d(x,densite,3);
N=10000;
X=gauss(N);
histplot(100,X);
|
de76787aaf2a4cc241c7d615c0fc5c0f845c10c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH12/EX12.7/ex12_7.sce | 6aacc272b03d342b63dfb89111fdbe43d8ccd9ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | ex12_7.sce | //Page Number: 652
//Example 12.7
clc;
//Given
Zl=25+25*%i; //ohm
Z0=50; //ohm
T=(Zl-Z0)/(Zl+Z0);
p=sqrt((real(T))^2+(imag(T))^2);
disp(p,'Reflection coefficient:');
vswrr=(1+p)/(1-p);
disp(vswrr,'VSWR:');
//Fraction of power delivered
Pd=1-(p^2);
Pdp=Pd*100;
disp('%',Pdp,'Fraction of power delivere... |
17a0332818b1ad83db5b8d8c9ee24f572caca44b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH17/EX17.2/ex_17_2.sce | 49e4c4d754591a043d1e6d220306b26ec24b4cd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_17_2.sce | //Example 17.2 //Uncertainty in frequency & uncertainty in velocity
clc;
clear;
//given data :
ha=1.0545D-34;// average plank's constant in J.sec
h=6.626D-34;// plank's constant in J.sec
t=1D-8;//average time elapse in excitation in sec
E=ha/t;// uncertainty in energy in j
f=E/h;//Uncertainty in Energy in Hz
... |
24367633f0c8f7945b34f70f012e399bfaf1f9a9 | 86b07272c2e128fdec8e3fb2a793cd56b3f8876d | /test/scenarios/cancel-stream.sce | f8d3efa378982e42201867a3c5eb51cf05c189d8 | [
"MIT"
] | permissive | jimjag/ls-qpack | f582623269c38006f997ab5ac1bd597d960dcc19 | 79c136923681d7187feade455225543335525c3f | refs/heads/master | 2023-06-01T08:21:41.291968 | 2023-05-26T12:37:58 | 2023-05-26T12:37:58 | 211,070,438 | 0 | 0 | MIT | 2019-09-26T11:13:34 | 2019-09-26T11:13:34 | null | UTF-8 | Scilab | false | false | 193 | sce | cancel-stream.sce | TABLE_SIZE=256
ANNOTATIONS=1
QIF=$(cat<<'EOQ'
dude nude
dude nude
## c 1
dude where is my car?
one fish
two fish
## c 2
red fish
blue fish
black fish
blue fish
## c 3
old fish
new fish
EOQ
) |
12b134dfbfe6d891bde3a4bd52f3e05a4e60e048 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH9/EX9.1/Ex9_1.sce | dd160e1ea3087e6e6781b3d9a927dd6e08768ea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,361 | sce | Ex9_1.sce | // Example no 9.1
// To find the intermodulation frequencies generated
// Page no. 451
clc;
clear all;
// Given data
f1=1930; // First carrier frequency
f2=1932; // second carrier frequency
F1=1920; ... |
f433ab8f7e0fff45aaa2f1c3b5a3409c906934ec | 073dfa0d1c6e561848114866aa356c6d732e03e2 | /Utils/Visualizing/common.sce | d08cd1be7fd96c10663aa300e252f2411ced2ccf | [] | no_license | Al-xandr1/DTNResearch | 6db2d5bd15d543acbcd929fb3fddca51fa164507 | 135976fda2f74cf50544b57f372cd6b582a37a41 | refs/heads/master | 2021-01-17T01:02:03.341918 | 2020-03-29T19:41:21 | 2020-03-29T19:41:21 | 29,422,443 | 0 | 0 | null | 2017-11-17T20:00:28 | 2015-01-18T10:31:11 | HTML | UTF-8 | Scilab | false | false | 2,916 | sce | common.sce | //---------------------------- Параметры ---------------------------------------
// Директория, в которой лежат нужные файлы или папки: DTNResearch\Utils\Visualizing\input\
//PATH = 'C:\Users\sbt-tsarev-aa\Soft\omnetpp-4.6\GitHub\DTNResearch\Utils\Visualizing\input\'; //work laptop
PATH = 'c:\omnetpp-4.6\GitHub\DTNRes... |
2b110757e34108576583a74e3f7eab621ed024da | 9c56678e62b7b8200d1d54c7b1462db3010168c5 | /scilab_proj/function6.sce | 1236ce8fee7a62564ddb1dbaf24b189b9cd699ca | [] | no_license | rajroshansharma/scilab_project | 5a6b91215bd6d1c4abf652bb440dc6558b3ca607 | b80d3dcb9eef67f0755e05adbef4a7fa3c333afa | refs/heads/master | 2022-11-07T06:40:16.372703 | 2020-06-26T06:23:31 | 2020-06-26T06:23:31 | 275,082,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,127 | sce | function6.sce | //programm for array addittion
x = [3,4,3,3];
y = [3,44,25,3];
b =[];
function b = addmat(x,y)
if length(x) <> length(y) then
disp("addition cant be performed");
else
for i=1:length(x)
b(i) = x(i) + y(i);
disp(b(i));
end
end
endfunction
//progr... |
65ca2357b040eadf73b6037cd4ae69aaf7c99356 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/union_parameter_runme.sci | 2918856d9144bc95ea76c2681585d3d7192f359a | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 845 | sci | union_parameter_runme.sci | // Some lines are commented out because of too long identifiers...
exec("swigtest.start", -1);
event = new_SDL_Event();
for i=1:2
evAvailable = SDL_PollEvent(event);
evType = SDL_Event_type_get(event);
if evType==1 then
specEvent = SDL_Event_active_get(event);
_type = SDL_ActiveEvent_type_get(specEv... |
50549ad635bf84025f1b59149fd780e24a30208e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3761/CH4/EX4.5/Ex4_5.sce | 27366a9e7612d5194d590f7212c7146d2fd45290 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,076 | sce | Ex4_5.sce | disp("Example 4.5")
disp("Calculating allowable moment capacity for beam of section as in 4.4")
L=6
Df=100
bw=250
b=1000
D=600
d=520
M=200
disp("Example 4.4")
disp("Service Load Moment = 200kNm","Ast=6-28mmdia bar","Effective depth d=520 mm","Depth D=600mm","b=1000mm","bw=250mm","Depth of Flange Df=100mm","Sp... |
1567f5004cc4843562b758b52c61e5006b51bcfb | 06c050d87b5b6b7e42f2d24889ec60b0f5fdd998 | /Ajuste Exponencial.sce | 3ed2e4d9e7862b5a1731561aa39e97e21c8a0e7e | [] | no_license | jaimedantas/Numerical-Computation-Scilab | 06958d436ee9724daa7c03f2ea14f195e5fbb596 | 66bf163bdbc0d9453cafff0369bbd5cd2fce78f3 | refs/heads/master | 2021-01-11T15:18:52.809391 | 2017-01-29T03:47:50 | 2017-01-29T03:47:50 | 80,327,110 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | Ajuste Exponencial.sce | clc
//AJUSTE EXPONECIAL
//a funcao eh ln(y) = ln(a) + x ln(b) ou h = a1 + a2 x
//Xt*X*a = Xt*y, sendo que y é ln(y)
//a = e^a1 e b = e^a2
t = [1;2;3;4;5;6;7];
y = [1;1.5;2;4;7;12;21];
x = [1 1; 1 2; 1 3; 1 4; 1 5; 1 6; 1 7];
ln_y = log(y);
A = inv(x' * x) * x' * ln_y;
//agora converte a1 e a2 em ln(a) e ln(b)... |
8dd94f71830436fca291952d97121826db4e737b | bf24e30d6ed9b0d16fe0d59f6caf6ee61aa714cd | /missionX/missionX1.sce | b22e08a333632348e09c044000d43528be99cea7 | [
"MIT"
] | permissive | pierre-geeraert/Projet_exolife | c8d3b623f2cbcaaaf5c510c8f438da2c82980be8 | cff5ca5cb1602d1b1ef589b847536b9e61e631ee | refs/heads/master | 2021-05-03T06:30:23.099197 | 2018-02-15T14:50:01 | 2018-02-15T14:50:01 | 120,595,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | missionX1.sce | // Load the file
load ('Asellus Secundus.dat')
// Display the file with the inverse fast Fourrier transform function
disp (display_gray(ifft(imgT)))
|
dc4f6faa0cb73b511343c505f9f2be5dfb63b409 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH10/EX10.6/Ex10_6.sce | ecc25fa310afaf702578ff982ca29d5cbaaabe62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,474 | sce | Ex10_6.sce | clc
// initialization of variables
clear
P=30.0 //kN
a=500 //mm
h=102 //mm
b=68 //mm
k=23.8 //N/mm^2
Beta=0.001852
Ix=2.53e+06 //mm^4
//calculations
P=P*10^3
C_ba=exp(-Beta*a)*(-sin(Beta*a)+cos(Beta*a))
D_ba=exp(-Beta*a)*cos(Beta*a)
// y = P*Beta/(2*k)*(A_bz+2*D_ba*D_baz+C_ba*C_baz))
// Mx = P/(4*Beta)*(... |
6c79b981ffd9d443214d1533f9792e7042e26157 | fd06d3beb82096fa35c987728e029bd5216a214b | /splineApproximation/approximation.sce | 0b583a9469cc91059d1d37671f9eacf5093ea817 | [] | no_license | stepanov17/coverageFactorBayesianInference | 83156f792b242f1f4ddfb030a40c23489324fed6 | 4f50d70cd4649e1de7825de3dd5f01608b7dc950 | refs/heads/master | 2021-07-15T01:08:21.895533 | 2021-01-24T11:55:09 | 2021-01-24T11:55:09 | 230,261,884 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 928 | sce | approximation.sce | clear;
clc;
function [maxR, appr, d] = sAppr(x, y, bp)
nx = length(x);
xStart = x(1); xEnd = x(nx);
[appr, d] = lsq_splin(x, y, bp);
kRound = 1.e3;
appr = (1 ./ kRound) * round(kRound * appr);
d = (1 ./ kRound) * round(kRound * d);
yAppr = interp(x, bp, appr, d, "natural");
plot... |
9ae6a98a86d19305b00849fb786af6cde0af19e2 | 04227b0d1bb094503d6c9ca0b21de26102c7572c | /calculLbpImagette.sce | e0c4455eac5e065a72b1ff3094527f29bc14ade8 | [] | no_license | C-ELAzouzi/Reconnaissance-facial-matlab | be48b496aab193ec07f7aaa95cae2915ea5badfa | ee8073c77bd5fd3f9647ddd18b0115b4a9d27ae3 | refs/heads/master | 2023-06-05T16:25:23.844539 | 2021-06-16T12:46:06 | 2021-06-16T12:46:06 | 377,476,453 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,045 | sce | calculLbpImagette.sce | clear ;
xdel(winsid());
clc ;
exec lbp.sci
exec getmapping.sci
nb_imagette =25;
nb_image=400;
nb_bins =255*25;
Attribut = zeros(nb_image,nb_bins);
for x=1:50
if(x==21 || x==34)
else
for y=1:12
if(y==1 || y==2 || y==9 || y==10)
else
if(y<=9)
a=sprintf('Base2/%d... |
27c28ca74a90bc46efb6d5ddda97c8fb8be74758 | 3e5f48beb8d918ce886ffe48f120a181840d28b5 | /Algebra Linear Algoritmica/fatoracaoLU.sce | bdf8c31238102cfc71261b70a1d05cce755b81af | [
"MIT"
] | permissive | elvisigkeit/graduate-stuff | dd0e11dd5c7765adc77835f4ba96b53d7d25717c | 700c8e97cefffcb48dccccdefefb3a470df29f1f | refs/heads/master | 2023-05-31T05:25:36.381690 | 2021-06-17T01:53:38 | 2021-06-17T01:53:38 | 212,691,118 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,796 | sce | fatoracaoLU.sce | //Matriz A, mxn
//A = [6, -2, 0; 9, -1, 1; 3, 7, 5]; MATRIZ LINDA
//A = [0, 0, -2; 2, 4, -10; 2, 5, 1]; MATRIZ QUE TROCA
A = [0, 3, 1; 2, -2, 1; 1, 5, 2.5];
//vetor b
//b = [1, 2, 3]
[m, n]= size(A);
P = eye(m, n);
L = zeros(m, n);
//Ultima linha válida da matriz, linha nao nulas
lnn = m;
for p = 1:lnn
//Encontra... |
070bab7136f88e60eac2a999ebd7b200fed3a60b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.21/Chapter4_Example21.sce | 8db80d4190fa4a662b8e488002a994130cfbf199 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Chapter4_Example21.sce | clc
clear
//INPUT
q=5000;//total number of molecules
e=2.7183;//constant value
t1=0.5;//distance travled to the mean free path
t2=1;//distance travelled to the mean free path
//CALCULATONS
p1=q*(e^-t1);//n0.of molecules having no collision in traversing a distance t1
p2=q*(e^-t2);//n0.of molecules having n... |
7ee8168b1aa095e5b6b6a64a5b2935017f66549f | f5aa1c47170cee0c9759a47c9301840ffa2e3fd8 | /optimization/optimization.sce | d8d72e474302a7a07bdb2a19c91058a94c70c50b | [] | no_license | SeeKT/Math | 6112282571063f7c7b7b82acbef32086375328c0 | d1bf9f808997692427dd1fc173f806d3c5ef9dbb | refs/heads/master | 2021-04-16T09:45:34.740486 | 2020-09-05T02:03:40 | 2020-09-05T02:03:40 | 249,346,882 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24 | sce | optimization.sce | A = [4+2*u1 1; 1 2+2*u1] |
9ff016d02edde470c5e2c20e25a49e7b91bab7ea | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2207.sce | 84210402ec4d184681d449d64e9c041ee1d7ccdc | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 5,337 | sce | map2207.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2207" Width="13" Height="15" CellSize="40" BackgroundSize="1" Background="15plus.png">
<Cell Name="箱子1" X="3" Y="1" />
<Cell Name="墓碑" X="4" Y="1" />
<Cell Name="箱子1" X="6" Y="1" />
<Cell Name="墓碑" X="8" Y="1" />
<Cell Name="箱子1" X="10" Y="1" />
<Cel... |
4ddf563d8319f33461f35acbfc51ef5ae360c5e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.44/ExampleA44.sce | 9f97447b8d1d1851affae07fa9fb9302479d2d6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | ExampleA44.sce | clc
clear
//Page number 489
//Input data
t1=20;//The temperature of the air in the cylinder of a combustion engine in degree centigrade
p1=1;//The initial pressure of the air in atmospheres
V1=8*10^-4;//The initial volume of the air in m^3
V2=6*10^-5;//The final volume of the air in m^3
g=1.4;//The adiabat... |
18963ca21d657dc817c77b021b9c565f00d1d7d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.20/Ex24_20.sce | b0856b16feab34ca24321e6d9c980afbffed5fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,762 | sce | Ex24_20.sce | // Example 24_20
clc;funcprot(0);
//Given data
P=5;// Power plant capacity in MW
T_1=15+273;// K
p_1=1;// bar
T_4=750+273;// K
p_r=6;// Pressure ratio
p_3=2.24;// bar
e=0.75;// The effectiveness of heat exchanger
n_c=0.8;// Isentropic efficiency of compressor
n_t=0.85;// Isentropic efficiency of both turbin... |
2cd89f5eb7219a2a05bac48befb56642284c1c8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH10/EX9/cha10_9.sce | 6d4bc6f31da3828ebb6805777e8673ad7949df4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | cha10_9.sce | I=100;
PulseScr=sqrt(1/3);
PulseOut=sqrt(2/3);
a=PulseScr
msScr=a*I
b=PulseOut
RmsOut=b*I
|
19c7ec743a81771a396a4c45fac5578e286b22f8 | 9b0b812d05ded19d5548c376bbb45ae55f1f1081 | /is_visited.sci | cacf49255ee0e38376a3b3a14e2aacc422e8b8c0 | [] | no_license | mitap45/tsp-ratmoleapproach-scilab | 05724c500f0908d45d22676a1fa08c0af13bc700 | 251a1c4679df42eb7d9a4868bb6c2d56f28dd71b | refs/heads/master | 2021-01-24T07:09:16.818836 | 2017-06-04T19:21:03 | 2017-06-04T19:21:03 | 93,333,895 | 0 | 0 | null | 2017-06-04T19:19:17 | 2017-06-04T18:38:20 | Scilab | UTF-8 | Scilab | false | false | 332 | sci | is_visited.sci | // Muratcan İTAP Sezgisel yöntemler ve uygulamaları dersi projesi
// Alınan şehrin o fare tarafından ziyaret edilip edilmediğinin belirlendiği fonksiyon
function state = is_visited(MolesMat, i, p, n)
state = %f;
for j=2:n
if MolesMat(i,j) == p then
state = %t;
end
end
endfunct... |
517ef8e87120229333bf6ce5471ce7692154bb4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH9/EX9.3/ex9_3.sce | a60a4cfcf3106e84c1c8664d42345b1c8ae6c5ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | ex9_3.sce | clc;
tc=80; //temp in celcius
tf=((9/5)*tc)+32; //calculating temp in farenheit
disp(tf,"Temperature in farenheit = "); //displaying result |
418c81d0b8c65afedc61a6148e59deb0ccd63648 | 2a39d29b2cb27e98632f6810ed3c2a22a56fa8eb | /Materias/LabCalcNum/Rafael/modelo_potencias.sci | d4f14cf4deaacb3e28306627c04eb9a480423a70 | [] | no_license | rafael747/my-stuff | 74358384bc1a5b381d1951dfaef87efdf4cb53c2 | 8614aefdc3ca9afdc1534557f73719af8494f7fa | refs/heads/master | 2021-01-17T12:47:48.206860 | 2020-06-04T15:10:20 | 2020-06-04T15:10:20 | 57,989,835 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,191 | sci | modelo_potencias.sci | //-----------------------------------------
// Ajustando Modelo Nao Linear f(x)=alfa * v ^beta
//-----------------------------------------
// Função Linear: g1=1, g2=x
function [y]=g1a(x)
y=ones(1,size(x,2));
endfunction
function [y]=g2a(x)
y=x;
endfunction
//Tabela de Dados (Original)
x = [10, 2... |
5c350a198de8ab539793e35e0d09406037d0c357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH14/EX14.7/14_7.sce | 152de87a0cbf97a9d47f498bd3c04cae0b70f72b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_7.sce | //ship approaching port
//refer fig. 14.13 and 14.14
//let west be x and north be y axes
//speed in kmph is
vBx=25*sind(45)
vBy=25*cosd(45)
vAx=-15
vAy=0
//Let vr be the relative velocity of B w.r.t. A
vrx=17.678-(-15) //kmph
vry=17.678 //kmph
vr=sqrt((32.678^2)+(17.678^2)) //kmph
alpha=atand(17.678/3... |
b24b76abc0f6a3443a9c7bc52ccc73c40c08a66d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH8/EX8.9/9.sce | a314224dcac58cedf18ef53e65754bf887be4f33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | 9.sce |
//Variable declaration
mewe=0.13; //mobility of electrons(m**2/Vs)
mewh=0.05; //mobility of holes(m**2/Vs)
e=1.6*10**-19;
ni=1.5*10**16; //intrinsic concentration(per m**3)
//Calculation
sigma=ni*e*(mewe+mewh); //conductivity(per ohm m)
//Result
printf('conductivity is %0.3f *10**-4 per ... |
5469f45c0953b09643fccceb1d5e2dfd440fdb95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH2/EX2.19/Ex2_19.sce | ac5f0b57d9e2f801fbd1e2e51044915e69c91010 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_19.sce | clc
//Chapter2
//Ex_2.19
//Given
no=8.5*10^28 // in m3
e=1.6*10^-19 //in coulombs
u_d=3.2*10^-3 //m2/V/s
sigma=5.9*10^7 //in ohm^-1*m^-1
n=sigma/(e*u_d)
disp(n,"concentration of conduction electrons in copper in m^-3 is")
A=n/no
disp(A,"Average number of electrons contributed per atom is")
|
c57c3df0d6803625ee9403b88835b2d470460ab7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH1/EX1.6/Ex1_6.sce | 9ae88f1198b0a48b97d97810a9c4fc4c83e9a8f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex1_6.sce | //Ex1.6
clc
R1 = 14//resistance at temperature T1
alpha=0.005
T1=20;//initial temperature
T2=120 //final temperature
disp("R1 = "+string(R1)+ "ohm; alpha = "+string(alpha)+"; T1 = "+string(T1)+"degreeC; T2 = "+string(T2)+"degreeC")
disp("R2 = R1(1+(alpha*(T1-T2))) = "+string(R1*(1+(alpha*(T2-T1))))+"ohm") //res... |
2613d8caf63cf4ef71d1b6abb96888e0f78eb5eb | 79418bcba493ca1aeb3fb7ab6c0e549315ac171d | /content/posts/brownian-motion/code/centering-model.sce | c181798f79700a77be387aa57da617a43c39f379 | [] | no_license | Joaoloula/joaoloula.github.io-src | b6dab427e4680ba9474c2a91c06ad734f4886b19 | d0193c509ff868580d0c1d3a7d18c60d810f82b5 | refs/heads/master | 2021-01-17T06:05:04.089862 | 2017-04-12T03:31:21 | 2017-04-12T03:31:21 | 55,262,722 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,671 | sce | centering-model.sce | //We now introduce a force that penalizes the velocity proportionally to how far away from the center
//the particle is. The consequence (as can be seen by looking at the eigenvalues of the recursion law
//matrix) is a stabilizing system that's enveloped by an exponential, a classic case of dampening.
//Though the recu... |
2c05901498be7656c58dd9e835942962d3bf1a43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH16/EX16.3/16Q3.sce | eb15bf8c493e7d0c426662d7dff3ec322d604f70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 16Q3.sce | clc
B=1.2
L=1.2
c=32
C=0
Df=1
G=16
Nq=23.18
Ng=22.02
Nc=1
Lqs=1+0.1*B*(tand(45+c/2))^2/L
Lgs=Lqs
Lqd=1+0.1*Df*tand(45+c/2)/B
Lgd=Lqd
Lcs=1
Lcd=1
Gs=19.5
q=0.5*G+0.5*(Gs-9.81)
Qu= C*Lcs*Lcd*Nc+q*Lqs*Lqd*Nq+(Gs-9.81)*Lgs*Lgd*B*Ng/2
Qa=Qu/3
Q=Qa*B^2
printf('the gross load = %f kN',Q)
|
7cb3f9d6431052ce9e29b0377ab6c004b3f4029e | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 3/Q2.sce | 0071e2380d98ac4eed6299426f25a4306094a5dc | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,043 | sce | Q2.sce | clc; clear;
// --------------------
// Part a
s = poly(0, 's');
G = 85/(s^3+7*s^2+27*s+85);
sl = syslin('c', G);
[z, p, k] = tf2zp(sl);
disp(p);
// ignoring the farthest pole
G_approx = 17 / (s^2 + 2*s + 17);
sl_approx = syslin('c', G_approx);
t = 0:0.01:10;
scf();
plot(t, csim('step', t, sl), 'r', 'LineWidth', 2);
plo... |
e0ff0f15e7e57de5e30390c961cc5ec69b754ab9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH9/EX9.7/9_7.sce | faa15d3c4715c1a579fe0e51f1498dfa3f9c34c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | 9_7.sce | clc
clear
//Input data
V1=0.07;//Displacement of the piston of a single stage single cylinder air compressor in m^3
P1=1;//Initial pressure in bar
T1=308;//Initial temperature of air in K
P2=8.5;//Pressure after the compression process in bar
r=1.4;//Isentropic compression
//Calculations
V2=V1*((P1/P2)^(1/1... |
370103085d43372f0d75532d84229e13bd007650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.18/Chapter4_Example18.sce | 2e710620fb993f4efba7fd37e84c157c15567273 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Chapter4_Example18.sce | clc
clear
//INPUT
t=288;//temperature in K
k=1.38*10^(-16);//boltzmann constant in erg/deg
N=6.02*10^23;//avagadro number
m=32/N;//mass of each oxygen molecule in gm
v=196*10^-6;//viscosity in poise
//CALCULATIONS
av=((8*k*t/(3.14*m))^0.5);//average velocity in cm/sec
d=(m*av/(3*3.14*2^(0.5)*v))^0.5;//dia... |
163cbae2d9d8eb770dd36e98179642f6fe69f62d | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /src/transformation/rotationMatrixFromRxRyRz.sci | a9a08f489129aa40098acb71910253d474e7caea | [] | 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 | 3,566 | sci | rotationMatrixFromRxRyRz.sci | function [Rotx, Roty, Rotz] = RxRyRz(v)
// auteur CLaire dune
// Date novembre 2009
// Mouvement de rotation
// voir Diebel06
Rx = v(1) ;
Ry = v(2);
Rz = v(3) ;
Rotx = [1, 0 ,0
0,cos(mtlb_double(Rx)),-sin(mtlb_double(Rx))
0,sin(mtlb_double(Rx)),cos(mtlb_double(Rx))];
Roty = [cos(mtlb_double(Ry)),0,sin(mtlb_... |
4befe8db362fc1028af7720c49eb9a4327e0b5c0 | e25bb3040c96f9782aab0493e05ba22f5bf50ccf | /ex4/Exercise4_template.sci | ea5bfabbc8b0005ed5fc7777fd9f4a988824c2f3 | [] | no_license | gpioblink/aizu-spls-exercise | c13258d46f50ed2db7797693a097b0fb75d24eaf | 6c0b9326ba8e4b52378cfe777e82a2bfcdecc9b9 | refs/heads/master | 2022-09-14T06:09:44.774157 | 2020-05-31T07:43:26 | 2020-05-31T07:43:26 | 263,856,972 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,873 | sci | Exercise4_template.sci | // EXERCISE 4
//close();
clear
//// =================================================
// Do not modify this part
function []=datwrite(Sc_k, kc, filename)
fd_w = mopen(filename, 'w');
for i=1:kc
mputl(msprintf('%d',real(Sc_k(i))),fd_w);
mputl(msprintf('%d',imag(Sc_k(i))),fd_w);
e... |
c4deafad8615af7df7d4d47a5c3bb44d7bb86eaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH4/EX4.9/Chapter4_Example9.sce | 5874e56fcf61c9b48c27c59234ff8d86caad429d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | Chapter4_Example9.sce | clc
clear
//Input data
R=52;//The relative humidity of air in percent
t=20;//The temperature of air in degree centigrade
s1=17.5;//S.V.P of water at 20 degree centigrade in mm
s2=9.2;//S.V.P of water at 10 degree centigrade in mm
s3=8.6;//S.V.P of water at 9 degree centigrade in mm
//Calculations
s4=(... |
f2c10e412ab35f9763616c9c9c1be718ab9cf233 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH4/EX4.15/Ex4_15.sce | 32709a8a378bced45d675bf3a2393778a7fa0e88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,295 | sce | Ex4_15.sce | //Ex4_15
// Obtaining a Frequency domain Filter from a Small Spatial Mask
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Wood... |
eb40509366d227e2b01f56def74141fc6acf4113 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Ripper-C/results/Ripper-C.flare-10-1tra/result5s0.tst | 2434785688e59a094875260d6b6fbec036cfc80b | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | tst | result5s0.tst | @relation flare
@attribute LargestSpotSize{A,R,S,X,K,H}
@attribute SpotDistribution{X,O,I,C}
@attribute Activity{1,2}
@attribute Evolution{1,2,3}
@attribute Prev24Hour{1,2,3}
@attribute HistComplex{1,2}
@attribute BecomeHist{1,2}
@attribute Area{1,2}
@attribute C-class{0,1,2,3,4,5,6,7,8}
@attribute M-class{0,1,2,3,4,5... |
6f55e0d02236672d2da7c60323f43fddfa25cc27 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshift/test_8.sce | e9cca2346512671dd8b5a659f1e70cb26000cb30 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | test_8.sce | // Test # 8 : For zero valued inputs
exec('./allpassshift.sci',-1);
[n,d]=allpassshift(0,0);
// !--error 10000
//Wo must lie between 0 and 1
//at line 36 of function allpassshift called by :
//[n,d]=allpassshift(0,0);
|
9e9dbf812c4eddb9a0dfc976a495396d67956b8e | 852a887149cf08573ae15977b6bddfd7e4ad6b90 | /projects/00/BImplA.tst | a248c2a5eabe241298b337a8358d533612119c18 | [] | no_license | SamuelWiet/ElementsOfComputingSystemsProjects | 0ecd3cc51a6495ed7fe145100d091d8ed9a1c502 | 06732828a214838934569cb5dd57d1e0b85220e5 | refs/heads/master | 2022-11-12T03:40:35.880347 | 2012-09-05T11:44:08 | 2012-09-05T11:44:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | tst | BImplA.tst | // File name: projects/00/BImplA.tst
load BImplA.hdl,
output-file BImplA.out,
compare-to BImplA.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3;
set a 0,
set b 0,
eval,
output;
set a 0,
set b 1,
eval,
output;
set a 1,
set b 0,
eval,
output;
set a 1,
set b 1,
eval,
output; |
c9b8dbf040e366a446b77b91809b5d15c01a8f8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH8/EX8.8/Example8_8.sce | 03296324d6dbea7a0f29ad294d1e81aad2269915 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | Example8_8.sce | close();
clear;
clc;
Ibq = 30*10^(-6);//A
Vceq = 8;//V
Vcc = 14;//V
//From graph
Icq = 2.7*10^(-3);//A
Rc = Vcc/(6.25*10^(-3));
Ieq = Icq+Ibq;
Beta = Icq/Ibq;
mprintf('Icq = %0.1f mA\nRc = %0.2f k ohm\nIeq = %0.2f mA\nBeta = %0.0f',Icq*1000,Rc/1000,Ieq*1000,Beta); |
1a606325054ae7c77e06c7bd6241721a11586262 | 668ca4e9ddcb0e4af73b341adf7dc544e552980d | /笔记/cookie&session.tst | 81df3493287cf87afb98e515db965ccace289246 | [] | no_license | ysily8817/biji | 6d5c70e681d9753597557a3204d8b6f69a5b2d7b | 15ff1b882a6e107caea02401bc384a38ceb1c4d6 | refs/heads/master | 2022-06-25T07:41:45.485965 | 2019-09-30T04:14:12 | 2019-09-30T04:14:12 | 199,145,828 | 0 | 0 | null | 2022-06-21T01:36:05 | 2019-07-27T09:44:03 | Scilab | UTF-8 | Scilab | false | false | 4,753 | tst | cookie&session.tst | Cookie
饼干. 其实是一份小数据, 是服务器给客户端,并且存储在客户端上的一份小数据
一、应用场景
自动登录、浏览记录、购物车。
二、为什么要有这个Cookie
http的请求是无状态。 客户端与服务器在通讯的时候,是无状态的,其实就是客户端在第二次来访的时候,
服务器根本就不知道这个客户端以前有没有来访问过。 为了更好的用户体验,更好的交互 [自动登录],
其实从公司层面讲,就是为了更好的收集用户习惯[大数据]
三、Cookie怎么用
简单使用:
a、添加Cookie给客户端
1、在响应的时候,添加cookie
Cookie cookie = new Cookie("aa", "bb");
... |
5f1e0c5e00cbd90aeb0a13f265abe8a62f9ebb82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.4/ex_1_4.sce | 26cf28d870f91b52354d1f627cdce2d6ba051155 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | ex_1_4.sce | //ex_4 combining two discrete signals
clear;
clc;
close;
t1=-2:7
t2=-3:4
x1=[0 0 0 1 2 3 0 0 2 2 0];
x2=[0 -2 -2 2 2 0 -2 0 0 0 0];
t3=min(t1(1),t2(1)):max(t1(length(t1)),t2(length(t2)));
figure
a=gca();
plot2d3(t3,x1)
plot(t3,x1,'r.')
xtitle('x1[n]')
figure
a=gca();
plot2d3(t3,x2)
plot(t3,x2,'r.')
xt... |
de2de8609fbb4552f50b5133d6377674fe5ec97f | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH14/EX14.2/Example14_2.sce | 485bd8fe061527c91dcf5774de73d41302f0f399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 827 | sce | Example14_2.sce | //Example 14.2
//Program to determine the absorption loss for the fiber under test
clear;
clc ;
close ;
//Given data
t1=10; //s - INITIAL TIME
t2=100; //s - FINAL TIME
Tinf_minus_Tt1=0.525;//From Figure 14.6
Tinf_minus_Tt2=0.021;//From Figure 14.6
C=1.64*10^4; //J/degree... |
7d3d459828ecedc4c6cdf1771fac6a04944480bf | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD4/Scripts/Service 1/serveur1_expo.sce | 570db1e25a8331600765fc601b9bdbe485472cff | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | serveur1_expo.sce | clf;
clear;
clc;
load('C:\Users\tangu\OneDrive\Documents\GitHub\Modelisation\TD4\NetworkData.sod')
// Extraction des temps de service
index_bool = ( data(:, 3) == 1 )
tabS1 = data(index_bool, :)
t_s1 = tabS1(1:$,4);
deciles=perctl(t_s1,10:10:90);
for i=2:10
ClassesDeciles(i)=deciles(i-1)
end
ClassesDeciles(1)=mi... |
afb31b61a38ad0577009289e5867209f3a23ed0f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2ac/poly2ac2.sce | 9e019d7bf365c81e9cd2aec2060ca31a1b5acea4 | [] | 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 | 269 | sce | poly2ac2.sce | //o/p when first coefficient of the prediction polynomial is not unity.
a = [5.0000 0.4288 0.76 0.0404 -0.02];
efinal = 0.2;
r = poly2ac(a,efinal);
disp(r);
//Output
// 0.2058495
// - 0.0151031
// - 0.0299918
// 0.0031441
// 0.0052346
|
2a2c7cba2aa572e28c7d45b0fff73128417e9746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/4_11data.sci | f78af261601e0c4318d47c92160318dab52a9d6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sci | 4_11data.sci | H=9144;//standard altitude of flying in metre
//from relation of altitude and Temperature:
T=228.81;//Temperature at Standard altitude of 9144 m
V=885.14*5/18; //velocity of jet transport
R=287;//gas constant for air,J/Kg.K
y=1.4;// specific heat ratio for air
a=(y*R*T)^0.5 //velocity of sound at that altitude |
98de9a3e9f9b5570f3a1afb1d6cd5deac767cef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.22/Ex17_22.sce | d025c6222d30f1d46d9b546e4eee2c196ccfbf05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Ex17_22.sce | //Initilization of variables
W=322 //lb
F=12 //lb
a=0 //lower limit (where the cyliner starts rolling)
b=%pi/2 //Upper Limit (where the cyliner stops rolling)
d=3.2 //ft
g=32.2 //ft/s^2
//Calculations
dR=1.6 //Differential Radius
d_U=2*dR*F //differential work done
//Integration Calculations
//As it is a sim... |
f7c3ede7e64f29c6ffe146220326cde1bdd9f6d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.49/5_49.sci | 93ab7b2762e11904d35c1955b7766bfdf65f6d36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sci | 5_49.sci | // Calculate the threshold wavelength
clc;
Th_wavelength=1.24*10^-6/1.8'
disp(Th_wavelength,'Threshold wavelength (m)') |
7eee4cffd8633a5ae1b4d99d13f3f4d1cdbcbbf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH4/EX4.15/Ex4_15.sce | 8a632de673e30b72001bf9e916ca5ca3a8767ffe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_15.sce | //Example 4_15
clc();
clear;
//To find miller indices
n=1
lamda=0.82*10^-10 //units in meters
theta=75.86 //units in degrees
d=(n*lamda)/(2*sin(theta*%pi/180))
d=d*10^11
printf("obtained d value is d=%dA",d)
printf("\n As rounding of d equal to 3 A that is d=a miller indices that are possible are (0,0,1),(0... |
521d5116fb2cad11ce0013d8aad7f365f84b8655 | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH11/EX11.12/ch11_12.sce | 346fdf41c3ec6276d112054a50531ee110ccdbed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch11_12.sce | clc
disp("Problem 11.12")
printf("\n")
printf("Given")
disp("pf1=1 ; pf2=0.5 ; pf3=0.5")
disp("P1=10kW;P2=20kW;P3=15kW")
disp("Power supply is 6kV")
P1=10000;P2=20000;P3=15000;
Veff=6000;
pf1=1 //implifies that theta1=0
t1=0
Q1=P1*t1
pf2=0.5 //implifies that theta1=60
t2=1.73;
Q2=P2*t2
pf3=1 ... |
69f222ae04b493200cd902da16d77ec46017745a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH2/EX2.2/Ex2_2.sce | de311861bc4505fed5aa09054bf59c3007850d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Ex2_2.sce |
epsilon=8.854D-12
E1=(4D-8)/(4*%pi*epsilon*.05^2)//field intensity due to charge at A,direction is from D to A
r=sqrt(2*.05^2)//distance b/w B and D
E2=(4D-8)/(4*%pi*epsilon*r^2)//field intensity due to charge at B,direction is from B to D along diagonal BD
E3=(8D-8)/(4*%pi*epsilon*.05^2)//field intensity due to ... |
663498c29854601ff58418b70b4265086b530c56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH10/EX10.3.b/10_3b.sce | 2c5ba7991a12fd171998229eca010b27e14adb2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 10_3b.sce | clc
clear
//Initialization of variables
W=7500 //pounds
rho=0.00230
V=175*5280/3600 //ft/s
B=50
A=350 //ft^2
//calculations
Cl=W/(A*0.5*rho*V^2)
Cd=0.03
Fd=Cd*A*0.5*rho*V^2
hp=Fd*V/550
//results
printf("Horsepower required = %d hp",hp)
|
d5a08bdef562c230cc087f67d679030be072f532 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH2/EX2.3/Ex2_3.sce | 614de9609a70c1c78d4a7cd8cf81e958aa72aed5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Ex2_3.sce | clc
//variable initialisation
Va=220 //supply voltage in volts
N1=1500 //speed in rpm
I=50 // current in ampere
Ra=0.5 //armature resistance in ohm
Vl=440 //line voltage in volts
f=50 //frequency in Hz
N2=1200 //speed in rpm
//solution
Vm=(Va*%pi)/(3*sqrt(3))
Vph=(Vl*(sqrt(2)))/(sqrt(3))
Xmer_ratio=Vph/Vm... |
533c9f00d11398144517128712a46f720529eb94 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Uralic/kpv.tst | 433406b03246ad8c55e3f31ac5abd7651fbf391a | [] | 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 | 507,679 | tst | kpv.tst | пракмунны V;PL;3;FUT
пракмунны V;SG;3;PRS
пракмунны V;SG;3;PST
вӧлӧк N;GEN;SG;LGSPEC1
вӧлӧк N;IN+ALL;SG;PSS3S;LGSPEC1
вӧлӧк N;IN+ESS;SG;LGSPEC1
вӧлӧк N;IN+ESS;SG;PSS3S;LGSPEC1
вӧлӧк N;NOM;SG;PSS1S;LGSPEC1
вӧлӧк N;ACC;SG;PSS3S;LGSPEC1
вӧлӧк N;IN+ALL;SG;LGSPEC1
вӧлӧк N;NOM;SG;PSS3S;LGSPEC1
вӧлӧк N;NOM;SG;LGSPEC1
лысьтысь... |
bb9bc1fa46f936ed2ada9340a6df5ac9047a83aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH19/EX19.10/example_19_10.sce | 478d2e0524a5e4572e0a99ec4f077f6f3b4c5d71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,449 | sce | example_19_10.sce | clear;
clc;
disp("--------------Example 19.10---------------")
// address :- 190.100.0.0/16 i.e 65,536 addresses
num_of_ISP_addresses=65536; //total number of addresses
printf('\n');
function [total]= addresses (num_of_customers,num_of_addresses) //function to find total number of addresses allocated to a group
... |
57cb93ee2fe3773d63aeb2e13cea26c0d11ce201 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH14/EX14.16/14_16.sce | 57466d2fbc6f01863267464fa148254147875d14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_16.sce | clc;
//page no 494
//prob no. 14.16
Zo=50;//line impedance in ohm
f=100*10^6;//operating freq in Hz
ZL1=50+%i*75;// load impedance with Xc=75
Xc=75;
// Capacitance in farads is given as
C=1/(2*%pi*f*Xc);
disp('F',C,'Capacitance is'); |
d52ed0a36d5ce07c5690fb37872f5f89d263e050 | 9302f49be6fdfde3637ce743435bd9ce524c165f | /squelette/src/diff/test-2D.sce | d7f21e6eb79c16f50c583be9ed3d6d3e762993d6 | [] | no_license | OmarBenchekroun99/simu_ecoulement_fluide | 8eaf0ff7798c929c2eaf5c0c544664f4d80069aa | c5566d4f87428c10f4bf27037b4a28eaed8eb00c | refs/heads/master | 2020-08-07T01:03:10.012702 | 2019-10-06T19:38:54 | 2019-10-06T19:38:54 | 213,231,718 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | test-2D.sce |
Nx=100;
Ny=100;
nu=0.01
Lx=1;
Ly=1;
Tf=0.5;
kappa = nu
function u=conv(y,x)
alpha=1;
beta2=1;
u=beta2*[cos(alpha)*x-sin(alpha)*y,sin(alpha)*x+cos(alpha)*y];
endfunction
function z=phi_0(y,x)
p_0=[0.5 0.3];
r_0=0.2;
if (x-p_0(1))**2+(y-p_0(2))**2>r_0**2 then
z=0;
else
z=1-((x-p_0(1))**2+(y-p_0... |
3982b340d19dfc27395fadc21c7c76d62100620e | d47ef89d1d0330681dd97a1ca4cb131d64b6d609 | /code/insercion_mas_cercana.sci | d1252cd5d36cc5dffdef7fa5acaccba464f708ba | [] | no_license | jere1882/TSP_Heuristics | a035a28bc786a19d0d5fd17364f81d46d70d9c17 | ca58cb77b986d03b4a92d86161ce812df8d85b17 | refs/heads/master | 2022-11-25T05:35:45.053166 | 2020-08-02T23:45:28 | 2020-08-02T23:45:28 | 284,557,182 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,108 | sci | insercion_mas_cercana.sci | function [tour, valor] = insercion_mas_cercana(A)
// Ejecuta el algoritmo de la Inserción más cercana sobre la instancia TSP dada
// Entrada:
// A = matríz de distancias de la instancia TSP
// Salida:
// tour = vector con los vértices a ser recoridos por el tour
// valor = valor del tour generado
[nodos, zzz] = si... |
d4437ce8f47e0943b6230ec2e3e8d8d40cdb40b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH20/EX19.21/EX19_21.sce | 8ace7ddb7e9cff68917beaa4f4b304271f6724a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | EX19_21.sce | // Grob's Basic Electronics 11e
// Chapter No. 19
// Example No. 19_21
clc; clear;
// A current of 1.2 A flows in a coil with an inductance of 0.4 H. How much energy is stored in the magnetic field?
// Given data
l1 = 0.4; // Coil Inductance 1=0.4 H
I = 1.2; // Current=1.2 Amps
E = (l1*I*I)/2;
d... |
ce11a4cb1eb738624ca7f51b29d49ff666aaab6c | 4e0147342ca306d4b0829c8729c16bc8ca1a52d0 | /print-readme.tst | d2cc0c3f70c260c378c55f044ad7fe90c6974a16 | [] | no_license | SolomonWorku/rentalSystem | f001b4b4bbb71d879872c5873a52dd2b1ddb4633 | e9dcab957512b7a844c74bfda6aea8a9994b19c6 | refs/heads/master | 2021-12-15T06:57:39.818832 | 2017-08-01T04:07:00 | 2017-08-01T04:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | tst | print-readme.tst | author krishna Bharaambe
//A4 width = 219mm
//default margin = 10 mm auto
//writable horizontal : 189
$pdf -> new FPDF("p","mm","A4");
$pdf -> Addpage();
$pdf -> SetFont("font-name","style:bold itaic","size");
$pdf -> Cell(width,height,"text",border(0false/1true),endline(0false/1true),[align]);
$pdf... |
a16a25954959e9c33b877d9e549bffc613960998 | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /prog_assembly/libs/scilab_code/finetune_program_ver00_gui.sce | 8027eabd7aef297e807c1237d6f8397e15f5f2ac | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 53,801 | sce | finetune_program_ver00_gui.sce | global file_name;
//get filename, path and extension
[path,fname,extension] = fileparts(file_name);
hid_dir = path + '.' + fname;
exec("~/rasp30/prog_assembly/libs/scilab_code/characterization/char_diodeADC.sce",-1);
target_list_info=fscanfMat(hid_dir+'/target_list')
n_target_tunnel_revtun=target_list_info(1,1);
n_ta... |
4fdb1e9a115e0c94f08fccbccc3842019e446b27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH6/EX6.1.1/6_1_1.sce | 7fa5ef762842214b4c1f23df0e8c83a02ee168c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | 6_1_1.sce | clc
pathname=get_absolute_file_path('6_1_1.sce')
filename=pathname+filesep()+'611.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
disp("let deltaHv/R = S")
S= - (T1*T2* log(P2/P1))/(T1-T2)
deltahv=S*R
printf(" \n Latent H... |
7524f1d507a94ec49a6a2870161847fc05148934 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.9/example9_sce.sce | ce603369f2a9f2ee680525496e8e4cde56a02dad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example9_sce.sce | //chapter 13
//example 13.9
//page 568
printf("\n")
printf("given")
hic=2*10^3;hie=hic;hfe=100;hfc=100;Av=25000;B=1/33.4;R8=10*10^3;R5=R8;
Ze=(hic+R8)/hfc
Zo=Ze/(1+Av*B)
Zout=(R5*Zo)/(R5+Zo);
printf("output impedance is %3.2fohm\n",Zout) |
8e7f9ab83a4cfe3b0bd016c4d38bff5358cd9a91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH6/EX6.2/Ex6_2.sce | 809d5f09dc58f341a7e82f3ebd90fc47a69e7b38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_2.sce | clear
//
W1 = 2400.0 //Load 1
P1= 150.0 //Effort1
W2 = 3000.0 //Load 2
P2= 180.0 //Effort2
P3= 200.0 //Effort3
//law of machine is given by P=mW+C
m=(P2-P1)/(W2-W1)
C=P2-m*W2
printf("\n Law of machine is P= %0.3f W + %0.3f ",m,C)
W3=(P3-C)/m //Load 2
printf("\n Load is %0.3f N",W3)
MA=W... |
9307d3fe73f5bc735421091ca18a56eed3e31af8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH8/EX8.1/Ex8_1.sce | b21184e1d47fac287a229f1603580ee61838181e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_1.sce | clear ;
clc;
// Example 8.1
printf('Example 8.1\n\n');
printf('Page No. 222\n\n');
// given
V = 240;// Voltage in Volts
I = 8;// Current in Amps
//By ohm's law-> V = I*R
R = V/I;// In ohms
printf('The resistance of the given circuit is %.0f ohms',R)
|
e5b660ea8e6cc93155fbcf04ba3d1ca7fa7db83a | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnHi/enhi.3.tst | 73d12d7a8b17837448d3043d2bd92c4e4f5df5c6 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68,282 | tst | enhi.3.tst | a a c h a r y a n a n d a n a a आ च ा र ् य न ं द न ा
a a d a r s h आ द र ् श
a a d i n a a r a a y a n आ द ि न ा र ा य ण
a a d m i s a d a k k a आ द म ी स ड़ क क ा
a a h i आ ह ी
a a j k a r o b i n h o o d आ ज क ा र ॉ ब ि न ह ु ड
a a j k i d u n i y a आ ज क ी द ु न ि य ा
a a k a r आ क ा र
a a l ... |
359cd6c2ea700d91a4e0775aea1ddfc8911a6843 | c3f643385a9e4946fb4cf17283614f355316307b | /_codeeval/easy/Split_The_Number/01.tst | 101371c019df5c762d668de3ff681cee794e747d | [] | no_license | rsBio/PGM | cc099009454dc91a9775690dda2f5c93a254ad5d | 6f98ce54bdcc536102fc98caef51af08663c70ca | refs/heads/master | 2023-07-09T04:05:18.865805 | 2023-06-27T16:26:20 | 2023-06-27T16:26:20 | 44,537,326 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 26 | tst | 01.tst | 10000 ab+cde
10000 ab-cde
|
0bcf096677504209968351b3702b4fce4cce3154 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.14/Ex6_12_14.sce | 90a79d7995cb8dff49631e5981742d256793e626 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | Ex6_12_14.sce | //Section-6,Example-6,Page no.-P.49
//To calculate the molar mass of the compound.
clc;
w_B=28
w_A=750*10^-3
dl_Tf=5.4
K_f=30
m_B=(K_f*w_B)/(dl_Tf*w_A)
disp(m_B,'Molar mass of the given compound(gmmol^-1)')
|
713b0d4f42f9a253eb7e6a545f1c883b2859bfc1 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab10_18i190002/ex1b.sce | 973326c9b37455b37e7894a21a7c3c48a785bcc1 | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | ex1b.sce | clc,clear
clf
function testrand2(k)
exec('input1.sce',-1)
//k is an integer
y=[]
for i=1:length(S)
if modulo(i,k)==0
y=[y',S(i)']'
end
end
histplot(10,y,xlabel('--S with kth elements-->'),ylabel('Frequency Density'))
endfunction
subplot(1,2,1)
testrand2(2)
title('Hi... |
43b6d77d316277199bc694d3381b6eb9356620ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH11/EX11.8/11Ex8.sce | 014e8422f304fbc2027a4799e623adfc9177ec51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | 11Ex8.sce | //Ex 8
clc;
clear;
close;
cp=1;
cp_18=18; sp_18=21;
gainPercent=(3/18)*100;
mprintf("The profit percent is %3.2f percent",gainPercent);
|
41dae58f016aa742b8a00f0754409ec79c8ff6c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH2/EX2.4/Example2_4.sci | a5653d11b8c6c04404d97472b799231e983c0c24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Example2_4.sci | //Chapter 2_Thick Film and Thin Film Hybrid ICs
//Caption : Design Capacitor
//Example2.4: Design a circular 100pF capacitor with the thick film dielectric having dielectric film thickness=0.02mm(or 0.002cm), assume Er=100
//Solution: We have to find the radius of crcular capacitor inorder to design it.
clear;
clc... |
f6ac8f2e2874b46edaf10e4ccb4d2467120d3e59 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/im_inv.man.tst | f495b314b7e8638d4310e8a056a8e1cb85cd3686 | [
"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 | 224 | tst | im_inv.man.tst | clear;lines(0);
A=[rand(2,5);[zeros(3,4),rand(3,1)]];B=[[1,1;1,1];zeros(3,2)];
W=rand(5,5);A=W*A;B=W*B;
[X,dim]=im_inv(A,B)
svd([A*X(:,1:dim),B]) //vectors A*X(:,1:dim) belong to range(B)
[X,dim,Y]=im_inv(A,B);[Y*A*X,Y*B]
|
4c37f78e8d4419c9a2b700177b49821d07db7120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH9/EX9.5/ex5.sce | c1494ff1f64487566a84d59a2c58c00504afd9c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5.sce | //example 5
//entropy generation
clear
clc
h1=2865.54 //specific heat of enthalpy at state 1 in kJ/kg
h2=83.94 //specific heat of enthalpy at state 2 in kJ/kg
h3=2725.3 //specific heat of enthalpy at state 3 in kJ?kg
s1=7.3115 //specific entropy at state 1 in kJ/kg-K
s2=0.2966 //specific entropy at state 2 in ... |
f4d8eee137177b3113f38cfab3deaa4c6215e46e | 4ba406c1422fd1f3462feb6c2f378b17ea9175c2 | /src/functions/positioners/GoldenRectanglePositioner.tst | 131eedea77686d1fea6b4dacd3c527908d5e1732 | [] | no_license | dwjohnston/geoplanets-model | 236670178c456a0537ee31cfb3ab931ea46c7edf | 06ff2b0ec83272f56ffe02b9ee38f1e169b41a51 | refs/heads/master | 2021-07-12T23:00:17.411355 | 2018-09-02T08:08:22 | 2018-09-02T08:08:22 | 144,376,835 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,642 | tst | GoldenRectanglePositioner.tst |
import {StagePhaser} from "../phasers/StagePhaser";
import MathJs from 'mathjs';
import {Position} from "../../../../../blacksheep-geometry/lib";
import { Parameter } from "../../../Parameter";
export class GoldenRectanglePositioner {
speed: Parameter;
distance: Parameter;
center: Position;
stagePhaser: ... |
fb190b3b9affae9ded272a3661c32f1bbdbe5bbd | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/CurrentstarvedInverter.sce | ed4cb1fabcd01abf72049ccf5ecc668deb0083cf | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 127 | sce | CurrentstarvedInverter.sce | style.fontSize=14;
style.displayedLabel="CurrentstarvedInverter"
pal5=xcosPalAddBlock(pal5,"CurrentstarvedInverter",[],style);
|
bd5b227fc8a98863cd2c6f505eca3d6dde1f0adf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH7/EX7.9/7_9.sce | 64cbbbd59a33860e497cd1ef600eb97ce41248ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | 7_9.sce | //To calculate the temperature
H = 2; //magnetic field, Wb/m^2
mew = 9.4*10^-24;
k = 1.38*10^-23;
//np = C*n0*exp(mew*H/(k*T))
//na = C*n0*exp(-mew*H/(k*T))
// np/na = exp(mew*H/(k*T))/exp(-mew*H/(k*T)) = exp(2*mew*H/(k*T))
//given np/na = 2. therefore exp(2*mew*H/(k*T)) = 2
T = 2*mew*H/(k*log(2)); //tem... |
2311e1d3e57c17e749cceeab6269e7863fb3e44a | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/Lotka-Volterra.sce | 245b7c46e38699fd1386541d1c091a852d63ed59 | [] | no_license | fredkerdraon/Reference-research | 71d0af22f84605ed0c53907acd6b248400c47388 | 1f48fdfebbe766bbd268b4f1853ab98162f57425 | refs/heads/master | 2023-05-05T12:18:18.655367 | 2020-02-08T22:08:15 | 2020-02-08T22:08:15 | 71,020,179 | 0 | 0 | null | 2023-04-19T18:37:49 | 2016-10-15T23:49:14 | POV-Ray SDL | UTF-8 | Scilab | false | false | 1,310 | sce | Lotka-Volterra.sce | //********************************************************************
// Modèle de Lotka-Volterra
// Dominique Lefebvre Octobre 2012
// TangenteX.com
//********************************************************************
// système différentiel de Lotka-Volterra
//y1 = population des proies, y2 = population des préd... |
0dfae801bc2acfd2c21d97d26e48cb8ac74294e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH11/EX11.6/11_6.sce | bcd7b654aa4f8eef840f0300c7d221cdfb16c76a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | 11_6.sce | clear all; clc;
disp("Ex 11_6")
//From the potential function analysis and te equilibrium analysis
m=69.14/10.58
printf('\n\n m = %0.2f kg',m)
//Second derivative of V w.r.t. theta at m=6.53 kg and theta=20 degrees is:
theta=20*%pi/180
a=(-73.6*sin(theta))-((m*9.81*-1*(-3.6*cos(theta))^2)/(2*2*(3.69-(3.6*sin(theta)))^(... |
704848002cb9a4c245ff6fa88166656bdc0e7254 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH11/EX11.13.a/data11_13.sci | 4545da153c93ee6dad145cd32bcf779952f1cee6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sci | data11_13.sci |
//(Friction Clutches) Example 11.13
//Number of shoes in the centrifugal clutch z
z = 4
//Mass of each shoe m (kg)
m = 1.5
//Radius to the centre of gravity of each shoe rg (mm)
rg = 110
//Inner radius of the drum rd (mm)
rd = 140
//Coefficient of friction mu
mu = 0.3
//Spring force at the beginning of eng... |
a1602254404b37cc075b4b7db1347a98484323cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH8/EX8.8.14/Ch8_8_14.sce | f2282224ade5efe5b7cbbee9edfb33e785a311bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,241 | sce | Ch8_8_14.sce | clc
clear
disp("Example 8.14")
printf("\n")
disp("convert the following binary number to Octal")
disp("a)101111 b)1010101 c)1110.01101")
i=1;x=1;w=1
//convert binary to decimal
bin=101111
//separating integer part
IP=floor(bin)
IP1=IP
//separating decimal part
DP=modulo(bin,1)
DP1=DP
//converting decim... |
58566fcda8b49b9f0358a4d3cf66a91fa211f296 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/03/a/Bit.tst | de8b0ffa785b6a3d421793cfeea2e1e42a39ee15 | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 6,576 | tst | Bit.tst | // File name: projects/03/a/Bit.tst
load Bit.hdl,
output-file Bit.out,
compare-to Bit.cmp,
output-list time%S1.4.1 in%B2.1.2 load%B2.1.2 out%B2.1.2;
set in 0,
set load 0,
tick,
output;
tock,
output;
set in 0,
set load 1,
tick,
output;
tock,
output;
set in 1,
set load 0,
tick,
output;
... |
12429242af4bea5559bce4c5360d17bf7106c92c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH3/EX3.23/ex_3_23.sce | a791c5e0cffa12f98413858d8fe7fb13a6670657 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | ex_3_23.sce | // Example 3.23: angle between planes (122) and (111)
clc;
clear;
close;
a=1;// assume
a1=[1;2;2];//lattice planes
a2=[1;1;1];//lattice planes
d1=a/(sqrt(a1(1,1)^2+a1(2,1)^2+a1(3,1)^2));//perpendicular distance between origin and (111)planes
d2=a/(sqrt(a2(1,1)^2+a2(2,1)^2+a2(3,1)^2));//perpendicular distance between or... |
0d548d7d75978b264a6a5bc9e18eb5119926aad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH3/EX3.3/3_3.sce | 43ac28f1a6e440368b97fc5355cb2aefc87b65ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_3.sce | //3.3
clc;
R=4;
L=50*10^-6;
C=6*10^-6;
a=R^2;
b=4*L/C;
wr=(1/(L*C)-(R^2/(4*L^2)))^0.5;
fr=wr/(2*%pi);
Tr=1/fr;
fo=6000;
wo=2*%pi*fo;
toff=%pi*(1/wo-1/wr);
printf("Avialable circuit turn off time = %.8f sec", toff)
fmax=1/(2*(%pi/wr+6*10^-6));
printf("\nMaximum frequency = %.1f Hz", fmax) |
f675fcecf6ebb90631d332bfbf55bd66ec5ab357 | d25346d68fbd7ea32e1c8f4bca24326aa1ce029e | /presentation_code/sc2.sce | 511bef498aa8489f07eb9dee96066f78c3d8eca5 | [] | no_license | SaurabhSonkusare/multimodal_stimuli_emotion_paradigm | b6ac4f180ebb48aec2499af32f616bc08b3df5f1 | db485d8082eb6a4f3fb4f596913d4842e3b1e884 | refs/heads/master | 2022-11-10T06:47:04.145524 | 2020-07-01T06:59:24 | 2020-07-01T06:59:24 | 268,660,485 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,102 | sce | sc2.sce | # Film clips + music clips + pictures(IAPS): fMRI-HIRF stimuli paradigm
# Created October 2015
# Saurabh Sonkusare
scenario="HIRF_paradigm_1";
scenario_type=trials;
default_trial_start_delay = 0;
#default_trial_type=fixed;
$V_Height = 1024;
$V_Size = 1600;
# stimulus font and colour
response_matchin... |
e43a2a928281f1da140795b7662035aa676bcbef | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/AuxiliaryFunctions/pade.sci | 864191cad1a56369a09ede2a46d8899639984f29 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sci | pade.sci | //Funtio to generate the transfer fucntion of a delay by a pade approxiamtion.
//Tehory is described in 3rd TEMPUS-INTCOM Symposium, September 9-14, 2000, Veszprém, Hungary. 1
//SOME REMARKS ON PADÉ-APPROXIMATIONS
//M.Vajta
function [delay_s]=pade(delay,s)
//Uses a R3,4 approx
num=840-360*s*delay+60*(s*delay)^2-(s*del... |
2c2b2bc5ae38fc59af4093a07d603e4b4e3884a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH8/EX8.03/8_03.sce | 279d5b6221427e1a74b1326751c7a186696aa357 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sce | 8_03.sce | //pathname=get_absolute_file_path('8.03.sce')
//filename=pathname+filesep()+'8.03-data.sci'
//exec(filename)
//Pressure of steam entering(in bar):
p1=40
//Temperature(in K):
T1=350+273
//Pressure of steam leaving(in bar):
p4=0.05
//From steam tables:
h2=3092.5 //kJ/kg
s2=6.5821 //kJ/kg.K
h4=137.82 //kJ/kg
... |
2df510dc045b3096467098999b763c55b9042a00 | 2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf | /Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab6/exemplu plot2D.sce | db50ed56da29a3e604aee92710d5ffa7066434cd | [] | no_license | stickyrst/automatica | 1f902091376c0f65c08a66721de3185a70f88d26 | 2ac48ae78f45b787724fa90c0e7acd8052e6725c | refs/heads/master | 2020-06-11T18:39:23.768638 | 2018-05-30T19:55:38 | 2018-05-30T19:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sce | exemplu plot2D.sce | //Exemplu plot2d
t=(0:0.1:6*%pi);
plot2d(t',sin(t)');
xtitle('plot2d and xgrid ','t','sin(t)');
xgrid();
|
99eaf503f92fd49dfa11b96534a9a1f5b99e47ce | d37bb038e31bdbec2a31187e37650f5890708709 | /test.tst | cc5b9c1b52c03ba63cc8b44bf83a4f0aa7da1d33 | [] | no_license | alfonso-git-hub/alfonso-git-hub | 45f8fe373f7aae38777ccf59c175424595df6f2a | fb8e52959ae6e677e72b2700b2a6fa7a39218f3c | refs/heads/main | 2023-02-06T18:40:41.563315 | 2020-12-30T07:39:14 | 2020-12-30T07:39:14 | 325,484,790 | 0 | 0 | null | 2020-12-30T07:36:52 | 2020-12-30T07:28:15 | null | UTF-8 | Scilab | false | false | 34 | tst | test.tst | This is just another test file :O
|
66ef03d8ae1b1680c673951a93df92fb51749137 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH2/EX2.3/Ex2_3.sce | 9cb7255bea286bb91ae31efe5aedc29a4d196337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex2_3.sce | clc
//
//
//
//Variable declaration
e=0.14 //width of the slit
y=1.6 //Distance of center of dark band from middle of central bright band
n=2 //no. of dark band
D=2 //Distance from the slit
//Calculations
lambdaa=((e*y)/(D*n))*10**5
//Result
printf("\n The Wavelength is %i Angstrom",lambdaa)
|
01b50f34679057c195b60975f35e3e5b717adcf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.9/Exa_4_9.sce | 1565690fb785b6fdef32f67f706b19b4a8c8d336 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | Exa_4_9.sce | //Example No. 4.9
clc;
clear;
close;
format('v',7);
//Given Data :
T=80;//min
Tdash=110;//min
Rating=50;//KW
ts=15;//min
S=sqrt(1/(1-exp(-ts/T)));
ShortTimeRating=S*Rating;//KW
disp(ShortTimeRating,"Short time rating of motor in KW : ");
t_off=20;//min
S=sqrt((1-exp(-(ts/T+t_off/Tdash)))/(1-exp(-(ts/T)... |
bb31f8308a8c55c8ec29fa7b3909453ecb518bc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH3/EX3.9/39.sce | b23739440d978371a433b2f5b1b65247852e4460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 39.sce | // problem 3.9
s2=13.6
s1=0.9
H=0.25
h=H*((s2/s1)-1)
Cd=0.98
w=9810*s1
d1=0.3
d2=0.15
a1=3.142*d1*d1/4
a2=3.142*d2*d2/4
dz=0.3
g=9.81
q=(Cd*a1*a2*((2*g*h)^0.5))/(((a1^2)-(a2^2))^0.5)
dp=(h+dz)*w
disp(q,"discharge of the oil in m3/sec")
disp(dp,"pressure diffrence in entrance and throat section ")
|
1e20609c594181ae41cf89a3cabd5608a6e5b969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.34/Ch1_1_34.sce | 2984e3be196aa2ff9d1b76466f97051893fa79ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ch1_1_34.sce | clc
disp("Example 1.34")
printf("\n")
disp("find out diode current")
//given
V=2
Vr=0.6
rd1=0
rd2=0.2
R=14
//when rd=0
//diode current
I1=(V-Vr)/R
printf("Diode current when rd=0 is \n%f ampere\n",I1)
//when rd=0.2
//diode current
I2=(V-Vr)/(R+rd2)
printf("Diode current when rd=0.2 is \n%f ampere\n",I2... |
a893c35159bce31635e21d75efa6570c2d2a3b2e | b1fbfba591c6e450b22fc692ca4f458a34b0ab34 | /sci2oct/examples/example3.sce | c50b6014f6aa13c7d2edd2627c0df6b88c4cce38 | [] | no_license | BabuBReddy/sci2oct | c5994ff4c58874b68e5c1a6e0a3b10289c4c49c2 | e8036d226adab7a75c91740aa7d97bbcd8037c30 | refs/heads/master | 2016-09-01T07:57:27.213764 | 2016-02-16T17:52:32 | 2016-02-16T17:52:32 | 51,855,497 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | sce | example3.sce | a=[0 -1 1; 1 -1 -1; -1 0 -1]
b=[3 ; 0;-3]
sci2oct('a\b')
|
c66c1d1722912ff7671f22af3b29f0c1aac8de63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH11/EX11.1/example_11_1.sce | b5496e3878e5359414ab129ae087db8194f9f968 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | example_11_1.sce | s=poly(0,'s');
F=syslin('c',[20/((1+0.1*s)*s)])
fmin=0.1; //Min freq in Hz
fmax=20; //Max freq in Hz
scf(1);clf;
bode(F,fmin,fmax); //Plots frequency response of open-loop system in Bode diagram
show_margins(F) //display gain and phase margin and associated crossover frequencies
|
96461fa0ac08395f1464d6a1ba3c8aa1d99bfa82 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_12/trapecio_compuesto_puntos.sce | e1fd7235297938c28d017b2c1336d4e6e80432b0 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | trapecio_compuesto_puntos.sce | function I = trapecio_compuesto_puntos(x, y)
n = length(x)
h = (x(n)-x(1))/(n-1)
I = (h/2)*(y(1)+2*sum(y(2:n-1))+y(n))
endfunction
|
9894cdcc985f13fbbb883216bec6837dc67e2393 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH7/EX7.05/7_05.sce | d53275a4a0aa12179ee85fdf7d1e5613e8d1ab24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 7_05.sce | //Problem 7.05:
//initializing the variables:
Qt = 18.7E6; // in Btu/h
mdt = 72000; // in lb/h
Cpav = 0.26; // in Btu/lb.degF
T1 = 1200; // in deg F
//calculation:
T2 = [-1*Qt/(mdt*Cpav)]+T1
printf("\n\nResult\n\n")
printf("\n the outlet temperature of the gas stream is %.0f degF",T2)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.