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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31ccc1f0c6159b240d12d0f5ae8c624445970f30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH1/EX1.10/Example1_10.sce | 9232949bceed63daa9fe23c4f8d62cd7e119ac7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 870 | sce | Example1_10.sce | //Example 1.10
clc
disp("The voltage gain of amplifier can be given as")
av=36/0.028
format(7)
disp(av,"A_v = Vo/V_in =")
disp("(i) beta = 0.012")
disp("Therefore, The gain of the amplifier with feedback is given as")
af=1285.7/(1+(1285.7*0.012))
format(6)
disp(af,"A_f = A_v / 1+A_v*beta =")
disp("The outp... |
7bda2153f4b24cc45004600d922f5a4f4ff14077 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH6/EX6.5/Ex6_5.sce | d789ee03b6ecb0f14dc2e326bdc225f7c3286d38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Ex6_5.sce |
clc; funcprot(0);
// Initialization of Variable
xa=45.35;
xb=-40.16;
f=152.4;//focal length
H=1500.0;//actual height
ha=200.0;//height A
hb=150.0;//height B
ya=38.41;
yb=-45.65;
//calculation
Xa=xa*(H-ha)/f;
Ya=ya*(H-hb)/f;
Xb=xb*(H-ha)/f;
Yb=yb*(H-hb)/f;
AB=sqrt((Xb-Xa)**2+(Yb-Ya)**2);
disp(AB,"dista... |
2cff3e1f3a4830079b657e2f8f47fc2011031575 | 634af5304c38dcb1f46551b3af0cd17d9538279f | /aula2/a2e5-IntegralSeno.sce | 064f83ac483bf696a439f4c4eede449a23278e31 | [] | no_license | taiaraujo/Processos_Estoc-sticos | 3b35ab57321d08047621f7045ae62a5c937a3346 | 85677fe2d055ed621d399c64cec14eb6ec1875de | refs/heads/master | 2021-04-28T03:06:13.349687 | 2018-02-19T23:07:28 | 2018-02-19T23:07:28 | 122,131,723 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | a2e5-IntegralSeno.sce | //Ientegral de Monte Carlo
//razão de áreas
//Integral de sen(x), 0<x<pi
clear
N = 10;
a = 0;
b = %pi;
X = a + (b-a)*rand(1,N);
Y = rand(1,N);
K = 0;
for i=1:N
if sin(X(i))<Y(i)
K = K + 1;
end
end
Ar = (b-a)*1;
As = Ar*K/N
|
39cdf07f7d735d2d0992958bd9231c535a73017a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH4/EX4.6/4_6.sce | 21bdc715984f1c94394c10f2335f7cf698a35905 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_6.sce | clc
//intialisation
r=1.7*10^-6//m^3/sec
t1=3.56//c
pw=1000//kg/m^3
r1=0.34*10^-6//m^3/sec
t2=15//c
bp=360//c
c=33
pl=13600//kg/m^3
//CALCCULATIONS
m=r*pw*60
h1=m*1000*t1
h2=r1*pl*(bp-t2)*c
L=(h1-h2)/(r1*pl)
//results
printf(' latent heat of vaporisation= % 1f cal/kg',L)
|
e807647638d1dda94f5da2b6d59b2884ddceabff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH8/EX8.5/8_5.sce | d6de35c7c7d820d927771d5376c59c7542bb4039 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | 8_5.sce | clc
//initialisation of variables
Q= 826 //Btu/lb
T= 400 //F
T1= 1000 //F
T2= 2000 //F
//CALCULATIONS
Sw= Q/(T+460)
Sg= (Q/T1)*(log(T1+460)-log(T2+460))
S= Sw+Sg
//RESULTS
printf ('Total Entropy change = %.3f Btu/R',S)
|
80e5f518de7743bd23236ef4c42fe575c90fc9c4 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/C7d_NEWMARK_ATS_CINTRA.sce | 7b13701868b318167678d129efc963819fbbb870 | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,066 | sce | C7d_NEWMARK_ATS_CINTRA.sce | // MÉTODO DE NEWMARK COM AUTOMATIC TIME STEPPING DE CINTRA
Gama = evstr(NewmarkBeta(1).string)
Beta = evstr(NewmarkBeta(2).string)
if Beta>=Gama/2; Dtmax = evstr(NewmarkBeta(3).string); end
T1 = evstr(NewmarkBeta(4).string)
Dt(1) = evstr(ATS_Cintra(1).string)
alf = evstr(ATS_Cintra(2).string)
cp ... |
f3c1200cd3fc5654c7348d9ccda5b8c102686a63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH17/EX17.3/example3.sce | 0e8ed2479f98863f0123ec188b619ea9a4449b25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,117 | sce | example3.sce | // find currents and voltages
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 17-3, page 626
clear; clc; close;
// Given data
Vee=12;// in volts from the figure
Vcc=12;// in volts from the figure
Re=5*10^3;// emitter resistance in ohm... |
97b737bdfa81e6b93037743c9dbf3e867c86e362 | e657bbadea88191ece0e48eb447173a4c5f816f6 | /tasks/cw5/motylLorenca.sci | b56b855c4a1046bcc0f19ce24f6ea2753fbc5458 | [] | no_license | vainia/Learning-SCILAB | c37d6071907ea4fad811071a3164454a927602d8 | d77877b1316b8b3546cb32cb9e29e7ad70d25280 | refs/heads/master | 2020-03-10T09:51:08.444686 | 2018-04-12T23:13:06 | 2018-04-12T23:13:06 | 129,320,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sci | motylLorenca.sci | a=20;
c=8/3;
//b=30;
//b=99.96;
b=28;
Y0=10*(-8)*[1;1;1];
t0=0;
yk=50;
t=linspace(t0,tk,5000);
function pochodnaY = f(t,Y)
pochodnaY(1)=a*(Y(2)-Y(1));
pochodnaY(2)=Y(1)*(b-Y(3))-Y(2);
pochodnaY(3)=Y(1)*Y(2)-c*Y(3);
endfunction
Y=ode(Y0,t0,t,f);
clf
comet3d(Y(1,:),Y(2,:),Y(3,:))
//plot([Y(1,:)',Y(2,:)',... |
7ff743b090ae7d66feca00461c1a2c4cb74de3db | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH7/EX7.2/7_2.sci | 8afe24dd4c74002379e219e3c305a57d501fac42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sci | 7_2.sci | // calculating resolution
clc;
N = 3;
R=1/10^N;
disp(R,'Resolution of the meter=');
disp('12.98 will be displayed as 12.980 on 10V scale')
VR=1;
R1=VR*R;
disp(R1,'Resolution of the meter for voltage range 1V=');
disp('0.6973 will be displayed as 0.6973 on 1V scale')
VR1=10;
R2=VR1*R;
disp(R2,'Resolution of... |
1f987f87555341a2f024ec5a510d9037a70674d5 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PD1.prev.tst | ab8dee50074346fb6c7b575146a42f7db7ccbb83 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | tst | PD1.prev.tst | (0).degree() = 0
(0).degree(false) = 0
|
e2fda3ccd2a3242f5e3e137bacbb38020591c839 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH1/EX1.2/2.sce | e25b664769cce16b8dd9c8852288593053ba3cd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | 2.sce |
//Variable declaration
e=1.602*10**-19; //charge of electron(c)
epsilon0=8.85*10**-12; //permittivity(C/Nm)
r0=0.314*10**-9; //seperation(m)
A=1.75; //madelung constant
n=5.77; //repulsive exponent value
IE=4.1; //ionisation energy of K(eV)
Ea=3.6; //electron affinity(eV)
//Calculatio... |
2ddc2b048b5716d47e26c7396571dd0c3887f431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH20/EX20.3/Example_20_3.sce | 7247e743a7e006b8d595a433f6e3e169b8deb4f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,083 | sce | Example_20_3.sce | //clear//
clear;
clc;
//Example 20.3
//Given
T = 25; //[C]
//x(1) = Acetone, x(2)= water and x(3)= MIK
//F = feed
xF = [0.40, 0.60,0.0]';
xMIK_i = [0.0,0.0,1.0]';
//Solution
//Using data from Fig. 20.10, to plot equilibrium curve
//Fig. 20.13.
//Basis:
F = 100; //[mass units/h]
//Let n = mass flow r... |
b08ac492dbbac6c8407cd894df06144c2ab36fb9 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.18_11.tst | d306425403f2cd1196fdf19d2574ef0bd68d965d | [] | 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 | 560,040 | tst | 5.18_11.tst | 18 209:2 298:1 687:1 734:1 869:1 887:1 1417:2 1453:1 1454:1 1494:1 1884:1 2098:2 2333:1 2600:1 2639:1 2670:1 2704:2 2726:1 2832:2 2923:1 2963:1 3006:1 3016:1 3179:1 3419:1 3647:1 3812:1 4436:1 4465:1 4513:1 4563:1 4565:1 5153:1 5254:1 5333:1 5744:1 6100:1 6102:1 6367:1 6525:1 6652:1 6818:1 6913:1 7191:1 7210:1 7238:1 7... |
872a59ade262249066aba3f38019250be066f486 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH6/EX6.2/EX6_2.sce | a6cf86257f669447ea38d44c670f0fe59abef3ea | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,125 | sce | EX6_2.sce | clc;funcprot(0);//Example 6.2
//Initilisation of Variables
Tw=106;......//Uniform temparature in degrees celcius
Ml=0.282*10^-3;....//saturated liquid velocity in kg/m s
hfg=2257*10^3;....//latent heat of vapouraisation in J/kg
g=9.81;......//accelaration due to gravity in m/s^2
Pl=960.6;.....//density of saturat... |
ae69e883e7c5d2adc67247a449f3535644381772 | c5a6312b2689f29d943904ba13f3aca400a3a395 | /communication/first(1).sce | aee78093573fe7c9a403cbac53097e7565556a91 | [] | no_license | orhitg/sem7 | 25b1430a300a28e8a70208abe06e776be08c695b | 89b1184cfb8a95c6b5a38ab7cff5fccc6f596e67 | refs/heads/master | 2021-01-12T17:58:23.080274 | 2016-11-12T07:38:50 | 2016-11-12T07:38:50 | 71,317,126 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | first(1).sce | fc=5000 ;
fm=500 ;
Vc=9 ;
Vm= 4.5 ;
m=Vm/Vc;
t=0:0.01:2*10;
subplot(311);
plot(Vm*sin(2*3.14*fm*t));
subplot(312);
plot(Vc*sin(2*3.14*fc*t));
Vam=Vc*(1+m*(sin(2*3.14*fm*t))).*(sin(2*3.14*fc*t));
subplot(313);
plot(Vam);
|
189623d99f7842dea05f0b2dfdb5571a25c61ea2 | 430e7adb489914d378a5b0a27d8d41352fa45f3a | /scilab/machine-sliding-mode/seigi/bode.sce | 6114b52cd8f4dfad7a7ba0e81a122b27e62d169b | [] | no_license | ziaddorbuk/Lesson | 04906ff94bf8c1f6bbc6971d5692ae011a9b8869 | 20fe20a6c9c145ef48a35574d885d3952f9ab6ff | refs/heads/master | 2021-09-23T11:48:05.958608 | 2018-04-30T01:54:13 | 2018-04-30T01:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | bode.sce | s=%s/2/%pi; // ラプラス変数sの定義(横軸を周波数[Hz]から角周波数w[rad/s]に)
G=1/s; // 伝達関数の定義
sys=syslin('c',G); // 伝達関数を連続時間線形システムに
bode(sys,1e-2,1e1,0.01); // ボード線図の描画
|
6e93c186c9b5075ed69ee57ef862b59a2ab0e0e0 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Stral's Luck Tester.sce | cd2fade58bbf4e7581a13aa3a6d8e4d25741f0f8 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21,115 | sce | Stral's Luck Tester.sce | Name=Stral's Luck Tester
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Long Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Long Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=lucktester.map
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=t... |
97289bd92b8f19af3372afb0459e61fefd2482ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH2/EX2.7/Ex2_7.sce | ea35ffc0d918258537a5e143d17b916d19305144 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,339 | sce | Ex2_7.sce | //Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.7
clc
clear
//Given Data:-
W=55.50; //Weight of plate, N
V=8; //Velocity of the Jet, m/s
d=22; //Diameter of the Jet, mm
AG=125; //Distance between centre of gravity of pla... |
9a61310d32c1d489c01101dcf4bbb85b03fe235f | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/mdaq_mem_set.sci | dda784b979b25936a1d50115d9d227202c59c695 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 760 | sci | mdaq_mem_set.sci | function mdaq_mem_set(start_idx, data)
if start_idx < 1 | start_idx > 4000000 then
disp("ERROR: Incorrect start index - use values from 1 to 4000000!")
return
end
connection_id = mdaq_open();
if connection_id < 0 then
disp('ERROR: Unable to connect to MicroDAQ device - check y... |
b0c7a2b95d44e230f111bca62adc09e49795885b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH2/EX2.1/2_1.sce | 43e98c656ee240cf2dc046c8cae260dba678a78b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,101 | sce | 2_1.sce | //Example 2.1
//(a)calculate the steady state rate of heat gain .
//(b), th etemp. of interfaces of composite wall.
//(c)the percentage of total heat transfer resistance.
//additional thickness of cork.
//Given
A=1 //m^2, area
//for inner layer (cement)
ti=0.06 //m, thickness
ki=0.72 //... |
03936f8b207a73a53607604f42a9026d050c0022 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH3/EX3.13/Ex3_13.sce | cb4a82b0bece132775581f46fa15e22ea79e93fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sce | Ex3_13.sce | Bf=500//width of flange, in mm
Bw=250//breadth of web, in mm
Df=100//thickness of flange, in mm
d=500//effective depth, in mm
sigma_cbc=5//in MPa
sigma_st=140//in MPa
m=18.66//modular ratio
Ast=2000//in sq mm
//to find critical depth of neutral axis
Xc=d/(1+sigma_st/(m*sigma_cbc))//in mm
//assume x>Df
x=(m*A... |
91736c95dace2a0ae8788d2ed2358cb9b134c4ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH9/EX9.3/Chapter9_example3.sce | 019f701ce4ded63b1af51b15162150b31e71e489 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | Chapter9_example3.sce | clc
clear
//Input data
af=15//Air fuel ratio
dp=753//Density of petrol in kg/m^3
da=1.28//Density of air in kg/m^3
C=[0.84,0.7]//Coefficient of discharge for air and fuel respectively
//Calculations
A=1/(af*(C(2)/C(1))*sqrt(dp/da))//Ratio of areas
d=sqrt(A)//Ratio of diamter of jet to diameter of venturi
x=... |
2011486f0cee3bc0d3e099d8107439dcb105f3f3 | f8551f1c22ee634be672d893e6755b100f0d1994 | /Hough/drawLine_rho_theta.sci | b5495232ea8ae1edf0ca4ecb4f2e3c6a5318e5e9 | [] | no_license | yanisdxw/computer-vision | ed605061a632ae0c7536007de6f83e2ff5ee1d51 | e9bd0961194f2e4290211296dbe6268ecad8f1c1 | refs/heads/master | 2021-08-23T05:30:24.864657 | 2017-12-03T17:05:35 | 2017-12-03T17:05:35 | 111,726,798 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sci | drawLine_rho_theta.sci | //-------------------------------------------
// Draw a line in image according to equation
// x*cos(theta)+y*sin(theta) = rho
function im=drawLine_rho_theta(im,rho,theta)
// create a color image if it is gray level
if size(size(im),'c')==2
img(:,:,3)=im;
img(:,:,1)=im;
img(:,:,2)=im;
... |
10cb5fbef0085a53c1a97b6e42a9b81df7a906ef | 05128f5a3ef6bf17677e331b60877116fa7d2585 | /AMM.SCE | f1b19a0086250eda91b22633e762956d48ae9d07 | [] | no_license | carlonavarrojr/PAL-Task-Card-Creator | 485903e021521740e04ef97127fa5d4d84c3c639 | 12141ed715fd32b7367850f6e986dacbc0675cb6 | refs/heads/master | 2021-08-23T19:38:13.985214 | 2017-12-06T07:52:29 | 2017-12-06T07:52:29 | 112,546,701 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 544,805 | sce | AMM.SCE |
<!ENTITY C.C002 "<PARA>YOU MUST NOT USE THE PRESSURE GAGE FITTED TO THE INFLATION RIG TO CHECK THE TIRE PRESSURE. THE PRESSURE GAGE FITTED TO THE INFLATION RIG IS A PLAIN GAGE AND IS NOT ACCURATE.</PARA>">
<!ENTITY C.C003 "<PARA>UPON COMPLETION OF ANY TRAINING FLIGHT PERIOD (WHATEVER ITS DURATION) AND PRIOR TO ANY RET... |
ff57cfc058284de873ae2d8e91fcc7ad6d2561ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH5/EX5.8/5_8.sce | ae9e3a7083980cd17491b619fbd3af1eeab9f986 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | 5_8.sce |
clc
//initialisation of variables
l= 12 //ft
w= 4 //ft
h1= 1/12 //ft
h2= 1 //ft
//CALCULATIONS
T= (2/(3*60))*(w*l/2.64)*((1/h1^1.5)-(1/h2^1.5))
//RESULTS
printf (' time taken = %.1f min',T)
|
3a86ea820d557f54b98570a6f262843c95c56c60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH6/EX6.6/6_6.sce | 875745e38846947b74fc48a1f0163f66bcc8b5f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_6.sce | //ques-6.6
//Calculating concentration of nickel ions in the cell
clc
e1=-0.25;//emf for Ni(2+)/Ni (in V)
e2=0.34;//emf for Cu(2+)/Cu (in V)
C1=0.75;//concentration of Cu(2+) (in M)
E=0.601;//emf of cell (in V)
n=2;//number of electrons
//On solving, E = e2-e1+(0.0592/n)*log(C1/C2)
C2=C1/2.3529;//concentration... |
f8404c9303fbdf4192f90ad0cf0890602a754300 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.23/example_9_23.sce | 7f1cc10c5baa970f543c8bd460e636b087792ac8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | sce | example_9_23.sce | s=%s
sys=syslin('c',k/(s*(s+4)*(s^2+4*s+20)))
evans(sys)
|
fb59dbf35b3573d8ac264c3db2054a5d4360a4f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH9/EX9.1/Example_9_1.sce | a883a8e42116cce11862a84ed691a284cf02391a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | Example_9_1.sce | // Chapter9
// Page.No-387
// Example_9_1
// Second order inverting butterworth lowpass filter
// Given
clear;clc;
dc_gain=5;
f1=2*10^3; // Cutoff freq in Hz
Q=10; // Figure of merit
R2=(316*10^3)/10; // Resistance R2
printf("\n Resistance R2 is = %.1f ohm \n",R2) // Result
R3=(100*10^3)/((3.16*Q)-1);
print... |
50ecfb0a1c8d86e33503e62001c9faf412c5c6be | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH5/EX5.9b/Exa_5_9b.sce | 96b98078f0131e88a5cb01d347f989d91c62edd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | Exa_5_9b.sce | //DTFT and steady state response
a=0.8,b=1;F=0;
n=0:50;
h=(a^n);
x=4*[ones(1:10)];
H=h*exp(-%i*n'*F)
Yss=H*x |
2d35c929d787ea60b83ebc0f8d601626022509cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH3/EX3.10/Ex3_10.sce | 25f9fc2ddd8cc5d7c2230e759318f681bbee8ad0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,412 | sce | Ex3_10.sce |
//To determine the currents supplied to the ring main from A and B
//Page 115
clc;
clear;
//Currents in the ring scheme going clockwise
I1=50;
I2=15;
I3=25;
I4=10;
It = I1+I2+I3+I4; // Total Current
//Resistances of the respective segments going clockwise
R1=0.1;
R2=0.12;
R3=0.04;
R4=0.08;
R5=0.06;
R... |
ec3f44883fc063b66299a28fec04ef42b536a00b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH2/EX2.12/SSA_Ex_2_12.sce | 5ecf80a396d94e78f297437583219f2c31bc8040 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | SSA_Ex_2_12.sce | clc
//Chapter 2:Small Signal Amplifiers
//example 2.12 page no 53
//given
Aa=10^4//open loop gain
Rf=10^4//feedback resistance
Ri=100//input resistance
Av=-(Rf/Ri)/(1+(Ri+Rf)*(Aa*Ri))//actual amplifier gain
disp(Av,'the actual amplifier gain is ')
|
9a2ef2fa70be520bbd2e4759ec93dd67f955d33d | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH7/EX7.15/example_15.sce | 270a27e25dc3bac77cd9c893d018a8ac2e7e711b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | example_15.sce | clc
//example 7.15
//to find the rate equation
t = [0;5;10;15;20;25]
C_A = [25;18.2;13.2;9.6;7;5.1]
//integral method of rate determination
s = 0;
for i = 2:6
k(i) = (1/t(i))*log(25/C_A(i))
//disp (k(i),"k values for various conc.")
s = s+k(i)
end
printf("average value of k = %f",s/5)
disp ... |
f04da61f7d02b92a2b185f3ffd86b05a4cf604f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.11/example7_11.sce | 40abf30dabd55073f60203df7feb7a38d6deae5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | example7_11.sce | // Find voltage gain,output impedance
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-11 in page 320
clear; clc; close;
// Given data
// The Thevenin equivalent of fig. is derived
// Calculation
A=(9.5*10)/(10+20);
R_0=(1/(10*10^3))+(1/(2... |
098e6c5f44fd805d6c72abb0bfa6a0f06c74d195 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/metanet/adj_lists.sci | 9896cebb3265187222fdebf7456b803fe4255b38 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,052 | sci | adj_lists.sci | function [lp,la,ls]=adj_lists(g,n,tail,head)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then
// g
check_graph(g)
directed=g('directed')
n=g('node_number')
tail=g('tail')
head=g('head')
else
if rhs<>4 then error(39), end
directed=g
// check directed
if directed<>1&directed<>0 then
error('Firs... |
a59aa02e1d49e7e85cdab4ed8faf32c02f0d75df | fa96b6f7b84fc275c3bc6a2ec1413711285aa54a | /Frequency Domain Filtering/Butterworth Lowpass Filter.sce | e4b6064c74c2e3f247895f0d022c2f06fefff134 | [] | no_license | Sid-149/Image-Processing-and-Machine-Vision | 9d4d4308b39d7bd3fb0ab8171531fbbfe4381de9 | 94bb83e4005b39c2f08d15e23c5be73cde01b364 | refs/heads/main | 2022-12-30T01:51:08.942675 | 2020-10-19T05:15:12 | 2020-10-19T05:15:12 | 302,541,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | Butterworth Lowpass Filter.sce | clc
clear
im=imread('one.jpg')
a=rgb2gray(im)
[r1 c1]=size(a)
q=double(a)
c=fft2(q)
s=fftshift(c)
figure(1)
subplot(1,3,1)
title('Orignal')
imshow(im)
subplot(1,3,2)
title('FFT')
imshow(uint8(c))
subplot(1,3,3)
title('FFT SHIFT')
imshow(uint8(s))
d0=[10 30 100]
for k=1:length(d0)
for i=1:r1
... |
6b639746c094c2b0341ee20cc8151d1f439a3645 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH23/EX23.1/203ex.sce | f2f65ea33754b40b490b47ee557b2492dd59ad12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | 203ex.sce |
//ex(1) (sqrt(5)+sqrt(20))
clear;
clc;
close;
val=string('(sqrt(5)+sqrt(20))');
if((sqrt(5)+sqrt(20))==3*sqrt(5))
val_1=evstr(val)
end
//ex(2) sqrt(27)-sqrt(75)+sqrt(48)
val=string('sqrt(27)-sqrt(75)+sqrt(48)');
val_2=evstr(val)
|
6f13d76ee966242b12b53c1436d10df063fcec5d | d47ef89d1d0330681dd97a1ca4cb131d64b6d609 | /code/cargador.sce | 12e1bd156658994be9439d4147cb01a0e5debf64 | [] | 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 | 419 | sce | cargador.sce | // Herramientas desarrolladas por la cátedra
exec('lee_TSP.sci',-1);
exec('vecino_mas_cercano.sci',-1);
exec('insercion_mas_lejana.sci',-1);
exec('dibuja_tour.sci',-1);
exec('genera_grafo_costos.sci',-1);
exec('kruskal.sci',-1);
// Herramientas a ser desarrolladas como parte del TP
exec('vecino_mas_cercano_mejorado.sc... |
6fdb6438e0745f6db0a655131be442723743b39a | ebeb01647d8befa67b61bb30a7503abd26cc518e | /add.sci | 7a97cfa204b2b009509f54bf2ea1026c40462fa4 | [] | no_license | ciarap/Scilab_Labs | 153903c46c94492672c1da9497a030f548d3940e | af994c56ae44c4872a969cab376056dd18871f3c | refs/heads/master | 2021-07-04T20:12:39.635697 | 2017-09-25T22:53:15 | 2017-09-25T22:53:15 | 104,810,103 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42 | sci | add.sci | function[y]=powerof2(x)
y=2^x
endfunction
|
11a9b6ab7e32c56a529d8802e0819df1e93429f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH7/EX7.9/Ex7_9.sce | d272a4ebd38f67fb7973ee42a685dbc3ecda57f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | Ex7_9.sce | clear
//
//
//
//Initilization of Variables
//stresses
p_x=-40 //N/mm**2
p_y=80 //N/mm**2
q=48 //N/mm**2 //shear stress
//Calculations
//Max shear stress
q_max=((((p_x-p_y)*2**-1)**2)+q**2)**0.5 //N/mm**2
//Inclination of principal stress to plane
theta=atan(2*q*(p_x-p_y)**-1)*(180*%pi**-1)//Degrees
theta2=(theta... |
1638897be7c688c3ba07d62941275316bb6d956b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH7/EX7.2/Ex7_2.sce | 2ac295af546917cd0be253879ecabbd029915a5e | [] | 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 | 183 | sce | Ex7_2.sce | errcatch(-1,"stop");mode(2);//Example 7_2
;
;
//To estimate the numerical aperture
n1=1.46
delta=0.05
NA=n1*sqrt(2*delta)
printf("The numerical aperture is %.2f",NA)
exit();
|
139e14ce7a73b0dc575989361952525315470d80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH4/EX4.3/Ch04Ex3.sce | 97d5138d7e38bc50d38a42cf9fecf4d53e546bc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Ch04Ex3.sce | // Scilab Code Ex4.3: Page:193 (2011)
clc;clear;
f1 = 5;....// Focal length of thin convex lens, cm
f2 = 3;....// Focal length of thin convex lens, cm
d = 2;....// Separation between the lenses, cm
F = f1*f2/(f1+f2-d);....// Equivalent focal length of a combination of the two lenses, cm
printf("\nThe equivalent... |
2482f6111cd140f1a0941ed452ead350a1490baa | 669f52463d792f1d4933d95acd31792e2e47b056 | /old/testSudokus.sce | 00a57436b82174637e44eee0d59f16e66782ef5c | [] | no_license | larrybolt/wisk2hitori | ce39473d7a49fa32bdfea46f0fc8c8a8acc71163 | 5f01b9c13fa50cf7d4d865c5a34c95b20d195d4c | refs/heads/master | 2021-01-22T15:01:16.856691 | 2016-05-17T10:28:17 | 2016-05-17T10:28:17 | 33,406,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,355 | sce | testSudokus.sce | //// moeilijkheidsgraad: VERY EASY ////
////
S1 = [8 7 1 2 3 5 0 9 4;
0 9 6 1 8 4 5 7 3;
5 3 4 6 9 7 1 0 8;
9 4 5 8 2 3 7 1 0;
3 6 0 7 1 9 8 4 5;
7 1 8 5 0 6 9 3 2;
1 0 7 3 6 8 4 5 9;
6 5 9 0 7 2 3 8 1;
4 8 3 9 5 0 2 6 7]
O1 = [8 7 1 2 3 5 6 9 4;
2... |
8ffe71c397f43a51e6bb67c3b97e304ab885b113 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/metanet/min_qcost_flow.sci | 6afede07290fa437ed7dfdd1c1f5f4004edf8304 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,351 | sci | min_qcost_flow.sci | function [c,phi,flag]=min_qcost_flow(eps,g)
[lhs,rhs]=argn(0)
if rhs<>2 then error(39), end
// check eps
if prod(size(eps))<>1 then
error('First argument must be a scalar')
end
if eps<=0 then
error('First argument must be strictly positive')
end
p=-log(eps)/log(2)
// check g
check_graph(g)
// check capacities
ma=... |
c50c3ea0b0acbedd3eb02ddeeed72d10c8071ccf | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH7/EX7.2/Example7_2.sce | a76e7e6729939068eebece00ec614f7b9d7677dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | Example7_2.sce | //chapter-7,Example7_2,pg 496
//senstivity of phase detection
//Sphi=(Vo/sin(B))=(Vo/B)=(+/-)0.5Vmax
Vmax=1//amplitude of cosine waves
//B is phase displacement
Sphi=(1/2)*Vmax
printf("senstivity of phase detection\n")
printf("Sphi=%.2f V/rad",Sphi) |
7ad375c0d4504d7a9f6e07cf61ad2e3825fac62f | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Replanning/SCENARIO/Pr2HumanAndShelfManip.sce | c54ca4ca2c110aa7b4c6ba51501d7a48caeaf7c8 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,681 | sce | Pr2HumanAndShelfManip.sce | #************************************************************
# Scenario of Ikea
#
# date : Mon Apr 23 12:19:20 2012
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT Lampe
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.... |
42e3b8ae4d83b92b098f9ea10e12f1529eec10fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH14/EX14.24/Ex14_24.sce | a14a9e70a98b149be4c40422502f33f15f9af205 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_24.sce | // Initilization of variables
M=15 // kg // mass of the wedge
m=6 // kg // mass of the block
theta=30 // degree // angle of the wedge
g=9.81 // m/s^2 // acc due to gravity
// Calculations
a_A=((m*g*cosd(theta)*sind(theta))/((M)+(m*(sind(theta))^2)))/(g) // g // By eliminating R_1 from eq'n 1&3.
// Here, assume a... |
4a6eb9556627bff021437b47f2a959c37bafd1ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH6/EX6.7/ex7.sce | 2faa016340992d2141e8d84a287160a28f72ee96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | ex7.sce | //ques7
//Heating a House by a Carnot Heat Pump
clear
clc
Tl=-5+273;//temp of sink K
Th=21+273;//temperature of reservior in K
COPh=1/(1-Tl/Th);//coefficient of performance of heat engine
Qh=37.5;//heat of reservoir in kW
W=Qh/COPh;//work output of heat engine in kW
printf('The required power input is = %.2f k... |
5609b525b2dd3ae8c4e4568631ccb4270ed42d6c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/signal/trans.sci | de5da4e9d7aadd6187341ba763928910823c7a62 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"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 | 1,370 | sci | trans.sci | //[hzt]=trans(pd,zd,gd,tr_type,frq)
//hzt=trans(pd,zd,gd,tr_type,frq)
//macro for transforming standardized low-pass filter into
//one of the following filters:
// low-pass, high-pass, band-pass, stop-band.
// hz :input polynomial
// tr_type :type of transformation
// frq :frequency values
// hzt :outp... |
11807432846b074d4e3764b01958c64706cedc04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH7/EX7.12/Ex7_12.sce | 1e0d8f35ab7fe889d8cd6d0f1fa7ec8602e2dba9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Ex7_12.sce | // Example 7.12
clc;
clear;
close;
// Given data
format('v',6);
R= 10*10^3;// in Ω
C1= 0.1*10^-6;// in F
C2= 0.0025*10^-6;// in F
f_H= 1/(2*%pi*R*C2);//higher cut-off frequency in Hz
f_H= f_H*10^-3;// in kHz
f_L= 1/(2*%pi*R*C1);//lower cut-off frequency in Hz
BW= f_H-f_L*10^-3;// bandwidth in kHz
disp(f_... |
3c470dc50e7acf4de902ab8db9cf76e0c9f11468 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH3/EX3.10/example3_10.sce | 511534ac96c8700f86abc1ba4bd05f8a7f93ebc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | example3_10.sce | clc
// Given that
theta1 = %pi / 6 // angle between Nicole prisms in first case in radian
theta2 = %pi / 4 // angle between Nicole prisms in second case in radian
theta3 = %pi / 3 // angle between Nicole prisms in third case in radian
theta4 = %pi / 2 // angle between Nicole prisms in fourth case in radian
// Sample P... |
8108fc3145fb9f8da3200aaf8841c2613bcf093b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH15/EX15.3/Ex15_3.sce | 43e3c2fe536b49c103e35a2ac3e3270c0b7cb907 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | Ex15_3.sce | clear;
clc;
//Example 15.3
fC=10000;
f3dB=1000;
//x=C2/C1
x=2*%pi*f3dB/fC;
printf('\ncapacitances C2/C1=%.3f \n',x)
|
63c30275212ec6eeaa59f73e6bde8f42d9a18e4a | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peig/peig10.sce | a972fd73e705df0cf32addeb464189c043ca0fff | [] | 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 | 231 | sce | peig10.sce | //no i/p args are passed to the function
peig();
//output
//!--error 10000
//Input arguments must have x (signal) or R (corr. matrix)as 1st argument and p as 2nd argument
//at line 83 of function peig called by :
//peig();
|
3cbb192601b6ee76ae7626346d614f16dcc7ff3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.45/example1_45.sce | 838da45da1d3626e3f47951abf3fc277b09bb9bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | example1_45.sce |
//exapple 1.45
clc; funcprot(0);
// Initialization of Variable
c=90-36-30/60-30/3600;//co latitude
p=90-16-12/60-18.4/3600;//co declination
z=90-30-12/60-30/3600;//co altitude
s=(p+z+c)/2;
pi=3.14159;
s1=s-c;
s2=s-p;
s3=s-z;
H=2*atan(sqrt(sin(s1*pi/180)*sin(s2*pi/180)/sin(s*pi/180)/sin(s3*pi/180)));
H=H... |
f581e3345a0719cb97a767f1e4b6925ed9d2fa6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH10/EX10.3/ex_3.sce | ddbcb7a0e740cee62967bb38ed542247cdb0f9b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | ex_3.sce | //Example 3 // Velocity and wavelength
clc;
clear;
close;
//given data :
Y=7*10^10;// in N/m^2
p=2.8*10^3;// in kg/m^3
v=sqrt(Y/p);
disp(v,"(1). The velocity,v(m/s) = ")
f=500;// in vibration/sec
lamda=v/f;
disp(lamda,"(2). The wavelength,(m/s) = ")
|
e0e074d01d2c322531a34bc2a84df6c509c5c9cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH10/EX10.13/10_13.sce | ae7b930250a715805efb9aa4c5c70dc79d728ed5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_13.sce | clear
clc
//Example 10.13
disp('Example 10.13')
s=%s;
G=4/((s+1)*(s+2)*(s+3));
G=syslin('c',G);
[ki,s_i]=kpure(G);
evans(G,ki*1.5); // plots for until K = 1.5*ki
//disp(G,"For G=");disp(ki,"K=")
disp(ki,"Max value of k for which we have closed loop stability",G,"For G=")
xtitle("$G(s)=\frac{4}{(s+1)(s+2)(s+3)}$")
sgr... |
bb95495a9d81c58d2d72ed0078811a422212d4ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH10/EX10.5/example5.sce | 4846d657991e4d875bf92e118e5bfcf10d7bd8c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,278 | sce | example5.sce | // calculate ac collector voltage,ac output voltage across load resistor
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 10-5, page 327
clear;clc; close;
// Given data
B=100;
R1=10*10^3;// in ohms
R2=2.2*10^3;// in ohms
Re=1*10^3;// in ohms
Rl=10*... |
a0c511e789cf9b39e6409fa67d4cb2b574f9256e | 599a2df49866719b0402643a60ea89f394a845ca | /DEMO1/environment/FLOAT/FLOAT.tst | 1026e512acd9909ab130eff63efe07fa7df0e66d | [] | no_license | JOYYUANSH88/DEMO | 56983a1831555d03d9c320a5d122dc2cac95cfd6 | f08b4b0e9876d7294548d6dfa1db73c3fd8ec313 | refs/heads/master | 2020-03-24T20:25:32.012242 | 2018-07-31T10:40:31 | 2018-07-31T10:40:31 | 142,977,138 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,080 | tst | FLOAT.tst | -- VectorCAST 18.sp2 (07/03/18)
-- Test Case Script
--
-- Environment : FLOAT
-- Unit(s) Under Test: float_example
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIP... |
3b35090c91153fb4dc3f7e442c53d99d9d672964 | f27b2cb884d353ee9999169f89cbbd62fbaded67 | /scilab/for_clothoids/functions_for_FI.sci | 3319c45a2de562e39e92fc4b8a84c23aadc13104 | [] | no_license | red-itmo/lego-car-movement-control | b5f2180bef04ddf7348d2da39bb03a8a723bdb0c | ca5545dbd72744daf53710c09998491386a810c8 | refs/heads/master | 2018-12-22T08:32:20.637335 | 2018-09-30T14:38:52 | 2018-09-30T14:38:52 | 117,673,569 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,537 | sci | functions_for_FI.sci | //////////////////////////////////////////////////////////
//// The file contains some functions for calculating ////
////// Fresnel integrals, its approximation and //////////
///////////////// some other things //////////////////////
//////////////////////////////////////////////////////////
function y=cosF(t)
y =... |
740d93d9856bba3ac59a44c18191919018d4fd77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH10/EX10.6/10_6.sce | 050d867235f903eea8866ecaf3d54f80cfdb13ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | 10_6.sce | //Eg-10.6
//pg-440
clear
clc
close()
X = [3;5;6;9];
Y = [293;508;585;764];
T = zeros(4,4);
T(:,1) = Y;
for(j = 2:4)
for(i = 1:4+1-j)
T(i,j) = (T(i+1,j-1) - T(i,j-1))/(X(j-1+i) - X(i));
end
end
//disp(T)
//p3 = a0 + a1 * (x-3) + a2 * (x-3)*(x-5) + a3 * (x-3)*(x-5)*(x-6)
... |
9b34d95193b6f5971da2e1aeb4b37c5995bf9d13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH9/EX9.14/Ex9_14.sce | c998a8dd4c0a936fe62375342e60867ded86acd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Ex9_14.sce |
clc
//initialisation of variables
P1=14.7//lbf/in^2
T1=520 //R
P2=70 //lbf/in^2
T2=814 //R
Wc=70.6 //Btu/lbm
P3=70 //lbf/in^2
T3=2060 //R
Cp=0.24 //R
Wt=70.6 //lbf/in^2
T=294//R
T5=1318//R
P=1.167 //Btu/lbm
p=1.715 //Btu/lbm
g=32.17//lbf/in^2
t=778//F
//CALCULATIONS
T4=T3-T//R
P4=P3/p//lbf/in^2
V=... |
ba304e6ac48309656288fdf6ef43b4d8c5310f3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH7/EX7.9.b/ex_7_9_b.sce | 223249024b0a981ba30c2c8c0387d707fad06e82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_7_9_b.sce | // example 7.9(b)//
clc
//clears the screen//
clear
//clears all variables//
disp('here ABCD = 1011 and G1''=1 and G2''=1')
r= input('Enter the value of G1'' (0 or 1) : ' );
//accepting the inputs from the user//
t=input('Enter the value of G2'' (0 or 1): ' );
sel = input ('Enter the values of ABCD : ' );
s... |
199e2563ad20dd5a6af5cfd87b06920117f5694f | eb23643e3cd4e6ba890e29a0867ce2806c5b36f2 | /LA_Scilab_Assignment1/func.sce | 2e19f33546ffe1b14c952b83317c11349387871c | [] | no_license | archu-2000/LA_Scilab_Assignment | 17be0b1fbedbb15999bb183c4dc165a996b776b3 | d68d6b7e719892c3b0909f6b3288063ec3989075 | refs/heads/master | 2022-08-01T20:55:13.927208 | 2020-06-03T10:56:41 | 2020-06-03T10:56:41 | 269,058,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,393 | sce | func.sce | clc;clear;close;
function [U,L]=LUD(A)
U=A
disp(A,'The given matrix is A=')
m=det(U(1,1));
n=det(U(2,1));
a=n/m
U(2,:)=U(2,:)-U(1,:)/(m/n)
n=det(U(3,1));
b=n/m
U(3,:)=U(3,:)-U(1,:)/(m/n)
m=det(U(2,2))
n=det(U(3,2));
c=n/m
U(3,:)=U(3,:)-U(2,:)/(m/n)
... |
24a16309be50a81fb48af8ab62e49f5f9f15e30c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH8/EX8.1/exp_8_1.sce | 8ea943fb534e395b77a3716e15c93561d37343eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | exp_8_1.sce | //Optical Fiber communication by A selvarajan
//example 8.1
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
eta=0.8;//quantum efficiency of detection
Ps=2e-9;//received optical power in W
h=6.62*1e-34;//plancks constant
lambda=1500*1e-9//wavelength in m
c=3*1e8//velocity of light in m/s
new=c/lamb... |
e65d097f8c7dcadd45d69ad3eacbbdd65760348d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH3/EX3.7/Exa3_7.sce | 91c135c3e02e452477b801a78c3d6c1dda42b911 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | Exa3_7.sce | //Exa:3.7
clc;
clear;
close;
V_dc=220;//in volts
V=230;//in volts
I_a1=10;//in amperes
N1=1500;//in rpm
N2=500;//in rpm
N3=-1000;//in rpm
R_a=2;//in ohms
E_b1=V_dc-(I_a1*R_a);//in volts
E_b2=E_b1*(N2/N1);//in volts
I_a2=I_a1/2;//in amperes
V_a1=E_b2+(I_a2*R_a);//in volts
alpha_a1=acosd((V_a1*%pi/(2*V*sqr... |
49a858cbd007c864cda97e1efb88070ffafa7a73 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/percent/%s_a_sp.sci | 99070ffcb6fb5565505b6f94d3904a172d81c9f2 | [
"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 | 197 | sci | %s_a_sp.sci | function s=%s_a_sp(a,b)
// %s_a_sp - adds a scalar a and a sparse matrix b
//!
// Copyright INRIA
if size(a)==[-1,-1] then
//eye+b
[m,n]=size(b)
s=(0+a)*speye(m,n)+b
else
s=a+full(b)
end
|
ae034562319820b1b52f341de6ac854278e0dccd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH1/EX1.4/Ex1_4.sce | db6cd56c596aa58ab2824f8b22fd4fe9cad2c825 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,008 | sce | Ex1_4.sce | clc();
clear;
//Given
// (a) Newton's Theory
// v= (P/rho)^2 , P= Pressure , rho = density
P = 76; // 76 cm of Hg pressure
V= 330 ; // velocity of sound in m/s
rho = 0.001293; // density for dry air at 0 degrees celsius in g/cm^3
g = 980;//gravitational acceleration in cm/s^2
//Density of mercury at room temp... |
79818e1acb6d35a2959ccf57096066cd16a7dbb8 | 299ec76be485b8d1574b9216bbe8ac6763b2ade3 | /AI_Lab_Ex2/LAB_2.sce | 0ac2f1f3f168d0e90b937016a9a6fe00e7ca489c | [
"MIT"
] | permissive | parth2608/Artificial-Intelligence-Basics | 65d42ff4e495c11a2ba536e730714570a58b56c7 | b3a0378c7f5b9dbad91df9a6c29b5f30b865e088 | refs/heads/master | 2022-11-21T01:41:07.713381 | 2020-07-15T07:00:34 | 2020-07-15T07:00:34 | 279,790,254 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,434 | sce | LAB_2.sce | theta=0;
x1=0:1
x2=0:1
function a()
x1=0:1
x2=0:1
theta=0;//threshold
for b=-3:0.5:3
for w1=-5:5
for w2=-5:5
if ((w1*1+w2*1+b > theta) & (w1*1+w2*0+b < theta) & (w1*0+w2*1+b < theta) & (w1*0+w2*0+b < theta)) then
disp("w1 : "+string(w1) ... |
fbe1ce49e9f8a2add0ffbb0e4ad7d60fc64f8847 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH3/EX3.5/Example3_5.sce | 1593d407702c749516a2d16bca66482877f3a5de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | Example3_5.sce | clc
//Given that
phi = 6 // work function in eV
h = 6.624e-34 // plank's constant
c = 3e8 // speed of light
e = 1.6e-19 // charge on electron
m_e = 9.1e-31
//Sample Problem 5 Page No. 137
printf("\n\n\n # Problem 5 # \n")
printf("\n Standard formula Used \n phi = h * nu")
lambda = h * c / (phi * e) * 1e10//ca... |
c538cdd08da571ed4fb0d97e5d6228a0b41fe811 | dda8500c5ba2ce3827121bebd48d59a57983895f | /rtai-lab/scilab/macros/loader.sce | 5918a18593095ca1c136e0d7b5759906bf5d3a46 | [] | no_license | tko79/RTAI | 5ef2422856106f9ab354354960ef8b6af624dfea | a671e443e268d41718c13b0aec1085ba26a9ff53 | refs/heads/master | 2020-04-22T23:04:51.149388 | 2019-08-29T06:32:06 | 2019-08-29T06:32:06 | 170,728,656 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | loader.sce | mode(-1);
// specific part
libname='rtai' // name of scilab function library [CUSTOM]
DIR = get_absolute_file_path('loader.sce');
// You should also modify the ROUTINES/loader.sce with the new
// Scilab primitive for the path
rtailib = lib(DIR+'/macros/')
exec('SCI/contrib/RTAI/routines/loader.sce');
|
c3157d6b9db19f76376bfd8b14feb7091e23bd6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH11/EX11.10/Ex11_10.sce | 58918918f8546ffe34a6c90753762baab24a8c84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | Ex11_10.sce | clc//
//
//
//Variable declaration
d=7.8*10^3; //density(kg/m^3)
n=6.025*10^26; //number of atoms
w=157.26; //atomic weight(kg)
mewm=9.27*10^-24;
mew=7.1*mewm;
mew0=4*%pi*10^-7;
//Calculation
N=d*n/w; //number of atoms
mew_B=N*mew/10^3; //magnetic moment per gram(Am^2)
Bs=N*mew0*mew... |
44f7650f6a9c1ea67a26929d4482c96a230dc57a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH15/EX15.10/15_10.sce | 5f3607a1375b16956f6d9f4a4bdda58a34696cce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | 15_10.sce | //ques-15.10
//Calculating equilibrium constant for a reaction
clc
P=1000;//pressure (in atm)
//a/b=1/3 (Volume ratio)
a=1;//volume of N2
b=3;//volume of H2
c=0.2491;//mole fraction of ammonia
//c=(2*x)/(4-2*x)
x=0.9964/2.4982;//degree of dissociation
Kp=(16*x^2*(2-x)^2)/(27*P^2*(1-x)^4);//equilibrium constan... |
95cad6779b1c841a47577388210da407f03c2d95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.30/ch4ex30.sce | 3ec2abb49c613039cb5c085e9dc4a9848fee4adb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | ch4ex30.sce | //signals and systems
//Unilateral Laplace Transform:Solving Differential Equation
//example 4.30
s= %s;
syms t;
[A] = pfss((-1)/((s-1)*(s+2)));
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
//F3 = ilaplace(A(3),s,t)
F = F1+F2
disp(F) |
bf4de03aac28669c95903b5bc3307fbef4610ead | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.5.a/2_5_data.sci | a4fd70f28c7d464409f87596ebe75d6de2a705de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sci | 2_5_data.sci | // Aim:To find pressure on the skin diver
// Given:
// Depth of Water Body:
H=60; //ft
|
ec9bcb8e543c41de76067e59cfc14176dd201b39 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.vehicle-10-1tra/result8s0.tst | f67507a5d4f30e3d24f3a3173c083512c6fd04a5 | [] | 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 | 1,893 | tst | result8s0.tst | @relation vehicle
@attribute Compactness integer[73,119]
@attribute Circularity integer[33,59]
@attribute Distance_circularity integer[40,112]
@attribute Radius_ratio integer[104,333]
@attribute Praxis_aspect_ratio integer[47,138]
@attribute Max_length_aspect_ratio integer[2,55]
@attribute Scatter_ratio integer[112,26... |
77832762d32158169336c2991daa07db527fd5d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH8/EX8.4/Example8_4.sce | a72d5e6299917a8d1b10e62b4fa7a8db094d20a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | Example8_4.sce | //Example 8.4
//Program to find the Voltage Gain of the Amplifier
clear;
clc ;
close ;
//Given Circuit Data
u=20;
Rl=10*10^3; //Ohms
rp=10*10^3; //Ohms
//Calculation
A=u*Rl/(rp+Rl);
//Displaying The Results in Command Window
printf("\n\t The Voltage Gain of the Amplifier is A = %f with phase of 180 degrees ... |
993c42eedd67cf8c716d6ae85b221485c47b2dc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH2/EX2.15/example_2_15.sce | cb0df11c05f44a7d7865f1552d497c2c1f52d679 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,044 | sce | example_2_15.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 2
// Heat Conduction in Solids
// Example 2.1
// Page 74
printf("Example 2.15, Page 74 \n\n")
// Find Decrease in thermal Resistance
// Find Increase in heat transfer rate
h = 15 ; //[W/m^2.K]
k = 300; //[W/m.K]
T ... |
d49d1b6f6372c1704ecc6911390b2e1e0176bf8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH8/EX8.6/Ex8_6.sce | da19a1430b94da440170e62e07bbe590ac111a98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_6.sce | //example-8.6
//page no-247
//given
//weight percent of tin and lead are
W1=90
W2=10
//let the amount of tin that can be added to the crucible without changing the system's solidificarion is "m"
//eutectic arm extends to 97% tin
//therefore, with the addition of "m" gram of tin, the composition of alloy shoul... |
73038e62c4d74db4d431ae0bb5d8e4af81dfe8f7 | b37ac7105c45cf46c3d4a422d28ad4977fa8f380 | /gradient-descent/inverse_matrix.sce | f1c687664823d8467eb4be6ea5f7de3f719ba060 | [] | no_license | svrealtime/publecture-ai-smalldata | d0045ed9852d03e29c829ba7aa6eb7611201e57c | 7479f2eaaef60d2e425828229e3b1f3648418168 | refs/heads/master | 2020-07-17T13:50:41.277701 | 2017-06-14T10:43:51 | 2017-06-14T10:43:51 | 94,319,589 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,304 | sce | inverse_matrix.sce | // x + 2y = 3
// 2x - 3y = -8
// (1 2)(x) ( 3)
// (2 -3)(y) = (-8)
// (x) (1 2)^-1( 3) (-1)
// (y) = (2 -3) (-8) = ( 2)
// (1 2)^-1 (3/7 2/7)
// (2 -3) = (2/7 -1/7)
function qerr = Q(abcd)
a = abcd(1);
b = abcd(2);
c = abcd(3);
d = abcd(4);
e_1 = a + 2*c - 1;
e_2 = b + 2*d;
... |
c9bb9fb1845d570f27a07c6d67bda264f7e1ec56 | 44399e43f8dd4d0a7c8d41f5f407ee36ce8ab651 | /FalsaPosicion.sce | 18e0f38a904221f549c326cb12c8384997364b08 | [] | no_license | BanderoChinoZF/MetodosNumericos_SciLab | e021c3f11e25f7216e0b2b3b015d0737e176edfa | eec9fcaa3ff226ca058f515d72b6558923421ad9 | refs/heads/master | 2022-11-13T12:33:03.241216 | 2020-07-02T07:00:42 | 2020-07-02T07:00:42 | 276,572,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,208 | sce | FalsaPosicion.sce | function f=fx(x)
f=x^3+2*x^2+10*x-20
endfunction
n=0;
xi=input("Valor de xi: ");
xd=input("Valor de xd: ");
tol=input("ingresa la Tolerancia: ");
fxi=feval(xi,fx);
fxd=feval(xd,fx);
xm=((fxd*xi)*(xd*fxi)/(fxi)-(fxd));
fxm=feval(xm,fx)
e_rror=10;
... |
07afe4ca2bf749cad406d3d83868f0d7a73645ae | 1485852dd59aafc286600126cf832a32e10f117f | /tests/edgePreservingFilter/test8.sce~ | 947cfad34613d6df9fad8b8f74d01277bd66befb | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 136 | test8.sce~ | //using flag RECURS_FILTER = 2
src = imread("../images/image_0197.jpg");
output = edgePreservingFilter(src,2,50, 0.8 );
imshow(output);
| |
7f8240a458a3774009d85faf6248ec849ed1bcd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/3_04data.sci | 0f41523a0c79bd369c100f30049b1bb0426c2246 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 3_04data.sci | P=5.3*10^4;//ambient pressure in N/m^2
T=253;//ambient temperature in K
R=287;// gas constant for dry air in J/Kg.K
D=P/(R*T)
//as we do not have this value of pressure and density from standard table we will take two nearest value and interpolate to get the desired result.
H1=5100;
P1=5.331*10^4;//pressure cor... |
b30fcc6401e3c218eca6ead79323699507fdd3f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH11/EX11.8/Chapter11_Example8.sce | d9505da28a1fdf722f758857375c0ac861c1cbc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | Chapter11_Example8.sce | clc
clear
//INPUT
ti=18;//inside temperature in deg.C
to=4;//outside temperature in deg.C
k1=0.008;//thermal conductivity of stone in cgs unit
k2=0.12;//thermal conductivity of steel in cgs unit
t=3600;//time in sec
t1=25;//thickness of the stone in cm
t2=2;//thickness of the steel in cm
a=10^4;//area of th... |
9eec0cd331de54a0a0c61323438ec6e987eaf346 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.48/Ex6_48.sce | 1c9688d8f3032b11e1bc04747ba7a44f9aaf42ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,285 | sce | Ex6_48.sce | clc;
P=4500; // rated power of induction motor
V=400; // rated voltage of motor
f=50; // frequency
m=3; // number of phases
// no load test results
Vo=400; // applied line voltage
io=4.2; // no load line current
Po=480; // power input
// blocked rotor test
vb=215; // line voltage
ib=15; // line current
pb=... |
b3c27fdb698c3e3d80d19e64350640551649b132 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/L34.prev.tst | debba0c4544ef71104d412c39526051777c0096f | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | tst | L34.prev.tst | Vector [0,44,55,66].gcd() = 11
Vector [0,4,5,6].extractGcd() = 11
|
e3c56ece4385ed83f00745500c63e8021359b3ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.16/Ch017Ex16.sce | cedd366033283db2c8dfac66df452e5e255b50c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | Ch017Ex16.sce | // Scilab code Ex17.16 : Pg:897 (2011)
clc;clear;
V = 1000; // Operating voltage of the GM counter, volt
a = 1e-04' // Radius of GM counter wire, m
b = 2e-02; // Radius of cathode, m
E = V/(2.3026*a*log10(b/a)); // Maximum radial field at the surface of central wire of GM tube, V/m
tau = 1e+09; // ... |
a7d43e819155a492b2ac361c1b9300f6541ee871 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/DS2.prev.tst | a6c055481a0af0de0cbc55395f376164fb605f50 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | tst | DS2.prev.tst | 0 -1 {a=>x,b=>y,c=>z} a^2 + b^2 - c^2 # Pythagoras
|
54717214d706e6516b8f564291a46bfde24266be | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH22/EX14.22.4/Ex14_22_4.sce | 1f3747cc50e4446f35803fe0b8c27f1990e8953c | [] | 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 | 343 | sce | Ex14_22_4.sce | //Section-14,Example-3,Page no.-PC.51
//To calculate the energy required.
clc;
y=73*10^-3
r_S=2*10^-6
r_B=2*10^-3
V_B=(4/3)*pi*(r_B)^3
V_S=(4/3)*pi*(r_S)^3
N=(V_B/V_S)
SA_S=4*%pi*(r_S)^2
SA_B=4*%pi*(r_B)^2
TSA_S=(10^9)*SA_S
SA_in=TSA_S-SA_B //Increase in surface area
E=y*(SA_in)
disp(E,... |
aa697ab60990e689b9d47df6c683fefc7cbdf236 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.19/example_5_19.sce | 65d1cbb0b3b92307b3610289e6bf62c28de5f963 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | example_5_19.sce | syms G1 G2 G3 H1
//shifting summing points to left
//using accosiative law to exchange the summing points, redcusing minor feedback loop and reducing parallel combination of G3/G1 and 1
a= (G3/G1)+1
b=G1/(1+G1)
c=a*b*G2
Y=c/(1+(c*H1))
disp(Y,"C/R = ") |
6865e6b802d65fe7bfa1645689231f86a2e7d9df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH2/EX2.24/Ex2_24.sce | 28c5b37995246471a3c892675076d81b8cbf6298 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | Ex2_24.sce | //Caption: mean ,mean Square Standard deviation
//Example 2.24
//page no
//Find mean,mean Square ,Standard deviation
clc;
clear;
function y=f(x)
y=x/(2*%pi); //for 0<=x<=2*%pi
endfunction
a=0;
b=2*%pi;
mx=intg(a,b,f);//mean value
disp(mx,"Mean value mx=");
function y=fX(x)
y=x^2/(2... |
f532e9a298a1a6861594a6f202fb4c38fd0162f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.34/4Ex34.sce | ced85481a2ad79c5c79193fd3889b8e47cd7a5c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | 4Ex34.sce | //chapter 4 Ex 34
clc;
clear;
close;
totalnotes=85; amount=5000; den100=100; den50=50;
notes50=(amount-den100*totalnotes)/(den50-den100);
amount50=notes50*den50;
mprintf("The required amount is Rs.%d",amount50);
|
8340863cce6994f086b99209053a28f63554f640 | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH10/EX10.16/ex16.sce | af081d9335caabc8e977a1aa4cc9c769702ecd2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | sce | ex16.sce | s=%s
p=3*s^3+2*s^2+1*s+5
h=routh_t(p)
disp(h)
|
a904932f719bd3cc7206fe62c0a6e04844f82660 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH3/EX3.4/Example3_4.sce | 8403fb0c6ee0b10f34b3c26f084b20da3fdcc688 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | Example3_4.sce | // Example 3.4
clear; clc; close;
format('v',6);
// Given data
Beta=3;//in degree
Revolution=25;//no. of revolutions
f=3600;//stepping frequency in pps
//Calculations
Resolution=360/Beta;//in step/res
disp(Resolution,"(a) Resolution(step/res) : ");
steps=Resolution*Revolution;//no. of steps
disp(steps,... |
5ec374603a5d660e643adbb730a42f3f92c5c5b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH1/EX1.24/Ex1_24.sce | 56296cc574d9dd28cb95b9a2e5c7f5e7ee78d614 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Ex1_24.sce | // Exa 1.24
clc;
clear;
// Given
Am = 20; // Capacitance in Farads
dr= 5 ; // Percentage variation in capacitor value
// Solution
// A = Am (±) Am× dr/100 ; // A is guranteed value of capacitor
A_upperlimit = Am*(1+ dr/100) ;
A_lowerlimit = Am*(1- dr/100) ;
printf(' The guranteed limits of ca... |
26aa2565ca26a643dedeea756b8991090b23ed3c | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 4/Listing41112.sce | b7b899d93bd72fa082a240383891cd4cacd3de0d | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | sce | Listing41112.sce | clc
clear
clf()
x = [0:0.1:2*%pi]';
plot2d3(x, [sin(x) sin(2*x) sin(3*x)])
|
15dbb5e58ae2d466132ad353c5971840e871ddf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH3/EX3.2/Ex3_2.sce | 422b51aee793cc57fcb6eacee22903aff915ef03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Ex3_2.sce | //Chapter 3: The Antenna Family
//Example 3-6.1
clc;
//Variable Initialization
L = 10 //Horn length (lambda)
delta = 0.25 //Path length difference (lambda)
//Calculation
theta = 2*acos(L/(L+delta)) //Horn flare angle (radians)
theta = theta*180/%pi //Horn flare angle (degrees)
//Resu... |
6eac2cdbc15e3d756ec49957c18def7ec091062b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.16.1/Ex8_16.sce | d6562b28777dd783d4936dfe30f37e382b7e7816 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Ex8_16.sce | clc
clear
IP=41;
P1=1;
T1=17+273;
P2=7;
N=100;
n=1.2;
L=150/[2*N];
V1=(22/7)*(1/4)*(L); //Along with D^2
W=[n/(n-1)]*[P1*100*V1]*[((P2/P1)^((n-1)/n))-1];
D2=[IP*60]/[W*2*N];
D=sqrt(D2);
printf('D: %3.3f m',D);
printf('\n');
|
3f896f3916cc15dded7a9b994caf1812ad4e3037 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH19/EX19.12/Ex19_12.sce | 9829f122253ac44cdeec318e973dda4a613fc1f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | Ex19_12.sce |
//solving (i)
Il=70//current drawn by the motor
V=200//applied voltage
Rsh=100//shunt field resistance
Ish=V/Rsh//shunt field current
Ia1=Il-Ish
N1=500//initial speed
Ra1=.2//armature resistance
Eb1=200-Ia1*Ra1
N2=350//reduced speed of motor
Ia2=Ia1//armature current remains same
//Eb2=200-68*(R+.2)
//bac... |
73d23044bacad335515a6bc2cdba2b53a4aac1b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH9/EX9.9/c9_9.sce | c633fe923ed86b93dc0cabc0d999d105833f3fb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,863 | sce | c9_9.sce | //(9.9) Air is compressed from 100 kPa, 300 K to 1000 kPa in a two-stage compressor with intercooling between stages. The intercooler pressure is 300 kPa. The air is cooled back to 300 K in the intercooler before entering the second compressor stage. Each compressor stage is isentropic. For steady-state operation and ... |
38581cdcb931631d80c5ce72ddcfcd460db936bd | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/Max_detect.sce | b671fa0f2f07c6898ac25ef1d29aa06275e0326e | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,455 | sce | Max_detect.sce | //**************************** Max_detect **********************************
if (blk_name.entries(bl) == "Max_detect") then
mputl("#Max_detect",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
Max_detect_str= '.subckt Max_detect'+' in[0]=net'+string(blk(blk_objs(bl),2))+'_'+string(ss)+' out[0]=net'+string(b... |
f194ff4c4c76d007114927a4f93ec3d95743da0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH15/EX15.6w/15_6w.sce | 2932f8db633fe4ed1d300c36ece4cc6e51bc5f5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | 15_6w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 15.6w
//calculation of the displacement of the particle
//given data
//given equations are
//y1 = (1.0 cm)*sin((3.14 cm-1)*x - (157 s^-1)*t)...........(1)
//y2 = (1.5 cm)*sin((1.57 cm-1)*x - (314 s^-1)*t)...........(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.