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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
457f072758799d1b542c3bbda9c10c9bfc318dca | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/trainLRClassifier.sci | dfeb6a46d8379c59792e2c7b617987997206d6be | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 4,266 | sci | trainLRClassifier.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
92b63aa338a2b85d568ebaf8789e10f95468230f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH1/EX1.21.1/ex_1_21_1.sce | 27809285628b48fdfbf5d32e0a46d5c911b5b7a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | ex_1_21_1.sce | //Example 1.21.1: L and C
clc;
clear;
close;
//given data :
V=100;// in volts
Irm=40;// in A
tq=40;// in micro-sec
Del_t=(50/100)*tq;// in micro-sec
C=(Irm*(tq+Del_t))/V;
disp(C,"capacitance,C(micro-farad) = ")
L_min=(V/Irm)^2*C;
disp(L_min,"minimum inductance,L_min(micro-Henry) = ")
T=2.5;// assume one cycle period in... |
efb06ceb81ebb4dd63aae942f0c18c052434543b | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH9/EX9.3/Example9_3.sce | 8ed3c610f62374ebb1a8308a5542699fd688a90c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Example9_3.sce | //chapter-9,Example9_3,pg 502
N=64//data units
//implimentation steps for DFT=64^2
//for FFT
r=(log2(N)/N)//implimentation ratio
printf("implimentation ratio\n")
printf("r=%.4for(3/32)",r) |
33501c1aeb43032bd1334a335f9344c06af10f01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH12/EX12.2/Ex12_2.sce | f00c2389734be81c5ed6774f2eed55918d0b11cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | Ex12_2.sce | clc
clear
printf("Example 12.2 | Page number 416 \n\n");
//Find the stoichiometric air for combustion of (a)Carbon (b)Hydrogen (c)Sulphur
//Given data
//Molar masses of O2,H2,N2,C and S respectively
MO2 = 32 //g/mol
MH2 = 2 //g/mol
MN2 = 28 //g/mol
MC = 12 //g/mol
MS = 32 //g/mol
//Part(a)
printf("Part(a)\n... |
12756fff40c5418a1c6c30b61d4ffad949a71d5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH8/EX8.4/example8_4.sce | aef022e041a7dd2ea20495c06c5e9224ca9a41f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,043 | sce | example8_4.sce | clear;
clc;
//Example8.4[Pressure Drop in a Water tube]
Tw=15;//temp of water while entering[degree Celcius]
rho=999.1;//[kg/m^3]
mu=1.138*10^(-3);//Viscosity[kg/m.s]
id=0.05;//Internal diameter[m]
V=5.5*10^(-3);//Flow rate[m^3/s]
l=60;//length of tube[m]
e=0.002*10^(-3);//[m]
... |
5b518456783527ce5dc25c96324dbba60d333bbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH4/EX4.20/ex4_20.sce | fb1e30560d3584b0a5048c8525b7d866f772f694 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | ex4_20.sce | // Example 4.20 page no-241
clear
clc
vdd=30 //v
rl=4.7 //k-ohm
vd=20 //v
id=(vdd-vd)/rl
printf("\nId = %.1f mA",id)
printf("\nfor vd to be constant, it should be within ±1V")
del_id=1/rl
printf("\nDelta_Id = ± %.1f mA\nId(min) = %f mA\nId(max) = %f mA" ,del_id,id-del_id,id+del_id)
delv=vdd-vd
deli=2.5... |
fb7a2b4ce2697de6883f28c7ac5252449218bb47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH1/EX1.13/ex1_13.sce | 21e17438599bf8eb5b3f510725d0db95981f90dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | ex1_13.sce | // Example 1.13 page no-34
clear
clc
l=1.27 //cm
D=19.4 //cm
s=0.475 //cm
Va=400 //volts
Se=l*D*10^-2/(2*s*Va)
Se=ceil(Se*10^5)
printf("\nS_E=%.2f mm/v",Se/100)
v=30 //volt
e=1.6*10^-19 //C
m=9.1*10^-31 //kg
x=sqrt(m/e)
B=(x*0.65*30*sqrt(2*Va))/(l*D)
printf("\nB=%.2f*10^-5 wb/m^2",B*10^5)//answer ... |
5aa4d8046beb5ddfdfe827cc0b8ea316b5f1a0b1 | feede54c196a479bdc4592783238f5771854ad20 | /Scilab-Code/Q5remonte.sce | 0be71352563f5f391b62b6d4d3f62d6b5dfe33fd | [] | no_license | cachett/HeatDiffusion | 6275213da94745662db20ecf78d6bf9b1a6f90f1 | 5e80327fbc7da084338499064bcce80c1a92647c | refs/heads/master | 2021-05-14T09:18:24.602579 | 2018-01-05T13:18:18 | 2018-01-05T13:18:18 | 116,322,677 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | Q5remonte.sce | // Script question 5, fonction de remonté calculant la solution X du système trans(L)X = Z
clc;
function X = remonte(Ldiag, Linf, Z)
indiceMax = size(Ldiag, "c")
//Calcul des coefficients, X est un vecteur ligne
for i=indiceMax:-1:1
if i==indiceMax then
X(1,i)=Z(i)/Ldiag(i)
... |
53dc32829d3c265a19e54ecd4e3ed487f5ccbe61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.17/3_17.sce | ec32fdce1dbe9909d158a5ce947b58bfe77dd035 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | 3_17.sce | clear;
clc;
Y1=500^-1;
Y2=1000^-1;
Z=100;
A= 1+Y2 * Z;
B=Z;
C=Y1+Y2+(Y1*Y2*Z);
D=1+Y1 * Z
mprintf("A= %.1f ; B= %.1f ohm ; C=%.1f *1e-3seimens; D= %.1f", A, B, C*1e3, D);
|
e4f9f07d63d810fbab6ba6f601b3c2ffce026aa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH1/EX1.7/Ex1_7.sce | 7d667a4c267de126f7f530864639bc140209b154 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Ex1_7.sce | clc
//initialization of new variables
clear
T=300 //K
gama=1.4
R=286.6
//calculation
// for air
a=sqrt(gama*R*T)
//result
printf('The speed of sound in air is %.1f m/s ',a)
// for sea water
E=2.34*10^9 // N/m^2
rho=1000 //kg/cm^2
a=sqrt(E/rho)
//result
printf(' \n The speed of sound in sea waer is %d m/... |
bd06e91af212347886d8e70a26817b3304da93e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.8.3/ex_2_8_3.sce | 74fb67327e93baac1c05c1466e97f62b378d712c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | ex_2_8_3.sce | //Example 2.8.3://ARITHEMATIC MEAN ,median value ,standard deviation
clc;
clear;
format('v',6)
q=[29.2,29.5,29.6,30.0,30.5,31.4,31.7,32.4,33.0,33.3,39.4,28.9];//
AM= mean(q);//arithematic mean in mm
for i= 1:12
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9),qb(10),qb(11),qb(12)];//
A... |
37335d566c176f6b29734a0e1e9f9ce42783a324 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH2/EX2.3/Example2_3.sce | 4dd812313a3023c76fd41e8c098801d7ad73b52b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Example2_3.sce | close();
clear;
clc;
R1 = 12; //ohm
R2 = 4; //ohm
R3 = 5; //ohm
R4 = 5; //ohm
R5 = 15; //ohm
//voltage across R1 'V1'
V1 = 132; //V
I = V1/R1;
R = R1 + R2 + (R4+R5)*R3/(R3+R4+R5);
//source voltage 'V'
V = I*R;
mprintf("The voltage source, V = %d V",round(V)); |
09033cf9a0d7c1fa5079d2672d5dee3e42924ae4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.20/Ex9_20.sce | 9554907f05cfbb274a0535b5511acd9d3e90014b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,707 | sce | Ex9_20.sce | //Example 9_20 page no:380
clc;
Zr=4+(%i*8);
Zrmag=8.944;
Zrang=63.4;
Zy=3+(%i*4);
Zymag=5;
Zyang=53.1;
Zb=15+(%i*20);
Zbmag=25;
Zbang=53.1;
I2ang=136.58;
//calculating Zry,Zyb,Zbr
ZrZymag=(Zrmag*Zymag);
ZrZyang=(Zrang+Zyang);
ZrZyreal=(ZrZymag)*cosd(ZrZyang);
ZrZyimg=(ZrZymag)*sind(ZrZyang);
ZyZbmag=(... |
125e5503a002c45ab4a6922a500ce910db391c5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH8/EX8.6/EXAMPLE8_6.SCE | 284b5b3071308390b35b4033fda3abaf7aa9bb88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | EXAMPLE8_6.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 7
//WAVEFORM CODING TECHNIQUES
clear all;
clc;
printf("EXAMPLE 8.6(PAGENO 389)");
//given
v = 7//bits of encoder
r = 50*10^6//bit rate of the system
//calculations
f_m = r/(2*v)//maximum message bandwidth which is less than or equal to o... |
cefb86507abf0bc4aade8850a1ca8cf2aa11657f | 0e52518c6fe37e683dc04d785f174ce30408f8e7 | /otimizacao/steepest descent.sci | 55a2b536136214e2cb979e9f6a339a7247c6cceb | [] | no_license | thiago-franco/metodos-numericos | c3a7a10d00376c9b238825e9ff049635cc153a92 | 95ed4e0b1e05b10c7d0ef9cbc23f9c98d2cf8a65 | refs/heads/master | 2021-07-06T00:19:31.512668 | 2017-09-30T01:25:29 | 2017-09-30T01:25:29 | 104,950,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,418 | sci | steepest descent.sci | clear
clc
//function y = funcao(x)
// y=(x(1) - 2).^4 + (x(1)-2*x(2)).^2;
//endfunction
function grad_x = gradiente(x)
n = length (x);
h = 1e-5;
gg = [];
for i = 1 : n
x_adv = x
x_adv(i) = x(i) + h;
dev = (f(x_adv)- f(x))/h;
gg = [gg; dev];
... |
03d82d5535d2dc513a9a9740640d55849bf3a6b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH9/EX9.5.a/Ex_9_5_a.sce | 595552baf03acd293a8066c50827d185f0662150 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Ex_9_5_a.sce | //Example 9.5.a
clc;clear;close;
z=poly(0,'z');
s=poly(0,'s');
Hz=3*(2*z^2+5*z+4)/(2*z+1)/(z+2);
H=pfss(Hz/z);
for k=1:length(H)
H(k)=clean(H(k));
H1(k)=z*horner(H(k),z);
disp(H1(k),'System Function for parallel realisation Hk(z)=');
end
disp(Hz,'System Function H(z)='); |
8bf430cb2f7aa1cff579726a9a5ffd94d30cdb5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH3/EX3.6/Exa3_6.sce | e42c89b3e7ac9e8feae7887cc2306a3c915a53d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Exa3_6.sce | //Exa 3.6
clc;
clear;
close;
//Given data :
Tr=0.2;//in us
l=20;//in Km
//part (a)
B=1/(2*Tr*10^-6);//in Hz
B=B/10^6;//in MHz
disp(B,"Maximum possible assuming no intersymbol interference in MHz : ");
//Part (b)
Dispersion=Tr*10^-6/l;//in sec/Km
disp(Dispersion*10^9,"Dispersion in ns/Km : ");
//part (c)
... |
bf578cdc4616efa95fb18b7fe5a760740ee831a0 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/ada/acats/tests/ce/ce3002c.tst | c240907f89f585577515cb2dcd06fda1726268da | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"FSFAP",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | Scilab | false | false | 2,324 | tst | ce3002c.tst | -- CE3002C.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
a1fff1245b5e00043eec424b927c90b87b7d95ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.17/ex2_17.sci | a68cf4ec72da25f75e47a7785d54d00929bef90e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sci | ex2_17.sci | //Chapter 2,Ex2.16,Pg2.24
clc;
disp("Refer to the diagram shown in the figure")
a=[15 -10 -5;0 1 -1;-15 12 6]
b=[50;2;0]
i=a\b
printf("\n I1 = %.0f A\n",i(1))
printf("\n I2 = %.2f A\n",i(2))
printf("\ I3=%.2f A\n",i(3))
printf("\n Current through 5 ohms resistor = %.1f A\n",i(1)-i(3))
|
9d3d475434dae066da657c9a3a63cb207c0020c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH4/EX4.11/ex4_11.sce | 4236c3fbad2f9a6d28773e3d1e47d235d89d02ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | ex4_11.sce | // Example 4.11, Page No-213
clear
clc
fa=200
fmax=fa
C1=0.1*10^-6
Rf=1/(2*%pi*fa*C1)
Rf=Rf/1000
printf("Rf= %.3f kohm", Rf)
fb=10*fa
R1=1/(2*%pi*fb*C1)
R1=R1/1000
printf("\nR1= %.3f kohm", R1)
Cf=R1*C1/Rf
Cf=Cf*10^6
printf("\nCf= %.2f uF", Cf)
|
a581a1438a69c6b6894e21f52dabd41c8c43c438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.5/5_5.sce | dedeac2b1d303f2b1812a8b25ec10197900d26df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | 5_5.sce | clc,clear
printf('Example 5.5\n\n')
V_OC_line=230,I_asc=12.5 // when I_f=0.38
V_OC_ph=V_OC_line/sqrt(3)
Z_s=V_OC_ph/I_asc
R_a=1.8/2 //1.8 is between terminals..0.9 is per phase
X_s=sqrt(Z_s^2-R_a^2)
I_a=10// when regulation is needed
V_L=230
V_ph=V_L/sqrt(3)
//Part(i)
phi1=acos(0.8) //and lagging
... |
6a189d43168b8c675d896e8f5c48c4029c85707f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rcosdesign/rcosdesign5.sce | 10f34daaa12467a82f59e29f6824271aaf226b6a | [] | 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 | 690 | sce | rcosdesign5.sce | rf = 0.25;
span = 4;
sps = 3;
h= rcosdesign(rf,span,sps,'normal');
h_expeceted=[-1.83515589323958e-17 -0.0839769617250925 -0.111533834697389 2.20296105783395e-17 0.241477835573582 0.492495595150919 0.599407402858453 0.492495595150919 0.241477835573582 2.20296105783395e-17 -0.111533834697389 -0.0839769617250925 -1.83515... |
39baa39fe5b5e17c13b0f9ad1c0d72784d6a5200 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH5/EX5.8/Example5_8.sce | 44bb0684835e1f2bf8a8929c9699fbd2868c1aa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_8.sce | //chapter-5,Example5_8,pg 493
Nx=64//2^6, 6 bit counteer register
Vref=2.2//ref. voltage
N=32//SAR output
Vi=(N/(Nx+1)*Vref)//input voltage
printf("input voltage\n")
printf("Vi=%.2f V",Vi) |
8d6e98264df6414423158110829ddb74a2771b8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH9/EX9.8/Ex9_8.sce | b975d7cd3f45f623143ab6810e4862cd7bf1b652 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | Ex9_8.sce | //chapter-9 page 412 example 9.8
//==============================================================================
clc;
clear;
//For a Gunn Diode
L=20*10^(-4);//Active Length in cm
Vd=2*10^7;//Drift Velocity of Electrons in cm/sec
Ec=3.3*10^3;//Criticl Field for GaAs in V/cm
//CALCULATION
fn=(Vd/L)/10^9;//N... |
6ccf3b5e080f5041420ecb18c12a9b840a39c028 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.7/Ex7_7.sce | f1358bdcc02b6b5518b1aa759a622656ac449b9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Ex7_7.sce | //Exa 7.7
clc;
clear;
close;
// given :
D_a=6 // Diameter of paraboloid reflector in m
c=3*10^8 // speed of light in m/s
f=4 // frequency in GHz
f=4*10^9 // frequency in Hz
lambda=c/f // wavelength in m
r=2*D_a^2/lambda // required minimum distance between two antennae in m
disp(r,"required minimum distance ... |
37d7732b3c90ee1f33bab8ce42eec5e7736afd08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH6/EX6.8/8.sce | 69cefbca9eaba201af6e31c43c13726cd7f5e0b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | 8.sce | clc
m=5; //kg
T1=550; //K
p1=4*10^5; //Pa
T2=290; //K
T0=T2;
p2=1*10^5; //Pa
p0=p2;
cp=1.005; //kJ/kg K
cv=0.718; //kJ/kg K
R=0.287; //kJ/kg K
disp("(i) Availability of the system :")
ds=cp*log(T1/T0) - R*log(p1/p0);
Availability=m*[cv*(T1-T0) - T0*ds];
disp("Availability of the system =")
disp(Availab... |
9403133bcbd8a6d9ad9413c74191b5f2738113a3 | 1a679c5bea6f6f3d080ec52122a5c04f941f8e67 | /log transformation.sce | 83adcf9d7f31adbd5fd6ba877407354688f85ecf | [] | no_license | Malay1998/Image-Processing-with-Scilab | c34c35d76d2db50f41c9b95b239a0f5e6d203a80 | 4ab83c92212d4fdbb9cb6f75ce06cfced34d0c7c | refs/heads/main | 2023-06-04T04:06:35.361106 | 2021-06-26T22:00:38 | 2021-06-26T22:00:38 | 380,540,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | log transformation.sce | a=imread('milkeway.jpg');
b=double(a);
[m,n]=size(b);
for i=1:m
for j=1:n
c(i,j)=10*log(1+b(i,j));
end
end
imshow(c);
|
9f28da3baef6ddc432832ff1ad5aadabd6d1df4b | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Experimentation/Packet experiment/Plot.sce | 755a0fadcc07655bd4e9f16da30b0a8b3478c5c3 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sce | Plot.sce | timeMat = fscanfMat('Linear_Regression/TimeMatrix')
numlines = length(timeMat(:,1))
for i = 1:numlines
end |
bbd396cf8228a4f62d189a5a3233ac50a9908f3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.34/Example9_34.sce | 635e70c3a0f9972ae45fa1ae2ce6973841e8c5af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Example9_34.sce | //Example 9.34
clc
disp("Resolution = V_0FS / 2^n - 1")
disp("Therefore, 20 = V_0FS / 2^n - 1")
disp("Therefore, V_0FS = 5.1 V")
disp(" D = Equivalent of 10000000 = 128")
disp("Therefore, V0 = Resolution * D = 20 * 128 = 2.56 V")
|
5d30be10c79fff426f74f643db67e42fda914717 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/nmirror_w_bias.sce | 69e39c37f7928614f2ea661159dbb637acf51ecd | [] | 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 | 171 | sce | nmirror_w_bias.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td><b>In</b></td> <td>nmirror<br>w_bias</td></tr></table>";
pal5 = xcosPalAddBlock(pal5,"nmirror_w_bias",[],style);
|
dfa440b9e5bbdb88009e9fe01a1a9a05718c3768 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH7/EX7.6/Ex7_6.sce | 7fae9846711e4b7f628180a07026cf394cd0f795 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Ex7_6.sce | //Chapter 7: Solid State
//Problem: 6
clc;
//Declaration of Variables
l = 2 * 10 ** - 10 //in m
t = 30 //in degrees
// Solution
mprintf("For first-order reflection\n")
d = l / (2 * sin(t))
dist = 2 * d
mprintf(" Hence, distance between planes is : %.0e m ",abs(dist))
|
90bd03bf2405ad557c8b4b1fc23140fa34b8dd58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH1/EX1.7/Ch01Ex7.sce | 8680998b65dc6f2f8c5c73c22cd07489ded1d24c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Ch01Ex7.sce | // Scilab code Ex1.7: Pg:20 (2008)
clc;clear;
m = 9.1e-031; // Mass of an electron, kgm
h = 6.6e-034; // Planck's constant, joule-sec
c = 3e+08; // Velocity of light, m/s
// Energy of one quantum of radiation is given by E = h*nu and
// furhter, E = m*c^2 where nu = c/Lambda, the frequency of radiation... |
34d30c917cd602c90e085be8c908e0ec5e8eff36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH1/EX1.1/example1_1.sce | b67aa722cb0d6c89ab920ccef75320675e866a2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sce | example1_1.sce | ft=3.67;
m=ft*0.3048;
disp("the given length (in m) is"); disp(m); |
9594dd14c2abea0aa486f1a21d87d8f5f49ca919 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH9/EX9.6/Ex9_6.sce | 0cc8351b4747675978a5e9aa85d1aab64a4dc179 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Ex9_6.sce | clc
//initialization of the problems
clear
s=1.6 //m
s1=4 //m
pi=28 //degrees
w=16 //kg/m^2
p=100 //kg/m^2
pl=20 //cm
pb=10 //cm
r=500 //kg/m^3
Zx=54.8 //cm^3
Zy=3.9 //cm^3
// calculations
pi=pi*%pi/180 //radians
W=w*s+8.1
P=p*s
L=P+W*cos(pi)
Mx=L*s1^2*100/8
sigma_1=Mx/Zx
My=W*sin(pi)*s1^2*100/8
si... |
63a935128930b0426ad635c87d4f25a692661241 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH21/EX21.3/Ex21_3.sce | af36e332b74493f77f6c0d2cabd9e23d3134b258 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex21_3.sce | clear
// Variable declaration
T_ra=21// The temperature of the returning air
H=50// % saturation
T_d=28// The dry bulb temperature in °C
T_w=20// The wet bulb temperature in °C
m_a=20// The mass flow rate of returning air in kg/s
m_b=3// The mass flow rate of outside air in kg/s
x_ra=0.0079// The moisture content in k... |
3a2108303e12c6048a64090e508253c0d30ed0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH1/EX1.6/example6_sce.sce | 6cf7bad6949dd99e75475d55c64adab67221aab2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | example6_sce.sce | //chapter 3
// exmaple 3.6
//page 124 , figure 3.17
R1=1*10^3;R2=R1;R3=R1;//given
Rf=1*10^3;//given
Vin1=2;Vin2=1;Vin3=4;//given
Vout=-((Rf/R1)*Vin1+(Rf/R2)*Vin2+(Rf/R3)*Vin3);
disp(Vout) |
346488d9e3e92851f482ad1a2f2bb20b28be35f3 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/heatex.tst | 3f37f37239a1b9049b86becf9986e6599823a7da | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 1,035 | tst | heatex.tst | # Heat exchanger test
units SI
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + PROPANE ISOBUTANE n-BUTANE n-PENTANE
# lets have some streams for this test
hotInlet = Stream.Stream_Material()
coldInlet = Stream.Stream_Material()
hotOutlet = Stream.Stream_Material()
coldOutlet = Stream.Stream_Ma... |
c8e8d17362ae63df05dfc96cbbbf374a0e3b3a88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH2/EX1.2.16/Ex1_2_16.sce | 1556cbcd0c122f0844d65651e2fca74b70028f84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Ex1_2_16.sce | //Section-1,Example-3,Page no.-AC.205
//To calculate the percentage of excess air used for combustion.
clc;
C=0.54
H=0.065
O=0.03
N=0.018
M_W=(((32/12)*C)+((16/2)*H)-O)*(100/23)//Minimum weight of air required for combustion
W_CO2=(C*(44/12))
W_N2=N+(M_W*(77/100))
T_W=(W_CO2+W_N2) //Total weight of dry products of ... |
e230c050c778a030fda3335f95becb9077f0adbc | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/asr02.tst | d203ffaa110b681a79a1bb40c3d00d3fe8588da0 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | tst | asr02.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the ASR (arithmetic shift right) instruction"
; @Result: "r16 = 1, flags.c = 0, flags.s = 0"
start:
ldi r16, 0b10
asr r16
end:
break
|
8e525059b91bb543dba4ee25600b4f2eac13ff3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH2/EX2.15/Ex2_15.sce | 7a9c670285687e2f8720a4ed057b586565b1ab26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,290 | sce | Ex2_15.sce | // Example 2_15
clc;funcprot(0);
//Given data
w=[1 2 3 4 5 6 7 8 9 10 11 12];// Week
b=[6000 4000 5400 2000 1500 1000 1200 4500 8000 4000 3000 2000];// Weekly flow in m^3/sec
//Calculation
for(i=1:12)
c(i)=b(i)*7;
end
Cv(1)=c(1);// day-sec-metres
Cv(2)=Cv(1)+c(2);// day-sec-metres
Cv(3)=Cv(2)+c(3);// d... |
5ce5f14b4f2fb55bb6990a59ff6e289495a012df | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH3/EX3.19/Ex3_19.sce | 64e0b4d85ed4efbda55fce260f58750b6050c60b | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sce | Ex3_19.sce | //Chapter 3 : Systems of Linear Equations
//Example 3.26
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[1 2 -1 -2;
-1 -1 1 1;
0 1 2 1];
disp(A,'A=')
I1=eye(4,4)
I2=eye(3,3)
A=[A I2]
disp(I1)
disp(A)
A(2,:)=A(2,:)+A(1,:)
disp(I1)
disp(A)
A(3,:)=A(3,:)-A(2,:)
disp(I1)
disp(A)
A(3,:)=A(3,:)/2
di... |
7fecf3cb0bc8c5fc976e33a79965c6fd67383c92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH4/EX4.8/Example4_8.sce | 06247e5d787bfb8cc04906ad671db14a75fadb24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sce | Example4_8.sce | exec("degree_rad.sci",-1)
//Given that
gr_height = 3 //in m
theta = dtor(53)
g = -9.8 //in m/s^2
v0 = 26.5 //in m/s
tower_height = 18 //in m
//Sample Problem 4-8a
printf("**Sample Problem 4-8a**\n")
x = poly(0,'x')
y = x * tan(theta) + g * x * x /(2* v0^2) * sec(theta)^2
y_tower1 = horner(y,23)
... |
3fa27655022f58a464a292f0e3560919e6c8e94e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH8/EX8.4/exa_8_4.sce | e7caa113192e31047e4541a87babe881fe917bdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_8_4.sce | // Exa 8.4
clc;
clear;
close;
// Given data
l=2.5;// in cm
l=l*10^-2;// in meter
d=1;// in cm
d=d*10^-2;// in meter
Va= 1000;// in volts
theta= 1;// in degree
// Formula tand(theta) = l*Vd/(2*d*Va)
Vd= 2*d*Va/l*tand(theta);// in volts
disp(Vd,"Voltage required across the deflection plates in volts")
|
065820892aba1c3dc033197e68124683f03a6466 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/tdcs/finit.sci | c9a595be538771fd6720002fcc6b3950fbdf941f | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,282 | sci | finit.sci | //[]=finit()
// Initialisation de parametres relatif au probleme
// de l'alunissage
//k : acceleration de poussee de la fusee
//gamma : acceleration de la pesanteur sur la lune
//umax : debit maximum d'ejection des gaz
//mcap : masse de la capsule
//cpen : penalisation dans la fonction cout de l'etat final
//!
k... |
f6fdf02c12493133a501897b1a65b76be28a9054 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300.zip/Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300/CH23/EX23.31.2/Ex23_2.sce | 60477f17afb151344dc4d4ca593b3f8870bf5e4a | [] | 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 | 395 | sce | Ex23_2.sce | errcatch(-1,"stop");mode(2);//scilab 5.4.1
//Windows 7 operating system
//chapter 23 Lasers,Fibre Optics,and Holography
V=500//V=bandwidth of a He-Ne laser in Hz
t=1/V//t=coherence time
disp("ms",(t*(10^3)),"The coherence time is =")
c=3*10^8//c=velocity of light in m/s
Lc=c/V//Lc=longitudinal coherence leng... |
96fa32f775be3b2f05887f9b603ad56798f70ac9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH7/EX7.13/7_13.sce | b083ad811628c70646bdef5c4301fa4b0a7ba475 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | 7_13.sce | //water chemistry//
//example 7.13//
W1=160;//amount of Ca2+ in ppm//
W2=88;//amount of Mg2+ in ppm//
W3=72;//amount of CO2 in ppm//
W4=488;//amount of (HCO3)- in ppm//
W5=139;//amount of (FeSO4).7H2O in ppm//
M1=100/40;//multiplication factor of Ca2+//
M2=100/24;//multiplication factor of Mg2+//
M3=100/44;//m... |
e1b8e162e45aa199135e15baa531fb89de0cf2c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH7/EX7.10/Ex7_10.sce | 91d5cc871b8422aa16a161ec89ec2f154c9341de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Ex7_10.sce | //Example 7.10
m=65;//Mass of player (kg)
v_i=6;//Initial velocity (m/s)
f=450;//Force of friction (N)
theta=5;//Angle of incline (deg)
d=(1/2*m*v_i^2)/(f+m*g*sind(theta));//Distance slid (m)
printf('Distance slid = %0.2f m',d)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/... |
e1f1c88468db937a13b3b73e9895a7a3d4a09ae3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH3/EX3.19/Example3_19.sce | e3c756f191ace21e953b2f0d65b3e99dc52ca44a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | Example3_19.sce | close();
clear;
clc;
//line voltage 'Vl', resistance 'R', reactance 'X'
Vl = 207.8;
R = 36;
X = 48;
//inpedance
Z = sqrt(R^2 + X^2);
//(a)phase current 'Ip'
Ip = Vl/Z; //A
mprintf("Phase current, Ip = %0.2f A\n\n",Ip);
//(b)line current 'Il'
Il = sqrt(3)*Ip; //A
mprintf("Line current, Il = %d A\n\n",ro... |
5c0aee404c598b3061a78da8e9fbe02e1b645402 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH12/EX12.01/12_01.sce | 60fbe1851d2fa337b876fff7295dcd6d9c62dc0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 850 | sce | 12_01.sce | //pathname=get_absolute_file_path('12.01.sce')
//filename=pathname+filesep()+'12.01-data.sci'
//exec(filename)
//Pressure at which steam is supplied(in MPa):
p1=0.2
//Temperature of steam(in C):
T=250
//Pressure upto which steam is expanded(in bar):
p2=0.3
//Pressure at which it is finally released(in bar):
p... |
4ff77f5283b6ac18f191bd2003900e711d1ed78e | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.45/Ch5_5_45.sce | 7cd54acb5f42db8cce954dc23288b8925db6b6c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ch5_5_45.sce | clc
disp("Example 5.45")
printf("\n")
disp("calculate the value of R & c for RC phase shift oscillator")
printf("Given\n")
//oscillating frequency
f=2000
//select Capacitor value
C=0.1*10^-6
//resistance value
R=1/(2*%pi*f*C*sqrt(6))
printf("Resistance value \n%f ohm\n",R)
|
23972f3c38934b9bc76560261643949dcbcad52a | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH7/EX7.2.1/7_2_1.sce | 1e903dda7923ed1335ea2fbfdda4d7a7be15c183 | [] | 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 | 481 | sce | 7_2_1.sce | //CAPTION: Conductivity_of_an_n-Type_GaAs_Gunn_Diode
//chapter_no.-7, page_no.-294
//Example_no.7-2-1
clc;
//Calculate_the_conductivity_of_the_diode
e=1.6*(10^-19);
nl=(10^10)*(10^6);//electron_density_at_lower_valley
nu=(10^8)*(10^6);//electron_density_at_upper_valley
ul=8000*(10^-4);//electron_mobility_a... |
31679fe515965ee7e6ee0d561432a92e071a7a2a | 14a72a1c4caceaaa52bfd973edacc3b3280fe783 | /SmartOrni/src/SciLab/testes.sce | dc684024086dbd3c84b5d1322d7f8e0bd39bd1d1 | [] | no_license | betito/beto-inpa | 55b7e8d25bd8c6535e2d071ff64c24e38afd3fc7 | 9ecc175967ec78b2f03471fefd863762f33de1fe | refs/heads/master | 2020-05-18T00:32:45.253708 | 2015-03-20T01:32:45 | 2015-03-20T01:32:45 | 32,187,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | testes.sce |
localdir="./*.wav"
listoffiles = listfiles(localdir)
//disp(listoffiles(:))
[numfiles, y] = size(listoffiles)
//disp(numfiles)
//disp(y)
listoffiles = ["_Inambari-Tambopata__Antwren_0.wav" "Papa-formiga-barrado_7.wav"]
data = read(listoffiles(1,1) + ".dat", -1,240000)
listoffiles = ["_Inambari-Tambopata... |
606e013867ebdaf41fde715206ff57ee30ffe175 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.8/Ex6_12_8.sce | ce92b449853cb3097d1c7a3201c95fab30e63225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Ex6_12_8.sce | //Section-6,Example-1,Page no.-P.40
//To find by how much is the chemical potential of benzene reduced for the given conditions.
clc;
x_B=0.10
x_A=1.0-0.10
R=8.314
T=298
mu=R*T*log(x_A) //mu=mu_A-mu_Abar
disp(mu,'Required chemical potential(Jmol^-1)')
|
481ad3bea74c0a54a28b26015e3778d8c3607f3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH11/EX11.4/EX11_4.sce | 78507c3d7074399b96a494f7c7528a3fe719b08e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,363 | sce | EX11_4.sce | // Example 11.4
// Computation of resistance using linear approximation and values are
// compared with results obtained in example 11.1
// Page No. 456
clc;
clear;
close;
// Given data
HP=40; // hp rating of the device
%ratedload=0.902; // Percentage rated load
VT=240; ... |
ffb1c747540b14de2f575cb1b73f9b9c112b7c15 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.22/Ex2_22.sce | 09f5be2271db0ee1b4f6d4034935cbe5b1802bed | [] | 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 | 463 | sce | Ex2_22.sce | errcatch(-1,"stop");mode(2);//Caption:Find the speed of machine
//Exa:2.22
;
;
V=250;//in volts
P_i=50*10^3;//in watts
I_L1=P_i/V;//in amperes
R_a=0.02;//in ohms
R_f=50;//in ohms
I_f=V/R_f;//in amperes
I_a1=I_L1+I_f;//in amperes
I_L2=P_i/V;//in amperes
I_a2=I_L2-I_f;//in amperes
N_1=400;//in rpm
E_2=V-(... |
76adf3c8ef9ffcd561034e2644cc9c7ec4e36deb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.48/Exa_2_48.sce | 38338fcd43e4f2003a7fab49f2fd80d0fd3796e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | Exa_2_48.sce | //Exa 2.48
clc;
clear;
close;
format('v',7);
//Given Data :
V1=1.5;//m^3
V2=0;//m^3
p=1.02;//bar
W=p*10^5*integrate('1','V',V1,V2);//J
disp(W/1000,"Work done by the air in KJ : ");
|
57cb50ec8026eece3688e3a971e97a72bee0f328 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH7/EX7.14/Ex7_14.sce | 1898617cdbd4e1347e707024915654e5cd2b3351 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | Ex7_14.sce | // Scilab Code Ex7.14: Page-382 (2008)
clc; clear;
e = 1.6e-019; // The energy equivalent of 1 eV, J
c = 3e+008; // Speed of light in vacuum, m/s
n = 1; // Order of diffraction
d = 2.82e-010; // Interplanar spacing, m
V = 9.1e+003; // Operating voltage of X rays
theta = 14; // Bragg's angle, de... |
7bcca8ea7375dc7a37f38ec9f9363d13cd4d5557 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH7/EX7.13/7_13.sce | 574d28f998a09d205c63cf6674240830e02b2d90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | 7_13.sce | clc,clear
printf('Example 7.13\n\n')
CE_Ag=107.98; CE_Al=27/3; //chemical equivalents
//Electrochemical equivalents
ECE_Ag=0.00111*10^-3 //in kg/C
ECE_Al=ECE_Ag * (CE_Al/CE_Ag)
current_efficiency=92/100
I=3000 //average current in A
t=24*3600 //duration of flow of current in seconds
m_al=ECE_Al*I*t*curre... |
fc65f561339d9003239a67c22562dc2b38a6fa42 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/hh_neuron_b_debug.sce | 688dd77b77aabc7fc27e6d9778a8dfd4e4fa7430 | [] | 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 | 1,350 | sce | hh_neuron_b_debug.sce | //*************** HH neuron b debug **********************
if (blk_name.entries(bl) =='hh_neuron_b_debug') then
mputl("# HH neuron b debug",fd_w);
hh_neuron_b_debug_str= ".subckt hh_neuron_b_debug"
for ss=1:scs_m.objs(bl).model.ipar(1)
hh_neuron_b_debug_str=hh_neuron_b_debug_str+" in[0]=net"+string(... |
1cce1586bd8432f2719de51b4375ca5ca500a1cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.41/ques41.sce | f8bfcf53c332a44b0de8ce736ba473450688b047 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | ques41.sce | //ques41
clc
disp('tanu=dQ/dr*r');
syms Q a;
r=2*a/(1-cos(Q));
u=atan(r/diff(r2,Q,1));
u=eval(u);
p=r*sin(u);
syms r;
Q=acos(1-2*a/r);
//cos(Q)=1-2*a/r;
p=eval(p);
disp(p);
|
36fe1ea5984051b2c6b6f4358a38d3a93f32025f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH27/EX27.1/Example27_1.sce | 330f770b053f817db11a9be8e17bdac35cffd0e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,105 | sce | Example27_1.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 1: SYMMETRICAL SHORT CIRCUIT CAPACITY CALCULATIONS
// EXAMPLE : 1.1 :
// Page number 466-467
clear ; clc ; close ; // Clear... |
86c4de393018f7217efae6984a237604dc16e0d0 | 44762c68a41cf98070cac7c4443b3bb8ac3bfc8f | /index.tst | 67cf7e06c60f745b252a637d0032ad73063b8d76 | [] | no_license | FredrikEk/Cloud-based-Cryptostorage | 6a92d50feb0d32a3fabfe7f99ee95436a602ca4e | 1620758655bc0222a20ad1d41554bcd3c7467069 | refs/heads/master | 2020-06-04T22:39:58.885100 | 2015-01-10T09:54:44 | 2015-01-10T09:54:44 | 29,053,329 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,796 | tst | index.tst | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>JavaScript File Encryption App</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="http://fonts.googleapis.com/css?family=Raleway:400,700" rel="stylesheet" />
<link href="assets/css/style.css" rel="styleshe... |
7538c5b47c20a4b35807b31fe6157769eb4b7a68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH9/EX9.28/Example9_28.sce | fa2d816824c98a4c2519c06ac8b437505db5d0cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Example9_28.sce | //Chapter-9,Example9_28,pg 9_82
Po=20*735.5//(in W)
V=230
N=1150
P=4
A=P
Z=882
Ia=73
Ish=1.6
T=60*Po/(2*%pi*N)
phi=T*A/(0.159*Ia*P*Z)//flux per pole
Il=Ia+Ish
Pin=V*Il
n=Po*100/Pin
printf("electromagnetic torque\n")
printf("T=%.3f Nm\n",T)
printf("flux per pole\n")
printf("phi=%.3f Wb\n",phi)
printf("... |
e5a90c5e98513dfa167d6d87010bfb535f189477 | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Exercise 22/Exercise 22a.sce | 5e17e12980f178a0b6bde32333530c0c2668ddd1 | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,835 | sce | Exercise 22a.sce | //=============================================
// Exercise 22: Exchange flow through a strait
//=============================================
// Animation of surface and bottom distributions of Eulerian concentrations & flow fields
// Author: Jochen Kaempf, March 2015 (update)
f = gcf(); f.color_map = jetcolorm... |
6c786289a1c88679f7233424bb0fdbc943445b4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH4/EX4.18/Ex4_18.sce | a9d56d4cd7fd107e88ee89a0d1f4a01a8dff5023 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | Ex4_18.sce | clear
//In this problem, it is required to find out the moment of inertia of the section about an axis AB. So there is no need to find out the position of the centroid.
//The given section is split up into simple rectangles
//Moment of inertia about AB = Sum of moments of inertia of the rectangle about AB
//variable ... |
5604be2cb97a1664827bf3511e87c9ad184c166d | 5c5fd5efaeecddf4cd7b8470a41364de7fcba737 | /Scilab/SpuleLadekurve.sce | 1b1849d28e38614ed8257ca96be5163e72c59100 | [] | no_license | derLars/RFIDInductiveCoupling | c1ba28900af0930e7278f1764b3c02e6d2a80ec1 | 18a26c28ec1348674c112387109aa31b36dbd7df | refs/heads/master | 2021-01-10T11:55:51.539075 | 2015-05-25T19:49:58 | 2015-05-25T19:49:58 | 36,164,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | SpuleLadekurve.sce | U = 5
R = 2
L = 50 * 10^(-3)
tau = L/R
t = [0:tau/10:10*tau]
yu = U + (t*0.001)
yul = U * (%e^(-(t/tau)))
yi = (U/R) * (1 - %e^(-(t/tau)))
xset("thickness",3)
plot2d(t,yu, style=3);
plot2d(t,yul, style=2);
plot2d(t,yi, style=5);
ylabel("U, Ul, Il", "fontsize", 6);
xlabel("t/s", "fontsize", 6)
//xtitle('Kondensat... |
f85161d3f8d8ce5ec46e7306b4b5d02394f4e7ba | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.9_5.tst | 07e58d60ce1e9d78f3dc8ffe841f2029edc82bee | [] | 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 | 42,683 | tst | bow.9_5.tst | 9 12:0.3333333333333333 19:0.0625 20:0.2 21:0.14285714285714285 48:2.0 64:0.6666666666666666 78:1.0 80:1.0 93:0.07692307692307693 98:0.2857142857142857 116:0.05263157894736842 134:0.3333333333333333 187:1.0 210:1.0 220:1.0 236:0.5 247:1.0 250:1.0 251:1.0 321:1.0 333:2.0 360:1.0 401:1.0 484:0.5 490:0.5 534:2.0 616:1.0 6... |
d78e219ed4a41604a772b97289d20254865863fd | 458def2f7b4bd44cdf75f29a4c0cabed2e6ca516 | /GradesSDL.sce | 0e1b66b53a193a111b28e8f92ad0cd83f12d5b4a | [] | no_license | SoanKim/Presentation_Software | 1a03bfc9e22bd2a874c5787ca89faa0947c09e67 | 382c84878496fce1e790386a4ff6c03741eb4974 | refs/heads/master | 2022-12-09T03:50:22.916992 | 2020-09-10T10:55:45 | 2020-09-10T10:55:45 | 294,382,441 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | GradesSDL.sce | #SDL:
scenario = "Grades";
pcl_file = "GradesPCL.pcl";
begin;
picture {
text { caption = "grades on screen";} t_Grades; x= 0; y = 0;
}p_Grades;
|
7e461701eb190bbe67f5d41b1e44476dfed54502 | d24d7ba8468707f00bf7adaaf2eb6f9cf024419b | /projects/05/stof.tst | 613ee83b0b66f581be40f92fe63ecfb5cfcdf115 | [] | no_license | linbug/nand2tetris | f22b01e400234e726131260e7fe9ccc4a7b6686d | 0156e5eb1144b37173223e9d000cf3f94178216c | refs/heads/master | 2021-01-19T00:17:27.599132 | 2017-04-02T21:03:32 | 2017-04-02T21:03:32 | 72,981,675 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | tst | stof.tst | load stof.hdl,
output-file stof.out,
compare-to stof.cmp,
output-list in%B1.16.1 out%B1.15.1;
set in %B1110000000000001,
eval,
output;
set in %B0000000000000001,
eval,
output;
|
7665a3daf9f314350e69cc9cdbbc7a98c9adab6b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.20_19.tst | 9d5661b3c4358216059609b6788d24dbefb5aefb | [] | 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 | 25,896 | tst | bow.20_19.tst | 20 15:1.0 16:0.14285714285714285 20:1.0 21:1.0 29:1.0 32:0.5 33:0.125 40:0.07142857142857142 44:0.1 50:0.16666666666666666 51:0.2 53:0.02127659574468085 54:0.6666666666666666 109:0.3333333333333333 123:0.2 215:1.0 264:2.0 382:0.3333333333333333 434:1.0 562:0.5 952:1.0 1280:1.0 2325:1.0 3006:1.0 3058:1.0 3259:1.0 3488:1... |
4b27057b58b48c247a632a8234f87161eedcd3b5 | 83b39ce8edebb6ec335a740bcc4e0a96bd03ad5f | /Functions.sce | 729a373d4d1460a9b6b6767ff3404828b9c9b5a0 | [] | no_license | neighborBoy0/ProjetFinDeEtude | c7b47a49fa6e3f151bf6fd890ea392ec745f5e37 | b1044feb8bac4d9645639e3ea3f113ad97439f8e | refs/heads/main | 2023-04-10T14:56:39.636998 | 2021-04-12T19:05:53 | 2021-04-12T19:05:53 | 347,607,990 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,229 | sce | Functions.sce | m = mode();
mode(-1);
// the position error between the current and final positions for the end effector
//
// CPosition: Cartesian coordinates of the current position.
// FPosition: Cartesian coordinates of the end point.
function result = F1(CPosition, FPosition)
try
positions = [CPosition; FPosition];... |
922605a19e1bc7032ddbbd7963941a0021a414da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.13/example13.sce | bd7e0c6159f2448378705661124c3cb46afeb3d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,226 | sce | example13.sce | clc
clear
//input data
b2=10//Rotor blade air angle at exit in degree
Dt=0.6//The tip diameter in m
Dh=0.3//The hub diameter in m
N=960//The speed of the fan in rpm
P=1//Power required by the fan in kW
pi=0.245//The flow coefficient
P1=1.02//The inlet pressure in bar
T1=316//The inlet temperature in K
R=287/... |
a227631704ea86999950f85cc1831e96d9f3fe1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH11/EX11.14/Example_11_14.sci | d9972423fe3ad5cc8db011e2920ef3c5bd69f471 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 8,663 | sci | Example_11_14.sci | clear;
clc;
xdo = 0.98; //per cent of ortho top product
xwo = 0.125; //per cent of ortho bottom product
function[f]=product(x)
f(1) = 100 - x(1) - x(2); //x(1) is D and x(2) is W
f(2) = 60 - x(1)*xdo - x(2)*xwo;
funcprot(0);
endfunction
x = [0,0];
y = fsolve(x,pro... |
2d08b56ea8a113f1af2f7f7ed0e81127d7c15e16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH1/EX1.1/Ex1_1.sce | e1e33ef9b7e8fbad00769d6b0981960de2991fb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Ex1_1.sce | //Velocity calculation
clc
//initialisation of variables
t=20//ft
t1=30//ft
v=1320//ft/s
p=25//sec
q=15//ft/s
v1=v/t//ft/s
v2=v/t1//ft/s
T=(v2-v1)/p//ft/s^2
V=v2-q*-T//ft/s
V1=-V^2/(2*T)//ft/s
//RESULTS
printf('the velocity time is=% f ft/s',V1)
|
90edd324062357f2f6f51e5c41cb590e17d64cdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH23/EX23.1/Ex23_1.sce | 578441849fef32331fbbb2e59f445f46d121bbd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Ex23_1.sce | //Example 23.1
N=1;//Number of loops
r=6*10^-2;//Radius of coil (m)
A=%pi*r^2;//Area of loop (m^2)
delta_BcosTheta=0.250-0.05;//Change in value of magnetic field strength perpendicular to area (T)
delta_phi=A*delta_BcosTheta;//Change in magnetic flux (T.m^2)
delta_t=0.1;//Time (s)
Emf=N*delta_phi/delta_t;//Induc... |
fcdcf1e9e2c110195ea20945387ce84bb86b863d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH4/EX17.1/17_1.sce | 9447d22fcdd25a34cc812f6977aebad58361baff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | 17_1.sce | clc
//initialisation of variables
l=1000//mm
L=l/2//mm
y=2.6//g/cu
y1=7.85//g/cu
a=375//mm
//CALCULATIONS
D=y1/y//mm
C=L/2+a//mm
//RESULTS
printf('the centre of gravity of the shaft=% f mm',C)
|
47b41dab60a81a2b003ca60668be3834b8226efc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH31/EX30.7/EX30_7.sce | d9d8ee03128b0b176291b008597632f0aa28efc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | EX30_7.sce | // Grob's Basic Electronics 11e
// Chapter No. 30
// Example No. 30_7
clc; clear;
// Calculate Av, Vo & Zo.
// Given Data
Rs = 240; // Source Resistor=240 Ohms
Rl = 1.8*10^3; // Load Resistor=1.8 kOhms
Vgsoff = -8; // Voltage Gate-Source(off)=-8 Volts
Vgs = -2; // Voltage Ga... |
ed9c1a80cf101bdc9f31926948321ec2829df586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH9/EX9.11/CH09Exa11.sce | 7c045eee22cd326edfb81f890156aa98abbe5261 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,836 | sce | CH09Exa11.sce | // Scilab code Exa9.11 : : Page-394 (2011)
clc; clear;
R_0 = 1.2e-015; // Distance of closest approach, metre
// Mass number of the nuclei are allocated below :
N = rand(4,1)
N(1,1) = 17; // for oxygen
N(2,1) = 33; // for sulphur
N(3,1) = 63; // for copper
N(4,1) = 209; // for... |
42bac35560c7ab7efd0c864c77a29da37f3122fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH3/EX3.14/Chap3_Ex14_R1.sce | 4024868e365118f5bb455bff8c6e110ea612a73b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,570 | sce | Chap3_Ex14_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-3,Example 14,Page 75
//Title:Volume using generalized form of the Redlich-Kwong equation of state
//================================================================================================================
... |
852c22b7b13f7ea9efb8484a689a756cc43e6e42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.18.a/data4_18.sci | 55ce19a9543b062586793323e1aac6926b38d9ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sci | data4_18.sci |
//(Design against Static Load) Example 4.18
//Refer Fig.4.57 on page 126
//Tensile yield strength of FeE250 Syt (N/mm2)
Syt = 250
//Factor of safety fs
fs = 5
//Diameter of bars to be sheared D (mm)
D = 6.25
//Ultimate shear strength of the material Sus (N/mm2)
Sus = 350
//Permissible bearing pressure on th... |
3296f007f32b5f742999f9a8403fe50646872f1e | 226851ab7bb8a3e1137e72fd154d4aa6939229f1 | /60002190048_SS SCILAB_2B(CORRELATION).sce | 0f65d1b1b8a6924d880a272e0fb20b23e9e04449 | [] | no_license | Ishitaa48/SS-Practicals-EXTC-1-E13-60002190048 | 637a855701ef0a07675e519cf002fa4742a571e7 | 183baae9ad66d093ba13d41a01f1d61751ef8036 | refs/heads/main | 2023-01-18T22:39:05.696201 | 2020-11-25T11:52:15 | 2020-11-25T11:52:15 | 315,921,545 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 60002190048_SS SCILAB_2B(CORRELATION).sce | clc;
clear all;
close;
x1=[1,3,7,-2,5];
x2=[2,-1,0,3];
z=xcorr(x1,x2);
disp(z,"This is the required correlation");
l=length(z);
t=0:l-1;
plot2d3(t,z);
xlabel("n");
ylabel("Amplitude");
title("Correlation: y(n)=x1(n)*x2(-n)");
figure;
|
9bfc6f772563d05c735d2aed943804670d141375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH16/EX16.13/16_13.sce | ff1341d6022f54475bc658c50904854361f2b7fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | 16_13.sce | clc
//initialisation of variables
W= -10 //KN/m
r= 5 //m
//CALCULATIONS
Rav= -W*2*r/2
Rbv= Rav
function[y]=conv(x)
y=125*(sin(x))^2*5*(sin(x))*5
endfunction
v=intg(0,%pi,conv)
function[y]=conk(x)
y=25*(sin(x))^2*5
endfunction
k=intg(0,%pi,conk)
Rbh= v/k
Rah= Rbh
//RESULTS
printf ('Rav= %.2f KN... |
6ec8fec8bd1e5e804717a4add770e899fee7e0f3 | 481f3317298608c37d4cb96f148faf5068d712bb | /lib/scilab/generateTFProc.sci | 9f6500677fab6b5454752aae3460e51d5e4d8d09 | [] | no_license | masilvabustos/xcos2uc | 1f83c0710da6506cec8c8aad5a97848903f6ad32 | 531c35a53b7efc11e69e98c643ebad3df3d362f5 | refs/heads/master | 2020-04-05T22:41:50.570623 | 2016-11-13T18:18:22 | 2016-11-13T18:18:22 | 22,852,879 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,310 | sci | generateTFProc.sci |
function status = generateTFProc(name, forward_coefficients, feedback_coefficients, parameters)
fd = parameters.fd
mfprintf(fd, '#include <string.h>\n')
mfprintf(fd, 'static __inline__ _NUMBER_TYPE %s(_NUMBER_TYPE e1)\n{\n', name)
mfprintf(fd, '%sstatic _NUMBER_TYPE x[] = {', parameters.inde... |
5cc8ac51e55fbc0e1c7949913792e5668641723b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH5/EX5.34/ex5_34.sce | 3ef6bd9b1a128fc89093b1ab27aa0a6bb8a18225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | ex5_34.sce | //Page Number: 5.41
//Example 5.34
clc;
//Given,
fs=8000; //Hz
m=24;
n=8;
//(a) Duration of each bit
t1=1/fs;
t2=(m*n)+1; // Extra bit for synchronization
Tb=t1/t2;
disp('seconds',Tb,'Duration of each bit');
//(b) Transmission Rate
Rb=1/Tb;
disp('b/s',Rb,'Transmission Rate');
//(c)Minimum transmissio... |
7c9634982478adc895c44f665f37c8ac132de9f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.25/example4_25.sce | 736e508174ebc6f533a64ff00d582e294b386abe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | example4_25.sce |
//example 4.25
//calculate average depth of hourly rainfall excess
clc;funcprot(0);
//given
r=[2.0 2.5 7.6 3.8 10.6 5.0 7.0 10.0 6.4 3.8 1.4 1.4]; //rainfall depths
A1=20;
A2=40;
A3=60;
A=A1+A2+A3;
fi1=7.6;
fi2=3.8;
fi3=1.0;
for i=1:12
R1(i)=r(i)-fi1; //rainfall excess
R2(i)=r(... |
2682eddabb6302af13ddcc272bd6f2c9cd09d296 | c565d26060d56f516d954d4b378b8699c31a71ef | /Ramp-test_manual/first1_ramp.sce | dc258817040eb49fc0da64dd2ccedead9f299b7b | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 417 | sce | first1_ramp.sce | clear data7; exec('data02.dat'); getf('label.sci');
T = data7(:,1); fan = data7(:,3); //T is time, fan is fan speed
u = data7(:,2); y = data7(:,4)-data7(1,4); // u is current, y is temperature
ord = [u y]; x = [T T]; // u and y are plotted vs. time and time
xbasc(); plot2d(x,ord); xgrid();
title = 'Ramp change in ... |
5ea7413b95a4d09bf2dd5acda304b66f69c9699e | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.11.1/ques11_1.sce | 31ba7e9b0295e66bce2352f2825115bcbe3ab192 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | ques11_1.sce | //ques11
disp('To find the inverse laplace transform of the function');
syms s t
f=(s^2-3*s+4)/s^3;
il=ilaplace(f,s,t);
disp(il);
|
e7fa1874c99afe0dfe9c213b54ca5c49190398a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH2/EX2.8/Ex2_8.sce | 2d3b982e32adba9d251cc2e11675ffd11fe0412d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,009 | sce | Ex2_8.sce | // chapter 2
// example 2.8
// Fig. E2.8
// Calculate the resistance, gate power dissipation and maximum triggering frequency
// page-32-33
clear;
clc;
// given
Ig_min=500; // in mA (minimum gate current)
gradient=16; // in V/A
Egs=15; // in V (gate source voltage)
T_on=4; // in us (minimum turn on time)
Pg_av=0.3; // ... |
a92d06171253d16a3cc7afde345ecd3c44f2082b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/util/%r_clean.sci | 0e744af5790d65ef3e9809c0adf9a7dafa220bc5 | [
"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 | 523 | sci | %r_clean.sci | function a=%r_clean(a,epsa,epsr)
//Syntax: a=%r_ clean(a,epsa,epsr)
// Given a, matrix of rationals , this function
// eliminates all the coefficients of a with absolute value < epsa
// and realtive value < epsr (relative means realive wrt norm 1 of
// the coefficients)
// Default values : epsa=1.d-10; epsr=1.d-10... |
21823dee5f67d2046ac641911a6a927bf2af7096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH11/EX11.2/2.sce | a1be2da55045560c03ab2a9878e41af7362eb2f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | 2.sce | clc
p1=75.882; //cm of Hg
T1=286; //K
V1=0.08; //m^3
p2=76; //cm of Hg
T2=288; //K
V2=p1*V1*T2/p2/T1;
m=28; //kg
c=4.18;
t2=23.5; //0C
t1=10; //0C
Q_received=m*c*(t2-t1);
HCV=Q_received/V2;
disp("Higher calorific value =")
disp(HCV)
disp("kJ/m^3")
amt=0.06/0.08; //Amount of vapour formed per m... |
ba25a3670ae9dec5041f46ef318856550ad89902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH6/EX6.9/Chapter6_Example9.sce | 7b6c55d3a8b0d763a40e3c9d3cc8a8ef67d2e065 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 865 | sce | Chapter6_Example9.sce | //Chapter-6, Example 6.9, Page 258
//=============================================================================
clc
clear
//INPUT DATA
L=100;//Length of rectangular duct in m
A=[0.02,0.025];//Area of duct in m^2
Tw=40;//Temperature of water in degree C
v=0.5;//Velocity of flow in m/s
k=(0.66*10^-6);//kine... |
e7334d9f4ba26aa5b95fc273ab06879ab721c73f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH15/EX15.6/15_6.sce | 98d12f822709e2e91a214aff92e36b42086ddc5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | 15_6.sce | clear; clc; close;
Rl = 1000;
R = 120;
Vdc = 60;
Vdc_dash = (Rl/(R+Rl))*Vdc;
disp(Vdc_dash,'Dc voltage across 1k-ohm load = ');
|
f95924e6ec3b6fddf6c31c9b8668dcdb065a960d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH9/EX9.6/Ex9_6.sce | 057586484d0dbba2b66712000de495d9fff7f237 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,073 | sce | Ex9_6.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 9 Frequency Response of Amplifier Pg no. 307 and 308
clear;
clc;
//Given
VCC=15;//collector supply voltage in volts
RC=2.2D3;//collector resistance in ohms
RE=470;//emitter resistance in ohms
R1=33D3;//divider network resistance R1 in ohms
R2=10D3;//divider n... |
ef1ec95e9667dda2180498d710bdad89cd256719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH9/EX9.1/example1.sce | 245a6d809399032c925c22cbcb4c915442402c85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 972 | sce | example1.sce | s=%s;//given Kv=1000sec^-1
Kv =1000;
g =Kv/( s*(0.1*s +1)* (1+.001*s))
G= syslin ('c',g)
fmin =0.01;
fmax =100;
bode (G,fmin , fmax )
show_margins (G)
xtitle (" uncompensated system")
[gm , freqGM ]= g_margin (G)
[pm , freqPM ]= p_margin (G)
disp (gm ," g a i n ma r g i n=")
disp (( freqGM *2* %pi)," =gain ... |
8839cdebbd2d643506dc5a3f9a16631ce0a18a3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH5/EX5.10/5_10.sce | d494706638efebe25494ac91ecca62b11467054a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | 5_10.sce | //pathname=get_absolute_file_path('5.10.sce')
//filename=pathname+filesep()+'5.10-data.sci'
//exec(filename)
//Initial pressure(in kPa):
p1=3000
//Initial volume(in m^3):
v1=0.05
//Final volume(in m^3):
v2=0.3
//Value of n:
n=1.4
//Final pressure(in MPa):
p2=p1*((v1/v2)^n)
//Entropy change:
dS=0
//Change... |
4c12cb1606181aa42a95b24014a70ebc056be510 | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/MissionC2.sce | 545e65b533e01c44d826d745eef05686c47305ca | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | MissionC2.sce | //Load scripts from folder
funcprot(0)
getd("../scripts");
//Global variables
imgPos = "../images/"; //The position of the source images
renderPos = "render/"; //The folder where the render images will be saved
//Load image
imgin = readpbm(imgPos+"Formes.pbm");
imgout = median(imgin,0)
//Show the coordinates of t... |
858f555c2313658e98c4dffeda05d9a8ba6c0666 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_quiere_mascota.tst | 65667eae28214fa5015135193e69d25087ffcf83 | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 235 | tst | consulta_por_quiere_mascota.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_quiere_mascota(pqmascotas => :pqmascotas,
p_recordset => :p_recordset);
end;
2
pqmascotas
1
1
5
p_recordset
1
<Cursor>
116
0
|
9753ac92d943e08354e1c5c1a4075edd21ad752e | 87749481136b7b72a47930f587f27667e0c0f97d | /FIR filter design/lab4_task2.sci | 5b0777a710bfa67bf38fa530cc5f707690891564 | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,700 | sci | lab4_task2.sci | clc;
clear all;
close;
//-----------------------------------------------------------------------------
b = chdir('C:\Users\work\OneDrive\Documents\SciLab\lab_v4')
//read data
[irc_my, Fs_irc, h_bits] = wavread("C:\Users\work\OneDrive\Documents\SciLab\lab_v4\1a_marble_hall.wav")
[signal, Fs_s, s_bits] = wavread("C:\User... |
adc8e0b8d6e0e6ed2e44ab80aa8b8dd91674aa7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH9/EX9.8/Ex9_8.sce | 3567f74b60f991a360724bd80fe2588f045cf1fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_8.sce | //chapter9
//example9.8
//page148
V=15 // V
R=0.5 // kilo ohm
V_D=0.7 // V
// both diodes are forward biased
I1=(V-V_D)/R
I_D1=I1/2
I_D2=I_D1
printf("current through diode D1 = %.3f mA and diode D2 = %.3f mA \n",I_D1,I_D2)
|
813f2da825029eaa309d9700c29d74bc0d7ec6d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH9/EX9.5/Example_9_5.sce | 155063c99a9081a690629c4dcc6cc250797b152c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | Example_9_5.sce | //clear//
clear;
clc;
//Example 9.5
//Given
Dt = 6; //[ft]
H = 8; //[ft]
T = 70; //[F]
sp_gr = 3.18;
w_fr = 0.25;
Da = 2; //[ft]
h = 1.5; //[ft]
gc = 32.17; //[ft-lb/lbf-s^2]
// (a)
//Using data of Buurman et al. in Fig.(9.19)
//change in nc
delta_nc = (104/200)^0.2*(2.18/1.59)^0.45*(33.3/11.1)^0.13;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.