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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
27fb0c1166ce84e58b14750f2466e69ed56ae994 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH7/EX7.9/Ex7_9.sce | 2d3e2357005f77f04daf52ea6aa90fe742de1a23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ex7_9.sce |
//
//
printf("\n case 1')
ir=3.415
fr=4.415
n=0//anchor point outside
c=0
sc=16 //1cm^2=16m^2
h=10000
ag=0.16*h
am=ag/sc
printf("\n A= %0.3f square centimeters",am)
m=am/(fr-ir)
printf("\n M= %0.3f ",m)
printf("\n case 2')
fr_ir=2.25
c=21.22
n=1
a1=m*(fr_ir-10+c)
printf("\n required area is %0.3f square c... |
2a1ac5e2e2d5d1daa8820b79df688c089a1c2a12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH2/EX2.30/ex2_30.sce | 425f09fc93630a95cad78d119007d124e4aabdac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | ex2_30.sce | // Exa 2.30
clc;
clear;
close;
format('v',6)
// Given data
Vin = 10;// in V
V1 = 2;// in V
// Vin-V_C+V1 = 0;
V_C = Vin+V1;// in V
//During positive half cycle the output voltage
Vout = Vin-V_C;// in V
disp(Vout,"During positive half cycle the output voltage in V is");
Vin = -10;// iin V
V1 = 12;// in V
... |
53b3ca83dbeb239d63c82e961f1d2852a52cf157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH7/EX7.01/7_01.sce | ed8c2c10631ca5d57bcf748456871d0200b8cf86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | 7_01.sce | //Problem 7.01:
//initializing the variables:
C = 1;
P = 1;
//calculation:
F = C - P + 2
printf("\n\nResult\n\n")
printf("\n the number of degrees of freedom is %.0f",F) |
e02decc498ea6a52114bb5ddf5a8e288477c4b3e | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/lowpass.sci | ccdecb8a629871ff29c464f758f1c73f569b56f9 | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 100 | sci | lowpass.sci | function qdot=lowpass(q,t)
R=100;
C=.01;
V=sin(100*t)+sin(t);
qdot=V/R-q/(R*C);
endfunction
|
e6802bd98b6b8864f8c62dcc0aa240aab6f6dfda | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH9/EX9.6/9_6.sce | 09462e132017b7b8abee4f995706c33391b7fbb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | 9_6.sce | pathname=get_absolute_file_path('9_6.sce')
filename=pathname+filesep()+'9_6_data.sci'
exec(filename)
//Fuel consumed
mf=(P/k)*bsfc
//Volume flow rate of fuel
Vf=mf/(N/2)*(1/Pf)*10^6
//Change in volume
dv=Kcomp*(Vpb+Vin+Vpl)*(p2-p1)
//Plunger displacement volume
Vp=dv+Vf
//Pump work
Wp=0.5*(p2-p1)*10^5*dv*10... |
5c12da0da10c8ab970b02ec8f08ed370736e692f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH8/EX8.6/Ex8_6.sce | 486ff171a086a4bc01431c2d6e35dd09931fe419 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 776 | sce | Ex8_6.sce |
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
j=%i
//voltage V is taken as reference phasor
Z1=5+10*j//impedance of inductive branch
Z2=10-15*j//impedance of capacitive branch
I=20//total current
V=I/mag(1/Z1+1/Z2)
mprintf("Applied voltage=%f V\n",V)
//calculating power fa... |
c79f1c5ee926ef625444c7be16cc0055a4e2e7a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH7/EX7.4/Ex7_4.sce | 30b000637b31953cc71ad223e0a8df7709d2970b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | Ex7_4.sce | clc; close; clear;
mprintf('For 1st model:\n\n');
mprintf(' Total delay=T1\n');
mprintf(' T1=Rinv*C1+(Rinv+Rtg)*C2+(Rinv+2*Rtg)*C3\n');
mprintf(' Rinv=R and Rtg=R\n');
mprintf(' C1=(3*Ceff*W)+(Cg*W)+(2*Ceff*W)\n');
mprintf(' C2=(Cg*W*2)+(6*Ceff*W)\n');
mprintf(' C3=(4*Ceff*W)+(Cg*W)+(3*f*Cg*W)\n');
mpri... |
b57abc6f648eb81b347538121c3746b5bbb71288 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH4/EX4.2/2.sce | b30a403f6df0f5465a6cfa194e80f3f0bf4a741d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2.sce | clc
clear
//INPUT DATA
Ri=1.5//refractive index of thin film of glass
n=30//number of fringes of sodium light is observed across the field of view
t=0.018*10^-3//thickness of glass film in m
//CALCULATION
w=((2*(Ri-1)*t)/n)/10^-7//wavelength of the light used in m *10^-7
//OUTPUT
printf('The wavelength of ... |
0fb77a1bee9f7e2469196c16c62590e705310d5b | 717ddeb7e700373742c617a95e25a2376565112c | /830/CH5/EX5.1.2/DFT1.sce | 08f5a1efd9b0469b4df21bb33c0f2271d6ef3a32 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 756 | sce | DFT1.sce | //Graphical//
//Example 5.1.2
//Determination of N-point DFT
//Plotting Magnitude and Phase spectrum
clear;
clc;
close;
L = 10; // Length of the sequence
N = 10; // N -point DFT
for n =0:L-1
x(n+1) = 1;
end
//Computing DFT and IDFT
X = dft(x,-1)
x_inv =abs(dft(X,1))
//Computing Magnitude and Phase Sp... |
a72087a37e82c25ac07041056016ea389e8993c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH1/EX1.1.6/U1_C1_6.sce | fbecb4ed66d034d0da7661cd525cb02c8b37d163 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sce | U1_C1_6.sce | //variable initialization
interval_s=1 //time difference between two events in frame s (second)
interval_sdash=4 //time difference between two events in frame s' (second)
separation_s=0 //s... |
d027ebae5e9f399d563032ac44910d5197b982d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH2/EX2.7/2_7.sce | 7df66def80253965f52060deb18501237cebd8ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | 2_7.sce | clc;
clear;
sw=64;//lb/ft^3; specific weight of water
h=10;//ft
a=3;//ft
b=3;//ft
//shape is triangular, hence hc=h-(a/3)
hc=h-(a/3);
A=(0.5*a*b);//ft^3; area of the right angled triangle
fres=sw*hc*A;//lb
Ixc=b*(a^3)/36;
Ixyc=b*(a^2)*(b)/72;
//according to the coordinate system taken yc=hc and xc=0
yres... |
8346770d0809bfe61a8d08265b77b3a8b8921aa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH5/EX5.1/Example5_1.sce | 2377d89fa6d4d0bdd93109291ea7af4a3591308a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | Example5_1.sce | //Scilab Code for Example 5.1 of Signals and systems by
//P.Ramakrishna Rao
//Discrete Time Fourier Transform of
//x[n]= (a^abs(n)) 0<a<1
clear;
clc;
close;
// DTS Signal
a = 0.5; //0<a<1
max_limit = 10;
n = -max_limit+1:max_limit-1;
x = a^abs(n);
// Discrete-time Fourier Transform
Wmax = 2*%pi; ... |
44cb3a408786b71903ee0d0b0684adf27fbc3ec5 | 15bd78a2bf248cadb3f74988a5a1ddd53a2d129a | /LangFiles/Level.06N/SCINC/BRIEF.SCI | bc9edc5193e712d804e72cb4c6bf0b20dbcbdeed | [] | no_license | Marisa-Chan/RR2NW_ENG | e5bc85cd570b72ad60969811a626192be5a02bd5 | d0868db86db46ab1fe55cd80c85b67a299b95b24 | refs/heads/master | 2022-11-17T20:16:26.503539 | 2020-07-17T12:21:59 | 2020-07-17T12:21:59 | 280,207,135 | 0 | 0 | null | null | null | null | IBM866 | Scilab | false | false | 2,047 | sci | BRIEF.SCI | func void Mission_Part1()
var int nNode;
var int ctID;
{
nNode := s_PNodeNULL();
nNode := p_AddCheckPoint (nNode, [1428, 164, -2403], 10, 0, 1, "Brief\part7.sc");
nNode := p_AddCheckPoint (nNode, [1170, 184, -4260], 10, 1, 0, "Brief\part6.sc");
/* nNode := p_AddCheckPoint (nNode, [2161, 170, -384... |
99ab504e1fbc3d336a75ecbc72b6d2923adffb28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH6/EX6.9/Ex6_9.sce | d7ab3ee5b5933f3937a91944c575f513138e3946 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_9.sce | //Initilization of variables
//here forces will be defines as matrices along with their co-ordinates
//Force in N and co-ordinates in mm
F1=[30 200 300]
F2=[10 400 200]
F3=[20 200 500]
F4=[50 400 500]
//Calculations
//solving as system of linear equations
A=[1 1 1;-600 -600 0;0 600 600]
B=[F1(1)+F2(1)+F3(1)+... |
14b9fc49d646f3b7f6b50eaa3a6ac8ccbb581dfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH2/EX2.6/2_6.sce | 8099b8f2e44e5783995e3d9bb13615c306802925 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | 2_6.sce | //acids and bases//
//example 2.6//
V1=50;//volume of Hcl in ml//
V2=30;//volume of NaOH in ml//
N1=1;//normality of Hcl//
N2=1;//nomality of NaOH//
V=V1+V2;//total volume of mixure of solutions//
a=100;//percentage of ionization//
N=(N1*V1-N2*V2)/V;
printf('The normality of resultant solution is %fg.equivalen... |
83be93bce9f29a7532d57329cab1c1a508cb28d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/10_08.sci | 6b0113905d97633fd9f9c2f70f123e14004cb517 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 878 | sci | 10_08.sci | //For 5 inch nominal pipe line, diameter D:
Di=5.047;
//Length of pipeline(in feet):
L=6;
//Operatng spped (in rpm):
N=1750;
//Water level abovepump centreline(in feet):
h=3.5;
//Temperature 1 of water(in Farenheit):
T1=80;
//Temperature 2 of water (in Farenheit):
T2=180;
//Volume flow rate of water(in gpm)... |
8736b69fddeb12bc9c08366799ea738617209c2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH7/EX7.3/SolEx7_3.sce | aff13b83cf16488486cda0c0d87ff586c17cf907 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | SolEx7_3.sce | //Find (a) Av ¼ vds=vi; (b) Zin; (c) Zo looking back through the drain-source
//terminals, and (d) Ai ¼ ii=iL.
//Example 7.3 page no 208
clear
clc
Rl=14*10^3
rds=40*10^3
Rf=5*10^6
gm=1*10^-3
Av=((Rl*rds*(1-Rf*gm))/(Rf*rds+Rl*rds+Rl*Rf))
printf("\n The value of Av=%0.3f ",Av)
Zin=(Rf/(1-Av))/1000
printf("\n ... |
c7350bf424cc623b5c5a1a615cf43eaa27789df2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH2/EX2.6/Ch2Exa6.sci | 446e10bd04d61e63553e6310ae80d84bb5120f52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sci | Ch2Exa6.sci |
//Example 2.6 (b)
c=3*10^8; //velocity of light, m/s
V= 0.5*c; //velocity of electron and positron, m/s
y= 1/sqrt(1-(V/c^2)); //gamma, for relativistic momentum
m=0.511/c^2; //MeV
K= 2*y*m*V; //difference in momentum of both photons
L= 2*y*m*c; //conservation of energy, sum of momentum of both photons
p... |
987565be176b1732b5d52b80411b7a59d5f6203e | 10b625bb4f968cf83298dd40b285b6f15ab4354f | /Valaquio_Lab8.sce | 6a7a2b741b0227f0bba2a5b0f89c886a664d2342 | [] | no_license | edvalaquio/SciLabProjects | 885b1493b1368bbdccd671a58fba6ead6da9bca1 | aa8efd42ca65d4779376e2ccaf132fd75713fe7f | refs/heads/master | 2021-09-14T20:03:14.736024 | 2018-05-18T10:42:59 | 2018-05-18T10:42:59 | 131,813,353 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | Valaquio_Lab8.sce | function matrix = computeMatrix(mat)
numRows = size(mat, 1)
for i = 1:1:numRows
if(mat(i, i) == 0 & i < numRows) then
mat([i, i+1], :) = mat([i+1, i], :)
end
if(mat(i, i) <> 1) then
mat(i, :) = mat(i, :)/mat(i, i)
end
prevNext = [1:(i-1) (i+1):numRows]
mat(prevNext, :) = (-mat(prevNext, i)... |
c3b2c70b595708e814e10216363980eaeb33502e | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH7/EX7.13/Example_7_13.sce | fd43fecd18b176e1fbc97567b3a21a0c98a86086 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | Example_7_13.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 7
//Properties of Solutions
//Example 13
clear;
clc;
//Given:
P = 20; //pressure in bar
//Function for fugacity of component 1
function [y] = f1(x1);
y = (50*x1)-(80*x1^2)+(40*x1^3)
endfunction
//To determine fugacity fugacity coeff... |
66958e79470ae93b9552754b9d9cbab8c7ac13ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH4/EX4.13/Ex4_13.sce | 9089db9eb40354d995ba44e291e5097fde8df89d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,170 | sce | Ex4_13.sce | clear all; clc;
disp("The specific speeds for all three options can be calculated")
N_sa=3600*(500^0.5)/(350^0.75)
printf("Nsa= %0.0f rpm*(gpm^0.5)/(ft^0.75)",N_sa)
N_sb=4320*(500^0.5)/(350^0.75)
printf("\nNsb= %0.0f ",N_sb)
N_sc=3600*((500^0.5)/(175^0.75))
printf("\nNsc= %0.0f",N_sc)
disp("From figur... |
ae7f12b3bb49e1a7b1a1649997734b56ea2e4b0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.5/Ch05Ex5.sce | e54cec29f8d7622861306d40334ad7d89b45a49a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | Ch05Ex5.sce | // Scilab code Ex5.5: Pg:217 (2008)
clc;clear;
Lambda = 5e-05; // Wavelength of spectral line, cm
n = 2; // Second order principal maxima
theta = 30; // Direction of principal maxima, degree
aplusb_inv = sind(theta)/(n*Lambda); // Number of lines in one cm of grating where a is the width of slit and b... |
f07ab2db25e3eb83937a7606bd59f534938a889a | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH10/EX10.1/10_01.sce | 671b565679c680a75d79a9f26587ca628b297287 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 10_01.sce | //Example No. 10_01
//Fitting a Straight Line
//Pg No. 326
clear ;close ;clc ;
x = poly(0,'x')
X = 1:5
Y = [ 3 4 5 6 8 ];
n = length(X);
b = ( n*sum(X.*Y) - sum(X)*sum(Y) )/( n*sum(X.*X) - (sum(X))^2 )
a = sum(Y)/n - b*sum(X)/n
disp(b,'b = ')
disp(a,'a = ')
y = a + b*x
|
b72f5b9203e5cbb06e75f314017f0b84606b2715 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH4/EX4.7/4_7.sce | 3df6261be7f2db38706a621a3150b23a3f1b7d49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_7.sce | clc
//Initialization of variables
w1=100 //lbm
w2=2 //lbm
h1=127 //B/lbm
h2=125 //B/lbm
hc=401 //B/lbm
//calculations
ht1=w1*h1
ht2=w2*h2
ht3=(w1+w2)*hc
Q=ht3-ht1-ht2
//results
printf("Heat liberated = %d B/sec",Q)
|
4395ecd5089a55bb1ab0e024d51af704dfdb0fe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH25/EX25.4/Ex25_4.sce | e248d143ff7677ab5d9f32ffc700f6721f13ebe9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Ex25_4.sce | //chapter25
//example25.4
//page544
S=20 // kilo ohm per volt
V_range=10 // V
V=20 // V
R=10 // kilo ohm
R_meter=S*V_range
R_equi=R+R*R_meter/(R+R_meter)
I=V/R_equi
V_reading=I*R*R_meter/(R+R_meter)
printf("voltage read by multimeter = %.3f V \n",V_reading)
// answer in book is 9.88V but accurate an... |
df59c1ef0fd177064729b32e6b6711c0c93eb35b | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2mb/test_11.sce | 7b58fa4712be61b5a2093b48d0b67cb6589423d7 | [] | 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 | 854 | sce | test_11.sce | // Test #11 : For complex vector inputs
exec('./zpklp2mb.sci',-1);
[z,p,k,n,d]=zpklp2mb([2*%i,4*%i],[4*%i,7.6*%i],1,0.2,[0.3 0.4]);
disp(d);
disp(n);
disp(k);
disp(p);
disp(z);
//
//Scilab Output
//d=1. - 0.8743054 0.9021130
//n=-0.9021130 0.8743054 - 1.
//k=0.2733954 - 0.0862473i
//p=0.4602843 + 0.838068... |
e3241bbe247af10d8e346b0bf32c7f6220f185c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH14/EX14.16/Ex14_16.sce | a5ae25568bffe9462556dd28e0628ef8de02b134 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sce | Ex14_16.sce | clear all; clc;
disp("Scilab Code Ex 14.16 : ")
//Given:
I = 175.8*10^-6; //m^4
E = 200*10^6; //kN/m^2
Ra = 1;//kN
l_ab = 3; //m
l_bc = 6; //m
//Virtual Work Equation:
m1 = -1; //*x1
M1 = -2.5; //*x1^3
m2 = -0.5; //*x2
x10 = 0;
x11 = l_ab;
I1 = integrate('m1*M1*(x1^4)','x1',x10,x11);
x20 = 0;... |
979ff3dd1625f471eda271fc28cbba221eadd999 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH13/EX13.3/13_03.sce | bcff05a93fe97acecd481728c81c8491e8d6505e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13_03.sce | clear
clc
//Bed voidage
v=0.4;
//Superficial velocity of fluid(cm/s)
u=1.2;
l=90;//length(cm)
//Variance(sec^2) of output signals
sigma1_sqr=39;sigma2_sqr=64;
dsigma_sqr=sigma2_sqr-sigma1_sqr;
//In dimensionless form
t=l*v/u;
sigmatheta_sqr=dsigma_sqr/t^2;
//Dispersion number
d=sigmatheta_sqr/2;
printf("... |
270df6c55279e5ab02d0876c4ed01e298236d357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH6/EX6.11/Ex6_11.sce | 4aca65eb49ef9852c282d9ccd8f18ba4fff33c0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex6_11.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 6 Single Staje BJT Amplifiers Pg no. 204
clear;
clc;
//Given Data
B=190;//current gain of single transistor
//Solution
Bac=B^2;//current gain of superbeta transistor if B is the gain of each of the employed transistor
printf("Bac = %d",Bac);
|
d57aa2b5611adf9aa6d877feabf461069a8434c8 | 9fc21db18a714a3109314d745ddd25b02ab11d76 | /resource/arquivoRemessa/CB200501.TST | 5de85a4ce093da9b954af1e155dff78d9f8cee92 | [] | no_license | maaupe/condominios-jwt | e42a6a03f2fa663b6885ffbdd0dd745a5c7c0903 | 6e18ad797263dad8f25ece58ec82b9207e27b591 | refs/heads/master | 2023-05-05T10:12:11.865971 | 2021-05-21T18:32:47 | 2021-05-21T18:32:47 | 307,522,039 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,807 | tst | CB200501.TST | 00REMESSA1 COBRANCA 00000000000000008911Condominio BLABLA 237237BRADESCO 200521 MX0000000 ... |
29c81f7467177a739b2b0c1e54b71e1917366871 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH11/EX11.1/Ex11_1.sce | a2c454cee9c23458462780a7d2e5873d62155666 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 864 | sce | Ex11_1.sce | //Ex11_1 Pg-536
clc
Vcc=15 //supply voltage in V
R1=2*10^(3) //resistor R1 in ohm
R2=470 //resistor R2 in ohm
Rc=680 //collector resistor in ohm
Rl=2.7*10^(3) //load resistor in ohm
Re=220 //emitter resistor
Idc=Vcc/(Rc+Re) //saturation current
printf("(1) Idc_sat = %.1f mA \n",Idc*1e3)
DCload=Rc //Dc ... |
3c210ed05433a7746f860fb1dfb271b37ef292c7 | 717ddeb7e700373742c617a95e25a2376565112c | /1376/CH16/EX16.2/16_2.sci | 07a38fba10b90fe5f2e346aaaf3e1ccb8b15b6ae | [] | 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 | 429 | sci | 16_2.sci | //16.2
clc;
disp('For star connection')
Zph=(12^2+5^2)^0.5;
Eph=440/(3^0.5);
Iph=Eph/Zph;
Il=Iph;
printf("\nLine current=%.2f A",I1)
P_total=(3^0.5)*440*Il*12/(Zph*1000);
printf("\nTotal Power=%.2f kW",P_total)
disp('For Delta connection')
Zph=(12^2+5^2)^0.5;
Eph=440;
Iph=Eph/Zph;
Il=Iph*(3^0.5);
print... |
bb73fe12586d6c1dba5cf283a8b30688d8ea9030 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.10/10.sce | 6390ae5fee602a73fa0311fe655cb99dbf0c0193 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | 10.sce | clc
r1=0.06; //m
r2=0.12; //m
r3=0.16; //m
k_A=0.24; //W/m 0C
k_B=0.4; //W/m 0C
h_hf=60; //W/m^2 0C
h_cf=12; //W/m^2 0C
t_hf=65; //0C
t_cf=20; //0C
L=60; //m
Q=2*%pi*L*(t_hf-t_cf)/(1/h_hf/r1 + log(r2/r1)/k_A + log(r3/r2)/k_B + 1/h_cf/r3);
disp("Rate of heat loss =")
disp(Q)
disp("W") |
853cb90e66b09fc4855fed813ed4e71a01ab92bb | e603e067b4e3b814c63fa65b0d5309696c257b9f | /And2Bit.tst | 9bdc4924529ac13c0b24dc2bfa8baff0cea94d1f | [] | no_license | ryanalbon/logic-gates | 420ca400ada9900378eb0a70d0666f8b6b59ec4a | 2615bba68dfe29ca44cea1a6cd44704646a31960 | refs/heads/master | 2020-08-29T16:27:51.441605 | 2019-11-03T13:31:32 | 2019-11-03T13:31:32 | 218,091,507 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 958 | tst | And2Bit.tst | load And2Bit.hdl,
output-file And2Bit.out,
output-list a0 a1 b0 b1 out0 out1;
set a0 0,
set a1 0,
set b0 0,
set b1 0,
eval,
output;
set a0 0,
set a1 0,
set b0 0,
set b1 1,
eval,
output;
set a0 0,
set a1 0,
set b0 1,
set b1 0,
eval,
output;
set a0 0,
set a1 0,
set b0 1,
set b1 1,
eval,
output;
set a0 0,
set a1 1,
s... |
10f7629553b8519fe07cda764741df8cc8cc54a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.8/EX6_8.sce | 1026ad6d5ec177b6fd78ffc09aad15d74c835798 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,393 | sce | EX6_8.sce | // Example6.8 // determine the common mode rejection ratio CMRR
clc;
clear;
close;
// R2/R1 = 10 ;
// R4/R3 = 11 ;
// the output of the difference amplifier is given by
// Vo = (((R4)/(R3+R4))*(((1+(R2/R1))*VI2))-((R2/R1)*VI1));
// putting R1 R2 R3 R4 value in above equation we get Vo as
// Vo =(121/12)... |
0a31fd38bdc98d8617503e87c391679823412b99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.19/Ex19_19.sce | 986b8702838eef2ecc5f1e953b47b48134021b62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | Ex19_19.sce | //Ex19_19 Pg-965
clc
hex='C5E2' //hexadecimal input
dec=hex2dec(hex) //decimal output
bin=dec2bin(dec) //binary output
disp("The binary equivalent of C5E2 is")
disp(bin)
|
eb611bdec49b650fcd3c053060aaabc748e68705 | e1bc17aae137922b1ee990f17aae4a6cb15b7d87 | /Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.2.sci | d00e38bbd68fb888426e76dad467f5d08c26d665 | [] | no_license | muskanmahajan37/Xcos_block_examples | 650dceb0afdbfc100f3e9c5a6508443eca030fa2 | 8ac15bc5efafa2afc053c293152605b0e6ae60ff | refs/heads/master | 2022-02-26T04:20:26.365579 | 2019-09-03T12:57:40 | 2019-09-03T12:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sci | Ex7.2.sci | function y=locus1(z)
s=%s
H=syslin('c',1+(1/(s*(s+1)*(s+2))));
evans(H,z)
printf("The branches of root locus starts with K=0 and poles s=0,-1,-2")
printf("Since there is no open loop zero the branches terminate at infinity")
y=0;
endfunction
|
08014db831db03c1aa4b576804136fd02b3a2fde | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH7/EX7.7/Ex7_7.sce | 4c0debfdba9513c816c1edbe70ff96246df6b7ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_7.sce | //Ex_7_7
clc;
clear;
close;
format('v',6);
//given data :
Beta=100;//unitless
VBE=0.7;//V
VCC=10;//V
//(a) VE=-0.7;//V
disp("For the circuit in fig(a)");
VE=-0.7;//V(Constant voltage)
R1=10;//kohm
R2=10;//kohm
IE=(VCC+VE)/R2;//mA
IB=IE/(Beta+1);//mA
VC=VCC-R1*1000*(IE-IB)/1000;//V
disp(VE,"Constant vo... |
4cd9c78972eb1ca80c02a00d1281927d2f045f8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH9/EX9.7/Ex9_7.sce | 4493385c4a23f7d51352d6d02350144e6e4b7848 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,162 | sce | Ex9_7.sce | clc
mu_n=600
disp("mu_n = "+string(mu_n)+"cm^2(Vs)^-1") //initializing value of channel mobility
kbT = 0.026
disp("kbT = "+string(kbT)+"eV") //initializing value of kbT at 300K
apsilen = 11.9*8.85*10^-14
disp("apsilen = "+string(apsilen)+"F/cm") //initializing value of relative permitivity
e = 1.6*10^-19
disp(... |
c6a602b0f26adeb7ad3477c029ffa6d164e3ee91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH8/EX8.11/11.sce | 772b0ce81402201dcfc8033c9f9c25a98743c613 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 11.sce | clc; funcprot(0);
//Example 8.11 Absolute Coefficients with metric units
// Initialisation of variables
S = 35;
V = 40;
alpha = 4;
rho = 0.125;
// Calculations
Cl = 0.76; // Value of Cl from fig 8.10
L = Cl*(rho/2)*S*V^2;
//Results
disp(L,"Required Lift (Kg):"); |
8761f74b2f5cd182a6609c2189e3ec0fdb83f646 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH18/EX18.09/18_09.sce | 52a7b66ef0229ececaaf43643ea44d761299dffa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | 18_09.sce | //pathname=get_absolute_file_path('18.09.sce')
//filename=pathname+filesep()+'18.09-data.sci'
//exec(filename)
//Operating temperatures(in K):
T1=-15+273
T2=25+273
h2=1317.95 //kJ/kg
s2=4.4809 //kJ/kg.K
h3=99.94 //kJ/kg
s3=0.3386 //kJ/kg.K
h9=-54.51 //kJ/kg
s9=-0.2132 //kJ/kg.K
h4=h3
s8=s3
s4=0.3855 //kJ/... |
d98e0490bc8d15a578142d2b754d6740182be8ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.7/7_7.sce | 1fd0baf0864e2cc6a831b6f1a8b30707a7cced3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | 7_7.sce | clc
clear
//Input data
I=5;//Indicated power developed by single cylinder of 2 stroke petrol engine
M=6.5;//Mean effective pressure in bar
d=0.1;//Diameter of piston in m
//Calculations
A=(3.14*d^2)/4;//Area of the cylinder
LN=(I*1000*60)/(M*10^5*A);//Product of length of stroke and engine speed
S=2*LN;//Ave... |
518dad1fd0a99a2c6df38e4347808a904f6bfbda | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH23/EX23.1/ex23_1.sce | 3ae523d476437a6ce3ee17c7927087450fd0120e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | ex23_1.sce | clc;clear;
//Example 23.1
//calculation of relative permittivity
//given values
E=1000;//electric field in V/m
P=4.3*10^-8;//polarization in C/m^2
e=8.85*10^-12;//permittivity in F/m
//calculation
er=1+(P/(e*E));
disp(er,'relative permittivity of NaCl is ');
|
247a754e2326a9e27f7c56cdfa9bfd3d266cabd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH10/EX10.12/example_10_12.sce | 258fea5bae6fbb9cb746ffe594381a9deb0e4a6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 955 | sce | example_10_12.sce | //example 10.12
clc
clear
//pro= ('Enter the value to whic counter should progress:');
pro =11; // given input
q=1;
aa=pro;
for i=1:4 //converting the given number in to binary
x=modulo(aa,2);
b(q)=x;
aa=aa/2;
aa=floor(aa);
q=q+1;
end
bi=' '; // then print... |
290ba5185a2901eda7190336d1fae6f370b7cd58 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.30/Ex12_30.sce | a7304d9e76542a35899678acb66e04bee65f0c90 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | Ex12_30.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 7.6
A=[2 0 4;-1 1 -2;2 3 3]
disp(inv(A))
|
cd89924861d31671426ef2814c1b33a5b173e50a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH6/EX6.3/eg6_3.sce | 5c150cccfafe9e09cc3a7e8ad8f620674c09b6d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,063 | sce | eg6_3.sce | clear;
clc;
uts=14740;
a=538.4;
E=7000;
wc=1.805;
p=100;
l=335;
alpha=19.3*10*(-6);
fs=2;
n=4;
ds=3.35;
d=(1+2*n)*ds;
wh=(2/3)*d*p;
//a).
wr=sqrt((wc+wh)^2 + wh^2);
T=(uts/fs); //bl=breaking load=uts fs=factor of safety
printf("The maximum working stress is:%.2f kgf",T);
sag=wr*l*l/(8*T);
pr... |
a8368595425fdf331bda6fa4b7645aaf75c09641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH1/EX1.16/example16_sce.sce | db38212a6c4f3c879f2f3561cf4897d076ba4250 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | example16_sce.sce | //chapter 1
//example 1.16
//page 48,figure 1.59
Ie=400*10^-6;
Bmin=80;Bmax=120;
//Ie=Ie1+Ie2 for identical transistor Ie1=Ie2
Ie1=Ie/2
Ie2=Ie/2
IB1max=Ie1/(1+Bmin)
IB2max=Ie2/(1+Bmin)
IBmax=(IB1max+IB2max)/2;
disp(IBmax)//largest input bais current
IB1min=Ie1/(1+Bmax)
IB2min=Ie2/(1+Bmax)
IBmin=(IB1min+... |
ac680cd484550ea35f0fc32ce73470f808617e94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.29/Ex18_29.sce | 89f23a68dfa03d23ca3427a5bcc1888a334cd021 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,325 | sce | Ex18_29.sce | // scilab Code Exa 18.29 Centrifugal compressor with vaned diffuser
T01=310; // in Kelvin
p01=1.103; // Initial Pressure in bar
dh=0.10; // hub diameter in m
d2=0.55; // impeller diameter in m
c1=100; // Velocity of air at the entry of inducer
c3=c1; // Velocity of air at diffuser exit
shi=1.035; // power inp... |
7291f7b959ee800dce70fc49219c13c882393e4f | 522cc7f8b7314bbbd9f6ceb7aa8156a5d7a2446a | /PurePursuit.sce | bd7af948b4477cb3b479e93799f6d0ddd79684fa | [] | no_license | shobhitj1/SimulationAndModellingLAB | f9c09c4f38ac2e2535d4bac97d3f0ac05104e80e | 4b59b83d8909e5cb7a2baa00439bd6f45e3eefda | refs/heads/main | 2023-08-14T19:40:49.439309 | 2021-10-06T07:20:00 | 2021-10-06T07:20:00 | 390,954,261 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | PurePursuit.sce | yF = 50; xF = 0; vF = 20; t = 12
xB = [80, 90, 99, 108, 116, 125, 133, 141, 151, 160, 169, 179, 180]
yB = [0, -2, -5, -9, -15, -18, -23, -29, -28, -25, -21, -20, -17]
for i = 1: t+1
if i>12 then
disp("Target escaped...")
else
Distance = sqrt(((yB(i)-yF)**2)+((xB(i)-xF)**2))
xF = (xF + vF*((xB(i)-xF... |
17221781f2cc19cb7b0e33d705f3c549a8fbd822 | 9fd1c728d84d54cce3b7a5d0c58281b2c66aaa6b | /sldghmmr4nut/zone/zone.tst | be73e7a205dc44ba0c4796df39c1fea76b6f1221 | [
"MIT"
] | permissive | ihgazni2/sledgehammer4nut | 46349bc46fab1116b386595cb26cca667440bd6c | 397ace55fc0113bcb2e8375ede055b469b5ef029 | refs/heads/master | 2020-04-15T21:02:59.010109 | 2019-01-14T15:45:54 | 2019-01-14T15:45:54 | 165,019,039 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,973 | tst | zone.tst | import elist.elist as elel
from xdict.jprint import pobj,pdir
from locs import *
blk = creat_root_block((0,0),(5,5),(2,2))
get_pt_zone(blk,(0,0)) == 'zetl'
get_pt_zone(blk,(5,0)) == 'zebl'
get_pt_zone(blk,(5,5)) == 'zebr'
get_pt_zone(blk,(0,5)) == 'zetr'
get_pt_zone(blk,(-1,-1)) == 'zotl'
get_pt_zone(blk,(6,-1)) == 'z... |
0eb6a556f41762bb7b1e48f02238263e5fbd75c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH20/EX20.2/20_2.sce | 7f3a6ed58780fb4e685260a93068ae7a0accd68c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | 20_2.sce | clear;
clc;
r1=.95;
r2=.92;
r3=.98;
r4=.88
R=r1*r2*r3*r4;
mprintf("\nNet system reliability = %.4f ",R);
|
42102fb52814fb73b7cccc0a27e1a6242af7e050 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.33/example5_33.sce | 28ba0b7373b29d83d5319b7b40019037226f9210 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | example5_33.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.33
// Page 272
printf("Example 5.33, Page 272 \n \n");
// solution
// basis 1 kmol of SO2 reacted
a = 22.036-24.771-.5*(26.026)
b = (121.624-62.948-.5*11.755)
c = (-91.876+44.258-.5*(-2.343))
d = (24.369-11.122-.5*(-.562))
... |
2a72843eb795cc8253fa500c8eeeba1c72d70b55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH6/EX6.9/EX_6_9.sce | f596c93cb73413200fc58c712308a50d7179a0b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sce | EX_6_9.sce | //Example 6.9// current and phase angle errors
clc;
clear;
Is=5;//IN AMPERES
Ip=100;//primary current in amperes
VA=20;//BURDEN
xr=4;//
mmfc=0.18;//mmf for core loss in AT
Ep=VA/Ip;//voltage across primary winding
d= atand(1/xr);//secondady phase angle in degree
csd= cosd(d);
sd=sind(d);
Kt=20;//
Knom=20
... |
2a30de483ad099a2945765a1bced7d6740857f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH2/EX2.7.s/2_07_solution.sce | 5c72b3c86d5c90cc381e4e7eac2db0f8f64b59a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | 2_07_solution.sce | //Solution 2-6
WD=get_absolute_file_path('2_07_solution.sce')
datafile=WD+filesep()+'2_07_example.sci'
clc;
exec(datafile)
//conversion
h = h /100; //from [cm] to [m]
deltaP = rho * g * h
deltaP = deltaP / 10**5; //conversion from [N/m^2] to [atm]
printf("The pressure at top of water column is less than atm pressure b... |
0cac3e45e997016ef7b878fc79c2f0b3a0c5f1ce | 151e9d9a47b8c4098e67f5ecc974b3a811d91a95 | /controler/root_locus.sce | 9ff585f74e8d0ee4d44a8b24885f51cf5d665457 | [] | no_license | AliaksandrSiarohin/AppliedRobotics | a81c568be77962723b6b17394d1a42a4e76d8a69 | 5d79e537dd6926738ffc59eff18a78fd42c44417 | refs/heads/master | 2021-01-13T00:49:45.571990 | 2016-01-26T22:22:40 | 2016-01-26T22:22:40 | 45,112,715 | 2 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,282 | sce | root_locus.sce | s = poly(0, 's');
//Time
Dt = 0.001; //time intervall
t = 0:Dt:2;
//Parameters from system identification part
Kg = 0.1752; //q in slides
xi = 1;
o_n = 10.52;
//Transfer function, look in 6 lecture.
LM = Kg/(s ^ 2 / o_n ^ 2 + 2*xi/o_n * s + 1);
G = syslin('c', LM);
y = csim('step', t, G);
//Controller
Kc = 10;
C =... |
3e466a5c9449f104e899db3972124ebe176b9f3f | 68bc9ed8216a93c9b0bc0a6dbde62a7bb8328383 | /param/test_watering.tst | fbf8302809315105b0115e27fe0decbdaf67d486 | [] | no_license | michaelhuang14/AutonomousAgentsGreenhouse | 5e305e522c95dfaaebd7e4f148de87572d4185ce | 83e4aad142c9ca72ba4ababf58c25bed53428f0c | refs/heads/main | 2022-12-20T01:59:27.773408 | 2020-10-08T03:02:55 | 2020-10-08T03:02:55 | 300,742,055 | 1 | 0 | null | 2020-10-08T02:41:49 | 2020-10-02T21:40:36 | Python | UTF-8 | Scilab | false | false | 548 | tst | test_watering.tst | BASELINE = baseline_watering.bsl
DELAY UNTIL 1-04:30:00
WHENEVER smoist[0] < 450 and not already_watered
WAIT wpump FOR 720 # Wait 12 minutes for water pump to be on
SET already_watered = True
WAIT not wpump FOR 13 # Turn pump off before 13 seconds have elapsed
# Wait an hour for both moisture sensors to be ... |
943c554f2f16e29fd574be14112684ccdf104d8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH17/EX17.2/Ex17_2.sce | adb35ce8ea81c3b0835a84d0462765851b2d3e5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | sce | Ex17_2.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 17.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
b=62.5e-6;//Outer radius of silica fiber in m
R=30e-3;//Radius of the circular loop formed by the fiber in m
lambda=633e-9;//Wavelength in m
... |
16434f52c12dbd23d334fdd210cd7411bb8c40fb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.19/Ex1_19.sce | 76eafda646dd640bf61cea09a55abc201438c1cd | [] | 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 | 275 | sce | Ex1_19.sce | errcatch(-1,"stop");mode(2);//Example 1_19
;
;
//To find the diameter of 20th ring
D4=0.4 //units in cm
D12=0.7 //units in cm
D20=sqrt(2*(D12^2-D4^2)+D4^2)
printf("The diameter of the 20th dark ring is %.4f cm",D20)
exit();
|
0f7054c2485e4d44ebbad01e37e542d536dee164 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.11/Exa2_11.sce | 069a3305f7bfff39c6e33f76bc7557734b8e9f70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Exa2_11.sce | //Exa11
clc;
clear;
close;
//given data
rho_i=2*10^-3; //in ohm-m (there is miss printed in this line in the book)
sigma_i=1/rho_i;
miu_e=0.3;// in m^2/V-s
miu_h=0.1;// in m^2/V-s
e=1.6*10^-19; // in C
// Formula sigma_i=nita_i*e*(miu_e+miu_h)
nita_i=sigma_i/(e*(miu_e+miu_h));
disp("Carrier density is : "... |
7eeda813902f62d448f905983c19f3da91a558cd | 33d7960e39a3e71591538dccbe1dd4014c377e78 | /Exercise_22.sce | 1964e8dac433004152775b31c65038463b3505dc | [] | no_license | wiiwins/Compfin | 529e2997994babb9e3795283ddbd8ec782131148 | 2629685421e970a369ec797b76dda3d2803bcbcf | refs/heads/master | 2020-05-18T01:25:39.357847 | 2019-06-27T11:21:46 | 2019-06-27T11:21:46 | 184,090,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,898 | sce | Exercise_22.sce | //C-Exercise22
//Jurain Kahl
//Nattawut Phanrattinon
funcprot(0);
exec("CompFin_2019_SS_BS_Price_Int.sce")
//computes the initial price of European call options with identicall maturity T and strikes K = (K1, ..., Kn)
function V0 = BS_EuCall_FFT (S0, r, sigma, T, K, R, N, M, kappa1)
//model parameters delta and ka... |
8fd18e800c250f81d51d6cbd4fb3fc645d5cba67 | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/ajeita.sci | 6a744e2c43b70ad3dca09e4883d40cedc73828cd | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 100 | sci | ajeita.sci | function I = ajeita(I)
//
I = I - min(I);
I = I / max(I);
I = round(I*255+1);
endfunction
|
c30ba07d8563c919b90bfab1159184894b59b9dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH9/EX9.8/Ex9_8.sce | 93878ed72af3b427aeaa0373eeb35c85b41b0bb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,406 | sce | Ex9_8.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 9 Frequency Response of Amplifier Pg no. 310
clear;
clc;
//Given
VCC=15;//collector supply voltage in volts
RC=2.2D3;//collector resistance in ohms
RE=470;//emitter resistance in ohms
R1=33D3;//divider network resistance R1 in ohms
R2=10D3;//divider network r... |
94ab8b3a9fadbb9883b3e81cdfcf6e461518b46d | 4d37b8f3369f4a98da6003c783847ea22e1a9abe | /ASSIGNMENT1/gauselim.sce | d09046653809fb930b5f977e1f834b861334beb3 | [] | no_license | Smrithik/SCILAB-ASSIGNMENT | 0f201197eafc9f85237b74f2839d07991bec4411 | 4a98fae39024c3bb9238aa1097a959a5647da98b | refs/heads/master | 2021-01-01T11:52:25.429933 | 2020-06-03T12:13:33 | 2020-06-03T12:13:33 | 239,266,390 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 897 | sce | gauselim.sce | function gaussian_elimination(a,b)
[m,n]=size(a);
if m~=n then
error('Matrix A must be square matrix');
abort;
end
b=b';
[r,c]=size(b);
if m~=r then
error('Incompatible orders of A and b');
abort;
end
a=[a b];
for j=1:n-1
... |
37b1658e62df28550db3ebfe0ae3bfe00c52b6b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.33/ex1_33.sce | 36a549412138278ae02f1ca2998168fc91ec0387 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | ex1_33.sce | //Exa:1.33
clc;
clear;
close;
I_f=100;//in amperes
V=220;//in volts
N=1000;//in rpm
T_f=V*I_f/(2*%pi*N/60);//Full load torque (N-m)
E_bf=V;//Back emf (in volts)
V_a=V+E_bf;// Voltage across armature (in volts)
I_b=2*I_f;//braking current
R=(V_a/I_b);//in ohms
disp(R,'Value of external resistance (in ohms)='... |
efa0b333a4a95f0974580b28e21b46047e8daf9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH7/EX7.1/Ex7_1.sce | b9ff71808ddb3207a77ca939feb1d692249f89b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_1.sce | //chapter 7
//example 7.1
//Calculate the capacitance of capacitor and charge on the plates
//page 187
clear;
clc;
//given
A=100; // in cm^2 (cross-sectional area)
d=1; // in cm (seperation between plates)
Eo=8.85E-12; // in F/m (absolute permittivity)
V=100; // in V (potential difference)
//calculate
A=A*1... |
7872225da313156bd67d600a147b40f0893ce8a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.7.3/Ch04Exa4_7_3.sci | 0f14b80c9d0da79bb55dec910375ac4d93b8e0f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sci | Ch04Exa4_7_3.sci | // Scilab code Exa4.7.3: To determine the fission power produced by one microgram of Fm-256 : Page 190 (2011)
N = 6.023e+023/256*10^-6; // Number of nuclei in 1ug of Fm-256
t_h = 158*60; // Half life of Fm-256, s
D_c = log(2)/t_h; // Decay constant, s^-1
F_r = N*D_c; // Fission rate, fissions/s
E = 220*1.6e-013; ... |
f0ab866294af467aeacccac56a3db269608239b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH3/EX3.8/ex3_8.sce | f152f8b647fb33eae90ce4a2bede2a747c9c4c33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | ex3_8.sce | //Calculate the minimum clearance of conductor and water
clear;
clc;
//soltion
//given
W=1.5;//kg/m//Line conductor wieght
L=500;//meter//span of the line
T=1600;//kg//max allowable tension
T1=30;//m//height of the tower 1
T2=90;//m//height of the tower 2
h=T2-T1;//m//difference in the between support
printf... |
4b999cf5e8644690c4481d4493aacacdb095ab25 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_B._S._Narang_3622.zip/Material_Science_B._S._Narang_3622/CH10/EX10.1/Ex10_1.sce | 0c7584abb86c8bd0623bebee65829a78bbd71e04 | [] | 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 | 196 | sce | Ex10_1.sce | errcatch(-1,"stop");mode(2);//Initialisation of variables
l=3e-3//vibrating length
E=8e10//young modulus
d=2500//kg per m3
N=(1/(2*l))*sqrt(E/d)
printf('frequency is %e Hz \n',N)
exit();
|
757473f976d2ae2f766e3708ca25fb42e0f26a12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3655/CH9/EX9.2/Ex9_2.sce | 8b7acb7000c21a43822e7091a36485c78affc7bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,616 | sce | Ex9_2.sce | // Example 9.2
// Computation for VCEQ and re' for case(a),o/p overall gain, gain,i/p resistance, overall current gain & o/p resistance for case(b),minimum value of Ce for case(c)//
// Page no.370
clc;
clear;
close;
//Given data
hFE=100;
hfe=150;
Rc_A=2.2*10^3;
VBB=2.79;
VBEQ=0.7;
Rb=7.67*10^3;
Re1=0;
Re2=2.2*10^3;
V... |
3afb879c4f2976585b351608963b400744808692 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/Python/FieldUtils/Tests/bfs_vort.tst | d67a2f26c3a4ce11aff3fd7b74d26a0cda97964a | [
"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 | 810 | tst | bfs_vort.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> Process 2D vorticity output </description>
<executable python="true">bfs_vort.py</executable>
<parameters></parameters>
<files>
<file description="Session File">bfs_tg.xml</file>
<file description="Session File">bfs_tg.fld</file>
<... |
d38b73b115cb3f5ea37537e83afe2f72e62836b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH3/EX3.10/3_10.sce | c730662231d7cc8e248d08d958a0d5b8146f964b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | 3_10.sce | clc;
// page no 126
// prob no 3.10
f_car=8*10^6;f_mod1=2*10^3;f_mod2=3.5*10^3;
//Signal is LSB hence o/p freq is obtained by subtracting f_mod from f_car
f_out1=f_car-f_mod1;
disp('MHz',f_out1/(10^6),'The o/p freq f_out1 is ');
f_out2=f_car-f_mod2;
disp('MHz',f_out2/(10^6),'The o/p freq f_out1 is '); |
0528abcb9a488194b486e62b6fcd50fb46940103 | ab26412087eaa8082853ac528899ad2c8be5cee8 | /office_topology.sce | c04097fcb2ec2940967c3e7fd125cd829265ef95 | [] | no_license | RohaanoaZoro/NetworkingProject | 2c749c1279f9172e7ca2e67d7da411e107cbc8ab | d2ed5689bc933352386523e8794b66d5de968003 | refs/heads/master | 2021-09-17T21:02:16.374134 | 2018-07-05T11:29:52 | 2018-07-05T11:29:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,103 | sce | office_topology.sce |
clear;
clc;
//1. create and Display Office Topology
NameOfNetwork='office Topology';// Name of your network
NumberOfNodes=input("Enter number of nodes");//Number of Nodes in the network
ConnectionEndingNode=[1 2]; //Ending Nodes of the connection lines
ConnectionStartingNode=[1 2];//Ending Nodes of the... |
c393e8a5097fa479e46e6e10f8ffd73ffc434cbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.2.8/Example1_23.sce | dc5c782557b9d2ad6884fe4637622324412620ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Example1_23.sce | //Chapter-1,Example1_2_8,pg 1-16
V=0.2 //volume of oil
A=10^4 //area
t=V/A //Thickness of oil film
r=0 //for normal incidence
n=1 //for 1st dark band
wavel... |
a69465ba89d062ae91148e67d7d35f6f401600b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH5/EX5.4/Ex5_4.sce | c155858de56611f7259a26d0a5ffdc09b6872ebe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | Ex5_4.sce | clear
//
//
//
//Variable declaration
n1=1.53 //Core refractive index
delta=0.0196 //relative refractive index difference
//Calculation
NA=n1*sqrt(2*delta) //numerical aperture
thetaa=asin(NA)*180/%pi //acceptance angle(degrees)
//Result
printf("\n numerical aperture is %0.3f ",NA)
printf("\n... |
11a6a3c7785a8620b5ffdb1b47bf05149b4edac1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH1/EX1.2/Ch01Ex2.sce | e720e46ac95335488bc9af5e0657b469d63feb91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ch01Ex2.sce | // Scilab code Ex1.2: : Pg:19 (2008)
clc; clear;
V = 100; // potential difference, volt
Lambda = 12.25/sqrt(V); // de Broglie wavelength, angstorm
printf("\nThe de-Broglie wavelength of an electron = %5.3f angstorm", Lambda);
// Result
// The de-Broglie wavelength of an electron = 1.225 angstorm |
15f7f0f4571b67bde67d37d44927d8c67cdc10d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH2/EX2.5/Ex2_5.sce | 95a439521d7896c4c6861b517d1224946969e3e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Ex2_5.sce | clc
//to calculate relative intensities
//Imax/Imin=(a1+a2)^2/(a1-a2)^2+105/95
//(a1+a2)/(a1-a2)=1.051
//we get a1/a2=40
a1=40 //a1=40*a2
a2=1
disp("the ratio of the intensities of interfering sources is I1/I2=a1^2/a2^2="+string(a1^2/a2^2)+"unitless")
//answer is given in terms of ratio in the book
|
dfd82c336d534fd12955e3a3b57e0d5234a3fa5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH16/EX16.5/Ex16_5.sce | 690595315ffbd6c823de30e1f43eb7b95843f942 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Ex16_5.sce | //Example 16_5
clc();
clear;
//To find the work done in carrying a proton and for an electron
q=1.6*10^-19 //Units in C
vab=9 //Units in V
work=q*vab //Units in J
printf("The work done in carrying proton is=")
disp(work)
printf("Joules\n")
q=-1.6*10^-19 //Units in C
work=q*vab //Units in J... |
064f24b4ab6a2783bd5a6a4803e3f7ca75f92470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.41/2_41.sce | 73bdd967ee50c273b5c0388b7e7830a479f53242 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | 2_41.sce |
clc;
clear;
//Example 2.41
//Given
rho=9000 //kg/cubic meter
Cp=0.38 //kJ/(kg.K)
Cp=Cp*1000 //J/kg.K
k=370 //W/(m.K)
T0=483 //K
T_inf=373 //K
delta_T=40 //K
T=T0-delta_T //K
t=5 //time in [minutes]
t=t*60 //[seconds]
//A=2A.....Two faces
//V=A.2x
//2x=thickness of slab=30 mm=0.03 m
... |
ff3bad09db6a860316100ba4ba893872de51b8ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH4/EX4.7/7.sci | 42f361787c6062037103c59037d08b64a622ed7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sci | 7.sci | clc;
clear all;
disp("Ingot velocity ")
D=10/100;//m Diameter of cylindrical ingot
L=30/100;//m
ti=1250;// degree C
t=800;// degree C
ta=90;// degree C
k=40;// W/m.C
h=100;// W/m^2.C
a=1.16*10^(-5);//m^2/s
Lc=D*L/(4*L+2*D);//m
Lc
Bi=h*Lc/k;
disp(Bi,"Bi =")
//(t-ta)/(ti-ta)=exp(-a*h*As*tau/(k*V))
//h*As/... |
cc792f61dc467ee4b769449981ca58f32ab08373 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH5/EX5.9/Ex5_9.sce | a5825f31561918e415034f97bc107ae37b77b2f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | Ex5_9.sce |
mu_not=4D-7*%pi
Ns=400//no. of turns on search coil
N=1000//no. of turns of wire on solenoid
M=mu_not*Ns*N*25D-4/80D-2
mprintf("Mutual inductance of arrangement=%f mH\n",M*1000)
//di/dt=200
e=-M*200
mprintf("emf induced in search coil=%f V",e)
|
d9aed7235c683ea710685ce1e8d012db87144d3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH4/EX4.3/Example_4_3.sce | 3cd5a591379f977d641079f2f0a347a70610bed9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,074 | sce | Example_4_3.sce | clc;
printf("\n Example 4.3\n");
Q=50; //volumetric flow rate of methane
P=101.3e3;//Given Pressure
T1=288;//Given Temperature
d=0.6;//Diameter of pipeline
l=3e3;//length of the pipe line
R_R=0.0001;//Relative roughness
P2=170e3;//Pressure at which methane is to be discharged
T2=297;//Temperature at which ... |
84ea2151433cdca117c007307995cf93f7102699 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH1/EX1.4/Example1_4.sce | ec06a7ce839d627c5d0ce88b725b503769b6f2ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,073 | sce | Example1_4.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 1: Electromechanical Fundamentals
// Example 1-4
clear; clc; close; // Clear the work space and console.
// Given data
v = 1.5; // v = velocity in m/s with which the conductor is moving
l = 0.4;... |
565a0dd71ae7f9dc0e73c16e11c414bd099676f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.25/ex1_25.sce | 963d420ee9ed0bc0227b2717b49f3727ee66b382 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex1_25.sce | // Exa 1.25
clc;
clear;
close;
// Given data
R1= 1;// in kΩ
R2= 0.47;// in kΩ
V_o1 = 0.7;// in V
disp(V_o1,"The value of Vo1 in V is");
V_o2 = 0.3;// in V
disp(V_o2,"The value of Vo2 in V is");
I1 = (20-V_o1)/R1;// in mA
I2 = (V_o2-V_o1)/R2;// in mA
I = I1 + I2;// in mA
disp(I,"The current in mA is");
|
172cea78f0d9f2424b47c855bc4ba9f239c40900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.4/Exa_4_4.sce | 14884d765dcfa3934f1aeb34d1f2fc83688b73e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | Exa_4_4.sce | //Example No. 4.4
clc;
clear;
close;
format('v',6);
//Given Data :
T=110;//min
Tdash=150;//min
t=30;//min
tdash=45;//min
theta_f=50;//degree C
//theta=theta_f-(theta_f-theta1)*exp(-t/T)
//theta1=theta*exp(-tdash/Tdash);
theta=(theta_f-theta_f*exp(-t/T))/(1-exp(-tdash/Tdash)*exp(-t/T));//degreeC
disp(th... |
8712420dc4547f761371c2dda3d83df073eae90c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH10/EX10.2/Ch10Ex2.sce | 5777df9e17f06f1c2a7321afed8157160e723f30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | Ch10Ex2.sce | // Scilab Code Ex10.2: Page-507 (2011)
clc;clear;
q1 = 1e-009; // Charge at first corner, C
q2 = 2e-009; // Charge at second corner, C
q3 = 3e-009; // Charge at third corner, C
d = 1;....// Side of the equilateral triangle, m
theta = 30;....// Angle at which line joining the observation point to the sour... |
ebe13759098cab894e7b1a769e1f738413bfc8d9 | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH19/EX19.27/example27_sce.sce | 6a1ddf83d7b45870abc251e5c7283dc19df8044b | [] | 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 | 262 | sce | example27_sce.sce | //chapter 19
//example 19.27
//page 883
printf("\n")
printf("given")
Rw=.1;f=1*10^6;Lp=19.5*10^-6;Rl=1.2*10^3;Vcc=30;Idc=12.3*10^-3;
QL=(2*3.14*f*Lp)/Rw
Qp=Rl/(2*3.14*f*Lp)
B=f/Qp
Il=(.707*Vp)/(2*3.14*f*Lp)
Pl=(Il)^2 *Rw
Pi=(Vcc*Idc)+Pl
n=(Po/Pi)*100 |
9abb987bba8ead24740c74d0570ccf0c2004cc44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.24/ex4_24.sce | 151ca5dd09ce60e7870a92a280ad59e7b3e2c706 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | ex4_24.sce | //Example 4.24
//Use of field width and precision specification with string output
line = input("Enter string(upto 12 characters): ", "string");
printf("%10s % 15s %15.5s %.5s", line, line, line, line); |
794c16cdb5ee4c0359ead2e3b70156eb8ae52be6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH1/EX1.8/ex_8.sce | 1144a1dfb11698db7e456291741ed59e70ce6fba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | ex_8.sce | // PG (21)
deff('[y]=f(x)','y = x^3-3*x^2+3*x-1')
xset('window',0);
x=-0:.01:2; // defining the range of x.
y=feval(x,f);
a=gca();
a.y_location = "origin";
a.x_location = "origin";
plot(x,y) ... |
4b27057b58b48c247a632a8234f87161eedcd3b5 | 83b39ce8edebb6ec335a740bcc4e0a96bd03ad5f | /Functions.sce | 729a373d4d1460a9b6b6767ff3404828b9c9b5a0 | [] | no_license | neighborBoy0/ProjetFinDeEtude | c7b47a49fa6e3f151bf6fd890ea392ec745f5e37 | b1044feb8bac4d9645639e3ea3f113ad97439f8e | refs/heads/main | 2023-04-10T14:56:39.636998 | 2021-04-12T19:05:53 | 2021-04-12T19:05:53 | 347,607,990 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,229 | sce | Functions.sce | m = mode();
mode(-1);
// the position error between the current and final positions for the end effector
//
// CPosition: Cartesian coordinates of the current position.
// FPosition: Cartesian coordinates of the end point.
function result = F1(CPosition, FPosition)
try
positions = [CPosition; FPosition];... |
15bb97b66fa5ded70755cd32d981edaa9a08521b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.13/ex6_13.sce | 819ec983f1c76af5e87d313e31687551bc86575b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | ex6_13.sce | // Exa 6.13
clc;
clear;
close;
// Given data
V_S = 1.7;// in V
R_S = 0.51;// in kohm
R_S= R_S*10^3;// in ohm
V_DD = 18;// in V
R_D = 2*10^3;// in ohm
V_GS = -1.7;// in V
V_P = - 4.5;// in V
I_DQ = V_S/R_S;//in A
disp(I_DQ*10^3,"The value of I_DQ in mA is");
V_GSQ = -V_S;// in V
disp(V_GSQ,"The value of V... |
4b66e2952d0d8005bf7ca3bcaf528821b3a5de89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.32/ex_4_32.sce | a724e88b3ec0b3aaae9b9232661ef84b5e6bf1b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | ex_4_32.sce | z = %z;
syms n z1;//To find out Inverse z transform z must be linear z = z1
X =z^2/((z-(1/4))*(z-(1/2)))
X1 = denom(X);
zp = roots(X1);
X1 = z1^2/((z1-(1/4))*(z1-(1/2)))
F1 = X1*(z1^(n-1))*(z1-zp(1));
F2 = X1*(z1^(n-1))*(z1-zp(2));
h1 = limit(F1,z1,zp(1));
disp(h1,'h1[n]=')
h2 = limit(F2,z1,zp(2));
disp(h2,... |
75bed4c910829c7450a6a3c3df61ebd19386b419 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH2/EX2.2/Ex2_2.sce | 16be51b4069b26dbb4c03cab2c8d3a02dda4a990 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | Ex2_2.sce |
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 2.2
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
n1=1.48;//core refractive index of a step-index fiber
delta=0.015;//relative index difference between the core and cladding
lamda=85*10^-8;//wavelength ... |
01bd7f5d6efecd3cc304f63603f4894f51ba71b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3826/CH1/EX1.2/Ex1_2.sce | 728194a34201fade995eddb7283f4e084462a06c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,317 | sce | Ex1_2.sce | //Example 1_2 page no:23
clc;
//given
//solving a sub part
voltage = 500;//in v
current = 32;//in A
arm_res = 0.4;//in ohm
fl_win_res = 250;//in ohm
rpm = 450;
field_current = 2;
input_pow = (voltage*current)/1000;
arm_current = current - field_current;
//when running at 600rpm
rpm1 = 600;
k_phi = (voltag... |
45f9b9a13f130e4c9927d9c179cb72ccb5e670cb | f78a758dc17a311b355e12366d1315f7a9c2b763 | /IVECO/16-2103 2007/5.2.8.1 Test pulse 4a 2.tst | ca43990bb22b58a8ea217176951ce5adcdb5f08f | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | tst | 5.2.8.1 Test pulse 4a 2.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE AUTOTEST>
<AutoTest version="2.0.0" wavetype="5">
<Pulse>Pulse 4</Pulse>
<Title>12V Class C</Title>
<Organization>IVECO</Organization>
<Standard>16-2103 2007</Standard>
<Item>5.2.8.1 Test pulse 4a</Item>
<system>
<PowerSys... |
6cdedb5500910b123689a36b9b1e9fe340d77300 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH11/EX11.6/11_6.sce | 74aed69a959b59a418bc72720574cf931ad6c0b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | 11_6.sce | clc;
clear;
unit_cell_edge_x=(2) //intercept of x
unit_cell_edge_y=(-3) //intercept of y
unit_cell_edge_z=(6) //intercept of z
//calculations
Reciprocal_x=1/unit_cell_edge_x //reciprocal value of miller index x
Reciprocal_y=1/unit_cell_edge_y //reciprocal value of miller index y
Reciprocal_z=1/unit_cell_edge_... |
cecd30b8e413427cafea939227692886797df91d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.45/ex2_45.sce | 44ea7f054c89cfaa993448695925066eb52eb3f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | ex2_45.sce | //chapter 2
//may june 2013
//Aem=Gdmax*lamda^2/4*pi;
printf("\n");
Gdmax=1.5;//for half wave dipole
f=10^9;
c=3*10^8;
lamda=c/f;
Aem=(Gdmax*(lamda)^2)/(4*(%pi));
printf("the effective aperture is %gm^2",Aem);
|
013e3e0c853f42271f397f428ec70c9adc150e89 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/getoutputs.sci | d50c2d050201000f55f5bc373b1ba30c849bfe47 | [
"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 | 78 | sci | getoutputs.sci | function [x,y,t]=getoutputs(o)
execstr('[x,y,t]='+o(5)+'(''getoutputs'',o)')
|
c29abbd0738fcd120079e9933bd12109896b94db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.2/2.sce | a3a4353fc61314a9af658b776e8bbcbfa17d465c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | 2.sce | //Problem 1.2
h1=0.75 //atm pressure in term of mercury
w=9810
w1=13.6*w //specific weight of mercury
Patm=w1*h1
w2=15000
h2=3 //
p=w2*h2 // gauge pressure
Pabs=Patm+p
disp(p,"gauge pressure(N/m2)")
disp(Pabs,"absolute pressure(N/m2)")
|
5adcb44b9674374530d039f686fe409c4962cedc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.2/Ex3_2.sce | 930af12f9bdc9d418e77efe7d32d9bca0316a34c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 776 | sce | Ex3_2.sce |
//Variable declaration
Id=1.6 //drain current(mA)
Vgs=-3 //gate to source voltage(V)
Id1=.4 //drain current(mA)
Vgs1=-4 //gate to source voltage(V)
Vp=-5 //peak voltage(V) by solving equations 1.6=Idss(1+3/Vp)^2 and .4=Idss(1+4/Vp)^2
Idss=10 ... |
c02b9ed652e3d43887f0ed2a7e64e3be93c971ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.19/Ex17_19.sce | c2dfa8a6e63dd07c3007c80674a9c65303666a1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex17_19.sce | //Initilization of variables
W=100 //lb
lo=4 //ft
theta=45 //degrees
g=32.2 //ft/s^2
l=8/3 //ft
//Calculations
//Taking moment about point O and equating it to zero
alpha=(W*(lo*0.5)*cosd(theta))/((W/g)*(l)*2) //rad/s^2
//Summing forces in the t direction
Ot=(W*cosd(theta))-((W/g)*lo*0.5*alpha) //lb
//Work D... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.