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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
775eaf973ef6275d8ecfbf790402e735154752fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH5/EX5.7/5_7.sce | f1dad6f2020e20dc8dff66dadc77ca42ea550d06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | 5_7.sce | clear all; clc;
disp("Ex 5_7")
disp("Free body diagram is as shown in fig 5-15b")
a=600// Magnitude of force in Newton
t=45//inclination angle in degrees
theta=t*%pi/180//inclination angle in radians
disp("Summing moments about A:")
disp("100*(0.5)-T(0.5)=0")
disp("T=100 N")
disp("Summing forces in X-direction:")
disp(... |
0bc2675313e73e56302f3dbabcfb1b79fe50bca5 | 717ddeb7e700373742c617a95e25a2376565112c | /249/CH18/EX18.2/18_02.sce | 2725ac3f5d0904abb5459de708f574a1d0f07d1a | [] | 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 | 677 | sce | 18_02.sce | clear
clc
//Pressure(atm)
PAo=3.2;
R=0.082;//litre.atm/mol.k
T=390;//k
v=20;//litre/hr
W=0.01;///kg
CA_in=[0.1;0.08;0.06;0.04];
CA_out=[0.084;0.07;0.055;0.038];
CAo=PAo/(R*T);
FAo=CAo*v;
eA=3;
for i=1:4
XA_in(i)=(1-CA_in(i)/CAo)/(1+eA*CA_in(i)/CAo);
XA_out(i)=(1-CA_out(i)/CAo)/(1+eA*CA_out(i)/CAo);
dXA(i)=XA_out(i)-XA_... |
767a0367c302efb9ea98bc2d96b4dde620142447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH3/EX3.11/Ex3_11.sce | f8a01eae84786f1f74aa27d8df765f6b06005797 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,482 | sce | Ex3_11.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 3 Example 11")
v1=50;//velocity of steam entering injector in m/s
v2=25;//velocity of mixture leave injector in m/s
h1=720;//enthalpy of steam entering injector ... |
df650b6bb4c4b51e9a73f41d0dac9139f9721813 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH5/EX5.1/5_1.sce | b9f08f375d912a589f64901596e78f43e213dad1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,804 | sce | 5_1.sce | clear;
clc;
// Illustration 5.1
// Page: 287
printf('Illustration 5.1 - Page: 287\n\n');
// solution
//*****Data*****//
// Component 'A' is to be absorbed //
y_N1 = 0.018; // [mole fraction 'A' of in entering gas]
y_1 = 0.001; // [mole fractio of 'A'in leaving gas]
x_0 = 0.0001; // [mole fraction of ... |
93f6d60796bbda62bdbf2573934b87c2487e3b89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH5/EX5.6/Ex5_6.sce | 1932d8d33d6f9118f9a5426ba9c114bc9c0dbac8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_6.sce | //fiber optic communications by joseph c. palais
//example 5.6
//OS=Windows XP sp3
//Scilab version 5.4.1
clc;
clear all;
//given
n1=1.465//core refractive index
n2=1.46//cladding refractive index
lambda=1250*10^-3//wavelength in um
//to find
a=((2.405*lambda)/(2*%pi*sqrt((n1^2)-(n2^2))))//radius of the core... |
4d7cfb6e0ae6b28a7a7b9a38675b9aaf59656ca2 | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/wrongTypeInPlusExpression.tst | d920d9e73c03c2d443aadd0ed5d035d27a32ed86 | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | tst | wrongTypeInPlusExpression.tst | main {
int i;
boolean b;
b := true;
i := 1 + b;
return 0;
}
|
e69ab5a745cea989c4def6717791a2615bbd9e41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH11/EX11.2/ex_2.sce | a8af3234706077e486737d600456ec44ea092d3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | ex_2.sce | //Example 2// Frequencies
clc;
clear;
close;
//given data :
t1=15;// in sec
t2=10;// in sec
n2=400;// in vibrations/sec
n1a=n2+(1/t1);
n1b=n2-(1/t1);
disp(n1a,"frequency,n1a(Hz) = ")
disp(n1b,"frequency,n1b(Hz) = ")
n_1a=n2+(1/t2);
n_1b=n2-(1/t2);
disp(n_1a,"frequency,n_1a(Hz) = ")
disp(n_1b,"frequency,n_1b(Hz) = ")
|
abb35ede9c9634ac3499eeb4bdee32d4e49323d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH8/EX8.3/ex83.sce | f55126c2ab6526c7937ffe8cd519641f4a18cd20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 758 | sce | ex83.sce | clc;
// Define the polynomial
s=poly(0,"s");
p=2+2*s+5*s^2+4*s^3+4*s^4+2*s^5+s^6;
// Calculate the routh of above polynomial
r=routh_t(p);
S=roots(p);
disp(r,"Routh array=");
disp(S,"Roots=");
A=r(:,1);
c=0;
x=0;
for i=1:6
x=A(i,1);
if x<... |
c9bb7a3b9f6e52b1ff33276a7ff4a06a991f716a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.14/ex18_14.sce | b7fdfb943ed9c1d4cfd09177fe6002df0ff04161 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | ex18_14.sce | // Example 18.14, page no-468
clear
clc
epsr=4.94
eps=8.854*10^-12
d=2.07*10^3//kg.m^-3
w=32.07
N=6.023*10^23*10^3*d/w
alfe=3*eps*(epsr-1)/(N*(epsr+2))
printf("The electronic polarisability of sulphur is %f * 10^-40 F.m^2",alfe*10^40)
|
f5e3b4e200c3e6ee42dfab90eb167e79b0bb0996 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.2_17.tst | 58c712f519218697a601a06bbb885809ab2c8f21 | [] | 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 | 4,048 | tst | bow.2_17.tst | 2 14:0.09090909090909091 21:1.0 41:0.14285714285714285 81:0.25 110:0.5 141:0.5 269:0.3333333333333333 289:1.0 343:0.25 544:1.0 844:1.0 949:1.0 1018:1.0
2 6:0.5 141:0.5 424:1.0
2 6:1.5 9:0.3333333333333333 14:0.2727272727272727 16:0.019230769230769232 21:1.0 27:0.16666666666666666 50:0.2 52:0.6666666666666666 81:0.25 84... |
7a55a424d3f1f919782618d9b1ec1bf70299af3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH5/EX5.9/5_9.sce | f21d901d57c120a369222ed118bea406cdd58539 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_9.sce | //ques-5.9
//Calculating pH of two samples
clc
//Part (i)
c=0.001;//molarity of HCl
p1=-log10(c);//pH of HCl
//Part (ii)
c=0.04;//molarity of HNO3
p2=-log10(4*10^12);//pH of HNO3
printf("pH value of HCl is %.0f and pH of nitric acid is %.3f.",p1,p2);
|
0b8903e12b0f5c9298b3279c4560f74592c3bd4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH3/EX3.13/EX13.sce | abe23809f336ecf28ecc4edcc953887fed55899a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | EX13.sce | // Example 3.13: Range of load current
clc, clear
Vz=5; // in volts
Izmin=50e-3; // in amperes
Izmax=1; // in amperes
Vmin=7.5; // in volts
Vmax=10; // in volts
Rs=4.75; // in ohms
ILmin=((Vmax-Vz)/Rs)-Izmax; // in amperes
ILmin=ILmin*1e3; // in miliamperes
ILmax=((Vmin-Vz)/Rs)-Izmin; // in amperes
ILmax=ILm... |
362af275bf8bf3d1dd4d5f7fff222c95eb827d6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.40/Ex4_40.sce | 3976a0abafeff43a88ca0b21e70ffa1ba8b7c799 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,428 | sce | Ex4_40.sce | clc;
v=200; // rated voltage of shunt motor
i=22; // rated current of dc shunt motor
n1=1000; // speed at which motor is running
rf=100; // field resistance
ra=0.1; // armature resistance
n2=800; // reduced speed at which motor is to run
iF=v/rf; // field current
ia=i-iF; // armature current
disp('case a');
/... |
3de44faf2a5d8a36705c1ee56c7e2ab21c35770a | 743962f1d0e2d5a341cf583d6c7888e219f4ea1f | /RBF/RBF_Interpolation_Scilab/radial_distance.sce | 679f3993de3aed08646bfa71a9e3e57a60a15edb | [] | no_license | addNaNs/NA_seminarski | 7a17cf8ff2fc2aedaaa5658ce13c6ce4f4a5f4fa | 28f667703f599fc0e041398312a884efd7cd1e75 | refs/heads/master | 2020-12-22T17:48:18.517965 | 2020-01-29T01:16:43 | 2020-01-29T01:16:43 | 236,879,155 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | sce | radial_distance.sce | function d = radial_distance(a,b)
d = sqrt(sum((a-b).^2));
endfunction
|
826d050abfca76b4a3a83b0b01a54ea9b2dad22b | 337f9a673603d008cbd1b3cef9500ae806fef452 | /prova/prova_pdi.sce | 2908c05f4d497d58a379d09eb45bd6b44d41e344 | [] | no_license | Gervaes/PDI | 6608e3ce8dcde1373512429039e3e51de32de2d1 | 912a9f1b6e40facdbef75d8c298a52127f5403e7 | refs/heads/master | 2021-04-12T04:31:13.241166 | 2018-06-21T14:01:39 | 2018-06-21T14:01:39 | 125,973,311 | 0 | 2 | null | 2018-03-29T19:52:56 | 2018-03-20T06:48:59 | Scilab | UTF-8 | Scilab | false | false | 13,559 | sce | prova_pdi.sce | function [H]=Entropia(imagem,L,x,y)
//Zerando vetor histograma
for k=1: 256
qtdL(k) = 0;
end
//Preenchendo vetor histograma
for i=(((x-1)*L)+1):x*L
for j=(((y-1)*L)+1):y*L
qtdL(double(double(imagem(i,j))+1)) = qtdL(double(double(imagem(i,j))+1)) + 1;
end
... |
34a8b1cc48078e039c265c4965a335945f38131d | 256f0055d000d9c71c41cf0df7a7a750619fbfd0 | /LetraN.sce | 227caa936cdc5670a4df555cab8266217523c8fd | [] | no_license | ItaloOliveiraF/Sistema-de-Transmiss-o-de-Dados | efec24f05af567e24d5450d3e2513865b4ce5117 | dec4f2b2c1f4f9b701de1737a5efe2bbae465811 | refs/heads/master | 2020-04-05T09:29:00.397099 | 2018-12-21T20:36:15 | 2018-12-21T20:36:15 | 156,759,189 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | sce | LetraN.sce | clear
clc
load('C:\Users\italo\OneDrive\Documentos\UFRN\std\projeto2\sinaisAnaDelta.dat', 's_q_ana')
exec('C:\Users\italo\OneDrive\Documentos\UFRN\std\projeto2\auxiliares\modulacoes.sce')
b=(s_q_ana+1)/2
[t1,s1]=bask(b)
[t2,s2]=bpsk(b)
[t3,s3]=bfsk(b)
figure()
plot(t1(1:2000),s1(1:2000),'LineWidth',3)
... |
84c91b07faf9c193cd88f7496b5dc0488acd26ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH18/EX18.15/Ex18_15.sce | 73b7ecc5e15ec040ca0804b897f434e0a2d302fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | Ex18_15.sce | //Initilization of variables
m=2000 //kg
k=1.200 //m
w=120 //rpm
t=200 //s
//Calculations
//Applying Angular Momentum theorem
M=((m*k^2*(w*2*%pi))/60)/t //N.m
//Result
clc
printf('The Momentum necessary is %f N.m',M)
|
9247b7178f5e760df97bc1932376cd35c3321d35 | 72d7c10733e74eafb60961874dedea7fa2a43569 | /2.Basics/Periodic_signal.sce | 36432ef8a69ecc9b3a539b0ba765883a149b07c3 | [] | no_license | AkshayNachappa/Scilab-Workshop | 8dc448c41a2e768f3d93bbed928705445b9c007b | 056436f38a1f3aad7d1e3669595718839108c40e | refs/heads/master | 2023-01-02T00:20:19.968404 | 2020-10-20T17:04:44 | 2020-10-20T17:04:44 | 297,102,650 | 2 | 2 | null | 2020-10-20T17:04:46 | 2020-09-20T15:12:27 | Scilab | UTF-8 | Scilab | false | false | 132 | sce | Periodic_signal.sce | clear;
clc ;
close ;
t=0:0.1:2*%pi;
y = sin(t);
plot(t, y);
xlabel('t');
ylabel( 'sin(t)');
title( 'Periodic Wave');
|
0445999f8ac80afddf9040a6f33c12683bed41ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH10/EX10.2/Chapter10_Example2.sce | 3a0919a8a55609ed551d977e58e6b97375c8a04c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Chapter10_Example2.sce | clc
clear
//INPUT
t=295;//temperature of water in K
dp=10^6;//cahnge in pressure in dyne/sq.cm
j=4.2*10^7;//joules constant in ergs/cal
//CALCULATIONS
dc=-t*10^-5*dp/j;//change in specific heat
//OUTPUT
mprintf('the change in specific heat is %3.7f cal/degree',dc)
|
b5ba7eb9b4561140330259aee4376072bba0f8cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH6/EX6.4/Ex6_4.sce | 14c8919aca62c08f3b938e9f3661b273ee7304b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | Ex6_4.sce | // Example 6_4
clc;funcprot(0);
// Given data
D=10;// The diameter of circular shaft in cm
L=10;// The bearing length in cm
h=0.1;// The gap betwen the shaft and the bearing in mm
mu=6.7*10^-5;// Viscosity in Pa/s
n=3600;// rpm
// Calculation
omega=(2*%pi*n)/60;// s^-1
T=(%pi*mu*omega*(L/100)*(D/100)^3)/(4*... |
936c2ede6548b9aa78abaa6860afcd6c9a7b60da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.1/Ex10_1.sce | 0ef4af32473cac34d07edb9627e4e39a15318d6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_1.sce | clear
//Given
F=0.8*10**-3*9.8 //N
d=0.1 //m
u=10**-7
//Calculation
//
m=sqrt(F*d**2/(u*5))
m1=5*m
//Result
printf("\n Strength of pole M1 is %0.2f Am",m)
printf("\n Strength of pole M2 is %0.1f Am",m1)
|
81fb4bc9282fdb39cd079495ce35360ce7780dcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.28/3_28.sce | d57b63253efcf7b62d04b26689be198ea37a0563 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | 3_28.sce | //Network Theorem 1
//page no-3.33
//example3.28
//calculation of Isc (short-circuit current)
disp("Applying KVL to mesh 1:");
disp("90*I1-60*I2=120");....//equation 1
disp("Applying KVL to mesh 2:");
disp("-60*I1+100*I2-30*I3=40");....//equation 2
disp("Applying KVL to mesh 3:");
disp("30*I2-30*I3=-10");....... |
d4d6d9084f09e9b4afe0bd9838893865ec77343f | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/detectCheckerboardPoints.sci | 9d747da15a89f78d6d637652709e9df87ca9d044 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 3,457 | sci | detectCheckerboardPoints.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_... |
282e64e050c0b3904ec9fd556bae17864782db7a | 14b30ff5ef57588ecd4f45401bb9086e3888e8e1 | /linearizing.sce | a77035e32069fe4150fe2e6ad6c523e39768f387 | [] | no_license | Ivanobrc/L_P_I | d2fb06c0816bbb74d498733a272eca572d93c502 | dff17b6c142e8f2fa58d0e07334042d1db4c1330 | refs/heads/master | 2022-11-17T17:21:37.458719 | 2020-07-13T03:11:31 | 2020-07-13T03:11:31 | 279,197,157 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | linearizing.sce | // linearizing.sce
// Pasos antes
// 1. Abra edsonj.m y ejecútelo desde el editor "Ejecutar> archivo con eco".
// 2. Abra edsonjXcosLincos.zcos ejecute la simulación usando el botón "star".
// 3. Luego ejecuta este archivo
// Busca el SUPERBLOQUE en Xcos
for i=1:length(scs_m.objs)
if typeof(scs_m.objs(i))=="Block"... |
ef815cd14d50947e9e7d5a6020a67c699903a88d | f26729da8f4278193be7d8f15e38bad1e43c0376 | /mqsc.tst | 14cb0c35926a600f30bef77ad617875fb1918d7a | [] | no_license | shaktixcool/MQ-study-notes | 09325eaa468f6aadfc5af2e3d6ff0ca6a31f11ec | bb75cdbd861b267dcd5011d057a7b31dc819cb08 | refs/heads/master | 2020-03-25T19:34:21.805882 | 2016-12-04T15:30:44 | 2016-12-04T15:30:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | tst | mqsc.tst | define channel (c_qm1.qm2) +
chltype (sdr) +
trptype (tcp) +
conname ('192.168.189.128 (1416)') +
xmitq (qm2) +
replace
define channel (c_qm2.qm1) +
chltype (rcvr) +
trptype (tcp) +
replace
define qlocal (qm2) +
usage (xmitq) +
replace
define channel (c_qm1.qm2) +
chltype (rcvr) +
trpt... |
46d28588f5bd2e02f0d8c5aa7cdae0769c9392f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3129/CH16/EX16.8/Ex16_8.sce | 695babec57e5f66a7467d2db4d2f1d96651cbd54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,034 | sce | Ex16_8.sce | //Finding the Performance Parameters of a Cylindrical rotor Synchronous motor
//Example 16.8(Page No- 741)
clc
clear
//given data
PF = 1;
theta_m = 0;// since cos(theta)=1
Vl = 460;//V
Va = Vl/sqrt(3);
Vb = Va;
Vs = Va;
p = 6;
f = 60;//Hz
w = 2*%pi*f;//rad/s
w_s = 2*(w/p);
w_b = w_s;
w_m = w_s;
d = Vb/... |
803470492a337d03014f11ecf208d38300778c7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH6/EX6.18/6_18.sce | 873b78832b2b80f2ee5c980bc18fe6e60eb71a94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_18.sce | //ques-6.18
//Calculating enthalpy change and free energy change and entropy change for the given cell
clc
E1=0.6753;//emf at 298 K
E2=0.6915;//emf at 273 K
n=2;//electrons involved
T=298;//temperature (in K)
z=(E1-E2)/T;//change in emf w.r.t temperature
H=n*96500*(-E1+T*z);
G=-n*96500*E1;
S=(H-G)/T;
printf(... |
5281106102f3a458d5eb4f8d015e55b9404a899b | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH1/EX3/1_3.sce | 2436850b5dce3b155c01d8d722445dce315cfd3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | 1_3.sce | clc;
clear;
exec ("C:\Program Files\scilab-5.3.0\bin\TCP\1.3data.sci");
//the air density d=P/(RT)
//1ft^2=144 inches^2
d=((p+atmp)*144)/((1716)*(T+460));
disp(d)
//slugs/ft^3
//weight of air
W=d*32.2*V;
//1lb=1 slug.ft/sq sec
disp("lb",W,"W=")
//taking various values of p a graph is plotted between W and p... |
c094fc4a874b6c5adc59a6db9d911be83dff0fc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH14/EX14.19/Example14_19.sce | 61aea32246a73cfa1510d33a86f1981c546152dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | Example14_19.sce | close();
clear;
clc;
//frequency of induction motor 'f', number of poles 'p', speed of motor 'n'
n = 3510; //rpm
f = 60; //Hz
p = 2;
//(a)
//synchronous speed 'ns'
ns = 120*f/p; //rpm
mprintf("(a) The synchronous speed, ns = %d rpm\n\n",ns);
//(b)
//percent slip 's'
s = (ns-n)/ns;
mprintf("(b) The perce... |
01a46ccf684566d5f1bd0f476d90f61712bcd6ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH5/EX5.3/Ex5_3.sce | c8fefe9bfb94f44bab6f61b8243e81fe3e545168 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | Ex5_3.sce | clc;clear;
//Example 5.3
//given data
P=150;
Vliquid=0.6/1000;//im m^3
t=40*60;//in sec
Ac=8*10^-6;
//from Table A-5
//from P = 150 kPa
h=2693.1;
ug=2519.2;
vf=0.001053;
vg=1.1594;
//calculations
m=Vliquid/vf;
md=m/t;
disp(md,'mass flow rate in kg/s');
V=md*vg/(Ac);
disp(V,'exit velocity in m/s'... |
23e231d024e21ddbe34db0f73d6e60a32f4b1193 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH29/EX29.1/Ex29_1.sce | 2966ef6ddafd80ff4bf1d3e105aaa9f50fa3267c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | Ex29_1.sce | clc;
//e.g 29.1
R=20*10**3;
C=100*10**-12;
f=1/(1.38*R*C);
disp('kHZ',f*10**-3,"f=");
|
bb12e477b83b5ce240e9afd9de27ee9c0ab001b7 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testgrayplothandle.sce | 08979f92d405d7edb3bfc340d92dbee7cf7813b0 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | testgrayplothandle.sce | exec('testgrayplot.sce',-1) //to delete
F=gcf();
F.children.title.text
// Sgrayplot handle
F.children.children(1).children.type
// grayplot handle
F.children.children(2).type
|
94e7e3c8bde977d6dec4e1b8728b333c137a90f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH1/EX1.3/1_3.sce | ee30ead5fede2e2e28317cf81adff03f95e7625a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | 1_3.sce | clear;
clc;
printf("\t\t\tExample Number 1.3\n\n\n");
// multimode heat transfer
// illustration1.3
// solution
Qconv = 2156;// [W] from previous problem
Qrad = 300;// [W] given
dx = 0.02;// [m] plate thicknesss
l = 0.75;// [m] length of plate
w = 0.5;// [m] width of plate
k = 43;//[W/m] from table 1.1
a... |
aa34fd5be74dbebfd37af3734c0df8ed32f1a2e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH31/EX31.8/31_8.sce | 4ff882281631548690963440aca2c9c3b6c41a67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | 31_8.sce | clear//
//Variables
C1 = 0.001 * 10**-6 //Capacitance (in Farad)
C2 = 0.01 * 10**-6 //Capacitance (in Farad)
L = 5.0 * 10**-6 //Inductance (in Henry)
//Calculation
Av = C2 / C1 //Voltag... |
54206a9b7b916515787e99104e6b62276a400da6 | 1a4e5a346a90668d59b27c30165808da6847ad5e | /bomberpersuit.txt | c99b67570b275edab5cb9436845dc3b22eebc3ae | [] | no_license | Abhishekgupta299/simulation-and-modeling | 1bde7b5b4692bace25b5906dd58a557287f48156 | 29523977a1a7baec012999e3311e338db49d39f4 | refs/heads/master | 2022-07-22T12:08:03.495362 | 2020-05-21T17:14:45 | 2020-05-21T17:14:45 | 261,087,469 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,157 | txt | bomberpersuit.txt | //Parameters definitinos
xb=[80;90;99;108;116;125;133;141;151; 160;169;179;180] //x position array of bomber
yb=[0;-2;-5;-9;-15;-18;-23;-29;-28;-25;-21;-20;-17] //y position array of bomber
xf=0 //initial x position of fighter plane
yf=50 // iniitial y positino of fighter plane
V=20 //velocity of the fighe... |
23697e8a91aff1d2c60624be9ca27b9c4fed5aa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH3/EX3.8.a/ex_8_a.sce | 8b1bc7e3599932c2717adb9940c23cec68c57b9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_8_a.sce | //example(pg no.111)
//a,b & f are the modulus coeff of x^0,x^1,x^5
c=[-6.8 10.8 -10.8 7.4 -3.7 1]
a=6.8;
b=10.8;
f=1;
n=5
p5=poly(c,'x','coeff')
p=n*a/b
q=a/f^(1/n)
roots(p4)
xset('window',0);
x=-2:.01:2.5; // defining the ... |
fe705b50790120406c62bb921b57399465638af5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH16/EX16.6/Ex16_6.sce | e945683924e7d95a61cc9f9fa681482aa0b578fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | Ex16_6.sce | clc;
close();
clear();
//page no 523
//prob no. 16.6
Pr=200; //in f-Watts
GtdB=30; //dB
GrdB=20; //dB
d=40000; //kilo-metre
f=4; //frequency in GHz
PrdBf=10*log10(Pr); //in dBf conversion
mprintf('Pr(dBf)=%.2f dBf\n',PrdBf)
alfa1_dB=20*log10(f)+20*log10(d)+92.44; //path loss in dB
mprintf(' The p... |
4963101708be66075e31960528eab91165ff4440 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/misc/bb_bode.sci | 6ab49cf746ea89081a3a75a4568c400623b21921 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,711 | sci | bb_bode.sci | function []=bb_bode(sl,fmin,fmax,pas,comments)
//!
// Copyright INRIA
// Modified by Roberto Bucher to obtain frequencies in rad/s
[lhs,rhs]=argn(0);
dom='c';
//xset('default');
//---------------------
nyq_frq=[];l10=log(10);
pas_def='auto' // default
ilf=0
typ=type(sl)
//-compat next line added for list/tlist compa... |
8081e503d73311efbac4de7764c72ccaaa181ab9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/arhnk.man.tst | e5c643ff7cc3405906fa0107c5d72f8a58e110c9 | [
"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 | 171 | tst | arhnk.man.tst | clear;lines(0);
A=diag([-1,-2,-3,-4,-5]);B=rand(5,1);C=rand(1,5);
sl=syslin('c',A,B,C);
slapprox=arhnk(sl,2);
[nk,W]=hankelsv(sl);nk
[nkred,Wred]=hankelsv(slapprox);nkred
|
87c5ca1b28a44e46f211ff0c8a4e3b3bf129efe3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH5/EX5.6/Ex5_6.sce | 1c9435de4f2dadceea86537e54d4de81a9526e8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Ex5_6.sce | clc;clear;
//Example 5.6
//given data
T1=280;
P1=100;
m=0.02;
qout=16;
P2=600;
T2=400;
//from Table A-17
h1=280.13;
h2=400.98;
//calculations
// Ein - Eout = dEsystem / dt
Win=m*qout+m*(h2-h1);
disp(Win,'the input power of compressor in kW')
|
ea1e6c150466020d43678c00762dce0143c49a68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH5/EX5.15/5_15.sce | e85558aad353aefc41e9830b49f6b13c412119fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_15.sce | //Chapter 5, Problem 15
clc
n1=160 //no of turn
n2=40 //no of turns
n3=8 //no of turns
n4=150 //no of turns
n5=50 //no of turns
rl=2000 ... |
d91832ba245cfa66a64db05d816279638c85d1b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH12/EX12.2/example12_2.sce | 6ed09195e2027eb02ec0f75d204d877b51fdfc0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | example12_2.sce |
//example 12.2
//page 443
clc; funcprot(0);
//initialisation of variable
Q=0.4;
pi=3.14;
u2=31.4;//velocity
Gamma=9.81;//unit weight
g=9.81;
omega=2*pi*1500/60;//radial velocity
r2=0.2//m
b2=0.03//m
//part1
V2r=Q/2/pi/r2/b2;//radial velocity
V2t=u2-V2r*0.577;
v2=V2r/0.866;//speed
V2=sqroot(V2r^2+V2t^2... |
29de50029e11dfb72ca6d7467d02dcca789869a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH9/EX9.3/Ex9_3.sce | 34a7e72d79e63b8be46d9535cf62a55d778281de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,031 | sce | Ex9_3.sce |
Vl=400//line voltage across alternator and motor
Vph=Vl//as the motor is delta connected
Pout=112D+3//output of motor
e=.88//efficiency of motor
Pin=Pout/e//input to motor
pf=.86
phi=acos(pf)
Il=Pin/(sqrt(3)*Vl*pf)
Iph=Il/sqrt(3)
mprintf("Current in each motor phase, Iph=%f A\n", Iph)
//alternator is star c... |
80eb2d543196abc75ae81b10ca1639dc6ef730c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH3/EX3.3.1/ex_3_3_1.sce | 3dd6dd0e95898d8c84f31cad1d2a50ba2d2c55bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 897 | sce | ex_3_3_1.sce | // Example 3.3.1: form factor,ripple factor ,transformation utilization factor and peak inverse voltage
clc;
clear;
close;
Vm=1;//assume
R=1;//assume
t=%pi/3:%pi;
Vldc= ((Vm/(2*%pi))*intsplin(t,sin(t)));//
Vlms=sqrt((Vm^2/(2*%pi))*intsplin(t,(sin(t))^2));//
ff=Vlms/Vldc;
disp("part (a)")
disp("form factor is "+string(f... |
354540efe2f54566d082fcb2f474d37abc5ac83d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH28/EX28.2/example_28_2.sce | 279f5042fdcf889ad3f7ae113aa4946afa800167 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | example_28_2.sce | clear;
clc;
disp("--------------Example 28.2---------------")
tag="00000100"; // OCTET STRING tag
Length="00000010"; // 2 bytes
octet_string="HI";
H_value="01001000"; // 48
I_value="01001001"; // 49
H_value_dec=48; // value in decimal
I_value_dec=49; // value in decimal
tag_dec=bin2dec(tag); // tag's decimal... |
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)
... |
6990bbe6ccef23388a93fccf73db6e3e8e770387 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/voltage_measurement_gui.sce | 80873d43a6fac01e5935fc36dbd74186159d819a | [] | 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 | 13,577 | sce | voltage_measurement_gui.sce | global file_name chip_num board_num;
global RAMP_ADC_check sftreg_check Signal_DAC_check GPIO_IN_check MITE_ADC_check;
global dac_array dac_array_map gpin_array gpin_array_map number_samples period;
//get filename, path and extension
[path,fname,extension] = fileparts(file_name);
hid_dir = path + '.' + fname;
select... |
bd7d39ab047c7ee3f50b16415ccdd04ae1ff8c44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.10/10.sce | 149b5536f7d21a873c80438b1a0719b09437f70f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | 10.sce | clc
clear
//Input data
SG_oil=0.8 //Specific gravity of crude oil
K_oil=153036*10^4 //Bulk modulus of Oil in N/m^2
K_hg=2648700*10^4 //Bulk modulus of Mercury in N/m^2
d_steel=7860 //Density of steel in kg/m^3
E_steel=200*10^9 //Modulus of elasticity in Pa
d_hg=13600 //Density of mercury in kg/m^3
d_water=1... |
ec5610f4969da974299cb7b4f7578d9a24944a73 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_VecFunc/cummulativeSum.sce | 3b8b8089aa4c539579358734e9edc9245bc0281c | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | cummulativeSum.sce | // Function Name: cummulativeSum
// Calculate the cummulativeSum for given array
// Calculating the cummulativeSum.
inputvec1 = [1, 2, 3];
result = armaVec("cummulativeSum",inputvec1)
|
e229b2fd95626aa734da75498b4a4c199854ba24 | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH2/EX2.9/Ex2_9.sce | 27d15929ef306022d9b168b7dc517d1ce215c208 | [] | 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 | 406 | sce | Ex2_9.sce | //Example 2 . 9
//Zt r a n s f o rm o f x1=[ 1 0 3 - 2 ]
clc ;
function [za ]= ztransfer ( sequence ,n)
z= poly (0,'z','r')
za= sequence *(1/ z)^n
endfunction
x1 =[1 0 3 -1 2];
n =0: length (x1) -1;
z1= ztransfer (x1 ,n);
// Di s pl a y the r e s u l t i n command window
disp (z1 ,"Zt r a n s f o rm o f s ... |
34c46e065bc41c496db7fcb187abf37f7186685c | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH1/EX1.8/1_8.sce | 9627caa6be9b5dd1c1afe4525b829c5e6013d10a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 888 | sce | 1_8.sce | r1=0.53*10^-8;//Bohr radius in cm//
r2=4*r1;//Bohr radius in second state in cm//
printf('Bohr radius in second state=r2=2.12*10^-8cm');
h=6.625*10^-27;//plank's constant//
m=9.11*10^-28;//electron mass in grams//
v2=h/(%pi*m*r2);//electron velocity in second state in cm per sec//
printf('\nElectron velocity in s... |
2cd9a4d1fa5cffe5e5697deeabaddf48966a90d1 | 280a6ba512debfe9018f27b12c6777807f321b28 | /Algoritmo_LU com Pivotamento e calculo de X.sce | 85b9512fa113d151e78550960b1ee0f24ab2a282 | [] | no_license | remullo/Computational-Mathematical-Modeling-Projects-for-Scientific-Approaches | 326381bbbeb4933ccb3ad2e9455a894018130393 | f902df127645a158c9f4bdc37a59652e0e71a845 | refs/heads/master | 2023-04-12T08:08:32.288263 | 2021-07-26T22:22:06 | 2021-07-26T22:22:06 | 54,357,173 | 2 | 0 | null | 2021-07-26T22:22:07 | 2016-03-21T03:29:15 | Scilab | UTF-8 | Scilab | false | false | 2,283 | sce | Algoritmo_LU com Pivotamento e calculo de X.sce |
function [L, U, P, y, x] = LU(A, b)
[linhas colunas] = size(A);
U = A;
L = zeros(linhas, colunas);
P = eye(linhas, colunas);
for j = 1:colunas
pivo = U(j,j);
//Pivotamento Parcial
maiorLinha = j;
for i = (j+1):linhas
//Procurar o maior elemento... |
8f2c6c8baf6ed69664d48c214c7603648c371776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH17/EX17.12/Ex17_12.sce | dc2bba6a6702b881d4a6ad86c538679646e1c6c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex17_12.sce | //Example 17_12
clc();
clear;
//To find I1, I2 and I3 in the circuit
v1=40 //Units in V
r1=10 //Units in Ohms
r2=30 //Units in Ohms
v2=60 //Units in V
r3=15 //Units in Ohms
v3=50 //Units in V
i1=((-v1*r2)+(-r3*v1)+(60*r3)+(v3*r2))/((r1*r2)+(r2*r3)+(r3*r1)) //Units in... |
c6ac2475712f26471973334070e5c101be41da0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH9/EX9.12/example9_12.sce | 9823e98c24c8092f0bae61b7b5b4fc2704722272 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | example9_12.sce | //clc()
//F = feed(wet solid), V1 = water evaporated(drier), V2 = water evaporated(oven), S1 = Dry solid(drier), S2 = Dry solid(oven)
F = 1000;//kg
xf = 0.8;
x1 = 0.15;
x2 = 0.02;
//moisture free solid balance for drier, F * ( 1 - xf) = S1 * ( 1 - x1 )
S1 = F * ( 1 - xf )/(1 - x1);
//total balance for drier , F... |
439a1b9cbc4eaf13f478fff0cdde29b9fb6a0214 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH12/EX12.5/Example_12_5.sci | 5e4286772d236948592c44f44f0567dabf335368 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,190 | sci | Example_12_5.sci | clear;
clc;
printf("\n Example 12.5");
y1 = 0.10;
Y1 = 0.10/(1-0.10);
y2 = 0.001;
Y2 = y2;
mass_flowrate_gas = 0.95; //mass flow rate in kg/m^2.sec
mass_percent_air = (0.9*29/(0.1*17+0.9*29))*100;
mass_flowrate_air = (mass_percent_air*mass_flowrate_gas);//in kg/m^2.sec
Gm = (mass_flowrate_air/29);
Lm =... |
7bd8ac3f0c03d6e878eed0d4cbe8c4d3ab4d3c24 | cab1992a709a3eb977bef46f17eadab0c7bbbc5f | /modeling_simulation/ilc_example.sce | cbee6b9a091ff3fdb1d3eefc94152b5b90029ebc | [] | no_license | andreinakagawa/neuroscience | 80ab70cfc2c7df7d7891373cc9c889b4b8f83dd6 | 681125f0e1248269665749ed8bf17d5cfe6c2fda | refs/heads/master | 2021-06-07T09:37:51.810764 | 2017-10-05T11:32:03 | 2017-10-05T11:32:03 | 15,914,740 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | sce | ilc_example.sce | function [A] = matA(tt)
A = [0 1; -(2+5*tt) -(3+2*tt)];
endfunction
t0=0;
tf=1;
dt=0.01;
t=t0:dt:tf;
x0 = [0;0];
xint = [x0];
ref = [];
ek = [];
A = [0 1; -1 -2];
B = [0;1];
C = [0 1];
u = 1;
Q = 1;
R = 0.1;
F = 0.00744;
//------------------------------------------------------------------------------
//calculating... |
5f00a5c7a1f64494b40312bf0e41ef63e82e1269 | 0c5d5d2faf2e20464f1d35715b838f50a335ddf5 | /tests/getset.tst | 37c5bfa236697c61f39cc18da7764b0ada5b34d2 | [] | no_license | lmartel-school/cs244b-lab1 | cb0ed7fed5ab53c7673b7ae18cfb99e9f4c23a55 | f855aa381796cd82c40b0863e39eb41bff5ec820 | refs/heads/master | 2021-01-04T22:33:18.154316 | 2014-10-19T21:36:41 | 2014-10-19T21:36:41 | 25,385,346 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | tst | getset.tst | get BADKEY
set BADKEY 123
create /test 123
get /test
set /test foo
get /test
get /missing_key
set /missing_key bar
|
d6ebf4f8518be611932d7cbee1e9fea7fc377732 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH21/EX21.3/VBELT_3.sce | a90360213c40d2f62108abc75b2584c1d13e552e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 926 | sce | VBELT_3.sce | // sum 21-3
clc;
clear;
C=1;
m=0.35;
d=0.25;
P=22*10^3;
//Let the smaller pulley dia be n
//Let the larger pulley dia be N
n=1000;
N=400;
D=d*n/N;
v=2*%pi*n*d/(60*2);
Tc=m*v^2;
topwidth=22;
h=14;
bottomwidth=topwidth-(2*h*tand(20));
A=(topwidth+bottomwidth)/2*h;
//let allowable tension be Ta
Ta=2.2;
... |
6fb55fe748534e38d0b10bee39f7b14c3bbe28af | 935d5880888b1ef01c8dddaf85af2be07d7940e2 | /AdaptiveSwarmRobotsSimulation-ASRS/stages/StageBasicBig.sce | c7d1e31a4624d76a3730f07869819fef108f62cd | [] | no_license | google-code/asrs | c3b35545bce8ae38c8184de002e93e18a67461ee | c9a828a4eb2fbf076116f3c51c44da45a60f9feb | refs/heads/master | 2016-08-05T13:33:11.103066 | 2015-03-15T15:18:57 | 2015-03-15T15:18:57 | 32,267,209 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | StageBasicBig.sce | _________________________
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ... |
d02baf03c4e0dfa41dd8a612edbd12a6a68d8747 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH6/EX6.33/EX6_33.sce | e921bbf5cb08cd00d762bd88e3c725c6d76e1898 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | EX6_33.sce | // Example 6.33
// Calculation of a)load resistance and b)bandwidth
// Page no 495
clc;
clear;
close;
//Given data
Cd=5*10^-12 // Capacitance of pin photodiode
B=10*10^6; // Bandwidth
Ca=10*10^-12; // Input capacitance
// a)Load resi... |
820e84c20545a2bdb84e3279fe2dca2fbe3bf2c1 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_getAssignment4.tst | 5c0db4eca12f3ed80b95f992bffb0b6cbe752bfe | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 130 | tst | err_getAssignment4.tst | ; get-assignment after unsat
(set-option :produce-assignments true)
(set-logic QF_UF)
(assert false)
(check-sat)
(get-assignment)
|
5389cf44b6e3f31d5ccb080e3f408c899a02dbb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH11/EX11.7/Ex11_7.sce | f933f32cd63457308bb95d991e9d87bf2d322951 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,065 | sce | Ex11_7.sce | clear
//Given
//
L = 15 //ft - The length of the each rod
p = 200 //kips The concentric load applied
r_min = 2.10 //in - The radius of gyration
stress_yp = 50 //ksi - the yielding point stress
E ... |
875bfea08107dccfaf2938796ca46db0eea492ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH2/EX2.3.1/2_3_1.sce | 9a12fcef5880d8597a5a81a8deb9ea2848301f31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 2_3_1.sce | clc
//this program is used to convert lb.ft/min^2 to kg.cm/s^2
pathname=get_absolute_file_path('2_3_1.sce')
filename=pathname+filesep()+'231.sci'
exec(filename)
Final=Initial*0.453593*100/(3.281*60*60)
//the calculations involved are conversion factors
disp("final=")
disp(Final); disp("kg.cm/s^2") |
54782584136e7c4bd394808bfefd9ab2f9f29cb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH16/EX16.10/16_10.sce | cc9562ba1a00a6d8936f3de032377b94db8c5151 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 765 | sce | 16_10.sce | //Problem 16.10: A coil of inductance 100 mH and resistance 800 ohm is connected in parallel with a variable capacitor across a 12 V, 5 kHz supply. Determine for the condition when the supply current is a minimum: (a) the capacitance of the capacitor, (b) the dynamic resistance, (c) the supply current, and (d) the Q-fa... |
e48fd6ddb9277ad2f0c6d450f3ba270fdb536721 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.16/Example_9_16.sce | 8dbc04a3586797841a34fa191becec0791276d86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sce | Example_9_16.sce | clc;
clear;
printf("\n Example 9.16\n");
printf("\n (a)")
//Using the nomenclature in Figure 9.40 iii;
X=4;//width of horizontal plate and length vertical plate
Y=6;//length of horizontal plate
Z=3;//height of verical plate
W=Y/X;
H=Z/X;
A1=Z*X;//Area of plate 1
A2=X*Y;//Area of plate 2
F12=0.12;
print... |
4c366bb6516fdc828bc543470465a926901c4c2e | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH4/EX4.10/ex_4_10.sce | c1c5e84061d65e77a36602f2d26a5dcadb8d9100 | [] | 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 | 756 | sce | ex_4_10.sce | //calculate 1.)yield stress 2.)ultimate tensile stress 3.) percentage reduction in area 4.) percentage elongation
clc
//solution
//given
D=12//mm//initial diameter
l=60//mm//initial length
L=80//mm//final length
d=7//mm//final diameter
Wy=3400//N//yield load
Wu=6100//N//ultimate load
pi=3.14
A=pi*D^2/4//mm^2... |
2e3600ed35d260becc11b17974eeee0641e0f0de | 3655c97e8146a7ca97eaf60c4eb20ced2238eacb | /scilab/Eight Queens/fitnessFunction.sci | 7695e8200768700d1376d09eb388b9efb1eef2d6 | [] | no_license | edielsonpf/genetic-algorithm | 99ae112982b6fee77ecfc55cbd10172b381e1dde | 94c599a23fa3b2f477c7a5062f65248a93cc395a | refs/heads/master | 2020-04-05T22:02:45.016605 | 2018-12-24T14:36:40 | 2018-12-24T14:36:40 | 32,630,334 | 0 | 1 | null | 2019-03-25T12:23:16 | 2015-03-21T11:45:11 | Python | UTF-8 | Scilab | false | false | 1,335 | sci | fitnessFunction.sci | function fitnessPop = fitnessFunction(populacao)
[lines rows popSize] = size(populacao);
fitnessPop=[];
//para cada individuo da população verifica-se o fitness
for i=1:popSize;
//começa no primeiro elemento de cada individuo
fitness=0;
for j=1:rows-1
/... |
103a3f23b514604e21be2e1b6900ffa0a5984725 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH3/EX3.5/example3_5.sce | f9a4d12013017a1762288a053a3d0b19de352d0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | example3_5.sce |
//example 3.5
//page 127
clc; funcprot(0);
// Initialization of Variable
x=2;
y=4;
pi=3.14;
u=4*x;//velocity x
v=-4*y;//velocity y
V=sqroot(u^2+v^2);
theta=180/pi*atan(v/u);
disp(V,"velocity at (2,4)is (m/s)=");
disp(theta,"angle of the velocity with X axis(degrees)=");
clear
|
7e34e1cdf81a6bb21d9206e1a7acbe95cb12a116 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3517/CH1/EX1.5/Ex1_5.sce | 4269d0841063fbff3ccba49350ab0bed0ac4a5cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Ex1_5.sce | //Caption:Determine (a)Minimum upper cut frequency (b)Minimum pulse width and duty cycle
//Ex1.5
clc;
clear;
close;
prf=1.5//in Khz
dc=3//Duty cycle(in %)
pa=1.5//Amplitude of pulse(in Khz)
fu=1//High frequency limit(in Mhz)
tr=10//Rise time(in %)
pw=(dc/100)*10^3/pa
Tr=(tr/100)*pw
fh=0.35*10^6/Tr
disp(fh,... |
14b0c3cdb2f4a7bac78c9ffd31753c7c0d6c5d1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH5/EX5.6/Ex5_6.sce | c674b18bce88318a5d3bdf85e08e719111e319fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Ex5_6.sce | clc;
clear;
lambda=5000*10^-8 //wavelength in cm
N=15000 //lines per inch
k=3
e=1/4000 //in cm
//calculation
sin_theta = (k*lambda)/e //in radian
cos_theta = sqrt(1-sin_theta^2) // in radian
disspersive_power = k/(e*cos_theta)
printf("Dispersive power of the grating in third order spectrum = %d",disspers... |
6aa5bcbb35faf9d8482ae16b1f880bf15663902f | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH3/EX3.14/ex_14.sce | 65309f0b0ce6ce47f871af8ae96924877dee3e00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | ex_14.sce | // Chapter 3_The Semiconductor in Equilibrium
//Caption_Position of Fermi Energy level
//Ex_14//page 121
T=300 //temperature in kelvin
kT=0.0259
ni=1.5*(10^10) //intrinsic carrier concentration
Efa=3*kT //Ef-Ea=3kT
Eav=0.045
Efif=Eg/2-(Eav)-(Efa) //The position of fermi level at the maximum doping
Na=... |
c3ca874578eb479aba8b37ae5f5f4e749f76a6ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH10/EX10.10/10_10.sce | b7313da96b37d5c0f464e6f5eca6fadd8ddbc49e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | 10_10.sce | //Eg-10.10
//pg-449
clear
clc
x = [1 2 4];
y = [5 8.6 3.1];
//Refer to pg-448 for these conditions
//condition 1 gives
// 4a1 + 2b1 + c1 = 8.6
//condition 2 gives
// 16a1 + 4b1+c1 = 3.1
//condition 3 gives
// 4a0 + b0 = 4a1 + b1
//condition 4 gives
// a0 = 0
A = [2 1 0 0 0;0 0 4 2 1;1... |
371379a9a3076e49f4f9e78afb3997a298165f76 | 95a097a2fe8699932e1301c6d095bc4127c62da8 | /00/Mux8Way16.tst | 5259dc87a1bd6fe7e9f54fc8432c07b6a5a32222 | [] | no_license | itzhak-razi/From-Nand-to-Tetris | f508703b6cdb7a4841b2fae6849382c80a731c3f | 4b11c4fe802dbea1c863b03ca71fd5891e39e45b | refs/heads/master | 2021-06-01T11:09:02.084364 | 2012-11-23T01:12:45 | 2012-11-23T01:12:45 | 7,025,062 | 36 | 38 | null | null | null | null | UTF-8 | Scilab | false | false | 1,079 | tst | Mux8Way16.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.nand2tetris.org
// File name: projects/00/Mux8Way16.tst
load Mux8Way16.hdl,
output-file Mux8Way16.out,
compare-to Mux8Way16.cmp,
output-list a%X1.4.1 b%X1.4.1... |
d63a4796f584aae904aa7a17af617a346875f7d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH5/EX5.3/Example5_3.sce | d49ee447f5ac56429a023878b7d2691f4fc9cc4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | Example5_3.sce | //Example 5.3
clear;
clc;
T0=25;
IBT0=1*10^(-12);
T=100;
IBT=IBT0*2^((T-T0)/10);
printf("IB(100degC)=%.2f nA",IBT*10^9); |
1174b92dd99e2fb9d317a60b080fb8306f563aa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.27/Ch02Ex27.sci | 526b9846d15824267322709cd577f81fb63f6d6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sci | Ch02Ex27.sci | // Scilab Code Ex2.27 Ionization energy of hydrogen atom with orbiting muon: Pg:63 (2008)
m = 9.1e-031; // Mass of the electron, kg
e = 1.6e-019; // Charge on an electron, coulomb
h = 6.624e-034; // Planck's Constant, Js
epsilon_0 = 8.85e-012; // Absolute electrical permittivity of free space, coulomb s... |
09b74d59f573b4fc9ee57af670d72578d180b14b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH13/EX13.6/Ex13_6.sce | 8c90acc2cf1d4ed85b35e6cfd31fcb6a22f3fa41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | Ex13_6.sce | //Chapter 13 example 6
//------------------------------------------------------------------------------
clc;
clear;
// Given data
UF_sh = 0.01; // unavail. factor for single hop
IF_SD = 100; // improvement factor due to space diversity
// Calculations
UF_4hl = 4* UF_sh/100; // unavail. facto... |
66c548acd8c5d1564b38d3cb77f225328a2a8429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH4/EX4.3/Example_4_3.sce | 7ed7fcbe63d86daf8bcd2413b98448ea9dc51bf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,036 | sce | Example_4_3.sce | //clear//
clear;
clc;
//Example 4.3
rho = 998; // [kg/m^3]
Da = 50; //[mm]
Db = 20; //[mm]
pa = 100; //[N/m^2]
//(a)
Va_bar = 1.0; //[m/s]
Vb_bar = Va_bar*(Da/Db)^2 //[m/s]
//Using Eq.(4.29)
//Za = Zb, hf = 0
pb = pa-rho*(Vb_bar^2-Va_bar^2)/(2*1000) //[kN/m^2]
disp('kN/m^2',pb,'pb =')
//(b)
// ... |
c69fbe2fd86586844c4ed5e877e7d52efece534b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH8/EX8.9/Ex8_9.sce | 434d28df11e0a78f54c5cceeb750cbb4ee2aa863 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | sce | Ex8_9.sce | clc
//to calculate wavelength
d=1.87*10^-10 //spacing in angstrom
n=2
//formula is lambda=2*d*sintheta/n
lambda=2*d*sin(%pi/6)/n
disp("the waelength of X-rays is lambda="+string(lambda)+"m")
|
fb9e2b0eb732887f0d581638093efe7b2b320cbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH2/EX2.3.6/2_3_6.sci | 577c595fa9c0ee5979f0940db71123068326fc32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sci | 2_3_6.sci | //page 93
clear;
close;
clc;
disp('The vectors w1=(1,0,0),w2=(0,1,0),w3=(-2,0,0) span a plane (x-y plane) in R3. The first two vectors also span this plane, whereas w1 and w3 span only a line.');
//end |
750fc04750b22fb5cb2f95f58d60ecdfd203e129 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/enbw/enbw10.sce | 5079a00581d5f09c6eb190b36d4f546fd1ef64ce | [] | 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 | 307 | sce | enbw10.sce | //check o/p when i/p arg fs has imaginary value
win=[-1 -2 -3 -4 -6 -7];
en=enbw(win,44.1e3*%i);
disp(en);
////output
//!--error 144
//Undefined operation for the given operands.
//check or define function %s_3_s for overloading.
//at line 38 of function enbw called by :
//en=enbw(win,44.1e3*%i);
|
5a3506e210412b72a26738d030b230e600d25cfc | af86eb5dd11a276a153a618491fd2a0af057d237 | /Communication Engineering - Scilab/AM using RC low pass filter.sce | 3a07abc371750cf34c6a0face26bcb3328bab6bd | [] | no_license | gsiddhad/Mathematics | c2b2b78536e0769ea65791128b12aceea3c6f720 | 4bf16c674d84d1498b874c0f3b3d4b31785aae47 | refs/heads/master | 2023-03-06T02:52:46.933057 | 2021-02-20T11:17:58 | 2021-02-20T11:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,998 | sce | AM using RC low pass filter.sce | Fc = 20; // carrier frequency of 20 kHz
Fs = 160; // sampling rate of 160 samples per ms
Fm = 0.4; // modulating frequency of 0.4 kHz
t = 0:1/Fs:10; // t of 10 seconds
pi = 3.1416;
c = cos(2*pi*Fc*t); // carrier signal
m = c... |
e5d5b1b73d7335f270cc3f50023cf91fec84479a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.46/example5_46.sce | 600b5b3e986346c753a99ef9862618f56b51d99a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | example5_46.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.46
// Page 300
printf("Example 5.46, Page 300 \n \n");
// solution
// using chart 5.16 we get
T = 329.5 // K
printf(" T = "+string(T)+" K.")
|
4c4d8a46d65b7e7322cf79176004bd9aa299dfdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH8/EX8.11/8_11.sce | b994b8440897df42e2de1154d2915e2b428c4cc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,066 | sce | 8_11.sce | //To find velocity and acceleration
clc
//Given:
NAO=150 //rpm
OA=150/1000,AB=550/1000,AC=450/1000,DC=500/1000,BE=350/1000 //m
//Solution:
//Refer Fig. 8.23
//Calculating the angular speed of the crank AO
omegaAO=2*%pi*NAO/60 //rad/s
//Calculating the linear velocity of A with respect to O
vAO=omegaAO*OA //m/... |
dd49ea7ea01da0470f03b167de2e028ff7863206 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testmatrix.sce | 0db7293618b533667fb238fad3faac4bd94b9c67 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | testmatrix.sce | A=[1 2 3; 4 5 6; 7 8 9] // matrix 3 lines and 3 columns
typeof(A) // same type as real numbers
size(A) // size of A
B=[10,11,12;15 14 13] // matrix with 2 rows and 3 columns
size(B) // size of B
// enter over multiple lines
[1 2 3;
3 4 5]
|
9d848fb8d35493ba570ee96d8c4994f443bdcf05 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/CT29HRN/ATWM1_Working_Memory_MEG_CT29HRN_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | 0d8020653392c72955895049e882a2bd09b3ee03 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,615 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
66da211f2f131651f725585ba885511f0abfe7cd | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lar2rc/lar2rc5.sce | 4e0743eca08ffba576e02cc9c9233f6e526f8ffe | [] | 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 | 217 | sce | lar2rc5.sce | //check o/p when i/p is a matrix
g = [0.6389 4.5989 ;0.0063 0.0163; -0.0163 0.99934];
k = lar2rc(g);
disp(k);
//output
// 0.3090095 0.9800747
// 0.0031500 0.0081498
// - 0.0081498 0.4618576
//
|
d2408956342be88c43c1d2e18686c4b6632289ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.32/Example8_32.sce | 643f04818ebc031c43d16bc8044c692e7bfd7929 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Example8_32.sce | //Example 8.32
clc
disp("Cascading four 74161 (each 4-bit) counters we get 16 (4 x 4) bit counter as shown in fig 8.63.")
disp("Therefore, we get 2^16 = 65,536 modulus counter")
disp("However, we require divide-by-40,000 counter. The difference between 65,536 and 40,000 is 25,536, which is the number of states thos... |
d726b3e5e37d06149dd839fd0d5d6328a211673c | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH1/EX1.1/1.sce | 72561725867ec0a40f5100c483c87a06aec797f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 1.sce | // Implementation of example 1.1
// Basic and Applied Thermodynamics by P.K.Nag
// page 20
clc
clear
z=562 // (difference in height of mercury in two limbs in mm)
g=9.79 // (acceleration due to gravity in m/s^2)
z0=761 // (barometer reading in mm Hg)
d=13640 // (density of mercury in kg/m^3)
// p= p0 + (d*... |
12757ac3c195b9f520cac5705dbdd44a2d68d2c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH3/EX3.10/example3_10.sce | b2d5c89ccc03ae5b4d4fbd130a237342a008cc85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | example3_10.sce | // Full scale reading of dc metere
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 3-10 in page 158
clear; clc; close;
// Given data
R=5020; // Total resistance in ohm
Vrms=5.58; // Input rms voltage in V
// Calculation
I_dc=(2*sqrt(2)*Vrms)/... |
e8900ced600c312f1bbb61a94555b1c040f9e780 | 4c8d23c985173e2d61690fc050e23047a1296c6f | /desktop/org/mathpiper/mpreduce/packages/assert/assert.tst | 066a6986b54135ff8d40ef7b40aec0f9e80ae5b9 | [] | no_license | JMCC-123/geogebra | 727ac505e9b4410539e3d16caf0db3fda635366c | 09909307501e75326ac016caf0886e909d24e622 | refs/heads/master | 2023-03-15T10:11:50.915102 | 2013-03-01T14:32:50 | 2013-03-01T14:32:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | tst | assert.tst | symbolic;
struct any;
struct number checked by numberp;
struct sf checked by sfpx;
struct sq checked by sqp;
declare hugo: (number,any) -> number;
procedure hugo(x1,x2);
x2;
assert_install hugo;
hugo(0,0);
hugo('x,0);
hugo(0,'x);
declare addf: (sf,sf) -> sf;
declare addsq: (sq,sq) -> sq;
assert_install addf,a... |
b6f037bf26ca9e281cdc464a70a001bf5faeb744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH7/EX7.15/Ex7_15.sce | b611f05d373143b1dc6efd877518377f21126384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ex7_15.sce | // chapter 7 example 15
//-----------------------------------------------------------------------------
clc;
clear;
f = 3; // focal length in m
fpos = 1.5; // feed is placed 1.5m from pt of intersection os sec.reflector and antenna axis
// Calculation
f_hyp = f-fpos; // focal length of... |
7bd8de0d14a0ec1c5d1cbb6bba1b28408bcce039 | 8fcfcd367a32514b5e303f6e380b412bae2771e4 | /PPP1Lab.sce | 28b91644143243ff0bd21c8f3f08cad2e6145c07 | [] | no_license | NadyaLE/ApplicationPackages | 2356a8a71d7a605d890337b3034107ae45c268f6 | e3ad240f9142a62061a23f30df2430b8768f0d51 | refs/heads/master | 2023-04-08T18:23:55.540644 | 2021-04-20T06:08:00 | 2021-04-20T06:08:00 | 359,702,318 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,866 | sce | PPP1Lab.sce | f = figure ();
as = f.axes_size;
x1Input0=uicontrol(f,"style","edit","string","2",'position',[5 as(2)-40 30 30]);
x1Text0=uicontrol(f,"style","text","string","X+","position",[35 as(2)-40 30 30]);
y1Input1=uicontrol(f,"style","edit","string","1",'position',[65 as(2)-40 30 30]);
y1Text1=uicontrol(f,"style","text","strin... |
d3cc6106adae939f4cc9321189cba2c105d96fb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH6/EX6.24/Fig6_24.sce | 2d6c7af5a0a233010a5f40979bd67295933f92d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 912 | sce | Fig6_24.sce | //Caption:Scilab code to Perform Trimmed Average Filter
//Alpha trimmed average filter
//Fig6.24
//page 355
clc;
close;
c = imread('E:\DIP_JAYARAMAN\Chapter6\lenna.jpg');//SIVP toolbox
s = 1; //s denotes the number of values to be left in the end
r = 1;
N = 9; //3x3 window
a = double(imnoise(c,'gaussian'));
... |
46c37d5fc1a4db52d47e95b69470ecc9c9f1d0d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH1/EX1.9/Ex1_9.sce | a751d70345b0f1e954e1fe01a9c263985e2604b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex1_9.sce | clc
//Chapter1
//Ex_1.9
//Given
k=1.38*10^-23 //J/K
T=300 //kelvin
Ev=0.75 //eV/atom
Ev=Ev*1.6*10^-19 //in J
T1=660//degree celcius
T1=T1+273 //in kelvin
//at room temperature
//let nv/N=nv_N for convenience
nv_N=exp(-Ev/(k*T))
disp(nv_N,"Fractional concentration of vacancies in the aluminium crystal at ro... |
d8104224b327d7d516f11bcd15cb74f39b72aeb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.6/ex1_6.sce | c7ad9204bd68bdc3df0d2831c1ecdeecf9fd2382 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | ex1_6.sce | t1=20; //Assigning values to the parameters
R1=45;
R2=48.5;
alpha0=0.004;
t2=((R2*(1+alpha0*t1))-45)/(alpha0*R1); //calculating average temperature
disp(t2,"Average temperature of winding at the end of the run when the resistance increases"); |
54f5b56cdc39432014a37c6cc4de94fa72847b83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH12/EX12.2/EX12_2.sce | b1e7e21404f3495942fd83d36ef5cc2c0d65da46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 949 | sce | EX12_2.sce | clc;funcprot(0);//EXAMPLE 12.2
// Initialisation of Variables
n=6;...............//No of cylinders
N=1500;............//Engine rpm
BP=220;.............//Brake Power in kW
bsfc=0.273;..........//Brake Specific Fuel Consumption in kg/kWh
theta=30;.............//The Period of Injection in degrees of crank angle
spg... |
4befe8db362fc1028af7720c49eb9a4327e0b5c0 | e25bb3040c96f9782aab0493e05ba22f5bf50ccf | /ex4/Exercise4_template.sci | ea5bfabbc8b0005ed5fc7777fd9f4a988824c2f3 | [] | no_license | gpioblink/aizu-spls-exercise | c13258d46f50ed2db7797693a097b0fb75d24eaf | 6c0b9326ba8e4b52378cfe777e82a2bfcdecc9b9 | refs/heads/master | 2022-09-14T06:09:44.774157 | 2020-05-31T07:43:26 | 2020-05-31T07:43:26 | 263,856,972 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,873 | sci | Exercise4_template.sci | // EXERCISE 4
//close();
clear
//// =================================================
// Do not modify this part
function []=datwrite(Sc_k, kc, filename)
fd_w = mopen(filename, 'w');
for i=1:kc
mputl(msprintf('%d',real(Sc_k(i))),fd_w);
mputl(msprintf('%d',imag(Sc_k(i))),fd_w);
e... |
3fcb2ccdaa2a6403ddd9ec859a7bd16bd2a1096d | 002b6230874dea6e4d76defafc1ae293b5744918 | /library/Demos/LocalRegions/Tests/LocProject_Diff2D_Reg_Quad_Lagrange_Basis_P6_Q=7.tst | 119a70346b0ae28842c473ffc395b37afffb4cfd | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | tst | LocProject_Diff2D_Reg_Quad_Lagrange_Basis_P6_Q=7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>LocProject_Diff2D Reg. Quad Lagrange Basis P=6, Q=7</description>
<executable>LocProject_Diff2D</executable>
<parameters>4 8 8 6 6 7 7 0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0</parameters>
<metrics>
<metric type="L2" id="1">
<value to... |
0af57d8c0bd6ba00be1ffa1973b0307ef0e92d0d | 7a5b23c26ee1b242222b7c0faa03acd15ba397b3 | /RecPsi08.sci | 89c3ce7b26b64f26f964daa03129719a4ae3a1b2 | [] | no_license | ihorgo/neutronholography | 3f8c999d2b7c5d87d3258c311a7828aadf7c3975 | d62e07a662eb36f063d56134406269ae2336ad64 | refs/heads/master | 2021-01-10T10:19:15.095235 | 2009-03-20T14:30:58 | 2009-03-20T14:30:58 | 53,721,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sci | RecPsi08.sci | function RecPsi08()
h=sumpsi08();
h.h1=Four2DBgHolo(h.h1,4,0);
h.h2=Four2DBgHolo(h.h2,4,0);
h.h3=Four2DBgHolo(h.h3,1,0);
atsarr=MkRecArray(3,1.18/8,5*1.18);
HPsi082=ReconstHoloArb(atsarr,h.h2);
save('c:\mainsci\macros\psi08\recpsi08b.dat',HPsi082);
HPsi083=ReconstHoloArb(atsarr,h.h... |
c0e5fde3be280de3a0da4b8714c843c943c8d29a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH12/EX12.5/12_5.sci | 2595dbfa01f281858f8069d505559e3fda699bf7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sci | 12_5.sci | //12.5
clc;
k=4*10^3;
dx=0.04;
m=0.1;
acc=k*dx/m;
accg=acc/9.8;
printf("acceleration=%.2f g",accg)
fn=(1/2*%pi)*(k/m)^0.5;
printf("\nNatural Frequency=%.2f Hz",fn) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.