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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7af5101ee46c8d517fddbd9b1404731f20eefc58 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/auto/unobs.sci | a0b6b6a8636772ba17f50f55dedb10dda795e0a1 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sci | unobs.sci | function [dim,x]=unobs(A,C,tol)
// n first columns of x span the unobservable
// subspace of (A,C):
// dim
// [*,*]
// X'*A*X = [0,*]
//
// C*X = [0,*]
[p,p]=size(A);tol=1.d-10;
[n,w]=contr(A',C',tol);
x=[w(:,n+1:p),w(:,1:n)];
dim=p-n;
|
4d9b4c11a12fa764587779236dc6fdae531bdd04 | 1d307d44b58dfb9d6c8079d97262e5286bdb2a3d | /filter_fixed_p_simul.sce | b86807c0746a0fe9f6ef1531fd46ea0e5a77d4e3 | [] | no_license | bernau84/scilab_sandbox | 0d89a1ea8236343255d0d6a255db67fa51f7aca9 | e3e7fc38fcb9c05788c6d3a39ea9842f34f9589b | refs/heads/master | 2016-09-06T16:52:54.963432 | 2014-03-05T15:48:43 | 2014-03-05T15:50:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sce | filter_fixed_p_simul.sce |
figure;
stacksize('max');
coe = read('cheby80_fir_4kBP_160FS_16b.txt', 80, 1);
//coe = read('fir10D_shifted_64T_16bprec', 64, 1);
subplot(5,1,1); plot(coe);
x = wavread('chirp_20_8000_fs16kHz.wav');
f_x = (x + 1.0) * (2^11); //offset a prevod na 12b presnost
subplot(5,1,3); plot(f_x);
[hm, fr] = frmag(coe, 256);
subpl... |
418e5b96d13d20b806cdc2308f7f806d70bbc360 | 3797f4ae070f4a8e41c7db3b7f424f98ca8e5459 | /Oracle_D.sce | 7899fbc9d467986633cb5de8fcf81c2a2311b14f | [] | no_license | bastiendechamps/OptiHydro | dc59dca84fb4c35e1c4ee42e21aae6d87ba0fe62 | 02bb24fb5117464d35731e9795be0375b657f1a2 | refs/heads/master | 2021-09-13T11:51:49.173927 | 2018-04-29T13:34:49 | 2018-04-29T13:34:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,660 | sce | Oracle_D.sce | // Premier oracle (fonction + gradient)
function [F,G,ind] = OracleDG(lmb, ind)
u = (-Ar'*pr-Ad'*lmb)./r;
qsharp = sign(u) .* sqrt(abs(u));
if ind == 2 then
F = -((1/3)*qsharp'*(r.*qsharp.*abs(qsharp)) + pr'*(Ar*qsharp) + lmb'*(Ad*qsharp-fd));
G = zeros(md,1);
elseif ind == 3 th... |
3c665aed1366add8e1533e107aa9bd5110d3d3d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.2/Ex11_2.sce | f45333f9b355fb3ea81dd3854ae1e455e7909203 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | Ex11_2.sce | clear;
clc;
printf("\t\t\tProblem Number 11.2\n\n\n");
// Chapter 11: Heat Transfer
// Problem 11.2 (page no. 553)
// Solution
deltaX=0.150; //Given,150 mm =0.150 meter // //deltaX=length //Unit:meter
k=0.692; //Unit:W/(m*celcius) //k=proportionality constant //k=thermal conductivity
T1=70; //temperature ma... |
88908b2f78291854dad0929ee535d5ffc2473fa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH16/EX16.1/Chapter16_example1.sce | 963adf038eee31e3dab86148850f6cd06c6ee2d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,385 | sce | Chapter16_example1.sce | clc
clear
//Input data
N=3000;//The speed of the engine in rpm
r=9;//Compression ratio
l=17.2;//The length of the connecting rod in cm
t=20;//The combustion ends at a TDC in degrees
pi=3.141;//Mathematical constant of pi
k=3;//Three litre spark engine
n=6;//V-6 Engine
//Calculations
Vs=(k/n)*10^-3;//Swep... |
8c3d4bd106c3ec86d0b573087e2b2ed8f8ad1fbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH10/EX10.9/example10_9.sce | f5d35dd8808a6a04c7222c7ad42bb5260b254c55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | example10_9.sce | v=132;
r1=20*10^3;
r2=40*10^3;
r3=60*10^3;
rl1=55*10^3;
rl2=110*10^3;
disp("Part a");
r=r1+r2*r3/(r2+r3);
i=v/r;
in=i*r3/(r2+r3);
rn=r2+r1*r3/(r1+r3);
i1=in*rn/(rn+rl1);
i2=in*rn/(rn+rl2);
disp("when the load is 55 kΩ the load current (in mA) is");disp(i1*10^3);
disp("when the load is 110 kΩ the load cure... |
8f65774007e3b0ad7da4eea29bc496c5bd671d5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH16/EX16.10/Ex16_10.sce | a90c0ffdb99d9b79885f954f0e5704f9e67bfc7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | Ex16_10.sce | //=====================================================================================
//Chapter 16 example 10
clc;clear all;
//variable declartion
wy = 3; //positive Y-axis in pattern
wx = 2; //positive X-axis in pattern
//calculations
f =wy/(wx); //frequency of vertical and horizontal... |
17d72a57943c1bd51de3576c7f6cc451fc215857 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH4/EX4.8/Ex4_08.sce | 8fc464fd840c44c50a75fd7b6091d45ec6796e2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,177 | sce | Ex4_08.sce | // Scilab Code Ex4.8: Page-149(2013)
clc; clear
m_e = 0.0005486; // Mass of an electron u
m_p = 1.007276; // Mass of a proton, u
m_d = 2.013553; // Mass of a deutron, u
m_t = 3.015500; // Mass of a triton, u
R_inf = 1.0974e+007; // Rydberg constant, per metre
R_H = 1/(1+m_e/m_p)*R_inf; // Rydbe... |
968d380744e10edad280cac367232b5cca26789d | 4d867edb7174c0010079141c803470bb315fb98c | /Scilab/2.3.2.sci | 598453e6bf44644b8b5362cf2ff1aaff9d9c37e6 | [] | no_license | NirnaethArniedi/RapportScilab | 73868dce23273fa00421c0580c32b22e4da5fda0 | 05dbf45db77061ea5f214d90fda5e5b155343a5c | refs/heads/master | 2021-01-20T10:36:59.100534 | 2015-07-04T18:38:34 | 2015-07-04T18:38:34 | 21,175,471 | 0 | 0 | null | 2014-06-28T13:41:08 | 2014-06-24T18:08:27 | TeX | UTF-8 | Scilab | false | false | 1,216 | sci | 2.3.2.sci | clf;
function Y=simu(j,n,p,epsilon)
Xi = [0];
D = [];
M=[]
Zn = 1;
for i = 1:n
N=grand(1,Zn,'geom',0.5);
//Simulation du nombre d'enfant par individu
G=[];
c=0;
for k = 1:Zn
if(N(1,k)>0) then
for l=1:N(1,... |
f96579bbb79483042d79db767afbce5ce83523ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH3/EX3.9/3_9.sce | 36ad090182759a848969c2053d0de5d25979df4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,490 | sce | 3_9.sce | clear;
clc;
// Illustration 3.9
// Page: 194
printf('Illustration 3.9 - Page: 194\n\n');
// solution
//*****Data*****//
// 1-Nitrogen dioxide 2-air
// From Example 3.8
Y1 = 0.0242; // [kg NO2/kg air]
Y2 = 0.0036; // [kg NO2/kg air]
Vs = 0.488; // [kg air/s]
M1 = 46; // [gram/mole]
M2 = 29; // [gram... |
a2433791863c22d69ec9f7b2bca4ccc60798d7e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH7/EX7.4/ex7_4.sce | 1c3cb7f326b6aef96fbc5ef472ea56306fda64dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | ex7_4.sce | // Example 7.4, Page No-330
clear
clc
fo=1000
Vcc=12
R1=10*10^3
R2=10*10^3
C=0.1*10^-6
R=1/(2.2*C*fo)
R=R/1000
printf('R= %.3f kohm', R)
|
bd35374cd41dee62d0cc37b776045fbc2fee4e30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH11/EX11.1/11_1.sce | 38f9a48e6a7ff8f6a5be92c562393c4e3fa27fe1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 817 | sce | 11_1.sce | // Determine the size of the conductor for power and lighting circuit
clc;
clear;
P5=3*800; // Load wattage in 5A circuit
P15=2*1500;// Load wattage in 15 A circuit
Pt=P5+P15; // Total Load
// Assume a average of 0.8 pf, common for distribution systems
pf=0.8;
V=230; // Supply voltage
I=Pt/(V*pf)... |
7f0651599a5f1657601ce077dae8fcb0ee3ff9ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH5/EX5.6/5_6.sce | 9872a11f706e5e3db07b76e3c94531c322046424 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,533 | sce | 5_6.sce | clear;
clc;
printf("\t\t\tExample Number 5.6\n\n\n");
// plate with unheated starting length
// illustration5.6
// solution
u = 20;// [m/s] air velocity
l = 0.2;// [m] plate length as well as width (square)
p = 101325;// [Pa] air pressure
Ta = 300;// [K] temperature of airstream
Tw = 350;// [K] temperature... |
efc7c9457861634543a908a234b000fb76a8a823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH2/EX2.21/ex2_21.sce | c0b38d0f4949be73a6f575fde9db66550e4bebef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | ex2_21.sce | // Exa 2.21
clc;
clear;
close;
// Given data
n_i = 1.4*10^18;// in /m^3
n_D = 1.4*10^24;// in /m^3
n = n_D;// in /m^3
p = n_i^2/n;// in /m^3
disp(p,"Concentration of holes per m^3 is");
R_e = n/p;// Ratio of electron
disp(R_e,"Ratio of electron to hole concentration is");
|
8c7492216608c40e03f5708f8f843bf298b9e891 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH2/EX2.7/exp2_7c.sce | a3926f8761c692951d11c541da4c0b75dc9b8a30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | exp2_7c.sce | clc
disp("example 2.7")
md=40;cf=0.5;uf=0.8;//maximum demand in MW;capacity factor;utility factor
disp("(a)")
lf=cf/uf; //load factor is ratio of capacity factor to the utility factor
printf("load factor = capacity factor/utilisation factor =%f",lf)
disp("(b)")
pc=md/uf; //plant capacity is ratio of maximum d... |
d41f5d8d9bbd28c3b769e981b811a8f76a03c77a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.25/Example4_25.sce | 8c9a271e8891f59ccac636c7546182ba2c0c0831 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | Example4_25.sce | //Exa 4.25
clc;
clear;
close;
//Given data :
r=1.5/2;//cm
d=3*100;//cm
h=6*100;//cm
epsilon_o=8.854*10^-12;//permitivity
C=%pi*epsilon_o/log(d/(1+d^2/4/h^2)^r)*10^3;//F
disp(C,"Capacitance per km of line(F) : ");
|
0f2a9d1330af40692a29198413364679173c9d39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH5/EX5.4/5_4.sce | c62acdeaff306152554b78431102fc476e66b2e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | 5_4.sce | clc;
//page 224
//problem 5.4
// Repeat example 5.3 with m(t) expanded by a factor of 2 i.e. if the period of m(t) is 4*10^-4
// The values of constsnts Kf and Kp are given as Kf= 2*pi*10^5 and Kp=5*pi .
// we know that time expansion by a factor 2 reduces the signal spectrum width by a factor 2
// Therefore band... |
4855685b6baa3d6976735141c45652f25c0571d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH8/EX8.2/8ex2.sci | 412bf95e71a6f9093f26cdc5ce1907f668cc8aca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 873 | sci | 8ex2.sci | disp('to find:minimal spanning tree')
disp('the adjacency matrix for the weighted graph(nodeA,nodeB...nodeF) of 6 nodes is :')
K=[0 0 7 0 4 7;0 0 8 3 7 5;7 8 0 0 6 0;0 3 0 0 0 4;4 7 6 0 0 0;7 5 0 4 0 0]
disp('edges of the graph')
AC=7;
AE=4;
AF=7;
BC=8;
BD=3;
BE=7;
BF=5;
CE=6;
DF=4;
M=[AC,AE,AF,BC,BD,BE,... |
922becbcf045d89ab3873ee54186232938b6c4a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/2_3.sci | 27b19a3c32dbdd3a7a519005ab2fb7ef9bfa103b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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.sci | P0 = 10; //atm
yA0 = 0.5;
T0 = 422.2;//K
R = 0.082;// dm^3.atm/mol.K
v0 = 6;//dm^3/s
X = [0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8]';
p = [189 192 200 222 250 303 400 556 800];//1/-rA = 800//dm^3.s/mols |
ee55d24a16972abdc2bcdc5dca7787b3992a190a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.21/example_3_21.sce | f7f7c5765a27caa0962de3dd23a12ed00a900222 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 646 | sce | example_3_21.sce | clear;
clc;
disp("--------------Example 3.21---------------")
printf("An example of a dedicated channel where the entire bandwidth of the medium is used as one single channel is a LAN.\nAlmost every wired LAN today uses a dedicated channel for two stations communicating with each other.\nIn a bus topology LAN with m... |
4f29c3c8b44760de4d00970469f2a3cc6547658c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH6/EX6.6/Ex6_6.sce | b3318dee098ac2a0ab88fab1fdb7f5c928c62012 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Ex6_6.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 6.6
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
Lambda=632.8e-9;//Wavelength of the laser in m
F=1;//Focal ratio of the lens
Prad=10e-3;//Power radiated by the laser in W
rs=2*Lambda*F/%pi;//Radius... |
a841071f26a879709cb957b99af5376b1369e53b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH17/EX17.3/Ex17_3.sce | 1d670fe48d0c5bf495fcacb0e3e491fdc81cbf99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | Ex17_3.sce | // Initilization of variables
m_m=50 // kg // mass of man
m_b=250 // kg // mass of boat
s=5 // m // length of the boat
v_r=1 // m/s // here v_r=v_(m/b)= relative velocity of man with respect to boat
// Calculations
// Velocity of man is given by, v_m=(-v_r)+v_b
// Final momentum of the man and the boat=m_m*v_m+m... |
a2f1ea029f5e891f15ca58fdef26a9e007579367 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH7/EX7.1.1/7_1_1.sce | 09fe0b631a56b5f4322f044406cd642a7bef0bdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 7_1_1.sce | disp('To check if the given 2X2 matrix is symmetric')
a=[3 5;5 -7]
disp(a,'A=')
if(a(1,2)==a(2,1))
disp('A is a symmetric matrix because the (1,2) and(2,1) entries match.')
else
disp('A is not a symmetric matrix')
end |
2a63f71c690420348df4c7338733f71d79affc72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH10/EX10.4/10_4.sce | 213c7a329de04ec2a6d2db2672c5189b5848c920 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | 10_4.sce | clc
//initialisation of variables
clear
A= 320 //ft/^2
w= 18000 //lbf
v= 230 //ft/sec
ad= 0.0765 //lbm/ft^3
p= 5 //per cent
c= 0.055
n= 1.75
g= 32.2 //ft/sec^2
//CALCULATIONS
CL= 2*w*(1-(p/100))*g/(ad*v^2*A)
D= w*(1-(p/100))*c*n/CL
//RESULTS
printf ('lift coeefieicnt = %.2f',CL)
printf ('\n Drage force ... |
ecf6b9bc5a9146e53c176c61f0e446ab563f9554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH9/EX9.8/eg9_8.sce | 5023a781c63b084ff9f7b8f64a4655526eeb5a31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,207 | sce | eg9_8.sce | clear;
clc;
vl=132000;
s=50000000;
pf=.85;
l=80;
function [r,i]=d(mag,theta)
r=mag*cosd(theta);
i=mag*sind(theta);
endfunction
previousprot = funcprot(0)
funcprot(0)
mag=96;
theta=78;
[r,i]=d(mag,theta);
z=complex(r,i);
mag=.001;
theta=90;
[r,i]=d(mag,theta);
y=complex(r,i... |
fc99f7a889dabee3bfa2d4991d6a0f810cbd8582 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH12/EX12.e.4/Chapter12_example4.sce | e5b0a1b3398c8bc947ab063528e1a172c7562939 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter12_example4.sce | clc
clear
//Input data
R=[2,3,6]//Resistances from circuit diagram 12.15 on page no. 178 in ohms
I=2//Current in A from circuit diagram 12.15 on page no. 178
//Calculations
Rth=(R(2)+R(3))//Equivalent resistance in ohms
Vth=(R(3)*I)//Equivalent voltage in V
//Output
printf('Thevenin equivalent resistance i... |
1356d5131279aa08452c0e7ae18078a803822815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH17/EX17.4/example17_4.sce | eda2400e0a04495fcfe3e0447fc388cc923b9a02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | example17_4.sce | //Chapter 17
//Example 17_4
//Page 405
clear;clc;
kva=[10000 10000 5000];
x=[12 12 18];
kva_tr=5000;
x_tr=5;
base=input("Enter base kva: ");
for i=1:3;
per_x(i)= x(i)*base/kva(i);
printf("%% x(%i) = %.0f \n\n", i, per_x(i));
end
per_xt=x_tr*base/kva_tr;
printf("%% Xt = %.0f \n\n", per_xt);
tx1=1/(1/per_x(1)+... |
9835a0f93eb1ebf515971d32ec327a5d3127ec66 | bdf572464541387fa0028a1ff861ceb55e81938e | /Interpolation/qinter.sce | 4e86b98f21add4c87abf51df8c2b7b468d0c261a | [] | no_license | akarshsomani/Scilab-programs | 20c4a52a51e5689d12d491218988aa037f09a21a | 18199a7f424e3711765965e3d3b12e149a5d497a | refs/heads/master | 2020-03-14T10:00:36.585002 | 2018-04-30T04:59:39 | 2018-04-30T04:59:39 | 131,557,212 | 0 | 1 | null | 2018-10-31T14:52:07 | 2018-04-30T04:55:36 | Scilab | UTF-8 | Scilab | false | false | 262 | sce | qinter.sce | // Finding value of f(x) given (x0,y0),(x1,y1) and (x2,y2)
function [y] = quad_interpolation(x0,y0,x1,y1,x2,y2,x)
b0 = y0
b1 = (y1 - y0)/(x1 - x0)
b2 = ((y2 - y1)/(x2 - x1) - b1)/(x2 - x0)
y = b0 + b1*(x - x0) + b2*(x - x0)*(x - x1)
endfunction
|
05169d73bbb0f537e3da39460077987016b2862f | 68e086667f5a98c618484a7e7b362856e7e71602 | /Mass-spring-damper-to-B100000.sce | 4244f6c42f26794073952d1f226050239d4145bd | [] | no_license | nascimento-luciano/Automation-Computing | b30b5506ee6042672e7801ebdb078b3288ab76a1 | c845a97d5cd4f7dcb0578afaed9a3da8de56798a | refs/heads/main | 2023-03-21T19:12:49.695327 | 2021-03-18T02:27:35 | 2021-03-18T02:27:35 | 348,898,666 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,426 | sce | Mass-spring-damper-to-B100000.sce | //Trabalho-2 - Parte 1. Para b = 100000
//Algoritmo Massa Mola (Vibrações Mecânicas)
clear;
clc;
m1=100; // Valor da Massa 1 em (N/m)
m2=100; // Valor da Massa 2 em (N/m)
k1=100; // Valor da Constante da mola 1 em (N/m)
k2=100; ... |
99a9eb046d9f477057c583aeb49059fd1da19064 | f5d97602ad111cf2fe570b890646522118e3f9f1 | /ziegler-nichols-second-method.sce | 3a691251a8011ec361dcc00a9feb5421ab9c8941 | [] | no_license | HugoJF/scilab-pid-controller | 5d6d869d00e7bcc404ae358db92976863d2619cc | f4726b3f6a01cac1526632c31a6e2c840b6fb07c | refs/heads/master | 2023-01-28T11:20:43.264090 | 2020-12-11T20:27:29 | 2020-12-11T20:27:29 | 320,695,475 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,153 | sce | ziegler-nichols-second-method.sce | exec('C:\Users\hugo_\Desktop\trabalho-controller\prep.sce', -1)
exec('C:\Users\hugo_\Desktop\trabalho-controller\funcs.sce', -1)
// Simulation parameters
t = gettime(30, 100);
// Method preparation
// Gain estimation
// Very long simulation time to make sure oscillations are stable and consistent
kcr_estimation = 1.... |
942be12c9b55cd0fd15f67fcecc693a28b9f8913 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/ote.tst | d270776de8d4803310999f103771dad049182a4d | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 233,451 | tst | ote.tst | ndo²ʔmi xkí ndoʔmi V;PRF;2;PST
fụ²ki xki fụki V;PRF;3;PST
ʔro¹²ti ndí ʔroti V;IPFV;SG;1;PST
ts’ụ²-xẹ¹²ni gi ts’ụxẹni V;IRR;SG;2
do²-ʔyẹ dá ndoʔyẹ V;PFV;SG;1
ka²lku²la dí kalkula V;IPFV;SG;1;PRS
ñe²ʔmi gi ñeʔmi V;IRR;SG;2
kä²ʔmi stá käʔmi V;PRF;SG;1;PRS
tsọ¹²họ bi tsọhọ V;PFV;SG;3
jot’i mí jot’i V;IPFV;SG;3;PST
dä²hñei ... |
f7a4c825a490d9ee368aebbb5faa266709266976 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH7/EX7.2/Chapter7_Exampl2.sce | 55b20da30a014e3d2ef0a073c858db830dc41337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,300 | sce | Chapter7_Exampl2.sce | clc
clear
//INPUT DATA
t=20;//Moist temperature in Degree c
td=15;//Dew point temperature in Degree c
pv=12.79;//vapour pressure in mm of Hg
p2=17.52//pressure of water vapour in mm of Hg
pa=727.21;//pressure of air in mm of Hg
hfgt=2454.1;//Specific enthalpy in kJ/kgw.v.
hfgd=2465.9;//Specific enthalpy in kJ/... |
036fd04647552fbc163011bb2b2ba7f9ae4cfb28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH13/EX13.7/ex7.sce | 2909d12af8822e9baf0422e3808be36b440ea9e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | ex7.sce | // Chapter 13_Optical Devices
//Caption_PIN Photodiode
//Ex_7//page 618
e = 1.6*10^-19;
W=20*10^-4 //intrinsic region width
phio=10^17 //photon flux
alpha=10^3 //absorption coefficient
GL1=alpha*phio //generation rate of electron hole pair at the front region
GL2=GL1*exp(-alpha*W)
JL=1000*e*phio*(1-exp(-alpha... |
932e2ce58acaab5f9056ccb374e31f0dc059028d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH2/EX2.4/Ex2_4.sce | 22988d1ca4225279831ee00e934539d0f4acfc94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_4.sce |
C=30D-6
R=500
T=C*R
mprintf("Time constant T=%f sec\n", T)
//at t=0sec, voltage across capacitor is zero
V=100//aplied voltage
I=V/R//Ohm's Law
mprintf("Initial current=%f A\n", I)
t=.05
Q=C*V
q=Q*(1-exp(-t/T))
mprintf("Charge on the capacitor after 0.05 sec is %f C\n", q)
i1=I*exp(-t/T)
mprintf("Chargin... |
663a1ddb131b55288ab7f7110952bd246de0a428 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.9/example5_9_TACC.sce | a6d421b10786a5f90dd9e0d5d390ac9c7e0b18bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 977 | sce | example5_9_TACC.sce | //example 5.9
clear;
clc;
//Given:
T1=276;//Initial temperature[K]
Tf=278.7;//Freezing point temperature[K]
Tb=353.3;//Boiling point temperature[K]
T2=373;//Final temperature[K]
Hf=9870;//Standard enthalpy of fusion[J/mol]
Hv=30800;//Standard enthalpy of vaporization[J/mol]
Cp=136.1;//Specific heat capaci... |
afdcdbea4cd2c3f312c98909c145c1cd829137ab | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test3-13.tst | 856f4b39390781d2f49b4336771ab1090ad97659 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | tst | test3-13.tst | main
array[10] a;
var i, j;
{
let i <- 0;
while i < 10 do
let a[i] <- 2 + i;
let i <- i + 1
od;
let i <- 2;
while i < 8 do
let j <- 0 - 2;
while j <= 2 do
let a[i + j] <- a[i + j] + a[i];
let j <- j + 1
od;
let i <- i + 1
od;
let i <- 0;
while i < 10 do
call o... |
64285550d9b237d9f6c71a83b67ab0f0f9d629d2 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/vmm_offc.sce | 0815737b2ca62a05a4b737e79f7e95e2389a681a | [] | 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 | 104 | sce | vmm_offc.sce | style.fontSize=12;
style.displayedLabel="vmm_offc";
pal1_1=xcosPalAddBlock(pal1_1,"vmm_offc",[],style);
|
3296c476bb0518ca83b8f933d78aeb86a5fccfed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH1/EX1.4/Ex1_4.sce | 67bb413de79386d623082b37e86b2b556a04cd19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | Ex1_4.sce | clc
a=1
disp("a= "+string(a)) //initializing value of lattice constant(a)=1.
r=a/2
disp("r=a/2 = "+string(r)) //initializing value of radius of atom for simple cubic.
v=((4*%pi*(r^3))/3)
disp("Volume of one atom ,v=((4*%pi*(r^3))/3) = "+string(v)) //calcuation.
V=a^3
disp("Total Volume of the cube,V=a^3 = "+str... |
19c9028ccd77b30ad69d576fbc21a380b3f72ccc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH13/EX13.1/Ex13_1.sce | d9d1b03b12f1223428184fe738c28c83e9ae964d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | Ex13_1.sce | //Chapter 13 example 1
//------------------------------------------------------------------------------
clc;
clear;
// Given data
f = 6; // microwave terrestrial comm link oper. freq in Ghz
D = 50; // single hop path length in miles
// mid way of path length
D1 = 25;
D2 ... |
fb0d385d7ab027a12754cf12c63b885d24400e16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH4/EX3.1/EX3_1.sce | 89178d9188e93afc99e7672efa9839724969febc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | EX3_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 03
// Example No. 3_1
clc; clear;
// A heater with the resistance of 8 Ohms is connected across the 120-V power line. How much is current I?
// Given data
V = 120; // Voltage of Power line=120 Volts
R = 8; // Heater Resistance=8 Ohms
I = V/R;... |
4c2dcb04378c4d916f3ccefdfdc440761692a485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.4/Exa1_4.sce | d30a601be2380d684f64b911e2ad9b0a5c9e6983 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa1_4.sce | //Exa 1.4
clc;
clear;
close;
//given data :
W=625;//in KW
r=30;//in Km
Erms=sqrt(90*W*1000)/(r*1000);//in V/m
disp(Erms*1000,"Strength of Electric field at 30Km away in mV/m : "); |
72b7a6605373383175d4ada3bb0161aaa87308bf | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH7/EX7.22/Ex7_22.sce | 9d5488f4bbe1943338d25e2ea0c733ad020bb706 | [] | 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 | 220 | sce | Ex7_22.sce | errcatch(-1,"stop");mode(2);//Example 7_22
;
;
//To calculate the numerical aperature
theta=26.80 //units in degrees
NA=sin(theta*%pi/180)
printf("The numerical aperature is %.4f",NA)
exit();
|
ba766974670fb9173a0b4c56fbbe3984b11c9655 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH1/EX1.6.1/Ex1_6.sce | 6d4966f453827fb2b60af335b02d7048b02194bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Ex1_6.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 1.6.1\n')
//given data
//case 1
//a complex number is represented as Z=X+j*Y where j is imaginary
//V=3 +j*7
x1=3
y1=7
//calculations
r1=sqrt(x1^2+y1^2)
if (y1/x1)>0 then theta1=atan(y1/x1)
else theta1=%pi-atan(abs(y1/x1))
end
th... |
782c42dd9a5ea7c930bbfba6ecdf32bcf87556f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH2/EX2.20/2_20.sce | b2d6addcd3c39daf8acea0fea05f5316284abe38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | 2_20.sce | //Chapter 2, Problem 20,
clc;
V=240; //Supply voltage
P1=1000; //Power rating of Electric toaster
P2=3000; //Power rating of Electric fire
//Calculating fuse current for electric toaster
I1=P1/V;
//Calculating fuse current for elec... |
81f60f450130db664338c37ae44594dd8ede0c1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH37/EX37.6/example6.sce | 1794036ceac57bfba8787451ca490a258bdd8996 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | example6.sce | //chapter 37
//example6
clc
//given
n=10*10^2 //turns/m
i=2 //in amp
B=1.0 //in wb/m
u0=4*%pi*10^-7 //in wb/amp-m
//(A)
H=n*i
disp(H,"(A) Magnetic field strength in amp/m is")
//(B)
M=(B-u0*H)/u0
disp("(B) Magnetisation is Zero when core is removed")
disp(M," Magnetisation when th ecore is replaced in ... |
e1d7854a2c342f9450c545ea7faec35a47b6da77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH5/EX5.2.2/Example_5_2_2.sce | 24574dd95bd925a218a5976414d7ac92986f41f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Example_5_2_2.sce | clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
for x=-20:0.5:20
y1 = x;
y=0;
x1=0;
//h1=acosh(x);
plot2d(x,y1,style=-2)
plot2d(x,y,style=-4)
plot2d(x1,x,style=-4)
end
for x=-5:0.5:5
y2=-4*x;
plot2d(x,y2,style=-2)
end
|
7401bd579a5e7865b144758f3fc4f17b6055f6cd | 027ab3ee9ca52dffe8658db7b784a6e724959f64 | /Controle/01-introducao/01-circuitoRC_1ordem_MA.sce | d691109fbe9b34ae40b959f3ef86182afcef0812 | [
"MIT"
] | permissive | davidolivaa/ufabc-ieee-orion-adcs | 17c5671fd1dedc4059b6aa4562874f504ac1ccad | 64a64fb3f69cfb95f56b86ee8fcb66d56e66c7ea | refs/heads/main | 2023-08-15T05:09:53.420505 | 2021-09-12T19:40:16 | 2021-09-12T19:40:16 | 369,026,218 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,222 | sce | 01-circuitoRC_1ordem_MA.sce | //circuito RC em malha aberta
//valores do resistor e capacitor
R = 1;
C = 1;
//funçao poly cria polinomios a partir de 3 parametros
numerador = poly([1], 's', 'c')
denominador = poly([1 R*C], 's', 'c')
//funçao syslin vai criar a funçao de transferencia
Hma = syslin('c', numerador, denominador)
disp('FT malha aber... |
35fdd84eb905327a99d8435c114dcba6e33e61f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH9/EX9.08/9_08.sce | f450653def88f60e1677cac8c4749a3c757bd50f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | 9_08.sce | //Problem 9.08:
//initializing the variables:
Z = 10000; // in lb/h
x = 0.1;
y = 0.75;
Ts = 75;// in deg C
//calculation:
X = Z*x/y
Y = Z - X
//from Fig. 9.4:
Hz = 81 // in Btu/lb
Hx = 395 // in Btu/lb
Hy = 1150 // in Btu/lb
Q = Hy*Y + Hx*X - Hz*Z
printf("\n\nResult\n\n")
printf("\n the evaporator ... |
2ad895fab335167778708641fed7c974f1515d44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH12/EX12.3/prob_12_3.sce | 6c1266c35b6465fadd01aeedf33563765ea51b71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | prob_12_3.sce | //page 547
//problem 12.3
// for a gaussian m(t),mp will be assumed as 36m
clc;
Sg=3;//assumed
Mbar=(Sg^2);
MP=((3*Sg)^2);
B=0.2;//ASSUMED
gma=0.4;//assumed
SNR=3*B^2*(Mbar/MP)*gma;
disp(SNR,'SIGNAL TO NOISE RATIO IS'); |
78882e2af1edb872522edad8cd95679741784831 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/metanet/node_number.sci | d20b0c9d2974b23004d72446ec1f1b0b6b824155 | [
"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 | 112 | sci | node_number.sci | function n=node_number(g)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs<>1 then error(39), end
n=g('node_number')
|
e42df8b33b111101ac8761c36a49df6f6ae163de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.15/Ex10_17_15.sce | 6f04be0cb469785ae4e67975576bba2a331937ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex10_17_15.sce | //Section-10,Example-1,Page no.-CT.50
//To calculate change in enthalpy(dl_H) for the process.
clc;
dl_G1=-86 //dl_G at 298K
dl_G2=-84 //dl_G at 308K
T_2=308
T_1=298
T=303
P=(dl_G2-dl_G1)/(T_2-T_1) //P=(dl_G/dl_T) in kJK^-1
dl_G3=(dl_G1-dl_G2)/2
dl_G=-85
dl_H=dl_G-(T*P)
di... |
cd70cc689dabbc582c3fde9fd86e03deb5c52896 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.19/P6_19.sce | a8659aa17d01d856d7c5b81c3fc92904e6a59b9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | P6_19.sce | //EXAMPLE 6.19
//Inverse Z-transform using Long division method
clc;
clear;
z=%z;
Hnum=z^2 + 2*z;
Hden=z^2 + 0.4*z -0.12;
hn=ldiv(Hnum,Hden,20);
disp(hn,'The function is, hn = ');
|
e59a452d320c83e19b133e4c9d10465e60d5693b | 4e9df66700bcf9688afe22df0009cdf4a17bc61f | /Scilab_Lab/scimage/ch04/energy.sci | 9c47587798f7528147cbbdc7b590d7a92ddf57e8 | [] | no_license | vmebus/workspace | e18947a1f967e6a3a7dfbc5cce6f92380d8637fc | f251b8a8e6cec30a77c7ef7b4103c5ee6e6d1393 | refs/heads/master | 2021-01-09T21:53:45.183564 | 2015-10-03T06:42:23 | 2015-10-03T06:42:23 | 36,120,248 | 0 | 0 | null | null | null | null | BIG5 | Scilab | false | false | 787 | sci | energy.sci | //函式energy.m: 能量集中//
function rec_error=energy(image,type,N) //type :轉換方式(DCT or DFT)
//type = 1: DCT,type=2: DFT。//
rec_error=zeros(1,N);
d_image=double(image)/255; //將原影像的格式轉換為double格式
if type==1 //作DCT轉換
coef_all=dct2(d_image);
else
coef_all=fft2(d_image); ... |
27ba9c81d089a07b80bdbba7debb97013929fa78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.94/EX2_94.sce | 7ea71a652dccd26381f09329421614f0bcf7cfff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | EX2_94.sce | //EXAMPLE 2.94 PG NO-139-140
L=0.6; //LENGTH
a=20*10^-4; //AREA
MU=(4*%pi*10^-7);
R=L/(MU*a);
N1=1500;
N2=500;
i=250;
M=(N1*N2)/R;
e=M*(i);
disp('R = '+string(R)+' ');
disp('mutual induction is = '+string(M)+' H');
disp('E.M.F INDUCE is = '+string(e)+' V');
|
b8c9ac02fb3125cc8d6a4acda48cf3700fbd7807 | 09fb666c0701b49ab031e9c772024f96f6ed1c7e | /Lab 3/Laboratorio 3.sci | bb10e7ed1611f51fe183df9028555bc5459bfc0a | [] | no_license | Alejandro287/Numerica_Methods | ccbf8fa032809f6f6398a0f8100a268a750d8491 | 968f6cf10b651ff1049855a677753e6b2a44ca26 | refs/heads/master | 2020-04-02T02:45:35.586981 | 2018-10-20T16:38:01 | 2018-10-20T16:38:01 | 153,926,195 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,917 | sci | Laboratorio 3.sci | //Descripción: función que permite realizar la interpolación mediante
// el método de interpolación de Newton.
//
//Input: “X” el vector de las abscisas de los nodos.
//Input: “Y” el vector de las ordenadas de los nodos.
//Input: “x” el valor a interpolar o extrapolar, respectivamente.
//Output: “fx” el va... |
b20f00e21de7dc70022089d57a169cbe57773d14 | 6f42ce02216774066d077c6db628f9df34bc527f | /functions/test script/ksm_source_donor.tst | ee3fe2575edf69eb8f2cc9269f7da40b79595ff9 | [] | no_license | phively/nu-plsql | 2d0181fb9eea1e1118369e47bb4ac7ab3f7ec3d9 | 806afe34fe56dfc4fb1d7237a956df04c8e9ba82 | refs/heads/master | 2023-09-03T23:34:37.122157 | 2023-08-30T20:11:25 | 2023-08-30T20:11:25 | 78,759,887 | 10 | 3 | null | 2023-09-07T17:11:41 | 2017-01-12T15:37:39 | PLSQL | UTF-8 | Scilab | false | false | 680 | tst | ksm_source_donor.tst | PL/SQL Developer Test script 3.0
21
-- Created on 2/7/2017 by PBH634
Declare
-- Local variables here
id varchar2(10);
Type t_receipts Is Table Of varchar2(10);
receipts t_receipts;
Begin
-- Test receipts
receipts := t_receipts('0002370746', '0002371580', '0002370765', '0002370763', '0002373286', '00... |
1d03e8a6c815dbc3c81790ca299984e032897e53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.18/example14_18.sce | bcb17394877ef5104d0189c2933b40ff4116bcc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | example14_18.sce | clc
// Given that
w = 2.3 // work function of sodium in eV
h = 6.62e-34 // Planck constant in J-sec
c = 3e8 // speed of light in m/sec
e = 1.6e-19 // charge on an electron in C
// Sample Problem 18 on page no. 14.26
printf("\n # PROBLEM 18 # \n")
printf("Standard formula used \n ")
printf(" E = (h * c)/ lambda \n")
la... |
73256d0cb3380bf965294c344e0c418ed9bcea6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH4/EX4.9/ex4_9.sce | 351935d22d1a1fef26a0ba5d25bc03445aee92fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | ex4_9.sce | //determine dynamic input resistance and dc and ac current gain
clear;
clc;
//soltion
//given
Ib=30*10^-6;//A
Vce=10;//V
Ic=3.6*10^-3;//A //from graph
//Taking points around Vce = 10V from graph
del_Vce=(12.5-7.5);//V
//corresponding change in ic
del_ic=(3.7-3.5)*10^-3;//A
roe=del_Vce/del_ic;
... |
0e81c4b5038fc5446cdd379bf03ec8b86e149ed0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.40/Exa2_40.sce | 4c87b744171021e9be6926196f9359af3e9444d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | Exa2_40.sce | //Exa 2.40
clc;
clear;
close;
//Given data :
format('v',6);
VL=500;//in volt
f=50;//in Hz
P=6;//no. of poles
phase=3;//no. of phase
Nr=975;//in rpm
Ns=120*f/P;//in rpm
S=(Ns-Nr)/Ns;//slip
disp(S,"Slip :");
Pin_stator=40;//in KW
StatorLosses=1;//in KW
Pin_rotor=Pin_stator-StatorLosses;//in KW
RotorCuLos... |
a6ffb968a62898b550136ba59b2bbeda17a9675d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH7/EX7.18/exa_7_18.sce | e3da8cb18ac96df84e59e3e529c7d1ecb17e6c02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | exa_7_18.sce | // Exa 7.18
clc;
clear;
close;
// Given data
R2= 1000;// in ohm
R3= 16800;//in ohm
R4= 833;//in ohm
C4= 0.38;// in miu F
C4= C4*10^-6;// in F
f= 50;// in Hz
omega=2*%pi*f;
L1= R2*R3*C4/(1+(omega*C4*R4)^2);// in H
disp(L1,"Unknown inductance in H");
R1= R2*R3*R4*omega^2*C4^2/(1+(omega*C4*R4)^2);// in ohm
... |
603ec09de01af4833c04c9b8128826308d96201a | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /help/fr_En/ARDUINO_SETUP_help.tst | 01ec5af6a243fff7104de5b3291335861cbf06dd | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,547 | tst | ARDUINO_SETUP_help.tst | \name
ARDUINO_SETUP
\palette
Arduino
\smalldescription
Permet de configuration le port de communication série entre l'arduino et scilab.
\description
Ce bloc doit \bold{obligatoirement} être placé sur le schéma lors de l'utilisation d'autres blocs de la toolbox.
Il permet de définir le port de communicat... |
a1000960af0d6609539a5795b07025befd0379f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH11/EX11.11/Ex11_11.sce | 05b74da916a5e6682c785435cac44d206937859b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,879 | sce | Ex11_11.sce | clc
A= 10^-2
disp("A= "+string(A)+"cm^2") //initializing value of diode area
Na=5*10^16
disp("Na = "+string(Na)+"cm^-3") //initializing value of p side doping
Nd=5*10^17
disp("Nd = "+string(Nd)+"cm^-3") //initializing value of n side doping
Dn = 30
disp("Dn= "+string(Dn)+"cm^2/s")//initializing value of electro... |
14a574fab8a2b7eb1c7b310124bc9d195b6f5b5b | e806e966b06a53388fb300d89534354b222c2cad | /macros/wiener2.sci | cde19cdd1fce71a4b7cbef92979c3c577a5c44a4 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sci | wiener2.sci | function [outputImg]=wiener2(inputImage,filtsize,sigma)
inputList=mattolist(inputImage);
outputList=opencv_wiener2(inputList,filtsize,sigma);
for i=1:size(outputList)
outputImg(:,:,i)=outputList(i)
end
endfunction
|
1f5d747212cf1af6e2bdf06fb8889519fda29f39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH6/EX6.18/ex6_18.sce | b137cf6f34a39a46637736851faff1f35318b30a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 852 | sce | ex6_18.sce | clc
//Example 6.18
//Verification of Reciprocity theorem
I=10
//From figure 6.61
disp('The current divides between the two parallel impedances')
//Let I2 be the current through 4 ohm
I2=(10*5)/(4-%i*4+5)
//Let Vx be the voltage across -i4 ohm capacitive reactance
Vx=I2*(-%i*4)
[Vxmag Vxang]=polar(Vx)
printf... |
8e78362857c750ae7d946fe203aad684d1a730c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH14/EX14.11/Example14_11.sce | 22ebce0361a95a0a155ebebcae04096da1b0c48f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,213 | sce | Example14_11.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 7: UNDERGROUND CABLES
// EXAMPLE : 7.11 :
// Page number 216-217
clear ; clc ; close ; // Clear the work space and conso... |
4dedfbfc0f3d7e32ef5fb3fcb433cab976109748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.58/5_58.sce | fa19dad8292fc61942c612b7fc6cfe7915e160d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 831 | sce | 5_58.sce | Kf=1.86;//Kf for water//
m=0.1;//no. of moles of organic mono carboxilic acid//
dTf=Kf*m;//Theoritical change in temperature//
printf('Theoritical change in temperature=dTf=%f',dTf);
dTobs=0.220;//Observed change in temperature//
i=dTobs/dTf;
printf('\nSince dTobs is greater than dTf ionization must have occurred... |
67c7ffecae6ab042f6bf6b39a34aadb601c1a42a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH7/EX7.1/7_1.sce | 68b3e0b17c1128de16f60a1a5b33b1635e01925d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | 7_1.sce | //Power delivered to 3 phase synchronous motor
clc;
clear;
Vl=2300;
Il=8.8;
pf=0.8// Lead Power Factor
theta=acosd(pf)
P=sqrt(3)*Vl*Il; // Power delivered by the pump
I=P/(sqrt(3)*Vl*pf); // Increase in Current
Pr=sqrt(3)*Vl*I*sind(theta); // kVAr supplied
printf('The Power delivered by the pump ... |
e63d38ccdc2d364bf268eaaef601ab942c971f56 | dbf12e570a5d35c9e2f5fe097532dd409c7ca042 | /scilabmini.sce | c0fb8a37b84c6eccceaad74f5ff2f9758a18fbd1 | [] | no_license | itsmanisk/Image-Editor | 3b3b09623c3b4cc6f87ceef64d27ae232aedff82 | ac2fd903e92d3e60dcf8a48adf705eed2f280cff | refs/heads/master | 2021-10-24T22:22:28.089285 | 2019-03-29T12:06:57 | 2019-03-29T12:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,090 | sce | scilabmini.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[628,83],'figure_size',[638,504],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','v... |
e97c2777411fe9e9552d10d01f8d385a678f20d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH5/EX5.10/Ex5_10.sce | 37ea5997860bfdbaa675bd2d2be313dfa9deb5d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Ex5_10.sce | clc
P1=100*10^3
v1=1
v2=1/16
n=1.25
T1=300
P2=P1*((v1/v2)^n)
mprintf("P2=%fMPa\n",P2/(10^6))
T2=(T1*P2*v2)/(P1*v1)
mprintf("T2=%fK\n",T2)
R=8.314
W=(R*(T1-T2))/(n-1)
mprintf("W=%fkJ/mol\n",W/1000)
gama=1.4
q=((R*(T2-T1))/(gama-1))+W
mprintf("q=%fkJ/mol",q/1000)
|
08cda5e0761432fcc4aa5875b19896f42c0156fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH4/EX4.4/Ex4_4.sce | 409498d7325939eedf5bdaafd1b096be8ff2bde6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Ex4_4.sce | // SAMPLE PROBLEM 4/4
clc;clear;funcprot(0);
// Given data
m=20;// kg
u_z=300;// m/s
g=9.81;// m/s^2
m_a=5;// kg
m_b=9;// kg
m_c=6;// kg
theta=45;// degree
s=4000;// m
x=3;// m
y=4;// m
r=5;// m
h_a=500;// m
// Calculation
t=(u_z*(y/r))/g;// The time required for the shell to reach P in s
h=u_z^2/(2*... |
3d491b98fd545ac22ecc522d3ca784ef7a4e5c82 | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/old_files/proba_q.7den.sce | dcbf9fc43bd22e5a94c6fe2db0b2112672525a19 | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,095 | sce | proba_q.7den.sce | clear;
lines(0);
np=100;
q=7;
//rang=190/300
msig = 1 // номер строки, отвечающая нужной нам плотности прививки, с которой мы будем считывать
msig1 =2
msig2 =3
msig3 =4
msig4 =5
msig5 =6
msig6 =7
msig7 =8
msig8 =9
msig9 =10
msig10 =11
msig11 =12
msig12 =13
msig13 =14
msig14 =15
msig15 =16
msig16 =17
... |
268e9df39800034bef752f54cc403619e3eca787 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH12/EX12.1/Ex12_1.sce | 66a17932dfcd0c3083700c46a104901ef8bd05b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Ex12_1.sce | //Example number 12.1, Page number 263
clc;clear;
close;
//Variable declaration
NA=0.39; //numerical aperture
delta=0.05; //refractive index of cladding
//Calculation
n1=NA/sqrt(2*delta); //refractive index of core
//Result
printf("refractive index of core is %.3f",n1)
|
5195ba1c211d8895c9b262ec786b125e9e062bdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH10/EX10.10/ex10_10.sce | d730b1c8af52917a1f1fd61aff8dd54678521f0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | ex10_10.sce | // Exa 10.10
clc;
clear;
close;
format('v',6)
// Given data
A = 200;
Beta = 5/100;
Af =A/(1 + (A*Beta));
disp(Af,"The gain of the amplifier with negative feedback is : ")
Dn = 10;// in %
Ddesh_n = Dn/(1+(A*Beta));// in %
disp(Ddesh_n,"The distortion with negative feedback in % is : ");
// Note: In the bo... |
5f8f5a4539fe0d840cc9491257c7e589f592e0ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH2/EX2.31/Ex2_31.sce | f6b65bdb2d79aba7baabd51ac49835b44d559370 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sce | Ex2_31.sce | //Caption: Mean,Variance
//Example 2.31
//page no 85
//find i)Mean
// ii)Variance of given function
clc;
clear;
//Mean Value
function X=f(x),
z=3*(1-x)^2,//Marginal Probability Density Function
X=x*z
endfunction
a=0;
b=1;
EX=intg(a,b,f);//Mean value of X
function Y=c(y)
z=3*(1-y)^2... |
ab3420a89654666a597c3e53c05b3fc7693b20dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH21/EX21.3/Ex21_3.sce | 7313e3d313c74e7a74cfcc53366608f9849bed0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | Ex21_3.sce | //Estimate the Diffusion Coeffcient of a spherical molucule
//Example 21.3
clc;
clear;
KB=1.381*10^-23; //Boltzmann's constant in J K^-1
T=300; //Temperature in K
eta=0.00101; //Viscosity of the solvent in N s m^-2
r=1.5*10^-10; //Radius of molucule in m
D=(KB*T)/(6*%pi*eta*r); //Diffusion coff... |
9d1025b18159c25b252182a3bbc66059543d5802 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH19/EX19.8/Ex19_8.sce | cac54f308c94c2e6596ef6c9309d8a3d91bcacbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | Ex19_8.sce | //example-19.8
//page no-569
//given
//hole density in silicon
ND=10^17 //per cm^3
//intrinsic carrier concentretion
ni=1.5*10^10 //per cm^3
//since ND>>>> ni, so ne=ND
ne=ND
//the holes concentration
nh=(ni)^2/ne //per cm^3
printf ("the hole concentration is %f per cm^3",nh)
//relative location of EF an... |
af1bced5988c541e1adb1466003f21deacb204c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.36/3_36.sce | 9036ece1c25419f84c785a08d2e900c0e7229bcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,005 | sce | 3_36.sce |
clc;
clear;
//Example 3.36
rho=960 //[kg/m^3]
Beta=0.75*10^-3 //[K^-1]
k=0.68 //[W/m.K]
alpha=1.68*10^-7 //[m^2/s]
v=2.94*10^-7 //[m^2/s]
Cp=4.216 //[kJ/kg.K]
Tw=403 //[K]
T_inf=343 //[K]
dT=Tw-T_inf //[K]
g=9.81 //[m/s^2]
l=0.8 //[m]
W=0.08 //[m]
A=l*W //Area in [m^2]
P=2*(0.... |
8ac077b52dbf6292cbd43c624e8b2499ba7eef37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH10/EX10.2/Ex10_2.sce | a68ca8439da52be9224ee8440ab4359d0539aaf0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,900 | sce | Ex10_2.sce |
// Variable Declaration
P = 75.0 //Power(kW)
cost_plant = 3000.0 //Cost of plant(Rs/kW)
cost_td = 30.0*10**5 //Cost of transmission & distribution(Rs)
interest = 0.15 //Interest,insurance charges(/annum)
depreciation = 0.05 //Depreciation(/annum)
cost_fix_mt = 4.0*10**5 //Fixed mainta... |
36999842ddf5a4249ad123c682362b8ffbd11734 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH2/EX2.8/Ex2_8.sce | 2615336b336c94a36c9345bb067e9f2976d5f15e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Ex2_8.sce | //Example 2.8: Representation of truth table from minterm expression
clc // Clears the console
disp("f(a,b,c) = Summation minterms (1,2,5) + Summation dont cares (0,3)")
disp('implies that minterms 1,2 and 5 are included in the function and that 0 and 3 are dont cares, that is the truth table is as follows:')
disp(... |
a16328dbac22f50dd6caa14f17627a36a76a1955 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH5/EX5.4.1/Ex5_4.sce | 6dedfc8b29530402d7a71634ed6a4733e288f6da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | Ex5_4.sce | clc
clear
Ma=35500; //kg of steam
Mf=3460;
CV=39500;
Ms=Ma/Mf;
Hfw2=313.9; //in kJ/kg
Hfw1=71.4; //in kJ/kg
Q=Ma*(Hfw2-Hfw1); //Heat added in economizer
H=2915.0; //in kJ/kg
Me=(Ms*(H-Hfw2))/2257;
printf('Equivalent evaporation: %3.2f kg/kg of ... |
172966630ffcac419710d971033fbb89b01afc44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH1/EX1.1/Ex1_1.sce | 0b623817d4327fa7ddc92c3f599931f9e931a29b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | Ex1_1.sce | clc
//initialisation of variables
M=5*14.59//slugs
g=9.8//m/s^2
//CALCULATIONS
W=M*g//N
//RESULTS
printf('The weight of substance is=% f N',W)
|
7d090b059d6ec94f3c0265ff42ce1b9e7bc7aab4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.25/1_25.sce | a3a3c00ab5c455494b25938a7b101bae3105183c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,627 | sce | 1_25.sce | clc
clear
//Input data
r=10.5;//Compression ratio
P3=65;//Maximum pressure in bar
P4=P3;//Pressure at the end of constant volume heat addition in bar
qs=1650;//Heat supplied in kJ/kg
P1=1;//Pressure at the beginning of compression stroke in bar
T1=368;//Temperature at the beginning of compression stroke in K
C... |
407257ce5b573989c578f223b7493dae00ea250b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH22/EX22.8/Ex22_8.sce | 59da2015f236f2d21e8d31b3638a9b9a05c7d0f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | Ex22_8.sce | //Variable declaration:
Q1 = 10*10**6 //Unit heat duty for process unit 1 (Btu/h)
Q2 = 8*10**6 //Unit heat duty for process unit 2 (Btu/h)
Q3 = 12*10**6 //Unit heat duty for process unit 3 (Btu/h)
Q4 = 20*10**6 //Unit heat duty for... |
67da16f284a125ff45f8b1edd45b207b4985f46f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH5/EX5.12/Ex5_12.sce | 31ce39ea39951152969046e6a0b9c048f7049e28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sce | Ex5_12.sce | clc;
VS=5;
R=510;
VF=0.7;
VR=VS-0.7;
disp('V',VR*1,"VR=");
I=VR/R;
disp('mA',I*10**3,"I=");
|
1c109d6c462b2dfcf182d1c1863ada9433df33ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH16/EX16.5/ex16_5.sce | 2f76730ea28a59f16ee60f0853c9ff51364dfe5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | ex16_5.sce | clc;clear;
//Example 16.5
//given data
B=0.5;//magnetic field in Wb/m^2
d=1.5;//diameter in m
f=59;//frequency in Hz
e=1.6*10^-19;//the charge on electron in C
c=3*10^8;//speed of light in m/s
pi=3.14;//const
//calculations
R=d/2;
N=c/(4*(2*pi*50)*R);
E=B*e*R*c/(1.6*10^-13);
disp(E,'final energy in MeV... |
ed9f247eb115f8bb90d23eca4b6e49fabc73dfdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH1/EX1.10/ex1_10.sce | 09a34b37b3a945b8107bd2680e876a64b4df30ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | ex1_10.sce | //Introductory Topics :example 1-10 : (pg no. 26)
i= 14*10^-3;//dc current
R=50;
x=(20*i*R);
y=10*log10(x);
printf("\nNR = 20.Idc.R = %.f",x);//noise ratio
printf("\nNF = 10log(NR) = %.2f dB",y);//noise figure |
51413f9546e64e892f3e158995ddb51ae85f760c | 584105ff5b87869494a42f632079668e4c3f82de | /help/builder_help.sce | aa44b55709dfae47882810f94e40334d074d67c0 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | sce | builder_help.sce | tbx_builder_help_lang(["en_US"], ..
get_absolute_file_path("builder_help.sce"));
|
a9b05af080d4c53bce2dc5eb899f93227429cfc5 | 75bbd82f0bfa2040e92161597c5e36931ff7767b | /Secante.sce | bb2b806738e30c216dfe2c25f5e6591acafd783b | [] | no_license | v0ltmx/scilab-MAT | d7da8e73b9d7551c2a00be04d2a2d64e80346c1d | b2f7cdc994ad49d77f90c24393769a5fdcac0568 | refs/heads/master | 2022-01-20T10:00:26.830030 | 2019-07-20T02:42:56 | 2019-07-20T02:42:56 | 197,870,163 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | Secante.sce | x=[0 %pi/3 2*%pi/3 %pi/4 3*%pi/4 %pi/6 5*%pi/6 %pi];
sec(x)
x=linspace(-%pi,%pi,100)
plot(x,sec(x))
|
778dbc50281e6dc86d86233b30e871b5dfb47638 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH4/EX4.5.1/Ex4_8.sce | b7f52cdb5bc21dc7a4586de1c9f1dd2f7229e10d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_8.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 4.5.1\n')
//given data
X=0.015//amplitude of vibration of spring mass dashpot system in m
f=100//frquency of vibration of spring mass dashpot system in Hz
zeta=0.05
fnD=22//damped natural frequency in Hz
m=0.5//mass in kg
//calculations
W=2*%pi... |
649f975935d59fe01431657119c0aa39a85ec76c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH5/EX5.3/Ex5_3.sce | 886dc35c4bdcebc552efe3c624a6f5277c010901 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Ex5_3.sce | clear all; clc;
disp("From equation 5.11 with Vu=constant,we have (Vu^2/r)dr+(Va)dVa=0 ")
disp("Or Vu^2lnr+Va^2/2=C")
disp("Or Vu^2*ln(r/rh)=(Vah^2-Va^2)/2")
disp("Or Va^2=Vah^2-2*Vu^2*ln(r/rh)")
V_ah=70
//let m=Vah^2
m=V_ah^2
printf("\n Vah^2 = %0.0f",m)
V_u=500
//let n=Vu^2
n=V_u^2
printf("\n Vu^2= ... |
762e34115200a71a768e4ac8a0ceb66cf7846b6f | 9d59fb06cf0644f9c0c84aae7977eeff57116a45 | /1-RDMP/RDMP-3c.sce | 6f94687fc83f0d946b5cc099d2e36063fceb2aa9 | [] | no_license | aguadix/RQ | f353b8fa0e36828c8cca9af53f5c3275ed476a75 | 43e8a31003bf038b0cd72487868c760829b9797c | refs/heads/master | 2023-03-07T10:50:29.102260 | 2023-03-06T01:35:58 | 2023-03-06T01:35:58 | 53,548,175 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,098 | sce | RDMP-3c.sce | clear; clc;
// RDMP-3c.sce
// A => B
// No adiabático: serpentín
// SECTORES
N = 10; // divisiones del serpentín
// SISTEMA DE ECUACIONES DIFERENCIALES
function dxdt = f(t,x)
// Variables diferenciales
Ts = x(1:N)
CA = x(N+1)
T = x(N+2)
// Calor transferido del reactor al serpentín
i = 1:N; ... |
e86a34b64a1a158e70680aa7d00e7953430ed65c | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH7/EX7.7/ex7_7.sci | 16f3c27776dead13e5f1b6fa57f978234a5a38f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sci | ex7_7.sci | //Chapter 7,Ex 7.7,Pg 7.15
clc;
a=0.98
Vce=0.2
Ic=2*10^-3
Vcc=12
Rc=4
b=a/(1-a)
printf("\n Beta=%.0f \n",b)
Ice=(Vcc-Vce)/Rc
printf("\n Ic=%.2f mA \n",Ic*10^3)
Ib=Ic/b
printf("\n Ib(sat)=%.2f uA \n",Ib*10^6)
|
128083e698307260c3397488643894bd2ed17e8c | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH8/EX8.4/ex_8_4.sce | 30fb21c4be03b607c50ce69fb140672ebd884e9c | [] | 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 | 532 | sce | ex_8_4.sce | //find working stress in flange
clc
//solution
//given
//refer fig 8.12
D=200//mm
p=0.35//N/mm^2
n=8
d=16//mm
Dp=290//mm
tf=20//mm
//using table ft=14//N/mm^2 ,table 8.2 gives C=9mm
C=9//mm
ft=14//N/mm^2
t=(p*D/(2*ft))+C//mm
d1=d+2//mm//dia of bolts
D1=Dp-d1//mm
pi=3.14
F=(pi/4)*[D1]^2*p//N//force act... |
f469b5f779f7e22f7e8c2a56204c47f6b2f1fb4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH20/EX20.8/C20P8.sce | 6a037261ffac2662aa2e1232beb403f8454657dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | C20P8.sce | clear
clc
//to find difference between masses of combined ball from sum of masses of original balls
//Given:
//mass of ball
m = 35//in gram
//speed of ball
v = 1.7//in m/s
//speed of light
c = 3.00e8//in m/s
//Solution:
//appiying fomule for energy and mass in special relativity
//applying conservation... |
085082229cfa9ceb70944336a368f104801f8fcf | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/IsentropicVortex16_P8_GAUSS.tst | 9be96e4ea881c5e3232f13343082d007c63e1b0f | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,050 | tst | IsentropicVortex16_P8_GAUSS.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler Isentropic Vortex P=8 GAUSS</description>
<executable>CompressibleFlowSolver</executable>
<parameters>IsentropicVortex16_P8_GAUSS.xml</parameters>
<files>
<file description="Session File">IsentropicVortex16_P8_GAUSS.xml</file>
... |
f83472c6cfae10a892ce6883c906a86ca7d91c4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH2/EX2.5/example2_5.sce | 16aabe2cd5f0a1f4fe0a58b56e7b35ff9465947f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example2_5.sce | disp("Part a");
q=60;
t=4*60;
i=q/t;
disp("the current flowing in the circuit (in A) is");disp(i);
disp("Part b");
t1=10*60;
q1=i*t1;
disp("the charge transferred (in C) is"); disp(q1);
|
47128b0609cbcc577b6a50cc50f5439e20fdd241 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH11/EX11.7/11_7.sce | c1feef8c365666a7863e027896031db7b7c99682 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 11_7.sce | clear;
clc;
close;
disp("Example 11.7")
g=9.8 //in m/s^2
Is=420 //in s
the=90 //in degree
tb=30 //in s
gavg=9.65 //in m/s^2
MR=0.1
delv1=-g*Is*log(MR) //in m/s
delv2=-g*Is*log(MR)-gavg*tb
delp=abs(delv2-delv1)/delv1*100
disp(delp,"% reduction in terminal speed :") |
d4a03dd5f5082f5d2502dc02738b857ad6717cc2 | 743962f1d0e2d5a341cf583d6c7888e219f4ea1f | /RBF/RBF_Interpolation_Scilab/multiquadratic_matrix.sce | 29c46cd449da825f617f9002bef7951836cf1618 | [] | 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 | 120 | sce | multiquadratic_matrix.sce | function [M, r0] = multiquadratic_matrix(X)
r0 = sqrt(mean(X) * max(X));
M = multiquadratic(X, r0);
endfunction
|
733f283224ed85efdb5e940be62aa8797036fd79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH8/EX8.17/Ch08Ex17.sci | 775f9adfd037cafab2750a8d8d756c313fde392d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,085 | sci | Ch08Ex17.sci | // Scilab code Ex8.17: Diffraction of electrons from fcc crystal planes Page 295 (2010)
// Declare a function for converting angle into degrees and minutes
function [d,m] = degree_minute(n)
d = int(n);
m = (n-int(n))*60;
endfunction
h = 6.626e-034; // Planck's constant, Js
m = 9.1e-031; ... |
63eaab99f5c401ddd5aad8005f2db50a2f466ccf | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /PluginTesting/environment/SIMPLE_TEST/SIMPLE_TEST.tst | 983ca6b4e85a05a948f61f945bbd4f4e00e97484 | [] | no_license | TimSVector/PointOfSales_v2 | 2d1130516cfc5d77f2e5d0f60adcde96374f6fc2 | ef630f05850715568725cf94cc0e497146a049d4 | refs/heads/master | 2023-08-04T10:51:50.031346 | 2023-08-03T20:50:28 | 2023-08-03T20:50:28 | 133,404,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,316 | tst | SIMPLE_TEST.tst | -- VectorCAST 19.sp1 (06/26/19)
-- Test Case Script
--
-- Environment : SIMPLE_TEST
-- Unit(s) Under Test: manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIP... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.