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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
82d6907102a6d3fce9ed83cb09d6bdbe2221685e | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH6/EX6.1/ex6_1.sce | ef72aad2b073cbc06cb6003824850e774433d2ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | ex6_1.sce |
//Exa:6.1
clc;
clear;
close;
//Given:
f1=1000;//in KHz
f2=25;//in MHz
IF=455//in KHz
Q=100;
fs1=f1+2*IF;
p1=fs1/f1 - f1/fs1;
a1=sqrt(1+ Q^2*p1^2);
printf("\n\n\t (a)image frequency is %f KHz \n rejection ratio is %f dB",fs1,20*log10(a1));
fs2=f2+2*IF/1000;
p2=fs2/f2 - f2/fs2;
a2=sqrt(1+ Q^2*p2^2);
pr... |
656f8a219a5466c144c9687144d87fe0dc3c6b62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/eulermidpoint.sci | f05453299830ef214630b54b89e1c3b006466d76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sci | eulermidpoint.sci | function [u] = eulermidpoint(u0,t0,tn,h,f,fp)
//midpoint 1st order method solving ODE
// du/dt = f(u,t), with initial
//conditions u=u0 at t=t0. The
//solution is obtained for t = [t0:h:tn]
//and returned in u
umaxAllowed = 1e+100;
t = [t0:h:tn]; u = zeros(t); n = length(u); u(1) = u0;
u(2)=u(1)+h*f(... |
a1d3a9a2e9eb6e706bf138e5e127a820e682864e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.15/Ex4_15.sce | d582022cf01ab46d3e162c3903ae22ea586cd16a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Ex4_15.sce | clc;
clear;
d=0.05*10^-3 //diameter of the wire in m
D=15 //distance between the glass plates and the edge in cm
lambda=6000*10^-10 //wavelength in m
//calculation
alpha=d/D //wedge angle in radian
Beta=lambda/(2*alpha)
mprintf("The fringe width is = %1.2f cm",Beta)
|
2ae6217870f78494f5a3f9f1eee79cf0c351491c | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH9/EX9.16/Example_9_16.sce | e78f1f07c1ba550564fd01e40ce1a813474b5861 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,107 | sce | Example_9_16.sce | //Caption:Two-Samples Tests
//Two-tailed two-samples sign test with normal approximation
//Example9.16
//page336
//Test 2: Ho: uX = uY or p = 1/2
// H1: uX # uY or p # 1/2
clc;
n = 20; //Number of observations of each sample
plus_signs = 7;
minus_signs = 13;
alpha = 0.1; //significance level
alpha =... |
071861c31b043dbd3d566d5b3350cace0e87649f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH4/EX4.4/Ex4_4.sce | 2f3bff8b41728094e50d8596cd777edd8bdec041 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | Ex4_4.sce | // Calculating the length and width of strip
clc;
disp('Example 4.4, Page No. = 4.5')
// Given Data
e = 0.9;// Emissivity
Radiating_efficiency = 0.75;// Radiating efficiency
v = 250;// Voltage in volts
P = 1000;// Power in Watts
t = 0.2;// Thickness of nickel chrome strip
T1 = 273+(300+30);// Temperature of st... |
33959bff2a4b755f7f1e1681c6c02a51d0896bed | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH8/EX8.12/8_12.sce | 99d4a87fddf19a1d71963576efde64f65e02634e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,298 | sce | 8_12.sce | //To find the velocity and acceleration
clc
//Given:
NDC=1140 //rpm
AB=80/1000,CD=40/1000,BE=150/1000,DE=BE,EP=200/1000 //m
//Solution:
//Refer Fig. 8.25
//Calculating the angular speed of the link CD
omegaDC=2*%pi*NDC/60 //rad/s
//Calculating the velocity of D with respect to C
vDC=omegaDC*CD //m/s
vD=vDC
... |
2bbe34ebf2b6cab2708ae6c93a8df453355ae225 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH13/EX13.5/Ex13_5.sce | 4d5f6d9fa22434f04fd857a6fcdfb4ca682939e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | Ex13_5.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-13.5 Page No.292\n');
//Normal circular pitch
Pc=0.524;
LA=4.77*%pi/180;
Pcn=Pc*cos(LA);
mprintf('\n Normal circular pitch = %f in.',Pcn);
//Force transmitted
hp=5;
n=29.2;
T=63000*hp/n;
Dp=10;
Ft=2*T/Dp;
mprintf('\n Force transmitted = %f ... |
ffe6158fe738ac02f2c079c9cb5e03782fb6c7ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH11/EX11.19/Example11_19.sce | 0ba36f4c06b492c58ccfb424ad4382853aa141a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Example11_19.sce | //Example 11.19
clear;
clc;
VI=5;
Vo=12;
Io=1;
fs=100*10^3;
IL=(Vo/VI)*Io;
deliL=0.2*IL;
L=(VI*(1-(VI/Vo)))/(fs*deliL);
Ip=IL+(deliL/2);
Vro=100*10^(-3);
delvc=(1/3)*Vro;
C=(Io*(1-(VI/Vo)))/(fs*delvc);
delic=Ip;
delid=delic;
delvesr=(2/3)*Vro;
ESR=delvesr/delic;
pri... |
f635e5754fb4c017ea5f62a5cbd09559db9a53e9 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /ODE/scilab/q_well.sce | 038327e9b06258ef955d2168e1b0cda6cb853ee9 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | q_well.sce | function V = Potential(x)
if abs(x) > 1.0
V = 1
else
V = 0
end
endfunction
omega = 1
N = 200
L = 10.0 // domain is defined on [-L/2,L/2]
h = L/(N-1)
nabla2 = zeros(N,N) // Laplacian
V = zeros(N)
x = -L/2 + [0:N-1]'*h
for i = 1:N-1
nabla2(i,i) = -2
nabla2(i+1,i) = 1
nabla2(i,i+1) = 1
end
nabla... |
096b08e1059742eb47bcceb0bafc2dad731ab835 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH7/EX7.9/7_9.sce | c8c743054024e06d01a3bf677bb11ff3aa7713b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | 7_9.sce | //ill conditioned linear systems
//example 7.9
//page 276
clc;clear;close;
A=[2 1;2 1.01];
B=[2;2.01];
X=A^-1*B;
A_e=0;
for i=1:2
for j=1:2
A_e=A_e+A(i,j)^2;
end
end
A_e=sqrt(A_e);
inv_A=A^-1;
invA_e=0;
for i=1:2
for j=1:2
invA_e=invA_e+inv_A(i,j)^2;
end
end
invA_e=s... |
4afbf2ce299aa2e9d9c0171535b089f31ab73a33 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/enbw/enbw9.sce | 94a8a83a43876966b15bb4b83088c9752941afbf | [] | 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 | 132 | sce | enbw9.sce | //check o/p when i/p arg win has negative values
win=[-1 -2 -3 -4 -6 -7];
en=enbw(win,44.1e3);
disp(en);
////output
// 9586.9565
|
671caf40556e338e7bbd87c2bfad0007988f8d6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.9/Example_7_9.sce | 1ad3384eedd4aaf99cc6b922c965130e6bba70af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | Example_7_9.sce | // Chapter7
// Page.No-274
// Example_7_9
// Design of wide bandreject filter
// Given
clear;clc;
fh=200; // Low cutoff freq in Hz
fl=1*10^3; // High cutoff freq in Hz
C2=0.01*10^-6; // Assumption
R2=1/(2*%pi*fl*C2);
printf("\n Resistance R2 of highpass section is = %.1f ohm \n", R2) // Result
C=0.05*10^-6;
... |
a2ee68c12e453794874d39c577ab2e1426568937 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH9/EX9.4/9_4.sce | 55295a1eccb8318361ad11ca9d92c42bcdb070ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | 9_4.sce | clc
//initialisation of variables
m1=0.08//kg
m2=0.12//kg
t1=20//c
t2=50//c
T1=t1+273//k
T2=t2+373//k
s=1000//cal/kg
//CALCULATIONS
t=(m2*t2+m1*t1)/(m1+m2)
T3=t+273
s1=m1*s*log(T3/T1)
s2=m2*s*log(T3/T2)
ds=s1+s2
//results
printf(' change in entropy of universe = % 1f cal/k',ds)
|
a24c108cad72453eed86c09ad13bfffcdc6980f7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos/do_version.sci | f7b705f472c1da28ad99608ca1ae6531fa3b9faa | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 23,618 | sci | do_version.sci | function x_new=do_version(scs_m,version)
//translate scicos data structure to new version
nx=size(scs_m);
if version<>'scicos2.2' then
error('No version update defined to '+version+' version')
end
x_new=list()
wpar=scs_m(1)
wsiz=wpar(1)
if size(wsiz,'*')>=4 then x_new=x,return,end
wpar(3)(4)=wpar(4)+1
x_new(1)=wp... |
3274a1b2ab9d46d47c18feb00e8029043150d470 | 952ac77708af89bf9ae2f9d7a1b39c951200c826 | /funpom.sci | 39b160235640fb0adc5159f824ec54fa847619c7 | [] | no_license | bonsoftpl/SymfoniaHm | 417b6d397cf99c5d152fbc3a15d30b3127c0a7bb | 33104e84207823eb5e283ee9fd3f4aba173af58c | refs/heads/master | 2020-07-04T13:13:50.496106 | 2017-02-03T17:22:40 | 2017-02-03T17:22:40 | 74,064,544 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Scilab | false | false | 29,783 | sci | funpom.sci | //"funpom.sci","funpom.sci",12001,0,1.0.7,SYSTEM
// wersja 1.0.15
#define FUNPOM
#define BS_FUNPOM
#define WM_CLOSE 0x0010
int anDniWMies(12) = 31,28,31,30,31,30,31,31,30,31,30,31
int bExcelKropka = 0
string sZera="000000000000000000000000000000000000"
#define idbasXT 2
#define idbasPR 6
#define idb... |
317b60959316e74147bf60dd93ba4c7cf94f23e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.22/Ex3_22.sce | d54dca43f8e1efc068b62f8a849d0eb7db5e17dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Ex3_22.sce | //Ex 3.22
clc;clear;close;
format('v',6);
f0=10*1000;//Hz(3-dB frequency)
DCgain=10;
R1=10;//kohm
R2=DCgain*R1;//kohm
C=1/(2*%pi*f0*R2*1000)*10^9;//nF
disp("Design values are :");
disp(R2,"Resistance R2(kohm): ");
disp(C,"Capacitance C(nF): ");
|
ce99be7b38aee8a4f7c6f38694bdd5bbf0ea7e2b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106.zip/Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106/CH4/EX4.12/ex4_12.sce | 22cb8fceba2b6af94290fe1b9a45045a4d4cfa74 | [] | 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 | 105 | sce | ex4_12.sce | errcatch(-1,"stop");mode(2);// Example 4.12, Page No-223
// This is theorotical problem
exit();
|
368d37be7b799977eca57bd662701306c5656539 | 44399e43f8dd4d0a7c8d41f5f407ee36ce8ab651 | /metNewton.sce | 9b374b6768fe236d3941ade284c25b29a45133d9 | [] | no_license | BanderoChinoZF/MetodosNumericos_SciLab | e021c3f11e25f7216e0b2b3b015d0737e176edfa | eec9fcaa3ff226ca058f515d72b6558923421ad9 | refs/heads/master | 2022-11-13T12:33:03.241216 | 2020-07-02T07:00:42 | 2020-07-02T07:00:42 | 276,572,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | metNewton.sce | function y=funcion(x)
y=x^3+2*x^2+10*x-20
endfunction
function newton ()
n=0;
xa=input("Ingresar el valor de Xi: ");
xb=input("Ingresar el valor de Xd: ");
tol=input("Ingresar la tolerancia: ");
//if abs(f(xa))>abs(f(xb)) then
// xi=xb;
//end
e_rror=10;
... |
bfe6a5b89caa005a1af10b734627f6a115b74ed7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.4/Ex2_4.sce | 1cabf6eeff219d2a4b6f99efa9a99b4b8e9ee97f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | Ex2_4.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.4
//Given Data Set in the Problem
P=3.924
dens_water=1000
g=9.81
SG_oil=0.9
//Calculations
//If the fluid is water
z_water=P/(dens_water*g)
mprintf("The height in water column... |
bad0d3eb5aa10bd0862157792b5060e80a79dda1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH10/EX10.9/Ex10_9.sce | cd4a60ca0dcc7196e6ef3aafa366481621c2c926 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,556 | sce | Ex10_9.sce | clear;
clc;
disp('Example 10.9');
// aim : To determine
// (a) the theoretical power of steam passing through the turbine
// (b) the thermal efficiency of the cycle
// (c) the thermal efficiency of the cycle assuming there is no reheat
// given values
P1 = 6;// initial pressure, [MN/m^2]
T1 = 450;// initia... |
c100e1192fafa4fba58eabadbbcc02a41c4340ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH6/EX6.2/ex_6_2.sce | 5bde9cc0cafd7ae9ffd9a7228fa004d21023e576 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | ex_6_2.sce | // Example 6.2:loss
clc;
clear;
close;
disp("part (a)")
format('v',5)
dya=0.1;//
n1=1.50;//refrative index
na=1;//
k1=n1/n1;//
k2=1;//
nf=((16*(n1)^2)/((n1+1)^4));//
nlat=(2/(3.14))*(acos(dya/2)-(dya/2)*(1-(dya/2)^2)^(1/2));//
nt=nf*nlat;//
lt=(-10*log10(nt));//in dB
disp(lt,"insertion loss at the joint in dB is")
disp... |
51e91481d4a44725ef67057c19b844fb59a4ee07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH4/EX4.1/Ex4_1.sce | 4a9e91ba78f4a7594c36cfc36944f759080eee55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | Ex4_1.sce | //Chapter 4, Exmaple 1, page 139
//Claculate alpha and No. of electrons emmited
clc
clear
//Claculate (a)alpha
d2 = 0.01
d1 = 0.005
I2 = 2.7*10**-7
I1 = 2.7*10**-8
alpha = 1/(d2-d1)*log(I2/I1)
//(b)number of electrons emmited from cathode per second
I0 = I1*%e**(-alpha*d1)
n0 = I0/(1.6*10**-19)
printf("\n Part (a)\n al... |
c72f6d5dbe5e215ff427fd12c9c58ffca855d35c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH4/EX4.9/4_9.sce | ae60955955ed2156253b6913d24cc97cbcf1a751 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | 4_9.sce | clc
//initialisation of variables
g=3.2541//in
g1=3.46//in
m=0.5390//ft
h=2/99//ft
p=1.52//ft
//CALCULATIONS
L=sqrt(g*h)//in
mu=g1*p//in
M=g1/p//percent
//RESULTS
printf('the points necessary to plot the straigt line of fit on log probability=% f percent',M)
|
356eafa31310b1a42c1ca65699057a988287913f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH19/EX19.4/Ex19_4.sce | e5f31b26396bced864dc238fa5fbf770b55cd7be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ex19_4.sce | clc;
//e.g 19.4
Vcc=12;
Rc=10*10**3;
Re=1*10**3;
Rb=500*10**3;
beta=50;
Ic=Vcc/(Re+(Rb/beta));
disp('mA',Ic*10**3,"Ic=");
Ie=Ic;
re=25/(Ie*10**3);
disp('ohm',re*1,"re=");
Ri=beta*re;
disp('ohm',Ri*1,"Ri=");
Ris=(Rb*Ri)/(Rb+Ri);
disp('ohm',Ris*1,"Ris=");
R0=Rc;
Av=R0/re;
disp(Av);
Av=Rc/Re;
disp(Av);... |
44a5e4d0735d11947442ff559450dc6a6fda0702 | 0778f91e335afef58ae45c5a33184587cee76088 | /Ex8.sci | b73d7749f0f2e19ec3e59cea6dd026ff5faa4353 | [] | no_license | LtavaresII/CN | b38e6f5531a3597f8705bdf163f4cec49f49d51e | 0dcfb182692dee3ecf71d62162f986f816b3d687 | refs/heads/master | 2020-03-25T23:35:53.410172 | 2018-12-05T14:17:32 | 2018-12-05T14:17:32 | 144,282,768 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,097 | sci | Ex8.sci | function y = gL1(t,L1,L2)
y = (-0.178139/15.5179)*sqrt(2*980*L1) + (4.6/15.5179)*(6 + 5*sen(t))
endfunction
function w = gL2(t,L1,L2)
w = (-0.178139/15.5179)*sqrt(2*980*L2) + (0.178139/15.5179)*sqrt(2*980*L1)
endfunction
function [t,L1,L2] = RK4(a,b,h,L10,L20)
t = a:h:b
n = length(t)
L1(1) = L10
... |
dfbad37948b3f890925fe9976d0462d58f98ec4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH9/EX9.9/Ex9_9.sce | 540b3445fa26a1c1a046ea37a4afa28dae352a41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | Ex9_9.sce |
W1=115D+3
W2=50D+3
//calculating input to motor
W=W1+W2
mprintf("Power input to the motor=%f kW\n", W/1000)
//calculating power factor
phi=atand(sqrt(3)*(W1-W2)/(W1+W2))
mprintf("Power factor angle, phi=%f degrees\nPower factor of load=%f A\n", phi, cos(phi*%pi/180))
//calculating line current
Il=W/(sqrt(3)*... |
86a0727e38a7ebc6ca0d79025e24a30d6b101557 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Integrated_Circuits_P._Raja_2582.zip/Integrated_Circuits_P._Raja_2582/CH5/EX5.3/Ex5_3.sce | abbdac524f28000d6887002511c60b7c2f685001 | [] | 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 | 141 | sce | Ex5_3.sce | errcatch(-1,"stop");mode(2);//Ex 5.3
;;
R=100;//kohm
C=0.01;//micro F
f=1/(2*R*10^3*C*10^-6);//Hz
disp(f,"Frequency(Hz) : ");
exit();
|
0852b0f1b55e9e35f54a1e84672efffe416a0d53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH7/EX36.7/36.sce | fd7d766dfadff73e30e62fbb4f4819c1147b1ffc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 36.sce | clc
//initialisation of variables
v01=54//m/sec
v0=15//m/sec
t=120//sec
s=900//m
vt=0//m
//CALCULATIONS
a=((vt)^2-(v01)^2)/(2*s)//m/sec^2
A=((vt)^2-(v0)^2)/(2*s)//m/sec^2
//RESULTS
printf('the train to stop after the brakes were applied=% f m/sec^2',A)
|
46bdbf5b310dfa4e11d9ebcc7ef8db16700bef88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH8/EX8.9/EX8_9.sce | 7d836b5ec83482a606d8a38c0706641f2d1a14e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | EX8_9.sce | //Chapter 8, Example 8.9
clc
//Initialisation
l=15*10**-3 //inductance in henry
c=30*10**-6 //capacitance in farad
r=5 //resistance in ohm
pi=3.14 //pi
//Calculation
fo=1/(2*pi*sqrt(l*c)) //Resonant Frequency
... |
99ea5909fb6dc058436fcaf3646e27b4d2f2447b | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH4/EX4.2/4_2.sci | b3cdeea30fd9f439a72fd7d8e8fe84bcf396dbdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sci | 4_2.sci | clc();
clear;
//To calculate the thickness of the air film
lambda1=400*10^-9; //wavelength 1
lambda2=600*10^-9; //wavelength 2
//2*t=n*lambda
n=150; //since 600*n=(n+75)400
t=((n*lambda2)/2)*10^6
printf("The thickness of the air film is %d micro meter",t)... |
0036ee50af89a3124c81d1bc8725e5ec8f4edcec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.2/Ch02Ex2.sce | d6285d78cdbed0c479ececd3e430de98889f08b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | Ch02Ex2.sce | // Scilab Code Ex2.2:: Page-2.10 (2009)
clc; clear;
d = 0.2; // Separation between the slits, cm
D = 100; // Distance of the source from the screen, m
b = 0.35e-01; // Fringe separation, cm
lambda = b*d/D; // Wavelength of light used, m
printf("\nThe wavelength of the light = %3.1e cm", lambda);
// Resu... |
37cbb6a0ae57724ae8dd729159581c574a1b7560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.1/EX5_1.sce | 67b01ecd2daa81b2223edcbbb2c8513315904be5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | EX5_1.sce | // Exa 5.1
format('v',6)
clc;
clear;
close;
// Given data
V_TN = 0.7;// in V
W = 45*10^-4;// in cm
L = 4;// in µm
L = L * 10^-4;// in cm
t_ox = 450;// in Å
t_ox = t_ox*10^-8;// in cm
V_GS = 1.4;// in V
Miu_n = 700;// in cm^2/V-s
Epsilon_ox = (8.85*10^-14)*(3.9);// in F/cm
// Conduction parameter can be e... |
b148246b74c3eed94939583c5390434ab707ac5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH31/EX31.1/example1.sce | b0fba13fd728ec07a8be18131c9af5662f3cde57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | example1.sce | //chapter 31
//example1
clc
//given
d1=0.10 //diameter of aluminium wire in inches
d2=0.064 //diameter of copper wire in inches
i=10 //current carried by composite wire in amperes
A1=%pi*(d1/2)^2 //crosssectional area of aluminium wire in square inches
A2=%pi*(d2/2)^2 //crosssectional area of copper wire in squ... |
b8d6c38b58ee1d317765e25b74ce94f8d0837b71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH4/EX4.10/Ex4_10.sce | b7643bd1db0199f6d878b542c11734148629e3d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Ex4_10.sce |
// calculation of GMD , Dm
// Dab = (da1b1 * da1b2 * da2b1 * da2b2)*(1/4) = (gkkg)^(1/2) = sqrt(gk)
// Inductance/phase = 2 * 10^-7 log ( Dm / Ds)
printf("Inductance/phase = 2 * 10^-7 / 3 * log(g^2*k^2*h*d/(r^3*f^2*m)) H/m")
// Capacitance/phase = 2*%pi*%e/( log(Dm/Ds))
disp("Capacitance/phase = 6*%pi*%e / (log(g... |
d098e6ffde7d97ed54d0c6a4931ad2ab56288fad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH5/EX5.5/pe5_5.sce | f29446559611ee8118a27fdce0bfe25a8c09554d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | pe5_5.sce | //example 5.5
clc; funcprot(0);
// Initialization of Variable
R1=22;//resistance
Vg=3.6;//voltage
Vd=56;
G=.98;//gain
Vi=40;
Rl=8;//load resistance
Vp=36.5;
pi=3.1428;
//calculation
Vr=Vd-Vg;
Ir=Vr/R1;
R2=Vg/Ir;
disp(R2,"resistance in kohm:")
Va=(R1/(R1+R2))*Vi;
Vl=G*Va;
disp(Vl,"load voltage in V:")
... |
d73281ab4158e8a6a60a0a4783deef588394963a | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/tf2ca/test_4.sce | fe3099930ddfaccaf825aed7f4d7b79e5edae715 | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 312 | sce | test_4.sce | // Test # 4 : When numerator is neither symmetric or anti-symmetric
exec('./tf2ca.sci',-1);
[d1,d2,b]=tf2ca([0.1 0.5 -0.1],[1 2 3]);
//!--error 10000
//Numerator coeffcients must be either be symmetric or antisymmetric
//at line 71 of function tf2ca called by :
//[d1,d2,b]=tf2ca([0.1 0.5 -0.1],[1 2 3])
|
adfc43de608ba1c21e0d7bc615d1bb35cb9a6a77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH4/EX4.10/4_10.sce | 1927188d03213ab9b61de0c5fb8d73f9f579da5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | 4_10.sce | clc
//Initialization of variables
V=60 //fps
theta=15 //degrees
ra=6/12 //ft
rb=8/12 //ft
B=1.5/12 //ft
//calculations
Vra=V*sind(theta)
Q=2* %pi*ra*B*Vra
Vratio=ra/rb
Vb=Vratio*V
flow=(V^2 - Vb^2)/(2*32.2)
//results
printf("Flow rate = %.2f cfs",Q)
printf("\n Velocity at b = %d fps",Vb)
printf("\n Pres... |
6a8eaa39066130d502de6742ef1712b839635496 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH7/EX7.16/Ex7_16.sce | 76b15518f706f9186336fbac62b4413854b0b024 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,157 | sce | Ex7_16.sce |
//To Determine the Resistance of the Various Steps in a Series Motor
//Page 398
clc;
clear;
P=20*735.5; //Power Rating
V=500; //Rated Voltage
Eff=80/100; //Efficiency
Raw=1; //Resistance of Armature and Windings
Iflux=10/100; //Increase in Flux
I=P/(V*Eff); //Maximum Current
//VAriation in Current
Imin=... |
f7491f43130ef4712e7aa3d5499aafc0d882a30f | f782561b1f8fe3d916355f7823306c0ddfcd4e1c | /Assignment 1/Encoder4To2/Encoder4To2.tst | c8548a4b0e3245a86ed8aab73de6d6007d5dc4dc | [] | no_license | rohit01010/Computer-System-Design | 17866493199ecea3e65c15558d6e598b552fd537 | 24609e7712e0f996ebc468c7d45d5cfafad0da87 | refs/heads/main | 2023-06-21T21:28:29.274768 | 2021-07-19T16:23:52 | 2021-07-19T16:23:52 | 387,509,305 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | tst | Encoder4To2.tst | load Encoder4To2.hdl;
output-file Encoder4To2.out;
output-list x0 x1 x2 x3 y1 y0;
set x0 1,set x1 0,set x2 0,set x3 0,eval,output;
set x0 0,set x1 1,set x2 0,set x3 0,eval,output;
set x0 0,set x1 0,set x2 1,set x3 0,eval,output;
set x0 0,set x1 0,set x2 0,set x3 1,eval,output;
|
077bab6f6f01db651291aa51e6d853149e900eff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH1/EX1.5/Ex1_5.sce | 4907de9fe8a036b96a8118e6993372e74548e59b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_5.sce | // Problem 1.5,Page no.11
clc;clear;
close;
//Circle-1
a_1=100*%pi //cm**2
x_1=10 //cm
//Square-2
a_2=50 //cm**2
x_2=15 //cm
//Calculation
X_bar=(a_1*x_1-a_2*x_2)*(a_1-a_2)**-1 //cm
//Result
printf("The centre of gravity is %.2f cm",X_bar)
|
042302a8869330bc97fb33be48fe31712ee1850b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH12/EX12.6/Ex12_6.sce | 1067a8af50067adcd4fac0a7bdc47e58813d4cb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | Ex12_6.sce | //Example 12_6
clc();
clear;
//To findout how much electricity is needed
Tc=278 //Units in K
Th=293 //Units in K
COP=Tc/(Th-Tc) //Units in ratio
Qc=210000 //Units in J
W=Qc/COP //Units in J
printf("The amount of Electricity is required is Delta W=%d J",W)
|
3aacdb8d31b65103ebc8b7e82c2113786ce51d1c | c49cfb0568cc47def2bab58998cf7a2745deeb75 | /KarmarkarsAlgorithm_1.sce | bb69bf9e918e63b2d58641173e97fcd53875d82b | [] | no_license | mirgayazov/Computational-mathematics | 7be950e9c54231943912aa8cc0eba9484b8613ee | 97eb92557308d51709101ba1922ed2bb39a0e08f | refs/heads/master | 2023-05-31T18:16:04.774709 | 2021-07-08T09:18:58 | 2021-07-08T09:18:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,135 | sce | KarmarkarsAlgorithm_1.sce | clc
exec('C:\Users\mirga\OneDrive\Рабочий стол\helper.sci' ,[-1])
//Лабораторная работа №10 Тема: Решение задач о планировании перевозок.
//Транспортная задача
//min(120x1+140x2+110x3+80x4+110x5+80x6)
//x1+x4=15
//x2+x5=13
//x3+x6=15
//x1+x2+x3=30
//x4+x5+x6=13
//ограничения
//x1>=0 & x1<=40
//x3>=10
//x2+x3<=60
//x4+x... |
afe9af95b5e95d7f4e5cdd9eaec2f3b15807e14c | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/imcontrast.sci | 06c36aaca75be1bcf4e0bac83d58f7e857cdf2b6 | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 1,207 | sci | imcontrast.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_... |
1b13175d3d84eb6a4b918b8e3c48a4c5f398a06c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH11/EX11.15/Ex11_15.sce | 2c34638fee5f660f4a630432c28d612bb165d7aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Ex11_15.sce | //chapter11
//example11.15
//page219
Vcc=12 // V
Rc=6 // kilo ohm
// we know that Vce=Vcc-Ic*Rc
// when Ic=0, Vce=Vcc i.e. 12V
// when Vce=0, Ic=Vcc/Rc i.e.2mA
// so equation of load line becomes Ic=-(1/6)*Vce+2
x=linspace(0,12,5)
y=-(1/6)*x+2
clf()
xtitle("dc load line","Vce(volts)","Ic(mA)")
plot2d... |
b3b0b90d6640d0aa746ae49d539f7f91dc90297c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH8/EX8.2/Ex8_2.sce | d5b21520eb9a9830d1261ead6969e61064dacf2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,983 | sce | Ex8_2.sce | //Example 8.2
// Design of a Space Station Attitude Digital Controller using
// Discrete Equivalents
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation of continuous time system
s=poly(0,'s');
num=1;
den=(s^2);
Gs=sy... |
ba8696c07127b68abf22abea5ea2da44b15fbe00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH2/EX2.9/Example2_9.sci | 3099422e882e39661c5502873869b862e5bd11ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Example2_9.sci | //Chapter 2_Thick Film and Thin Film Hybrid ICs
//Caption : Length
//Rxample2.9: Calculate the length of a 400ohm thin film resistor.Given a sheet resistivity oof 100ohm/square and a resistor width of 100um
//Solution:
clear;
clc;
function L=extent(r,w,Ps)// L:length of thin film, r:resistance of thin film=400oh... |
28dff9ac7ab8112f9eb32bae99970e76b5125387 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH2/EX2.7/Ex2_7.txt | ffe55fcaec42b93bd5b366747e1ef3d6d56e1562 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | txt | Ex2_7.txt | //Ex:2.7
clc;
clear;
close;
fc=220;// center frequency in Hz
f3db=190;// 3 db frequency in Hz
f3db1=240;// 3 db frequency in Hz
Bl=(fc-f3db)/fc;// lower band width
Bu=(f3db1-fc)/fc;// upper band width
R=f3db1/f3db;// max to min ratio
printf("The lower band width = %f %%", Bl*100);
printf("\n The upper band w... |
f99e897bec66f99f1d2dced29c3d14c806609e8f | c28130b62911f5891f14826350089c73c907d3b5 | /exo5_initialise_grille.sci | bf15a5ced80a539d59fbd83625bc4e8dd4ed5eb9 | [
"MIT"
] | permissive | zyron92/Simulation_of_Cardiac_Excitation | f1709d032613f49427a72716b4e258c3b578b739 | 66813dc24128d9cb171e77d4f780b6bf54011d15 | refs/heads/master | 2021-01-19T10:25:43.810588 | 2017-02-16T12:58:38 | 2017-02-16T12:58:38 | 82,180,177 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,015 | sci | exo5_initialise_grille.sci | //appeler la fonction qui résout le problème modèle cellulaire
exec('exo4_modele_cell.sci',-1)
//la fonction qui initialise la grille avec des zéros
function[res_e,res_r]=initialise_grille(n,e0,r0)
res_e=zeros(n*n,1)+e0
res_r=zeros(n*n,1)+r0
endfunction
//Afichage en matrice (Mij, j suit x, i suit y)
function[M_e,M... |
12dc22eab0f351520145f1e30b1911b50d16fb9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.4/ex_3_4.sce | 55a3ae8548ceae8795fa603e5225e7192166287e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | ex_3_4.sce | //Example 3.4 // resistance
clc;
clear;
close;
//given data :
Rt1=54.3; // resistance in ohm
alfa=0.0043; // the resistance temperature of coeficient in per degree celcius
t1=20; // temperature in degree celcius
t2=40; // temperature in degree celcius
Rt2=(Rt1*(1+(alfa*t2)))/(1+(alfa*t1));
disp(Rt2,"resistance at 40 d... |
fadc2c7dbab85f00510a2fdefaf4507ee5795890 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH4/EX4.8/Ch04Ex8.sce | af2a4f2650ede5b48afffb49867bc97eea9966c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,053 | sce | Ch04Ex8.sce | // Scilab code Ex4.8: Pg 120-121 (2008)
clc; clear;
r = 3e-02; // Radius of toroid, m
A = 4.5e-04; // Cross-sectional area of toroid, metre-square
N = 500; // Number of turns
phi = 250e-06; // Flux, Wb
mew_o =... |
c98ad80ff45592bf5afe33e934043aa8757968c9 | 8d84f0f9896b6d830524723e9edec1c30f50cc7b | /Unit 4/eigen values and eigen vectors.sce | 609e5ee2962a6b3c0eb08ecfdf9efe4e39d412cb | [] | no_license | saveri1205/Linear-Algebra | 29a40be2c04213cec652cee72ce14411ab0eeb9a | 0d2b0b23bbb9f693f4c1b4e34a1b434378ab3e18 | refs/heads/master | 2021-01-01T13:23:18.102349 | 2020-06-03T10:50:23 | 2020-06-03T10:50:23 | 239,297,246 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | eigen values and eigen vectors.sce | //Eigenvalues and Eigenfunctions
clc;
A=[2,1,1;1,3,2;3,1,4];
B=[1,-%i,3+4*%i;%i,2,4;3-4*%i,4,3];
C=[2,-%i,2*%i;%i,4,3;-2*%i,3,5];
[c,d]=spec(A);
[e,f]=spec(B);
[g,h]=spec(C);
disp(spec(A),"The Eigen-values of matrix A are:");
disp(c,"The corresponding Eigen-vectors of matrix A is:");
disp(spec(B),"The Eigen-v... |
4387d9681999fe23866284319da0b4ba06f3ca8c | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2hp/test_10.sce | d54fb06044784ce8f355aa42d1044b9ce64f497d | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | test_10.sce | // Test # 10 : Input Argument #2 length
exec('./allpasslp2hp.sci',-1);
[n,d]=allpasslp2hp(0.3,[0.6,0.2]);
//!--error 10000
//Wt must be real,numeric and scalar
//at line 45 of function allpasslp2hp called by :
//[n,d]= allpasslp2hp(0.3,[0.6,0.2])
|
02757f444f0e916de9b352918990fd44f0fffac8 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/test.sce | 8496cd29ec884b1971df293bbc943fc9baa302ad | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sce | test.sce | clearglobal
clear
clc
close();
rand("seed",25);
p = rand(500,2)*10;
getd(".");
getd("./kNN");
global cellIn;
global lcell;
cellIn=cell();
lcell=0;
tic();
kd_tree(p,0,0);
disp('kdtree created in ' + string(toc()) + ' seconds');
pt = 25;
nNeigh = 100;
tic();
n1 = kNN(cellIn,nNeigh,p(pt,:));
disp('Time for kNN search i... |
5d2aec5a7de564f2f4d33e0a9775651c2325025c | 78ff3e16a288175ff606f38ee5ee877d4844773e | /6_chapter/6_06_example.sci | b2acfd1881124dd8d784e4c63f65982b6f7f5450 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sci | 6_06_example.sci | //Example 6-6 Decelaration of a Spacecrafe
m_spacecraft = 12000 //mass of spacecraft [kg]
V_spacecraft = 800 //velocity of spacecraft [m/s]
m_gas = 80 //mass flow rate of gases [kg/s]
V_gas = 3000 //relative velocity of gases with spacecraft [m/s]
deltat = 5 //period of motion of gases [s]
beta1 = 1 //momentum flux cor... |
9bfc1e960ad63aca37408ef0577944633ceff33b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%pxr.sci | a0ad731495992b398b7b6cd32116bc3a6c5dec15 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sci | %pxr.sci | //<r>=%pxr(p,r)
// %pxr(p,r) calcule le produit element par element de la matrice de
//polynomes p par la matrice de fractions rationelles r.
//Cette macro correspond a l'operation p.*r
//!
r(2)=p.*r(2)
//end
|
1caa565bb009a12ec5aaaefc7619db2db344c054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH8/EX8.4/exa_8_4.sce | 37530270cfa2e30ac170f568e9071d9cf2e97b97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_8_4.sce | //Exa 8.4
clc;
clear;
close;
//given data
Fi=0.00014;// in m^2 degree C/W
hi=2000;// in W/m^2degree C
Fo=0.00015;// in m^2 degree C/W
ho=1000;// in W/m^2degree C
di=3*10^-2;// in m
do=4*10^-2;//in m
ro=do/2;
ri=di/2;
k=53;// in W/m degree C
Uo=1/(do/di*1/hi+ do/(2*k)*log(ro/ri) + 1/ho + do*Fi/di + Fo);
d... |
45a62912fc4cf66f4daac55be19695ef8ed5dd61 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH13/EX13.2/ques2.sce | d5dde4f1fb83989614aeb563b5e3317531172361 | [] | 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 | 293 | sce | ques2.sce | errcatch(-1,"stop");mode(2);//ques2
disp('solution of the given linear differential equation is given by : ');
syms c1 c2 x;
m=poly(0,'m');
f=m^2+6*m+9;
r=roots(f);
disp(r);
disp('roots are equal so solution is given by :');
disp('y=');
y=(c1+x*c2)*exp(r(1)*x);
disp(y);
exit();
|
551b0eabc97e06667218ff0cde91861862d7e93c | 68f6f3335d41b95146619ddf406414da5c1bc975 | /metodos-numericos/practicas/scilab/p6.sci | fdf1170bc92f90a5aa3399c64a864fac9ba6535d | [] | no_license | nachocattoni/Ita | be52ab7f80cb0dd7d0a0ef470c72a7f997f2e75b | f7e102a2917ebe59358dbd9d5f7af81703c16fde | refs/heads/master | 2021-05-02T08:09:23.784800 | 2018-02-08T02:50:30 | 2018-02-08T02:50:30 | 120,845,736 | 0 | 0 | null | 2018-02-09T02:29:22 | 2018-02-09T02:29:21 | null | UTF-8 | Scilab | false | false | 1,693 | sci | p6.sci | //// Ejercicio 1
// Parte a)
clear
clc
A1 = [1 0 0; -1 0 1; -1 -1 2];
function [cota_inf, cota_sup] = gerschgorinear(A)
// Devuelve la cota inferior y la cota superior de los autovalores
// Tambien hace un plot, que da mas informacion...
cota_inf = 0;
cota_sup = 0;
n = size(A, 1);
for i=1:n
... |
00fe7d917570f5be325524905e6e124fbaeedddd | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH4/EX4.8/Exa_4_8.sce | b897889c03ffa5db8e125583cfd22b9552544dc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Exa_4_8.sce | //stability of recursive filter
//for roc:/z/>/a/
a=input('enter the value of alpha')
z=%z;
H=z/(z-a);
if (abs(a)<1)
disp("system is stable")
else
disp("system is not stable")
end
//for roc:/z/</a/
if (abs(a)>1)
disp("system is stable")
else
disp("system is not stable")
end
|
e9635421a7a9ad95b8cebcb24215ae83761c3b9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH14/EX14.9/example9_sce.sce | e9a9081e6d854b0939da8f877e785f46366200a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | example9_sce.sce | //chapter 14
//example 14.9
//page 612
printf("\n")
printf("given")
Acl=3;R4=1*10^6;Vi=1;
R1=R4/Acl
R1=330*10^3;//use standard value
R2=R1;R3=R1;
I1=Vi/R1
I2=I1;I3=I1;
I4=I1+I2+I3
Vo=-I4*R4 |
07d751109159bc8d7e029843b0f4c2fd96c45f92 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/lookup.tst | 14105e92fe306ca46475746a38f59bb2918577a8 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,165 | tst | lookup.tst | # Test lookup table
lkp = Pump.LookupTable()
# setup table
lkp.NumberSeries = 3
lkp.NumberTables = 1
lkp.TableType = P
lkp.SpecTagValue = 100.0 # specified table tag value
lkp.Extrapolate0 = 0 # do not extrapolate series 0
lkp.SeriesType0 = P
lkp.SeriesType1 = T
lkp.SeriesType2 = H
lkp.Table0.TagValue = 32.0 # ta... |
80aa34e2c41884682f7f6343af709d55b524107d | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH12/EX12.03/12_03.sce | 69e9983cf99cacc088450de00ca9e7350df2dc05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | 12_03.sce | //pathname=get_absolute_file_path('12.03.sce')
//filename=pathname+filesep()+'12.03-data.sci'
//exec(filename)
//Diameter of the bore(in m):
d=0.3
//Length of the stroke(in m):
L=0.6
//Occerance od cut-off:
r1=0.4
//Pressure at which steam enters(in bar):
p1=7.5
//Pressure at exhaust(in bar):
p3=0.1
//Rpm ... |
b5d8e176079ba1a796b28def0a899a82bab37d58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH3/EX3.21.b/Example3_21_b.sce | 888367a4a9af32bfde6c878ff8e2597c69411bbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | Example3_21_b.sce | //Example 3.21(b)
clear;
clc;
R1=5758.2799;
R2=2199.4672;
C1=2.000D-08;
C2=1.000D-09;
SC1=1/2;
r=R1/R2;
SR1=(1-r)/(2*(1+r));
printf("Sensitivities for Example 3.10 :");
printf("\nSR=%.2f percent",SR1);
printf("\nSC=%.2f percent",SC1); |
0c9588a4a4b6f9a1d2ae4b4e7be4a4f9fb57a0cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH2/EX2.13/Ex2_13.sce | 2c16a6b17ade268a945da07137764157db396a14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_13.sce | // Example 2.13 :reading
clc;
close;
format('v',8)
clear;
// given :
v1=230;//voltage in volts
v2=100;//voltage in volts
v2=sqrt(v1^2-v2^2);//voltage in volts
v3=300;//voltage in volts
disp(v2,"reading V2 is,(V)")
disp("reading V4 is "+string(v3+v2)+" V or "+string(v3-v2)+" V")
|
3e8b69ac81a46ba0fc4ef70d8ff610bf44827f68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH16/EX16.21/16_21.sce | af910bb1a23844e5a1ecf26ca1962815222814e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,047 | sce | 16_21.sce | //To find speed and number of rivets
clc
//Given:
P=3 //kW
m=150 //kg
k=0.6 //m
N1=300 //rpm
//Solution:
//Calculating the angular speed of the flywheel before riveting
omega1=2*%pi*N1/60 //rad/s
//Speed of the flywheel immediately after riveting:
//Calculating the energy supplied by the motor
E2=P*1000 //N... |
d0738979bc117327216e6c9ee5b0267bf9d5cc9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH27/EX27.7/277.sce | 979057b0bb39d8ace59335461714cdb22de17903 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | 277.sce | clc;
//Example 27.7
//page no 418
printf("Example 27.7 page no 418\n\n");
//the following result were obtained during the running of a filteration experiment
alpha=4.57e+11//cake resistance,ft/lb
P_drop=1554//pressure drop ,lbf/ft^2
alpha_o=alpha/(P_drop^0.21)//specific cake resistance
printf("\n specific cake... |
4047d044bd2ee4bfcb350429dc7b687289efad6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/3_03data.sci | 59bbbdff8e29e31b46d737bebac450808d279390 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 3_03data.sci |
P1=9144//Pressure altitude in Km
P=0.3*10^5//corresponding pressure at pressure altitude in N/m^2
//density altitude:
D1=8686.8//density altitude in Km
D=0.485//corresponding density at sensity altitude in Kg/m^3
//Temperature at that altitude:
T=P/(D*R)//from equation of state |
9199fc37359ace86f37cd75052b559b1954c1a80 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/arburg.sci | 7b50db6af56026b69d7c3e41008b715a993ef628 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,202 | sci | arburg.sci | <<<<<<< HEAD
//This function calculates coefficients of an autoregressive (AR) model of complex data
=======
function varargout = arburg( x, poles, criterion )
//This function calculates coefficients of an autoregressive (AR) model of complex data.
>>>>>>> 6bbb00d0f0128381ee95194cf7d008fb6504de7d
//Calling Sequence
//... |
347da316c010b8ab6db3bd6e48ac821e698f83b0 | 31cc146b7597c1571ad100fc4dd888898b1b4eb0 | /algebra/compute_vertex_face_ring.sce | 8133275ead961f6e0019ac39904d5b32c39876e8 | [] | no_license | rigid1980/gpp_scilab | a525ae046722e7ba52ebea6003ce712b51631ff6 | fadb75dea26cf341e6dc60874efd88c016df4f3b | refs/heads/master | 2016-09-11T08:37:44.538715 | 2014-03-26T08:37:35 | 2014-03-26T08:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | sce | compute_vertex_face_ring.sce | function vfr = compute_vertex_face_ring(face) |
b9e35acccfede6e891f3f545d612bef5b2a7c2d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH6/EX6.2/Ex6_2.sce | fd1098844379bd0be5a27833ecd1f32bb90ab0e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | Ex6_2.sce | clc
//variable initialization
Pout=50 //output of induction motor in kilowatt
Vm=400 //input of motor in volt
F0=50 //supply frequency in hrtz
N1=1470 //speed of motor in rpm
P=4 //number of pole
Rs=0.42 //resistance of stator in ohm
Rr=0.23 //resistance of rotor in ohm
Xs=0.95 //reactance of stator in ohm
X... |
de0b9492f98d99dfe6b1c3cd69f0372adb66e7e1 | 7d3ee32048043b78e0e5100dd4c7ab9dd6dbe666 | /test_output/simple_class.tst | 207cb0c90540abc737c88dd4340586f86439218a | [
"MIT"
] | permissive | lopesivan/mruby-c-example | 91dd8846734dcb92f8330031f31b071e08ff93a6 | d66bc3831779424ab923ce7aa7e92821ac293bd4 | refs/heads/master | 2021-01-01T06:06:31.166901 | 2016-12-01T12:02:47 | 2016-12-01T12:02:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 51 | tst | simple_class.tst | foo initialized with: init value
bar: Test message
|
0f7bfb4e9d389c60b1bcdc6ad73e630091f53ca1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH22/EX22.2/Ex22_2.sce | 30a504519c0611c4ce982db9344bd37f422bf032 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | Ex22_2.sce | clc;
//e.g 22.2
RD=56*10**3;
RG=1*10**6;
IDSS=1.5*10**-3;
VP=-1.5;
VD=10;
VDD=20;
ID=VD/RD;
disp('mA',ID*10**3,"ID=");
//ID=IDSS*(1-(VGS/VP))**2
VGS=VP*(1-sqrt(ID/IDSS));
disp('V',VGS*1,"VGS=");
VS=VGS;
R1=(-VS/ID)-4*10**3;
disp('kohm',R1*10**-3,"R1=");
|
a05199ea971eec9d2ae08dc68d9a92db8ee91ff0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH10/EX10.4/10_4.sce | c643d3ff813423295c12d35ead4dce11c7d56e40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | 10_4.sce | clc
//initialisation of variables
g= 32.2 //ft/sec^2
Cd= 0.62
a= 90 //degrees
H1= 14 //in
H2= 8 //in
//CALCULATIONS
Q1= (8/15)*Cd*sqrt(2*g)*tand(a/2)*(H1/12)^(5/2)
Q2= (8/15)*Cd*sqrt(2*g)*tand(a/2)*(H2/12)
Q= Q1-Q2
//RESULTS
printf ('Discharge through notch= %.2f cuses',Q)
|
49578af7815f753cc9196fe8bf89c507bd9e4996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH11/EX11.1/Ex11_1.sce | f44c5ab9adaadaf62dcbca506bc3b326037f549f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex11_1.sce | clc;
Vceq=5.72; //Volt
PP1=2*Vceq; //Vpp(peak to peak voltage)
Icq=0.103; //Ampere
rc=25.7; //Ohm
PP2=2*Icq*rc; //Volt
disp('Vpp',PP1,"PP1=");//The answers vary due to round off error
disp('Vpp',PP2,"PP2=");//The answers vary due to round off error
|
308bf4d7f5befe414cad187899baa2df0b6220e1 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/massvolfracsignal.tst | 431fb7b95f18afa95209fcba8a4a74e9951ae939 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,734 | tst | massvolfracsignal.tst | units SI
/LiquidPhases = 2
displayproperties
commonproperties VapFrac T P MoleFlow MassFlow VolumeFlow StdLiqVolumeFlow Energy H S MolecularWeight MassDensity Cp ThermalConductivity Viscosity molarV ZFactor StdLiqMolarVol
displayproperties VapFrac T P MoleFlow MassFlow VolumeFlow StdLiqVolumeFlow Energy H S Molecul... |
0f8211a1e0a249d786361cc3f0164137fd67dc49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH14/EX14.4/Chapter14_example4.sce | d9e45bf0203dec97d17362cc2cfbf9b229f5c590 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | Chapter14_example4.sce | clc
clear
//Input data
r=1.54*10^-8//Resistivity in ohm.m
Ef=5.5//Fermi energy in eV
n=5.8*10^28//Concentration of electrons in m^-3
E=100//Electric field applied n V/m
e=1.6*10^-19//Electron charge in Columbs
m=9.1*10^-31//Mass of electron in kg
//Calculations
t=(m/(r*n*e^2))/10^-14//Relaxation time in s*1... |
76165f0fdd93f2d721cc0a9c7c9afeeb41959d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH10/EX10.1/Example_10_1.sce | 0c763e8e769abdefdbd932af4d8e06f0d735823b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Example_10_1.sce | clc;
clear;
printf("\n Example 10.1\n");
x=1e-3; //Thickness of stagnant air film
D=1.8e-5;//Difffusivity of ammonia
R=8314; //Gas constant
T=295; //Temperature
P=101.3e3; //Total Pressure
//If the subscripts 1 and 2 refer to the two sides of the stagnant layer and
//the subscripts A and B refer to amm... |
936496cdb497631902ea5e625b1a64c7711de0be | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH7/EX7.1/Ch07Ex1.sci | e0ec53976a8c993ef4d0d8b1ac5881611a38b37d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sci | Ch07Ex1.sci | // Scilab Code Ex7.1 Cut-off frequency of the linear lattice of a solid: Page-238 (2010)
v = 3e+03; // Velocity of sound in the solid, m/s
a = 3e-010; // Interatomic distance, m
// As cut-off frequency occurs at k = %pi/a and k = 2*%pi/lambda, this gives
lambda = 2*a; // Cut-off wavelength for the solid, m... |
822bda70d0e01356f370c83a1424a435a9357efa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH3/EX3.4/Ex3_4.sce | dfe79c719608932b1983c513fd807d02973c67d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | Ex3_4.sce |
//P3.4 calculate its self induction
Ur=1;
N=400;
l=30e-2;
A=5e-4;
U0=4e-7*%pi;
S=l/(U0*Ur*A);
L=N^2/S;
disp('Self inductance is = '+string(L)+' henry','S = '+string(S));
|
962aba2744cd20b113b0af01d70c47035764507a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH17/EX17.17.2/Ex17_2.sce | d39d784dd8e1ddfcccd07efaab5fd9e5c5ffc522 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Ex17_2.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
clc
clear
s='1111'
x=bin2dec(s)
disp(,x,"Decimal equivalent of 1111 is ")
|
e3d8e1220551bd8f43b2f16ad2a3f6d354b1a661 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH4/EX4.7/ex4_7.sce | 904f0f5b21286fabbbf9bc34851b66cc32e1b6c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | ex4_7.sce | //Calculate beta and Iceo and exact and approax collector current
clear;
clc;
//soltion
//given
a0=0.992;//dc current gain in common base configuration
Icbo=48*10^-9;//A
Ib=30*10^-6;//A//base current
B=a0/(1-a0);
Iceo=Icbo/(1-a0);
printf("Beta= %.0f\n",B);
printf("Iceo= %0.f uA\n",Iceo*10^6);
Ic=B*Ib+Iceo;
... |
c2715125bdd9f1f6ae276760ae758575ad1745e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH3/EX3.11/Ex3_11.sce | e7c43a42d9b3d704fcbe5ed78f238f9211a69768 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Ex3_11.sce | clc;
clear;
E=1.43 //in eV
h=4.14*10^-15 //plancks constant in e*V*s
c=3*10^8 //in m/s
//Calculation
//a)
v=E/h
//b)
lamda=c/v
mprintf("a)minimum frequency= %.3e Hz\n",v)
mprintf("b)wavelength= %.1e m",lamda) //The answers vary due to round off error
|
24cf49ae4bb22d547170adc6c8a7c6f5b09be120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH5/EX5.12/Ex5_12.sce | 23a2cf8e52136c34021cc96aa6d2da36c4a74754 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex5_12.sce | //chapter 5
//example 5.12
//Calculate spacing of crystal
//page 107
clear;
clc;
//given
V=344; // in V (Potential)
n=1; // order of diffraction
theta=60; // in degree (glancing angle)
//calculate
lambda=12.27/sqrt(V); // calculation of wavelength in Angstrom
printf('\nThe wavelength is\t\t=%.3f Angstrom',l... |
e3e529a82ee05cbcb88d790a332d87104d79306f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.26/ex18_26.sce | 7052c08be66cbf55a1d75379bece829a3acd1903 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | ex18_26.sce | // Example 18.26, page no-476
clear
clc
d=2.08*10^3//kg-m^3
wt=32
ep=3.28*10^-40
eps=8.854*10^-15
k=(3*10^28*7*10^-40)/(3*eps)
epsr=2.5812/(1-0.7906)
printf("The dielectric constant of the given material is %.3f",epsr)
|
19939b123277050b1ebcecf67a9730e6ecef92af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH2/EX2.9/Ex2_9.sce | 9db4ba38cd9e3169c1bb0f7c365043453325c916 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,016 | sce | Ex2_9.sce | clc
Ef=0.6
disp(" Ef = "+string(Ef)+"eV") //initializing the value of fermi level of material.
E=1.1
disp(" E = "+string(E)+"eV")//initializing the value of level E in a crystal.
T=1000
disp(" Temp = "+string(T)+"kelvin")//initializing the value of temperature.
k=1.38*10^-23
disp(" k = "+string(k)+"J/k") //init... |
ae9b4858c864dd8d0030575181de34d745fa6744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH6/EX6.5/Ex6_5.sce | 9576c52a0a77e42f83c99ee77fbf6fdd7b73b579 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_5.sce | //Example 6_5
clc();
clear;
//To find the velocity of each ball after collision
m1=0.04 //units in kg
m2=0.08 //units in kg
v1=0.3 //units in meters/sec
v2f=(2*m1*v1)/(m1+m2) //units in meters/sec
v2f1=v2f*100 //units in cm/sec
printf("The velocity V2f=%.1f meters/sec or %d cm/sec\n",v2f,v2f1)
v1... |
d80255e1ff0cf26d44a11be9cc1ad3c8b64d2460 | 449d555969bfd7befe906877abab098c6e63a0e8 | /737/CH2/EX2.1/Example2_01.sce | 9c849e45afc080003cad8201c4efd02dec75e5ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,098 | sce | Example2_01.sce | //Example 2.1 page 19
//Suppose that an analog signal is given as
//x(t) = 5*cos(2*pi*1000t), for t >= 0
//and is sampled at the rate of 8,000 Hz.
//a. Sketch the spectrum for the original signal.
//b. Sketch the spectrum for the sampled signal from 0 to 20 kHz.
clc;
clear;
close;
fs = 8000;//Hz
t = 1:(1/fs... |
ff09adb4ecd917a75b2446cbc336451408638d8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH1/EX1.13/Ex1_13.sce | 44a5d31708cb98a023f580e48f801b97291c1291 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | Ex1_13.sce | // Theory and Problems of Thermodynamics
// Chapter 1
// Basic Concepts
// Example 13
clear ;clc;
//Given data
V2_1 = 2 //ratio V2 and V1 volumes
V3_2 = 2 //ratio V3 and V2 volumes
P1 = 1 //initial pressure in MPa
T1 = 300 //initial temperature in kelvin
R = 8.314 //gas... |
e6e7db302dbd05a0fcf89cde3cf7786370bbf8d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH4/EX4.1/4_1.sce | 7e2fd66556334fd4c2f22342026ea652de5dd900 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | 4_1.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 4.1
//calculation of coulomb force
//given data
np=26//number of protops in an iron atom
na=6*10^26//number of atome in 58 kg iron
mi=58//mass(in kg) of iron
e=1.6*10^(-19)//charge(in coulomb) on an electron
perdif... |
cecfa671c6f86a79e92b6cd940f4dfeec9284639 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH15/EX15.2/Ex15_2.sce | 7fffda678b2010c5e74509f363cd32f269c67f82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,284 | sce | Ex15_2.sce | clc
l = 35 // length of bore in mm
v = 0.15 // cutting speed in m/s
t1 = 0.01 // upper limit in mm
t2 = 0.05 // upper limit in mm
D = 32.25 // finished broach in mm
D1 = 32.25+t2 // mm
d = 32.75 // finish diameter in mm
d1 = 32.75 + t1 //finish diameter of hole in mm
s = 0.05 // mm
B = 1.30 // blunt broach fa... |
79b82716e5f861aa7a39bd48685afe467094e8ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH15/EX15.7/Ex15_7.sce | 0f950939f059ef8b49f4e7f3e1e6fe092af4f42f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,352 | sce | Ex15_7.sce | clear;
clc;
disp('Example 15.7');
// aim : To determine
// (a) the pressure, volume and temperature at each cycle process change points
// (b) the heat transferred to air
// (c) the heat rejected by the air
// (d) the ideal thermal efficiency
// (e) the work done
// (f) the mean effective pressure
// giv... |
2e5e101f24966cda9a57d81d2b833609ce875dad | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/Algo_ADC.sce | a572b49041c128cf36ef538852ddf657a58e9e96 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 330 | sce | Algo_ADC.sce | style.fontSize=16;
style.displayedLabel="Algo_ADC"
style.displayedLabel="<table> <tr> <td align=left><b>Vin<br>clk_R_n<br>clk_A_n<br>clk_L_n<br>clk_S_n</b></td> <td></td> <td></td> <td align=center>Algo_ADC</td> <td></td> <td></td> <td align=right><b>Dout</b></td> </tr> </table>";
pal5=xcosPalAddBlock(pal5,"Algo_ADC",[... |
1493a6e96bf805fc86fa72c19b58f15e848a5a09 | f14f2861ee7e97cb37f69216b207bf431873cfb5 | /SciLab/gauss-seidel.sce | 77418d6371519faea18a7be6f8cd2e6e55f2b97a | [] | no_license | osfprieto/Personal | f97307f1014569baa9a10865c255072b8b949c11 | f0353c25718f29feebfb26da2003408e448a0aeb | refs/heads/master | 2022-09-20T13:11:19.242327 | 2022-09-12T19:53:37 | 2022-09-12T19:53:37 | 14,189,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,364 | sce | gauss-seidel.sce | function ans=gauss_seidel(A, b, x0, iteraciones_maximas, error_aceptado, display_process)
iteraciones = 0
n = length(x0)
xk_prev = ones(n, 1)
xk_prev = xk_prev * %inf
xk = x0
errores = ones(n, 1)
errores = errores * %inf
if display_process then
for i=1:n
printf ("x%d\... |
0ad6fa7d98b6efdc52363d09ce3dcead62fac7b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH7/EX7.25/Ex7_25t.txt | 263f4c200c5e193201072078ef990526feec27fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | txt | Ex7_25t.txt | //caption:find out range of measured reading
//Ex7.25
clc
clear
close
V=50//reading of voltmeter(in V)
A=0.02//accracy magnitude
Vo=V*A
Rmin=V-Vo
Rmax=V+Vo
disp(Rmax,Rmin,'range(in V)=') |
f5dddc5562ae2426acd3826a477fc91f18b38b03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH1/EX1.26/1_26.sce | ab975ced19107990ea476c071f802fadc73f24dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | 1_26.sce | clc();
clear;
// To calculate the glancing angle
m=1.675*10^(-27); //mass of neutron in kg
h=6.626*10^(-34);
n=1; //diffractive order
d=0.314; //spacing in nm
d=d*10^-9; //spacing in m
E=0.04; //kinetic energy in eV
Ej=E*1.6*10^-19; //kinetic energy in J
lamda=h/sqrt(2*m*Ej); //de Broglie wavel... |
638dc18444a38bcc449d836b3d23b1c60b61754a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH8/EX8.3/Ex8_3.sce | ac37cb14f0a0f8af50cb462ec805f98c7d13f362 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Ex8_3.sce | clc;clear;
//Example 8.3
//given data
Tsink=300;
Tsource=1200;
Qin=500;
Wuout=180;
//calculations
Wrev=(1-Tsink/Tsource)*Qin;
disp(Wrev,'The reversible power in kW');
I=Wrev-Wuout;
disp(I,'the irreversiblity rate in kW')
|
a0f5e07c3b6407ddb520793cd5bf1b1a570d4291 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 4/FiveQuestion.sce | 5ae5d06672cfe3a6659148b9e2f258659295c68b | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | FiveQuestion.sce | function B = FiveQuestion(A)
[l, c] = size(A);
//Armazena em l e c, o tamanho das linhas e das colunas
[U S V]=svd(A);
//Comando disponibilizado pelo professor
C=zeros(l,c);
//inicia uma matriz com todos os elementos iguais a zero
if l>c then // Verifica se a linha é maior que a coluna
for i=1:c
C(... |
dabd437922f9f8f4ef34bcda07c155ada15e2c6a | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2bsc/test_8.sce | 5ce142f76f4dce0c654ba0bed0dbde52103d37a0 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | test_8.sce | // Test # 8 : Input Argument #1 or #2 length test
exec('./allpasslp2bsc.sci',-1);
[n,d]=allpasslp2bsc([0.3,0.4],[0.3,0.42]);
//!--error 10000
//Wo must be real ,numeric and scalar
//at line 36 of function allpasslp2bsc called by :
//[n,d]=allpasslp2bsc([0.3,0.4],[0.3,0.42]);
|
51b352680df3ed4a3b6ae91db30e18ed98b54be9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/percent/%lss_l_p.sci | 612f7b91bc8411be166115417f5bcad78acbf08f | [
"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 | 215 | sci | %lss_l_p.sci | function [sr]=%lss_l_p(s,p)
//sr=%lss_l_p(s,p) <=> sr=s\p
// p polynomial matrix
// s syslin list
//!
//origine S Steer INRIA 1992
// Copyright INRIA
sr=s\tlist(['lss','A','B','C','D','X0','dt'],[],[],[],p,[],[])
|
204c76e0dea4760e87aa404549d1b97dbb9deba9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH13/EX13.10/13_10.sce | 4e3835ed48110676b2f4571a5393f71d4bd8578d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 13_10.sce | //Problem 13.10:
//initializing the variables:
Tk = 1394.3; // in K
//calculation:
//from problem 13.09
//lnK = (-33722/T) + 1.560*lnT - 0.00181*T + 2.42E-7*T^2 + 0.4509
K = %e^((-1*33722)/Tk + 1.560*log(Tk) - 0.00181*Tk + 2.42E-7*Tk^2 + 0.4509)
printf("\n\nResult\n\n")
printf("\n chemical reaction equil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.