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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
148bd3089c5045baf22bada69bf6021c4c67f805 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH5/EX5.10/example10.sce | ead15a8d9aa3d52929dd81467349888a36565abd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | example10.sce | clc
clear
//input data
R=0.5//Degree of reaction
P0=2.2//Inlet pressure in bar
T0=443//Inlet temperature in K
N=2400//Rotor running speed in rpm
Dm=0.5//Rotor mean diameter in m
a1=36//Rotor inlet angle in degree
a2=19//Stator exit angle in degree
ns=0.88//Stage efficiency
m=1//Mass flow rate of steam in kg/... |
6d11359dee2c29be7baceb4b825f476de3592340 | de14a6897d4397228a52bacb8905b8807370ef4b | /gibbs1.sce | 779ae8db195ebdb9c317f007bb4a6dfc3ce0b8a5 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | gibbs1.sce | function out=S(x,p)
somme=0;
for i=0:p
somme=somme+(sin(x*(2*i+1))/(2*i+1));
end
out=somme*(4/%pi);
endfunction
clf;
gamme_n = [10,100,500,1000];
nom_n = ["n=10","n=100","n=500","n=1000"];
x=linspace(-%pi,%pi,10000);
for i=1:length(gamme_n)
n=gamme_n(i);
subplot(2,2,i);
plot(x,S(x... |
ad2b49c781250c80b8bd10aa91241d7de97cecb5 | 0d85aad5237f1842799753cb32481a4e00ca63d1 | /price1.sci | c2df510d3fb8885b535afeff17c91aa8c5495060 | [] | no_license | ghassenjlassi/projectstat | fc951e46f4202c36bc0ce059ce3e7204461daca4 | 4dc3fd3797782f3cfbb2d76ca6656d1c7f77a6a3 | refs/heads/master | 2020-03-14T10:31:09.397372 | 2018-05-02T09:39:11 | 2018-05-02T09:39:11 | 131,568,916 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sci | price1.sci | function b=fact(n)
if n<=1 then //si n=0 ou 1 alors n!=1
b=1
else //si n>1 alors n!=n*(n-1)!
b=n*fact(n-1)
end
endfunction
function max1=f(x)
max1=max(100-x,0)
endfunction
function p=price1(N, Rn, Hn, Bn, s,f,fact)
g=0
q=(Rn-Bn)/(Hn-Bn)
for i =[0,N]
g=g+(fact(N)/(fact(i)*fact(N-i)))*(q^i)*((1-q... |
793e40e18a4ac719ff765c3acee5e7d805d8b605 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH7/EX7.13/7_13.sce | 08cbef41d335e4caa4854b05a27aca119456d66d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,075 | sce | 7_13.sce | //Problem 7.13: Figure 7.4 shows a ring formed with two differentmaterials—cast steel and mild steel. The dimensions are:
// mean length cross-sectional area
// Mild steel 400 mm 500 mm2
// Cast steel 300 mm 312.5 mm2
//Find the... |
e88f7f6c6fa25757dd36ae86e39a4908bfaa0bd2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH22/EX22.14/22_14.sce | a93d02115402cb8d9a78f2f7445705dc4df71ca5 | [] | 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 | 478 | sce | 22_14.sce | errcatch(-1,"stop");mode(2);//Chapter 22, Problem 14
;
Ra=0.25; //armature resistance
V=300; //supply voltage
Ia1=100; //current 1
Ia2=80; //current 2
E1=V+(Ia1*Ra); //e.m.f (generator)
E2=V-(Ia2*Ra); ... |
1a464b07ca80ef6a08f07432bfac13193e38dbcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH4/EX4.5/Ex4_5.sce | c588dc7047806728dd18c43eaeb653b9ff270b78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 873 | sce | Ex4_5.sce | // RSA Encryption scheme
p = 7 //Large prime numbers
q = 17 //Small values taken here for convenience of calculation
//and explanation
n = p*q
z = (p-1)*(q-1)
e = 5 // e<n and e & z are coprime
i=1
d = i ... |
8db67568bc7a34ecba7db9116336cc9412a8d2c8 | b0ad6d728d3820b03751eab240331dd6ca86ae7e | /run5_VisMMN.sce | 7492572eff0437a6e294d1c6fb0ea8225620a990 | [
"MIT"
] | permissive | br-bieegl/szAMPexperiment | e354cb59cea9a794725618b0a6aefa3a9c681cca | 02ceb4a50286342c3fa8d449b30c6678cadbfa85 | refs/heads/main | 2023-04-07T17:36:08.091116 | 2021-04-15T20:46:29 | 2021-04-15T20:46:29 | 358,362,424 | 1 | 0 | null | 2021-04-15T19:02:18 | 2021-04-15T18:55:30 | null | UTF-8 | Scilab | false | false | 9,696 | sce | run5_VisMMN.sce | scenario = "run5_VisoddballPlusMMN_pronetSZAMP_09042021";
#========================================
#
#Visual Task:
#
#Tone1 16
#Tone2 18
#Response 17
#Standard 32
#Target 64
#Novel 128
#
#========================================
#attenuation updated for ER1 insert earphones and X-fi gamer card
pcl_file = "nvMMNComman... |
a1ec896f4348316fe33b0b8425f42dbec4155158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.21/ex_5_21.sce | b2fcf3603dbf3c8b7a7885b43cc778c52f14c626 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | ex_5_21.sce | clear;
clc;
close;
a=1;
dt=.01;
t=0:dt:10;
x=exp(-a*t);
y=[x($:-1:1) x];
t1=-10:dt:10.01;
a=gca();
plot(t1,y);
poly1=a.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('x(t)','t')
//clf();
//stacksize(10000,100000)
wmax=10;
w=0:0.01:wmax;
Xw=x*exp(-%i*(w'*t))*dt;
Xw_mag=(Xw);
Xw_ma... |
8313f20a30552877698091e448f35bcd3b7cae97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH9/EX9.19/Example_9_19.sce | 3ec444e94127c7f444ec2d0a48a206c58c626312 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,272 | sce | Example_9_19.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 9
//Chemical Reaction Equilibria
//Example 19
clear;
clc;
//Given:
//Reaction: 1/2N2 + 3/2H2 --> NH3
Kp = 1.25*10^-2 ;//equilibrium constant
P = 50; //pressure in bar
v = 1-(3/2)-(1/2); //change in number of moles in reaction
//Initial c... |
ab7acd05798532f3199f78ff18b32bbc8664f5cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH11/EX11.3a/eg11_3a.sce | 218247c12760bf0cadbffcee4357ff0866b72a7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,001 | sce | eg11_3a.sce | Y = [8 0 0 1 3 4 0 2 12 5 1 8 0 2 0 1 9 3 4 5 3 3 4 7 4 0 1 2 1 2];
weeks = 30;
lamda = sum(Y)/weeks;
p = zeros(5,1);
p(1) = cdfpoi("PQ", 0, lamda);
p(2) = cdfpoi("PQ", 1, lamda) - p(1);
p(3) = cdfpoi("PQ", 3, lamda) - cdfpoi("PQ", 1, lamda);
p(4) = cdfpoi("PQ", 5, lamda) - cdfpoi("PQ", 3, lamda);
p(5) = 1 - c... |
abce516d6bc80d54d448f22682db56a0d97632b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH10/EX10.2/Ex10_2.sce | ce24fa1dc7238fbe3bf46dc0ef4babab56411056 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 842 | sce | Ex10_2.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-10.2 Page No.198\n');
Pa=100; //[lb/in^2] Air pressure
Da=4; //[in] Diameter
Aa=%pi*Da^2/4; //[in^2] Cross section area
F1=Pa*Aa; //[lb]
Do=1; //[in]
Ao=%pi*Do^2/4; //[in]
P... |
53870d8eb37a180d03e033f750612193fe1cfe34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH13/EX13.9/13_09.sce | ee80ac14b9edd1150a4a9e84a9742a842eadabb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | 13_09.sce | //Example No. 13_09
//Optimum step size
//Pg No. 444
clear ; close ; clc ;
x = 0.8 ;
h1 = 0.05 ;
y1 = 5.8410870 ;
h2 = 0.025 ;
y2 = 5.8479637 ;
//d = 4
h = ((h1^4 - h2^4)*10^(-4)/(2*(y2 - y1)))^(1/4)
disp(h,'h = ','for four decimal places')
//d = 6
h = ((h1^4 - h2^4)*10^(-6)/(2*(y2 - y1)))^(1/4)
dis... |
a29c11c8c12bb9dc40167a1dbf3f79d14737586e | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH3/EX3.8/3_11_Exercise_V_3_8.sce | f964c05d0622c44dc2cdc35cca438014b3a70f5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | 3_11_Exercise_V_3_8.sce | //Sketch plot of given s-domain signal,X(s)=(s+2)*(s.^2+8*s+20)/(s+3)/(s.^2+2*s+2)
clc;
clear;
s=poly(0,"s");
X=(s+2)*(s.^2+8*s+20)/(s+3)/(s.^2+2*s+2);
disp(X,'given s-domain signal=>');
plzr(X); |
971a758adf23438516e4efdfcfd77f80272f0827 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH12/EX12.5/12_5.sce | ebc949bbc35cd7c7c57c980952cecac50b780d74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_5.sce | clc
//initialisation of variables
W= 600 //lb/ft
L1= 8 //in
L2= 4 //in
b= 6 //in
h= 8 //in
t= 1 //in
//CALCULATIONS
R1= W*(L1+L2)*((L1+L2)/2)/L1
R2= W*(L1+L2)*(L1-(L1+L2)/2)/L1
Vmax= 3000 //lb
I= (b*h^3/12)-(L2*b^3/12)
Ay= b*L2*(L2/2)-L2*b/2*b/4
b= t+t
Tmax= Vmax*Ay/(I*b)
//RESULTS
printf ('maximum she... |
9dbe332d3f417e2f2ae8f68097fa3b76499bf33b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.20/Example7_20.sce | 2cc30073c7152594119784dd5bc973840d7f36fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,013 | sce | Example7_20.sce | ///Chapter No 7 Fluid Mechanics
///Example 7.20 Page No:130-131
/// Find Continuity eqation
//Input data
clc;
clear;
D11=0.25; //Diameter at inlet in m
D12=0.175; //Diameter at outlet in m
P1=450*10^3; //Intensity of pressure at inlet in kPa
P2=200*10^3; ... |
7a7c2365f69d18fd7d67d79ad16ccc7f01cb82ce | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/LRA.prev.tst | 4310a8fbd653e954c1c7d5947aad552bd90b20e4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | tst | LRA.prev.tst | before x, phead=0, pbody=8, ptail= - 108*y^3 + 72, mlead= + 9*x^2, flead=324, root2=18, widev=36
after x, phead=x^2, pbody=8, ptail= - 108*y^3 + 8, vmapt={x=>8+18*x,y=>y}
("8*x + 9*x^2 - 3*y^3 + 2").getReductionMap(1) = {=>x^2 - 4*y^3 + 8,x=>18*x + 8,y=>3*y}
|
5591ce0bae218ddc40bc6150dabede1313f77d39 | a8392820bef2e8fe1ff5fb93c9bdb6b782f6a970 | /Assignment 3/Code/1b.sce | b88067b32d5a7bc9e50c420e346ba8aa1aad4915 | [] | no_license | debarnab-mitra/Wireless-and-Mobile-communication | 0704c8bd7a6f752d13e263f1a2e8f67394a5a01a | 49d305f7f70ff1cec2d8b6394a66ca8e97da1b3e | refs/heads/master | 2020-04-02T20:48:34.115870 | 2018-10-26T05:06:27 | 2018-10-26T05:06:27 | 154,779,847 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,232 | sce | 1b.sce | clear;
//system specifications
f_samp = 2000*10^6;
fc = 800*10^6;
Ts = 1/f_samp;
n = linspace(1,2000,2000);
n_points = 10000;
A = linspace(0.1,10,20)*(10^-3);
j = 1;
R = 100*10^(-3)
PLdB = 128.1 + 37.6*log10(R);
PL = sqrt(10^(-PLdB/10)/2);
// outer loop for different amplitude values
whil... |
400c4ee7a41e5fc47576af58163b592642568b47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.27/ex2_27.sce | d8964ac6f6177fc1fa0edcf548f6aca3700826b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | ex2_27.sce | // Example 2.27, page no-46
clear
clc
h=1
k=1
l=0
d=2*10^-10//m
a=d*sqrt(h^2+k^2+l^2)
R=a/(2*sqrt(2))
printf("The lattice constant is %.3f*10^-10 m\nThe atomic radius of the crystal is %.1f *10^-10 m",a*10^10,R*10^10)
|
cf2f8e4f68ae27c2a6663884c92d687b4c31317c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH17/EX17.a.2/Example_a_17_2.sce | 601d532bfa38af2632feaa0ceac1768c76c8083f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 966 | sce | Example_a_17_2.sce | //Example_a_17_2 page no:864
clc;
fc=1.5*10^3;
k=500;
fa=1600;
m=sqrt(1-(fc/fa)^2);
L=k/(%pi*fc);
C=1/(%pi*k*fc);
//calculating T-section elements
L_t=m*L/2;
L_t=L_t*1000;
C_t=m*C;
C_t=C_t*10^6;
L1_t=(1-m^2)*L/(4*m);//the inductance value is wrong in text book, correct calculation is done here
L1_t=L1_t*1... |
42f2e1729e8726be5573c282d1a743941e97b3a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH15/EX15.9/15_9.sce | 59b595c491b8a5c7a3c9abd0e3cb2e17e4d47a12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 822 | sce | 15_9.sce | //Two blocks on an inclined plane
//refer fig. 15.11 (a,b,c) and (d)
//Let block A move with an acceleration a1 and block B with an acceleration a2
//Consider block A
//Using equilibrium conditions
//NA=WA*cosd(30)
mu1=0.2
WA=100 //N
//From the law of friction
FA=mu1*WA*cosd(30) //
a1=3.2058 //m/sec^2
//... |
b53f853c6bae95b940a55837202e620e0541baaf | 8ec8a6289f00479229e1b4a240e1f75a2004bffb | /VeryLargeNetworkRoutingPerformance.sce | a003ec49ed6179e8228e5105705dbd5a1e9d4b20 | [] | no_license | Aashay7/routing_algos_scilab | cf7b41db7a166bb906797f674a2eb49eb85017cf | 7d2a9f8514490946a07169fb77e74dc08a0041d5 | refs/heads/master | 2020-04-27T18:03:47.114425 | 2019-12-02T14:07:20 | 2019-12-02T14:07:20 | 174,552,333 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,062 | sce | VeryLargeNetworkRoutingPerformance.sce | //Authors:
//Sachin Gopal (15BCE1188)
//Aashay Gondalia (15BCE1284)
//Dhruv Dixit (15BCE1324)
//VIT Chennai
//Code to compute the CPU time taken by each routing algorithm to return the
//Vector of the total distance between each network node and the source node and
//Vector composed by the predecessor of each node in... |
3b7fab598b836e56eb11c8aab55a715f3269541b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH4/EX4.2/Ex4_2.sce | 73b8513f947eea90b21e969369bcba587a56907b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex4_2.sce | // Example 4_2
clc;funcprot(0);
// Given data
E_fuel=15000;// Btu/min
E_exhaust=500;// Btu/min
W_1=200;// hp
W_2=50;// hp
E_thl=180000;// Top heat loss in Btu/h
E_Bhl=54000;// Bottom heat loss in Btu/h
// Solution
Q=-E_thl-E_Bhl;// The net heat transfer into the system in Btu/h
W=W_1+W_2;// The net work ra... |
6e08ca1facd847db3ece8b9e88bd45507c548197 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH11/EX11.5/Ex11_5.sce | dd4184db3c99d4c1dc27caafdf07b3eb3a526c86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex11_5.sce | clear;
clc;
B=10 //current gain
IB=0.6 //in A
VBE=1 //in V
RC=10 //in ohm
VCC=100 //in Vs
//Calculation
IC=B*IB //in A
VCE=VCC-(IC*RC) //in V
VCB=VCE-VBE //in V
PT=(VCE*IC)+(VBE*IB)
mprintf("Total power dissipation= %.1f W",PT)
disp("The BJT is working outside the SOA")
|
e90492a37f1af020dbc251e4e22218d63d252f39 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/db/db7.sce | a814646ed6104268351a319c9ce1ab7685548d33 | [] | 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 | 174 | sce | db7.sce | //check o/p when i/p along with unit string and reference load are passed as args to the function
v=1e-3;
u=db(v,'power',50);
disp(u);
//output
//power
// - 30.
|
581556953e19cb98ea5c515506bcbb81cfdf8133 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH8/EX8.3/Ch08Ex3.sce | 8862781e39e618383097acba75cec3cbb40095d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 906 | sce | Ch08Ex3.sce | // Scilab code Ex8.3 : Pg:328(2008)
clc;clear;
function [deci]= binary_decimal(ni) // Function to convert binary to decimal
deci = 0;
i = 0;
while (ni <> 0)
rem = ni-fix(ni./10).*10;
ni = int(ni/10);
deci = deci + rem*2.^i;
i = i + 1;
end
endfunction
function [d... |
ba688b5f5f3b07aef443629650a7f1778c9a69bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH13/EX13.11/Example13_11.sce | 9c309b1a8dceb6352692a4c6d7889996b4e8a18b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | Example13_11.sce | //clear//
//Caption:Program to determine the pulse width at the optical fiber output
//Example13.11
//page474
clear;
clc;
T = 10; //width of light pulse at the optical fiber input in pico secs
beta2 = 20; //dispersion in pico seconds square pre kilometre
z = 15; // length of optical fiber in kilometre
delta_t ... |
abca0e575e42f1cb055da411f76e64210dfb32b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH5/EX5.2/5_2.sce | 1ff62454cb16a06548941a89829dc924822d603f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | 5_2.sce | clc
clear
//Initialization of variables
g=9.81 //m/s^2
rho=10^3 //kg/m^3
P1=80*10^3 //N/m^2
P2=12*10^6 + 101300 //N/m^2
Hq=-400 //J/N
//calculations
g1=g*rho
Hs= -Hq+ (P2-P1)/(g1)
//results
printf("Energy added by pump = %d J/N",Hs)
disp("The answer given in textbook is wrong. Please verify using a calcula... |
fe9efb96ebd63bebd660d9da22872136e2b193b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.13/Ex10_13.sce | ab715c7eb85cac286b7291cbe9ee5383ddcefd6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | Ex10_13.sce | clear
//Given
M=4.8*10**-2 //J/T
a=30 //degree
B=3*10**-2 //t
//Calculation
//
t=M*B*sin(a*3.14/180.0)
//Result
printf("\n Torque acting on the needle is %0.1f *10**-4 Nm",t*10**4)
|
b7eb9d1841298410bd36be4cd151765fd1ba850e | 65bb46f0891090f31b9e84b13c72c478043dcdb9 | /BugTracker.App/Static/app/services/generated/GenerateServices.tst | 3c803a8a8a2a91dbe93e422883269a8fe59ef699 | [] | no_license | crazyants/BugTracker | 5f9f04dee7337ebefd534d557dea53415c5083b1 | dd472d6978618c567ea6a4a2d369ac23d56b5305 | refs/heads/master | 2021-01-12T18:20:16.398804 | 2016-04-28T22:12:54 | 2016-04-28T22:12:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,670 | tst | GenerateServices.tst | ${
using Typewriter.Extensions.WebApi;
Template(Settings settings)
{
settings.OutputFilenameFactory = file => GetCamelCaseFileName(file.Name);
}
string debug(Func<string> action)
{
try{return action();}
catch (Exception ex) {return ex.ToString();}
}
string GetCa... |
c8eaa2f141abb231332fa7e4f28562919b55ebad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.19/Ex1_19.sce | 4e14e219a0839e49a41cf8631217dc3d878f457e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | Ex1_19.sce | clear
//
//e=b*l*u*sin(angle)
b=0.5
l=40
u=1.5
//when angle=90 sin(90)=1=s
s=1
e=b*l*u*s
printf("\n e= %0.1f V",e)
//when angle=30 sin(angle)=s=0.5
s=0.5
e=b*l*u*s
printf("\n e= %0.1f V",e)
|
7a223487ccf7e1716b21553630af7db4e0b16948 | c8390c7d40cc2d159d87b3d5663d876a1c1bfef3 | /src/newformat.tst | 0918b0efafba6dbde9c13837c9b2b6b07ee2c7a5 | [] | no_license | hans-jorg/rtalgs | f4ac8ef6eeff2205e1c1ca28365441c8ac894570 | b2b180bf3b4cce8ae12b115a61866794db065be4 | refs/heads/main | 2023-01-24T12:54:18.288624 | 2020-12-02T18:29:55 | 2020-12-02T18:29:55 | 316,499,844 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | tst | newformat.tst | ; TASK DESCRIPTION FILE
;
; Task set descriptions, from which tasks are instantiated.
; Keywords are at the line's beginning
;
; Lines beginning with '*' or ";" are ignored
; No line can be longer than MAX_STRING characters
; No task name can be longer than MAX_NAME_LENGTH
;
;
title Article's Ex... |
61dd7420827b612774e236926d0542aef1fad63d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH7/EX7.4/Example74.sce | 3e582d42560b514ee5bf869415c705a412e077c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | Example74.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 4")
disp("Nozzle Throat area in m2, A = m/(rho2*Ca2)")
disp("rho2 = P2/(RT2)")
disp("T2 = T02 - C2^2 /(2Cp)")
T02 = 1100;/... |
4e523beb0ec58ac31fb326ded526563c8b9654a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH9/EX9.11/9_11.sce | d15c4bf8d2082aabe2489e921ab4cc84d57970fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_11.sce | //Chapter 9, Problem 11
clc;
L=150*10^-3;
E=40;
//since the current is reversed, dI =6−(−6)=12A
dI=12;
//calculating change in time dt
dt=(L*dI)/E;
printf("Change in time dt = %f sec",dt);
|
2d4698c8f61a31206c0d51fc5717fc0e07164e1a | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostEnv/2mountains/2mount.sce | 112301723ec184a3f6c2e7bfedf786961a62a4d3 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | 2mount.sce | #************************************************************
# Scenario of test
#
# date : Mon Jun 8 10:04:16 2009
#************************************************************
p3d_sel_desc_name P3D_ENV test
p3d_sel_desc_name P3D_ROBOT CylinderRob
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000... |
1627ae4a57ffb3c17fb1f6a3fc38a6863b474318 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH14/EX14.14/14.sce | b373abaf6aeb51988556f3706fe65072e5220146 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | 14.sce | clc
h_f2=158.2; //kJ/kg
x2=0.62;
h_fg2=1280.8;
h1=298.9; //kJ/kg
h_f4=h1;
s_f2=0.630; //kJ/kg K
T2=268; //K
T3=298; //K
s_f3=1.124; //kJ/kg K
h_fg3=1167.1; //kJ/kg
m=6.4; //kg/min
cp=4.187;
L=335; //kJ/kg
h_f3=298.9; //kJ/kg
h2=h_f2+x2*h_fg2;
x3=((s_f2-s_f3)+x2*h_fg2/T2)/h_fg3*T3;
h3=h_f3+x3*h_fg3;
... |
9a99203b0212aeac89addd0a5c16cf68188a5e9f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.14_17.tst | 1f26aee76c1235c5c1c70aad0ce76ccfb4ab3707 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 654,173 | tst | 5.14_17.tst | 14 178:1 229:1 955:1 1299:1 1393:1 1827:1 2226:1 2455:1 3131:1 3315:1 3636:1 5136:1 5252:1 5949:1 6055:1 6192:1 6800:1 6832:1 6995:1 7331:1 7703:1 8326:1 8333:1 8354:1 8702:1 8811:1 9301:1 9433:1 9606:2 9681:1 9718:1 10078:1 10826:1 11584:1 12454:1 12798:1 12860:1 13421:1 13730:1 13767:1 14207:1 14226:1 14332:1 14348:1... |
ea7f0089b4cf64da0c9123faccf7db9e6c270f8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH11/EX11.6/example_11_6.sce | dfe846ab9294d864e48634b3038db7a4a42a5bee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | example_11_6.sce | //Scilab Code for Example 11.6 of Signals and systems by
//P.Ramakrishna Rao
//Hilbert Transform
clc;
clear A T t x;
T=2;
A=1;
n=1;
for t=-10:0.01:10;
if t>-T/2 & t<T/2 then
x(n)=A;
n=n+1;
else x(n)=0;
n=n+1;
end
end
t=-10:0.01:10;
//Signal x(t)
plot(t,x);
title('G... |
63248c00781515ac857c4cfa6a09711a597cc9c0 | bf22bf34daeceb2106b5e2af1c24e480f628960c | /singlelayer-perceptron/perceptron-hebbian/scilab/linear-separation/create_linear_separation.sci | 9dff3d596c135d95e851d2204650e7aa4aa1a7a2 | [] | no_license | edielsonpf/neural-networks-examples | e3a045bf37e4b2ea681f05512ac71fdbb0cb4992 | 9fabec297b07987f3506401751719c56055d0f5f | refs/heads/master | 2020-12-24T08:46:39.412676 | 2017-09-23T11:22:11 | 2017-09-23T11:22:11 | 32,630,396 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sci | create_linear_separation.sci | function [x1,x2]=create_linear_separation(data,W)
x=min(data):0.2:max(data);
x1=(-W(3)/W(2)).*x + (W(1)/W(2));
x2=(-W(2)/W(3)).*x + (W(1)/W(3));
x1=x;
endfunction
|
bb9bc1fa46f936ed2ada9340a6df5ac9047a83aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH19/EX19.10/example_19_10.sce | 478d2e0524a5e4572e0a99ec4f077f6f3b4c5d71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,449 | sce | example_19_10.sce | clear;
clc;
disp("--------------Example 19.10---------------")
// address :- 190.100.0.0/16 i.e 65,536 addresses
num_of_ISP_addresses=65536; //total number of addresses
printf('\n');
function [total]= addresses (num_of_customers,num_of_addresses) //function to find total number of addresses allocated to a group
... |
60cb8b5ad118eead46f553fb1e1a8bd5bef5d9fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH16/EX16.3/Example16_3.sce | c2180df34367d3c7a9a00985dfcdbfbbd5432d9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,587 | sce | Example16_3.sce | clear ;
clc;
// Example 16.3
printf('Example 16.3\n\n');
//Page no. 494
// Solution
//Given
T1 = 110 ;// Temperature of chlorobenzene - [degree C]
T1F = (9*T1)/(5) + 32 ;// Temperature of chlorobenzene - [degree F]
P1 = 400 ;//Pressure of chlorobenzene - [mm of Hg]
P1_psia = P1*14.7/760 ;//Pressure of chl... |
a246c8f96d1daa5ac22bbe0ad3f012b7c4929aff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH7/EX7.1.1/EX7_1_1.sce | 0fffdbe95cb49134b37ba4b992247c77b8d67997 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | EX7_1_1.sce | //Example 7.1.1
//Find the laplace transform and Roc of the following signal
clc;
close;
syms t;
a=5;
x=exp(-a*t);
b=6;c=7;
s=b+c*%i;
X=integrate((exp(-(a+s)*t)),'t',0,%inf);
disp(X);
disp(real(s));
disp('Since real(s)>-a,so the integral converges');
|
2d1b31cc78d81deb849b36ee64585b84f46e8245 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH3/EX3.28/ex_3_28.sce | b7448816e5b4509cde57271acd692bd0f0cdb44c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | sce | ex_3_28.sce | clear;
clc;
syms t s a
H=1/(s+a);
h=ilaplace(H)
disp(h*'u(t)',"h(t)=") |
b5d4e5f95351350ebca1a9266b62a869ee6ea1ee | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/bfp-020-multlonger.tst | 1e79a0bebc4c66fc87eae49d5bf6c48ef3316614 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 42,281 | tst | bfp-020-multlonger.tst | *Testcase bfp-020-multlonger.tst: MDEBR, MDEB, MXDBR, MXDB
#Testcase bfp-020-multlonger.tst: Multiplication to longer format tests Multiply (4)
#..Includes only multiply to increased precision MDEBR/MDEB and MXDBR/MXDB
#..Test cases evaluate NaN propagation, NaN generation, operations
#..using non-finite values, trapp... |
238b1ca8646f4f678b4e8598d63822872c43bb99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.3/Ex2_3.sce | 0bd668d75571218258bbf0804f46fce7e36a9566 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | Ex2_3.sce | //Ex:2.3
clc;
clear;
close;
v=28;//in volts
i=0.1;//in A
r=v/i;
p=v*i;
printf("Resistance Value = %f ohms & Power dissipated = %f W",r,p);
|
2dfe71cb5fdd45663250fe0e8d6f0fa58ebb2a42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH1/EX1.5/Chapter1_Example5.sce | 825dfd6b4e507b1e196cc97d8e27e4fea52e2927 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Chapter1_Example5.sce | //Chapter-1, Example 1.5, Page 20
//=============================================================================
clc
clear
//INPUT DATA
k=0.145;//Thermal conductivity of Firebrick in W/m.K
e=0.85;//Emissivity
L=0.145;//Thickness of the wall in m
Tg=800;//Gas temperature in degree C
Twg=798;//Wall temperatur... |
c13e6ba61d2ee62ba4a79a686d5390be782dbbef | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH5/EX5.10/5_10.sce | c06914612c90ad8157183206a83ffaa95446c069 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | 5_10.sce | clear;
clc;
printf("\t\t\tExample Number 5.10\n\n\n");
// turbulent-boundary-layer thickness
// illustration5.10
// solution
// we have to use the data from example 5.8 and 5.9
Rel = 1.553*10^6;// from previous example
L = 0.75;// [m] length of plate
// it is a simple matter to insert this value in equati... |
333514534fcfb082c585649ab8c625659998fdf2 | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/change_separator-014.tst | 70f9ea1f61ced8adeb027f0f8d072ac6d472e3fd | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22 | tst | change_separator-014.tst | ../inputs/sep-4x3.-F!= |
f7ce8cc9658225e07594d78bdd06f9d9ec3822bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH25/EX25.01/25_01.sce | 1bccfcc55b45d9cc66524cea7e60923de5c8c653 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,350 | sce | 25_01.sce | //Problem 25.01: Determine the admittance, conductance and susceptance of the following impedances: (a)-i5 ohm, (b)25+i40 ohm, (c)3-i2 ohm, (d)50/_40°ohm.
//initializing the variables:
Z1 = 0 - %i*5; // in ohms
Z2 = 25 + %i*40; // in ohms
Z3 = 3 - %i*2; // in ohms
r4 = 50; // in ohms
theta4 = 40; // in degrees
... |
c477d5daa22439e759971976224baa5d1f0c8b97 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/wpca.sci | 35d539d41d85d1120885fd7cd86d2060db54abba | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,513 | sci | wpca.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Ran He
// Version: 0.1
// Date: May 2009
// Description: Weighted principal component analysis(WPCA)
// Reference: C.M. Bishop. Pattern Recognition and Machine Learning. Information Science and Statistics,2006
//
// Backgroun... |
18c1a95f7397bf773a2004a259b89a3ccd96deb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH3/EX3.19/Ex3_19.sce | 5964053293d6e8b905866ff6c8f8bc29f7823a72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,824 | sce | Ex3_19.sce |
//
//given
BB_AB=13+(0/60)
BB_BC=222+(30/60)
BB_CD=200+(30/60)
BB_DE=62+(45/60)
BB_EA=147+(45/60)
FB_AB=191+(45/60)
FB_BC=39+(30/60)
FB_CD=22+(15/60)
FB_DE=242+(45/60)
FB_EA=330+(15/60)
//(a)
interiorA=FB_AB-BB_EA
interiorB=FB_BC-BB_AB
exteriorC=BB_BC-FB_CD
interiorC=360-(200+(15/60))
interiorD=FB_DE-BB_CD
interio... |
fc60f63309e25b38cb5991d23667064d3bb28b31 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /help/en_US/DIGITAL_READ_SB_help.tst | 39ce410b13552a67c7b4688dd18b9608a9e8b11c | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,059 | tst | DIGITAL_READ_SB_help.tst | \name
DIGITAL_READ_SB
\palette
Arduino
\smalldescription
Allows to receive a logical value 0 or 1 on a given port.
\description
The Arduino board has a set of logical ports (digital) that are used for writing or reading data from a component.
To map a UNO, ports 2-13 are available (0 and 1 are used for se... |
840a5fa08cc7cb3cca92c2ba5ee1babad4d40c41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH9/EX9.2/ex_9_2.sce | 6c3d940baeb7490187626abea4e0e765af49bdfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | ex_9_2.sce | clc;
clear;
white_ball=3;
red_ball=2;
total=white_ball+red_ball;
P_W=white_ball/total;
P_SRFW=1/2; //Prob. of second red given first white
P_FWSR=P_W *P_SRFW// prob. of first white and second red
disp(P_FWSR," P(First Ball is White and second is red)=");
|
159387a4eca58069c51afd6b091e3e537433cca5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.19_6.tst | 0480a9b8abf4572ee6456104d291f43c2479f734 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 429,891 | tst | 5.19_6.tst | 19 764:1 1582:1 1600:1 1795:1 2214:1 2505:1 2536:1 4173:1 4340:1 4818:1 5293:1 5436:1 5794:1 5952:1 6348:2 6355:1 6399:1 6588:1 6697:1 6850:1 7537:1 7989:1 8927:1 8971:1 9606:1 10167:1 10236:7 10714:1 11272:1 11767:1 12715:1 13945:1 13974:1 14167:1 15119:1 16467:1 16949:1 17915:1 19190:1 19644:87 19863:1 20072:1 20553:... |
58e349e8118066688be87d6be704563b2e1b9b04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH7/EX7.1/7_1.sce | e43082b963825607eb24ba5774b787399f8d3af2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_1.sce | clc
//initialisation of variables
i= 1/4500
w=3 //ft
d= 3 //ft
k= 0.003
g= 32.2 //ft/sec^2
//CALCULATIONS
A= 0.5*%pi*d^2/4
P= %pi*d/2
m= A/P
f= k*(1+(0.1/m))
C= sqrt(2*g/f)
V= C*sqrt(m*i)
Q= A*V
//RESULTS
printf ('Discharge= %.2f cuses',Q)
|
20b01d8f107b9684a328778c879e9620cd67bae5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH3/EX3.13/3_13.sce | 37b58ca782d61249ec4bb0c598ad2e4f3cf061bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | 3_13.sce | pathname=get_absolute_file_path('3_13.sce')
filename=pathname+filesep()+'3_13_data.sci'
exec(filename)
//Cutoff ratio
rc=(p2/p1)^(1/y)/re
//Temperature at the end of compression stroke(in K)
T2=T1*(p2/p1)^((y-1)/y)
//Temperature at the start of expansion stroke(in K)
T3=T2*(rc)
//Temperature at the end of expa... |
8c09dd941a588e6a1fa7c4239592eae01ff92b13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.31/2_18_31.sce | 7deef05bc8b8b2d4a9ccd5f1a21c83f266046c16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,034 | sce | 2_18_31.sce | //water and its treatment//
//example 2.18.31//
clc
Purity_Lime=.80
Purity_soda=.88
W1=84;//amount of MgCO3 in ppm//
W2=25;//amount of SiO2 in ppm//
W3=68;//amount of CaSO4 in ppm//
W4=30;//amount of MgSO4 in ppm//
W5=19;//amount of MgCl2 in ppm//
W6=120;//amount of CaCO3 in ppm//
M1=100/84.004;//multipl... |
aab23376bcad7d0161cce82fe1c58b21e2b7d343 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH8/EX8.7/Ex8_7.sce | 275fe7b2a64dd5c16b2c5bf65e1efe592ede8fda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | Ex8_7.sce | clc;
Pout=2; //watt
Pin=0.0001; //watt
ApdB=10*log10(Pout/Pin);
disp('dB',ApdB,"ApdB=");//The answers vary due to round off error
|
c40a254716aac6d193801e34a09b31f86d3a8391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH6/EX6.14/Ex6_14.sce | ac8963bee04c269415c1f29b50cb07141a03de77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_14.sce | //chapter 6
//page no181
//Ex6_14
//given
clear;clc;
dV=50; //in mV
di=4; //in Amp
fL=120; //in kHz
Lcable=dV*10^-3/di/2/%pi/fL/10^3;
printf("\n The maximum allowed parasitic cable inductance (Lcable) must not exceed %0.1f nH",Lcable*10^9);
|
dbdb36947a9c1337276ba2f47cd150e51431f000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH6/EX6.4/Ex_6_4.sce | 466792dfcf266e19e24b23b412699255cad018cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_6_4.sce | // Exa 6.4
clc;
clear;
close;
// Given data
R1= 200;// in kohm
R1=R1*10^3;// in ohm
R2=R1;// in ohm
C1= 200;// in pF
C1= C1*10^-12;// in F
C2=C1;// in F
f= 1/(2*%pi*R1*C1);// in Hz
disp(f*10^-3,"Frequency of oscilltions in kHz is : ")
// Note: Calculation to find the value of f in the book is wrong, so a... |
9f78b04938cc2d952d915cfa20945deb4412583d | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/vpcGui.sci | af08f0755ebd8cce968860dff029a1c6478a9e30 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,919 | sci | vpcGui.sci | function vpcGui()
//Coneção com o Banco de
bdVpcConect();
dimensaoTela = get(0, "screensize_px");
//Cria a Figura Principal
mainFig = figure('layout', 'gridbag',...//plotGraph = createWindow();
'closerequestfcn','vpcGuiClose',...
'toolbar', 'none',...
... |
1abff30716140a192487098ef978a9675b319720 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH7/EX7.31/exp7_31.sce | 4f8534956eb04575fbd6c6e386a5a1fbe95a8734 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exp7_31.sce | //example7.31
clc
disp("As the impurity is accepter, it forms a p-type material.")
disp("Therefore, N_A = 10^22 /m^3 = p_p")
disp("Now, (p_p)*(n_p)=(n_i)^2 i.e. (10^22)*(n_p)=(1.4*10^16)^2")
n=((1.4*10^16)^2)/(10^22)
disp(n,"Therefore, n(in /m^3)= ")
r=((1.96*0.145*10^10)+(0.05*10^22))*(1.6*10^-19)
disp(r,... |
b0468ea645c8d366a7e839968a934e15e8985291 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /PiLab/PiLab_flq.sci | c42781d0dd2857b90d8d16eeb1e447dffe3d73e5 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,857 | sci | PiLab_flq.sci | // **** Purpose ****
// PiLab Floquet Operator generator
// **** variables ****
// ==== << PiLab inputs >> ====
// [flq.Frequency]: 1x1 real
// <= field frequency,
// [flq.Order]: 1x1, int
// <= order of photon process,
// [flq.Amplitude]: 1x1 / 1x2 / 1x3, real
// <= AC amplitude,
// [flq.Phase]: 1x1 / 1x2 / 1x3, r... |
acca3afa18924fcbb86fdd41500ebb93938d56bc | 3655c97e8146a7ca97eaf60c4eb20ced2238eacb | /scilab/Function Optimization/plotOptimizationFunction.sci | 1717a232bb6286fdf5de7a3a947f65c4ce98735b | [] | no_license | edielsonpf/genetic-algorithm | 99ae112982b6fee77ecfc55cbd10172b381e1dde | 94c599a23fa3b2f477c7a5062f65248a93cc395a | refs/heads/master | 2020-04-05T22:02:45.016605 | 2018-12-24T14:36:40 | 2018-12-24T14:36:40 | 32,630,334 | 0 | 1 | null | 2019-03-25T12:23:16 | 2015-03-21T11:45:11 | Python | UTF-8 | Scilab | false | false | 295 | sci | plotOptimizationFunction.sci | function plotOptimizationFunction()
//Gerando o grafico da funcao a ser otimizada
deff("[x1,x2,y]=rast(x1,x2)",["x1=x1";..
"x2=x2";..
"y = x1^2+x2^2-cos(12*x1)-cos(18*x2)"]);
[x1x1,x2x2,yy]=eval3dp(rast,linspace(-1,1,100),linspace(-1,1,100));
clf();plot3d(x1x1,x2x2,yy)
endfunction
|
4a86042b0c4c85d07e4fd96f7660353e8cb0bfb9 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.led7digit-10-1tra/result5s0.tst | 97f51ec5aa9c1f09b8fa2306ed4e4ceb8f8f6bad | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | tst | result5s0.tst | @relation led7digit
@attribute Led1 real[0.0,1.0]
@attribute Led2 real[0.0,1.0]
@attribute Led3 real[0.0,1.0]
@attribute Led4 real[0.0,1.0]
@attribute Led5 real[0.0,1.0]
@attribute Led6 real[0.0,1.0]
@attribute Led7 real[0.0,1.0]
@attribute number{0,1,2,3,4,5,6,7,8,9}
@inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7
@output... |
c269141045b2560dd921fef94ddbc11759e82a15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH1/EX1.3/exa1_3.sce | 3d00f33f071056615bde108d97bacfca90d513de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa1_3.sce | // Example 1.3
// Magnitude Manipulations
P_max=20; // Maximum power rating of the device
V_max=50; // Maximum voltage rating of the device in kV
i_max=P_max/(V_max*10^3);// Maximum current that can be drawn from the device
disp(P_max,"Maximum power rating of the device(in Watt)=")
disp(V_max,"Maximum voltage rat... |
68f2036680a9aae8291d70430d72ec6d48331b6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH4/EX4.8/ex4_8.sce | 2e4d92581d4ac3f83e81a3803baed4f16770103a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | ex4_8.sce | // Exa 4.8
clc;clear;close;
// Given data
format('v',8)
n = 4;// number of bit
R = 1/(10^n);
disp(R,"Part (i) : The resolution is");
// There are 5 digit places in 4 1/2 digits, so
disp("Part (ii) : 11.87 would be displayed as 11.870")
Reading= 0.5573;
format('v',7)
disp(Reading,"Part (iii) : On 1 V range, 0... |
3b5063d1a767b4af457469e3a7504390f5496f5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.94/Ex94.sce | dca20f9b30b48b7c6558411bcfcbfb2d3a354812 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | Ex94.sce | //Ex:94
clc;
clear;
close;
b_c=72;//carrier BW in MHz
f_l1=2100;//first local oscillator frequency in MHz
f_i=140;// first intermediate freq in MHz
f_smx=11700;//max downlink freq spectrum in MHz
f_smn=10700;//min downlink freq spectrum in MHz
f_c=f_l1+f_i;//in MHZ
f_l2mx=f_smx-f_c;// in MHz
f_l2mn=f_smn-f_c... |
c2f441bd6856c83524ee8c2ae5497ffa27a64daf | 1485852dd59aafc286600126cf832a32e10f117f | /tests/edgePreservingFilter/test9.sce~ | d099fbf7258e33a2b4d5fc3f42191537bffd83b5 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 137 | test9.sce~ | //using flag RECURS_FILTER = 1
src = imread("../images/image_0197.jpg");
output = edgePreservingFilter(src,1,180, 0.6 );
imshow(output);
| |
0ec28988f9d029a12771442387f8b0c10aa4ec07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH5/EX5.10/5_10_Finite_Difference2_slab.sce | 5db5cf98b10dd1d646e0722f80c4d4eaa8bc538b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,275 | sce | 5_10_Finite_Difference2_slab.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 5.10 Page 311 \n'); //Example 5.10
// Using Explicit Finite Difference method, determine temperatures at the surface and 150 mm from the surface after an elapsed time of 2 min
// Repeat the calculations ... |
79a04e0ddc0906ff0c40171369b5e30304e06da0 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RA72WYU/ATWM1_Working_Memory_MEG_RA72WYU_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | 3d8ed27037c134683a2073be14f49320b545b30d | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,314 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
65ca84846abdcb9fbaf34c738028d015c7c8c143 | 46f253ccd819bb1e2ccb054512fd2c488e1e026d | /CompleteVersion/adiabatic.sce | 213c0af7fb0be0ed5d420da55a2db3347b7b5b4c | [] | no_license | matbesancon/RR01-PlugFlow | ceae9fb51b2ff83af99715929ab8e1c161a9ccd6 | 5996861a43df006b0074e7737a765c295fc85d73 | refs/heads/master | 2021-05-29T04:51:03.727775 | 2015-06-24T16:45:31 | 2015-06-24T16:45:31 | 37,996,320 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,457 | sce | adiabatic.sce | // Adiabatic
// Creates a model of an adiabatic plug-flow reactor
// Reaction : A + E --> R
// given the final conversion rate, and the thermodynamic and kinetic data
// Author : Mathieu Besançon
// UTC student
// Process Engineering
// Execute the enthalpy.sce first, which contains the enthalpy function
... |
aff6668833a47bbf2ffd08a2064827b77b1375fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH9/EX9.7/Ex9_7.sce | 36538f50ca5da81df3022b532549387b6729f23c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | sce | Ex9_7.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 9 Frequency Response of Amplifier Pg no. 308
clear;
clc;
//Given
VCC=12;//collector supply voltage in volts
RE=1D3;//emitter resistance in ohms
R1=47D3;//divider network resistance R1 in ohms
R2=15D3;//divider network resistance R2 in ohms
VBE=0.7;//forward v... |
08f58de212cff88adaa8dcc4a26b094756f99161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH3/EX3.13/3_13.sce | b413204d42c5018e92ad1a5b4b779df9905f4af8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,586 | sce | 3_13.sce | clear;
clc;
//Example - 3.13
//Page number - 99
printf("Example - 3.13 and Page number - 99\n\n");
//Given
V = 36;//[L] - Vol of gas on each side
P_1 = 1;//[atm] - pressure on left side of the piston
P_1 = P_1*101325;//[Pa]
T = 273.15;//[K]
P_2 = 3.375;//[atm] - Pressure on right side of the piston
P_2 = P_2*101325;/... |
d652e2d79d80a31cbc2a48394ed058789947d7e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /863/CH15/EX15.1/Ex15_1.sce | 810482b771a17808aefdebaa2974146fd1943012 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Ex15_1.sce | //Caption:Determine the errors due to Rs and Rd
//Ex15.1
clc;
clear;
close;
Vs=1//Source voltage(in volts)
Rs=100//Source resistance(in ohm)
Rl=10//Load resistance(in kilo ohm)
Rd=30//Drain resistance(in ohm)
Vgs=10//Gate source voltage(in volts)
V1=-(Vs+Vgs+1)
Id=Vs/(Rs+Rd+Rl)
e1=(Id*Rs)*100/(Vs)
e2=(Id*R... |
e5107c983c49bea3e37f1d502fbc1cff6606f8bd | 3daf46b810f462d6c8e936bef696ade9bd2e41a8 | /AulaPratica3/Metodo_potencia_2.sce | ac9adbed20d82cff5872330a5b5bacd8eba960d0 | [] | no_license | JPMarciano/Algebra-Linear-Numerica | 4575a2bd95a4b056100a7d8adaaeb2a0a0fee2d4 | 6d2c8555650b5f8a156f3d1c207c77f6986b8fcd | refs/heads/master | 2021-03-12T14:27:28.360160 | 2020-05-11T14:59:05 | 2020-05-11T14:59:05 | 246,628,921 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Metodo_potencia_2.sce | function [lambda,x1,k,n_erro] = Metodo_potencia_2(A,x0,epsilon,M)
k=1;
x0=x0/norm(x0,2);
x1=A*x0;
while (k<=M)
lambda = (x0')*x1; // Quociente de Rayleigh x0 é unitário
x1 = x1/ norm(x1, 2);
n_erro = norm(abs(x1) - abs(x0), 2);
if (n_erro < epsilon)
break;
end
x0 = x1
x1 = A*x0
... |
86cc3fa9b002c00269c048c0aacd545022013892 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH14/EX14.11/14_11.sce | e31e789b27279d38cf54b4fec60ab7b5a6316eb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | 14_11.sce | //Problem 14.11:
//initializing the variables:
P = 2; // in atm
T1 = 373; // in K
nA = 1;
nB = 2.5;
nC = 2;
T2 = 273; // in K
R = 1.987;
v = 1 - 2 -1;
//calculation:
n = nA + nB + nC
yA = nA/n
yB = nB/n
yC = nC/n
K = (yC/(yB*yA^2))*P^v
DG0273 = R*T2*log(K)
printf("\n\nResult\n\n")
printf("\n sta... |
929469d5c58088778348bbed7f58bc05d065f284 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH16/EX16.13/Ex16_13.sce | 59fc6579375aa5b4f83dd9792a0d8338f3603031 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,026 | sce | Ex16_13.sce | // Example 16_13
clc;funcprot(0);
// Given data
p_os=3.00;// atm
T_os=20.0;// °C
p_B=1.00;// atm
A_r=2.0;// The exit to throat area ratio fo r the nozzle
k=1.4;// The specific heat ratio
R=286;// m^2/(s^2.K)
g_c=1;// The gravitational constant
// Calculation
p_a=p_os*(2/(k+1))^(k/(k-1));// atm
// Since we... |
c520c5c5320bba4019a7983ca91ad2b52b41d218 | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/hw4/Add16CC.tst | 97f1e57a0602aab92e67ea12f4e000f7421d00c1 | [] | no_license | jyuan2pace/CS506 | afca44ee8df14436d72de97e658a61841091e651 | fa80d2786f006c226c6e6413ee23fe306d6c57d0 | refs/heads/master | 2020-07-28T13:04:37.077116 | 2019-11-24T20:15:20 | 2019-11-24T20:15:20 | 209,419,478 | 8 | 11 | null | null | null | null | UTF-8 | Scilab | false | false | 1,149 | tst | Add16CC.tst | load Add16CC.hdl,
output-file Add16CC.out,
compare-to Add16CC.cmp,
output-list a%B1.16.1 b%B1.16.1 cin%B1.1.1 out%B1.16.1 cout%B1.1.1;
set a %B0000000000000000,
set b %B0000000000000000,
set cin 0,
eval,
output;
set a %B0000000000000000,
set b %B0000000000000000,
set cin 1,
eval,
output;
set a %B000... |
9e9ecf8e7ebc979bc7ca5ef9bd75246e75951cda | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH6/EX6.6/Ex6_6.sce | f2cb2e799e9c5a9cb907154a513e323af72911cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_6.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear;
//example 6.6
//calculation of front and tail time
//given data
n=12//number of stages
C=0.126*10^-6//capacitance(in Farad)
R1=800//wavefront resistance(in ohm)
R2=5000//xavetail resistance(in ohm)
C2=1000*10^-12//load capacitance... |
566a44355b271fe3e2e19618851f50ed660cdd13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH13/EX13.5/13_5.sci | f95a757af20260392848f9c464991ad19b62b7fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sci | 13_5.sci | //Choppers and Transportation System Application//
//Example 13.5//
f=200;//chopper frequency in HZ//
E=220;//dc supply voltage in volts//
Iav=100;//Average current in the circuit in amps//
Ra=0.02;//Armature resistance in ohms//
Rf=0.01;//Field resistance in ohms//
Ebav=50;//Average value of the Back emf in vol... |
e52ce75b0b9b5a96db187c2998d67aabfd57a5f1 | fce47a4c482ae622563fc72d7643d824cc572edc | /_scilabTP/tp4/marcheBernoulli.sce | de7212a2d62f5147a5cbec3ae153581910b7b5a6 | [] | no_license | ece2lr/ece2lr.github.io | a57ff8852ef06b7cef1c734106f1badd668ebcb1 | 13479dc224e39521c6c387401b889e62a90a8d0b | refs/heads/master | 2021-01-12T12:07:37.196408 | 2017-12-16T19:25:16 | 2017-12-16T19:25:16 | 72,310,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | marcheBernoulli.sce | // tracer une ou plusieurs trajectoires de la marche de Bernoulli croissante
// Paramètres :
N = 1 // nombre de trajectoires
T = 10^1 // longueur des trajectoires
p =.5 // probabilité de succès
q = 1-p // probabilité d'échec
echBer = grand(N,T,"bin",1,p) // sauts
marche = cumsum(echBer, "c") // trajectoires
... |
e270f3f93243dc5aac9ab24574d7ae8c889ca223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH4/EX4.6/Ex4_6.sce | 986565b3c9022e68f57598edc57213ce901fbf1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | Ex4_6.sce | clc;
clear;
l=1.8 //distance between plates in cm
E=3/2 //in V
t=0.6*10^-3 //time taken by the pulse in s
del_t=236*10^-6 //pulse width in s
//Calculation
vd=l/t //in cm/s
myu_p=vd/E
Dp=(del_t*l)^2/(16*t^3)
mprintf("1)\nHole mobility= %i cm^2/Vs\n",myu_p)
mprintf("2)\nDiffusion coefficient= %2.2f cm^2/s... |
0eb775849c302c26090793b82e6a4da11830fff4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH22/EX22.8/example8.sce | 855270fe58e01ab80d8edf245508955d22ee3427 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | example8.sce | // find output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 22-8, page 868
clear;clc; close;
// Given data
fin=10^3;// frequency in hertz`
Vp=5;// peak voltage in volts
C=10*10^-6;// capacitance in faraday
R=10^3;// resist... |
4478e0acd25dc73b0baa7f7d603011961d0c7f12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.26/example2_26.sce | ab566373325a0c3cd837cd1487577cfc051604f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,806 | sce | example2_26.sce |
clear;
clc;
printf("\t Example 2.26\n");
u=20*10^-6; //viscosity in Ns/m^2
pt=2666; //total pressure in N/m^2
pa1=pt; //pressure at 1
pa2=0; //pressure at 2
mw=32; //molecular weigh... |
6f34a9d4c9b8c5e819d9bfdd09f18741766f1985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.66/66.sci | e49770c176f0d6732ddbb8e831991c9fc7e4a820 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sci | 66.sci | clc;
clear all;
disp("Heat transfer rate")
disp("k=k1+(k2-k1)*(t-t1)/(t2-t1)")
disp("A=4*%pi*r^2")
disp("Q=-k*4*%pi*r^2*dt/dr")
disp("Q=-(k1+(k2-k1)*(t-t1)/(t2-t1))*4*%pi*r^2*dt/dr")
disp("Q*dr/r^2 =-(k1+(k2-k1)*(t-t1)/(t2-t1))*4*%pi*dt ")
disp("By integrating both sides in the limits r1 to r2 and t1 to t2, we ... |
15c0d05b3aad2550475bfb9cb82a36fff44ac965 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH16/EX16.8/Ex16_8.sce | 30c25991ee2a72711021f2534651dabe05cb37b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | Ex16_8.sce | clc
clear
//Initialization of variables
x1=8.7
x2=8.9
x3=0.3
N=78.1
z=113
M=29
//calculations
co2=(x1+x2+x3)*100/(N+x1+x2+x3)
a=2.325
AF=103*M/(a*z)
//results
printf("Air fuel ratio = %.2f",AF)
|
fdee6452e7fbf10d205b6a181e542ce029b9dae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH4/EX4.10/Ex4_10.sce | 438840511a4a3ca5b9f286087d4cce06380a4fca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Ex4_10.sce | //Example 4_10
clc;funcprot(0);
//Given data
h=36;// m
p=135;// kW
q=0.44;// m^3/sec
H=100;// m
N=428;// r.p.m
d_r=4;// d_r=D/d
// Calculation
w=1000*9.81;// N
n=N*d_r*sqrt(h/H);// r.p.m
n_m=(p*1000)/(1000*9.81*q*h);// The efficiency of the model
n_p=n_m+0.03;//The efficiency of the prototype
P=p*(n_p/n... |
71799612bfc583d9f2d7357e61b717bb04a9923a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH15/EX15.40/example15_40.sce | 08232a21db04ff0a9331c0ce1988aaff8960a317 | [] | 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 | 330 | sce | example15_40.sce | mode(2);errcatch(-1,"stop");driver("GIF");//Example 15.40
//Nyquist plot
clear; clc;
s = %s/2/%pi;
num=(1);
den=(s^2+0.8*s+1);
G=syslin('c',num,den)
clf();
nyquist(G)
xinit('/home/fossee/Downloads/tbc_graphs/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/example15_40');xend(... |
ee4e44d8e7413aafd466c78a8797681986a05722 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.33/Ch05Ex33.sce | 2e37411ebd2e5f249dfcabdf22b25645685ade1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | Ch05Ex33.sce | // Scilab Code Ex5.33: Page:313 (2011)
clc;clear;
i = 60; // Angle of incidence, degrees
mu = tand(i); // Brewester's Law to calculate refractive index
A = 60;....// Angle of prism, degrees
// As mu = sind((A+delta_m)/2)/sind(A/2), solving for delta_m
delta_m = 2*asind(mu*sind(A/2))-A; // Angle of minimu... |
9e7f6c161b6618f321fd83209994b6d0bfde6d64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH24/EX24.10/24_10.sce | 8114102c172b3c2a0c14ae0805f0ba951c4b9684 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | 24_10.sce | //Problem 24.10: A 240 V, 50 Hz voltage is applied across a series circuit comprising a coil of resistance 12 ohm and inductance 0.10 H, and 120 μF capacitor. Determine the current flowing in the circuit.
//initializing the variables:
R = 12; // in ohms
L = 0.10; // in henry
C = 120E-6; // in Farads
f = 50; // ... |
2f6ac01e2cb6f6baa1ac71c032ac61075dbda9d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH1/EX1.7/ch1ex7.sce | 2f3cb644124ba5ddac7df11d2e6c17f12795d687 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | ch1ex7.sce | //signals and systems
//representation of a signal
clear
close
clc
t=[-2:0.1:5];
a=gca();
plot(t,2.*((t>=-1.5)&(t<0))+2*exp(-t/2).*((t>=0)&(t<3)));
a.thickness=2;
a.y_location="middle";
xtitle=('the signal x(t-1)')
//this is a cobination of a constant function and an exponential function
disp("x(t)=x1(t)+x2... |
4019065c257ef3f6a36b3ca72671b36a5c0294dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH10/EX10.35/10_35.sce | 290403145c28d282a6bbe0bd70059fd5a9cea842 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | 10_35.sce | clear
clc
Ia=10*exp(%i *30 *%pi/180)
Ib=15*exp(%i *-60*%pi/180)
Ic=0-(Ia+Ib)
Iac=(Ia +Ia +Ib)/3
Icb=Ic +Iac
Iba=Iac-Ia
Ia0=(Ia +Ib +Ic)/3
a=exp(%i * 2 * %pi/3)
Ia1=(Ia + a*Ib + a*a*Ic)/3
Ia2=(Ia + a*Ic + a*a*Ib)/3
disp(round(Ia1*100)/100, "Ia1","(a)Symmetrical Line Components")
disp(round(Ia2*100... |
54a2955dcd3b2f388385df861b485cd0d0e78075 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH6/EX6.6/eg_6_6.sce | 128b2ff9b53dd56143b55f15b7542a9ed76259b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg_6_6.sce | clc;
clear;
disp("f(x,y,z)=x^y^z+xy^z^+x^yz^");
disp("since interchanging any two variables gives us the same equation");
disp("for example interchange x and y");
disp("f(y,x,z)=y^x^z+yx^z^+y^xz^");
disp("f(x,y,z)=f(y,x,z)");
disp("So the function f(x,y,z) is symmetric"); |
1860a0e383bc63f455ed1471534e9c37e66e8023 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH21/EX21.6/Ex21_6.sce | d24ae1ac69a3bebb6e675e61e8810d39f199708b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex21_6.sce | clc
// producer's risk
n = 71 // sample size
AQL = 0.005
LTPD = 0.05
l_s = 500 // lot size
z1 = n*AQL // mean number of defects
pp1 = exp(-z1)+z1*exp(-z1) // poisson proability for 1 or less defective
alpha = (1-pp1)*100 // producer's risk
alpha = ceil(alpha)
// consumer's risk
z2 = n*LTPD // mean number of ... |
62f694c70e6cdee141caeac8939838d911cb041e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Optics_F._A._Jenkins_And_H._E.white_3480.zip/Fundamentals_Of_Optics_F._A._Jenkins_And_H._E.white_3480/CH4/EX4.4/Ex4_4.sce | f25d1dc73616cbbbe8a53b711577722c53871e0e | [] | 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 | 149 | sce | Ex4_4.sce | errcatch(-1,"stop");mode(2);//example 4.4, page 92
n=1.6
r1=.080//in cm
r2=-0.080
P=(n-1)*((1/r1)-(1/r2))
printf("\n The power is %f D",P)
exit();
|
f7cbecfaa87245734000f3d921c8f577627859ba | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/int8.man.tst | 3b605f575926595af99b6e6136b499d93a63ec9a | [
"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 | 94 | tst | int8.man.tst | clear;lines(0);
int8([1 -120 127 312])
uint8([1 -120 127 312])
x=int32(-200:100:400)
int8(x)
|
7e2b55b042c2b5982760f045509f47d20088a1f7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/int/%i_Matplot.sci | 0427369103d498bba7d4d41d44caedd6b28a466c | [
"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 | 544 | sci | %i_Matplot.sci | function %i_Matplot(z,varargin)
xsetech([0 0 1 1])
strf='011'
[N,M]=size(z)
rect=[1 1 N M] // je fixe le cadre de l'image complete
nax=[2 10 2 10]
nv=size(varargin)
if nv>=1 then strf=varargin(1),end
if nv>=2 then rect=varargin(1),end
if nv>=3 then nax=varargin(1),end
if part(strf,2)<>'0' then //je dessine le cadre et ... |
6c59d4383648701c87b2441404f90020eed991a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.11/Ex4_11.sce | 7c9c0ab07bf792cd993d74db35466ae9d375b429 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | Ex4_11.sce | //example 11
clear
vbe=0.65;//volt
colres=2*10^3;//ohm
voltag=10;//volt
i1=voltag/10;
q=(1.65-vbe)/(1*10^3);
disp("current = "+string((q))+"ampere");
|
e304905d187217d7a4278257ddcc68423ea808ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH9/EX9.5/Ex9_5.sce | ab7f9c5e7fddd09edcba106ae06def5d970e742e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,043 | sce | Ex9_5.sce | //Book - Power system: Analysisi & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J.Overbye
//Chapter-9 ;Example 9.5
//Scilab Version - 6.0.0; OS - Windows
clc;
clear;
Sb=100 //Base value of system in MVA
Vb=13.8 ... |
f72fcae7f8db8a2d8a9548cb3a95e7daf1397090 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.16/ex_16.sce | d1a65a8ca650fd34c8a89d40208f6f8540e309fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,270 | sce | ex_16.sce | // The equation x^3-5*x+1==0 has real roots.
// the graph of this function can be observed here.
xset('window',15);
x=-2:.01:4; // defining the range of x.
deff('[y]=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.