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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
30c76540d04ffefc08971acc30468da5a60e1511 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH9/EX9.1/9_1.sce | 11ea3c450502f2270dd3d80162119b4ed13fd19f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | 9_1.sce | clear;
clc;
close;
disp("Example 9.1")
Tt1=1800
M1=0.55
alfa1=0
gm=1.33
Cp=1157
alfa2=60
T1=Tt1/(1+(gm-1)*M1^2/2)
a1=((gm-1)*Cp*T1)^(1/2)
C1=a1*M1
C2=C1/cosd(alfa2)
Tt2=Tt1
T2=Tt2-C2^2/(2*Cp)
a2=((gm-1)*Cp*T2)^(1/2)
M2=C2/a2
Ct2=C1*tand(alfa2)
r=0.35
t=0-r*Ct2
disp(C1,"(a)Inlet ve... |
ad8a3b7d54d6a85ce026788b00008540b58439d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH6/EX6.12/example6_12_TACC.sce | ac272095feec93725cc99eea7a8832496a99dd52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | example6_12_TACC.sce | //example 6.12
clear;
clc;
//Given:
x1=0.5;//mole fraction of chloroform
x2=0.5;//mole fraction of p-xylene
T=298;//Temperature[K]
//to find the excess volume
Ve=x1*x2*[0.585+0.085*(x1-x2)-0.165*(x1-x2)^2];//Excess volume measured by using a dilatometer
printf("Ve/(cm3.mol^-1) = %f ",Ve); |
f5808eefbbc48475c2e4e4dc3efe07034dce6da0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.47/Ex5_47.sce | 71127c13c2d6ed65654ae39efe576f620ec30429 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | Ex5_47.sce | clear
//Given
R1=15.0 // ohm
R2=15.0
E=2
V=1.6
//Calculation
R=R1*R2/(R1+R2)
r=((E/V)-1)*R*4
//Result
printf("\n Internal resisatnce of each cell is %0.3f ohm", r)
|
4495e69d65632dc38f26fc0708472585c24d6241 | 0225f07f11230da9818e159324b578abd0a88cec | /Fog_DRL_Cam/Step_Down.tst | 45404557930bf6db561e8f7e6c25c48f7f6abd02 | [] | no_license | zzzmarikzzz/eagle | a57ac554d1bea0f07d6d9c3a9494dd59a73beb3a | 13374a4fcb5c181b1047f207df8618054ec5ee2a | refs/heads/master | 2021-01-18T15:09:34.371046 | 2020-06-21T20:29:00 | 2020-06-21T20:29:00 | 54,958,216 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,629 | tst | Step_Down.tst | G75*
%MOIN*%
%OFA0B0*%
%FSLAX25Y25*%
%IPPOS*%
%LPD*%
%AMOC8*
5,1,8,0,0,1.08239X$1,22.5*
%
%ADD10C,0.01600*%
%ADD11R,0.11430X0.12414*%
%ADD12R,0.12414X0.11430*%
%ADD13R,0.07099X0.05918*%
%ADD14R,0.09068X0.06706*%
%ADD15R,0.09461X0.03162*%
%ADD16R,0.22454X0.08083*%
%ADD17R,0.08280X0.14186*%
%ADD18R,0.05918X0.06706*%
%ADD... |
a4b69eedce86312af97eda955f6ec01dd8723e40 | 9b3a82b71b55170a9d272048e2f4dc6858ff106c | /control-system/sr1.sce | eb4bc0ce0b5c4f0078c0ca5e608eb6244c541246 | [] | no_license | omrastogi/Digital-Signal-Processing | afcee58a1decbd9949e0bfcda47b62bbf19c935f | 68b4f85ec5b9dbf7840a0857ee388f9d660bbb2e | refs/heads/main | 2023-01-03T13:54:45.554127 | 2020-11-02T05:40:13 | 2020-11-02T05:40:13 | 309,267,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | sr1.sce | clc;
clf;
clear all;
s=poly(0,"s");
num1=(s^2+4*s+4);
den1=(s^2+10*s+25);
s1=syslin('c',num1,den1);
[z,p,k]=tf2zp(s1);
disp(z);
disp(p);
disp(k);
s4=zp2tf(z,p,k,"c");
disp(s4);
s5=tf2ss(s4);
disp(s5);
|
40cadb9a9da4e25503a138c93196dad96bb7d7b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH11/EX11.13/Ex11_13.sce | 26ea03983d01bd6625170a214624e81ed6b9eb8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ex11_13.sce | clc();
clear;
//Given :
Eg1 = 0.72; // Energy gap for Ge in eV
Eg2 = 1.1; // Energy gap for Si in eV
Eg3 = 1.32; // Energy gap for GaAs in eV
// lambda = c/v = (c*h)/Eg or lambda(A) = 12422/Eg (eV)
lambda1 = 12422/Eg1; // wavelength in A (Ge)
lambda2 = 12422/Eg2; // wavelength in A (Si)
lambda3 = 12422/Eg3... |
f5d2486451f9d0df9181d78d177514820c1016c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH2/EX2.29/29.sce | 8cdc7ecd4316a163e25c4b28a3c63846bb907761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 29.sce | clc
clear
//input
f=55//frequency
amp=7*10^-3//amplitude
m=1.2//mass
//calculation
e=0.5*m*4*%pi^2*f^2*amp^2//maximum pe occurs at zero position
//output
printf("the maximum pe is %3.3f J",e)
|
e11acc8fb367a9412239e62a4e01938b05a152e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.14/example4_14.sce | dfc30e1f692b1ee38414aae870945327551e3097 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 854 | sce | example4_14.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.14
// Page 140
printf("Example 4.14, Page 140 \n \n");
// solution
// using equations of example 4.10
// soving 4.10 by linear model method
M = [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0;0 1 0 0 0 0 0 0 0 ... |
2149fbcffe70ae6203ed85f43c24da7a198a0bba | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.21/21.sce | 3afd2c57973eb95bd68f29d0708749cbec3a4381 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,094 | sce | 21.sce | clc
D=0.2; //m
L=0.3; //m
p1=1; //bar
T1=300; //K
R=287;
r=15;
y=1.4;
disp("(i) Pressures and temperatures at salient points")
Vs=%pi/4*D^2*L;
V1=r/(r-1)*Vs;
disp("V1=")
disp(V1)
disp("m^3")
m=p1*10^5*V1/R/T1;
p2=p1*r^y;
disp("p2=")
disp(p2)
disp("bar")
T2=T1*r^(y-1);
disp("T2=")
disp(T2)... |
9084d2a52a1e35f7d99c8ea5527e0c47e27c3fd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH12/EX12.13/Ex12_13.sce | 92b07bf5331bbbfe6b0555f1cb8629a73add2080 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | Ex12_13.sce | clear;
clc;
d = 3/8;// inches
n = 12;//no. of complete turns
D = 4;// inches
W = 50;// lb-wt
N = 12*10^6;// lb/in^2
T = W*0.5*D;// lb-inches
f_s = T*16/(%pi*d^3);//lb/in^2
delta = 64*W*(D^3 /8)*n/(N*d^4);// inches
E = 0.5*W*delta;// inch-lbs
printf('Shear stress induced is f_s = %d lb/in^2',f_s);
printf('\n... |
5a3aec413cde1f9b3189a534a313b403a28c92e6 | 6cbc9ef86318b4cfcbe32fc27dc997eea5d0ae94 | /fprint.tst | f3ae34081aac4928e367906e3b16963bd2409b25 | [
"BSD-2-Clause"
] | permissive | sasagawa888/eisl | c60c8307cf4ba1be20be15a4d59005f04b2b348e | 450e09dbb59139621981f1104eefcad19957de2a | refs/heads/master | 2023-09-03T17:48:38.297684 | 2023-09-02T05:42:40 | 2023-09-02T05:42:40 | 168,798,493 | 200 | 25 | NOASSERTION | 2023-06-17T21:16:28 | 2019-02-02T05:35:38 | Common Lisp | UTF-8 | Scilab | false | false | 17,117 | tst | fprint.tst | ((((((]78901FG >67890XF >67890XF <56789DE <56789DE {45678CD) [34567BC (>67890XF <56789DE <56789DE {45678CD {45678CD [34567BC) _23456AB (<56789DE {45678CD {45678CD [34567BC [34567BC _23456AB) XYZABC34) WXYZAB23 ((>67890XF <56789DE <56789DE {45678CD {45678CD [34567BC) _23456AB (<56789DE {45678CD {45678CD [34567BC [34567B... |
ccca0a2fe2741fb71892eb644973cb5e2e092bfe | 436728959d62599f898eda7f126d748724314a25 | /Machine_cloud/demos/basic.sce | 599199f7a0ef961becaa908aefe871e03ebafdc1 | [
"BSD-2-Clause"
] | permissive | abhiCoder123/Scilab-gsoc | 300447c7ff230278ae68f22c2d170c843f834423 | 2b0f8c78cae413f3b363d21b1bc62ea277cb3cfc | refs/heads/master | 2020-03-24T15:01:55.719468 | 2018-07-27T07:04:46 | 2018-07-27T07:04:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | basic.sce | // Demo script
data = input('Name of processed dataset : ',"string")
algorithm = input('Algorithm to run : ',"string")
toolbox_basedir = input('Base directory for toolbox : ', "string")
getd(toolbox_basedir + '/macros')
machineLearn(algorithm, data, toolbox_basedir); |
31db021b651df12b4cbcb6a3f03aff65d18493e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH3/EX3.9/Ex3_9.sce | fa6663ef67ec50b99e7b97def0745a1a0ab5bec1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,810 | sce | Ex3_9.sce | // Example 3.9
// To analyze trunking efficiency capacity of sectoring and unsectoring
// Page 92
clc;
clear all;
// Given data
H=2/60; // Average call duration in hour
GOS=0.01; // Probability of blocki... |
37f1f556112fdb955a9e104879154cf55bda3241 | 430e7adb489914d378a5b0a27d8d41352fa45f3a | /scilab/example/3次系の安定余裕計算.sce | 091059b2277cccd6f389120e65422701e5d94554 | [] | no_license | ziaddorbuk/Lesson | 04906ff94bf8c1f6bbc6971d5692ae011a9b8869 | 20fe20a6c9c145ef48a35574d885d3952f9ab6ff | refs/heads/master | 2021-09-23T11:48:05.958608 | 2018-04-30T01:54:13 | 2018-04-30T01:54:13 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | Scilab | false | false | 271 | sce | 3次系の安定余裕計算.sce | //3次系の安定余裕計算
s=%s;
G=1/(s*(s^2+2*s+4));
H=20;
croots=roots(denom(G*H)+numer(G*H))
sys=syslin('c',G*H);
gm=g_margin(sys)
pm0=p_margin(sys);
if pm0 < 0 then
pm = pm0+180
else
pm = pm0-180
end
xset("window",0);clf();bode(sys,0.1,1);
|
0c26facbf7713c61c4d88519024ac48844e25e7b | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lar2rc/lar2rc7.sce | 4702a9d3598451f43d660f5eb98941a6b029f0ee | [] | 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 | 298 | sce | lar2rc7.sce | //check o/p when 2 i/p args are passed to the function
g = [0.6389 4.5989 ;0.0063 0.0163; -0.0163 0.99934];
a=0.2;
k = lar2rc(g,a);
disp(k);
//output
// !--error 58
//Wrong number of input arguments.at line 4 of exec file called by :
//box Test/lar2rc/lar2rc7.sce', -1
//
|
ec24f53a4058aa0af9c5c5cfa15029d8838fdb64 | 12fe4b69dd9eab4fce147bdee3b7a44476599d59 | /Scilab/Commande manuelle.sce | a23f16a7043208ea73b207820cfaa98d15bc588b | [] | no_license | maximetouroute/Projet_Petanque | a409502bae2c852c35254a45463c8e759f2abc5f | 6046e98b97f41b0ed0710dccdd84459b754fa7b0 | refs/heads/master | 2020-07-30T21:10:06.843781 | 2016-11-12T14:26:07 | 2016-11-12T14:26:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,387 | sce | Commande manuelle.sce | // Commande Manuelle
// Maxime Touroute
// Nicolas Sintes
// Vincent Montalieu
// Avril 2015
masse = 0.8; //kg
gterre = 9.81;
Te = 0.03 // 40ms
// Conditions initiales
theta = 60; // angle d'attaque.
pi = 3.14
theta = pi * (theta) / 180
hauteur = 2; // hauteur initiale de la boule (m)
v0 = 5; // m/s²
epsilon = 1; /... |
eed6b75f3b37f52eb531116fddc57c41f0a5c033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH4/EX4.5.a/Ex_4_5_a.sce | d3d2cc468fda19d2ebaabeaa3eef3e3826b6b38f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Ex_4_5_a.sce | // Example 4.5.a:Maximum possible optical bandwidth
clc;
clear;
close;
t=0.1*10^-6;//Time in second
L=15;//Distance in km
Bt=(1/(2*t))*10^-6;//Maximum possible optical bandwidth in Mega Hertz
disp(Bt,"Maximum possible optical bandwidth in Mega Hertz")
|
5d998450f1428a2e5eafaca4def2936368030424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.2/Ex2_2.sce | b48ef4a82fe93a646c90c0ee97addfbc69c2007a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_2.sce | clear
//
//
//
//Variable declaration
lamda=5000*10**-8 //wavelength(cm)
e=1/6000 //number of lines(cm)
//Calculation
theta1=asin(lamda/e)*180/%pi //angle for 1st order(degrees)
theta2=asin(3*lamda/e)*180/%pi //angle for 3rd order(degrees)
theta=(theta2)-(theta1) ... |
b3ea9729ee8ff08799ee827e572097c2b162bc04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH6/EX6.19/6_19.sce | 40f868c89a1bc4c0cf314e24b255b352798c3a1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | 6_19.sce | //EMF and copper losses of a Shunt Motor
clc;
clear;
V=250;
I=200;
Ra=0.02; // Armature Resistance
Rf=50; // Field Resistance
Pil=950; // Iron and frictional losses
Ish=V/Rf; // Field Current
Ia=Ish+I; // Armature Current
Pac=(Ia^2)*Ra; // Armature copper loss
Pfc=(Ish^2)*Rf;// Field copper loss
P... |
6471de618693f1190e81de0dc320719b6ee1e418 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/demos/npend/macros.sci | 2588f61b901e1c97838d2ed6ffa0a5fd6091a906 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,195 | sci | macros.sci | function [n]=np()
// Return the size of the Fortran pendulum
n=1;
n=fort('np',n,1,'i','sort',1);
function [ydot]=npend ( t, th)
// Fortran version
// data r / 1.0, 1.0, 1.0, 1.0 /
// data m / 1.0, 1.0, 1.0, 1.0 /
// data j / 0.3, 0.3, 0.3, 0.3 /
ydot=ones(6,1)
ydot=fort('npend',3,1,'i',t,2,'d',th,... |
b8c7914dffbd975019d0d73696506d89c47e014f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3407/CH9/EX9.5/Ex9_5.sce | 655cb2303b6312e8ec8009a9055d01d4fd1c5a2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | Ex9_5.sce | clear;
clc;
funcprot(0);
//given data
k = 1/5;//scale ratio
Pm = 3;//in kW
Hm = 1.8;//in m
Nm = 360;//in rev/min
Qm = 0.215;//in m^3/s
Hp = 60;//in m
n = 0.25;
rho = 1000;//in kg/m^3
g = 9.81;//in m/s^2
//Calculations
Np = Nm*k*(Hp/Hm)^0.5;
Qp = Qm*(Nm/Np)*(1/k)^3;
Pp = Pm*((Np/Nm)^3)*(1/k)^5;
eff_... |
e43222ff650dea0f909659cc1a1a54efffb19f3a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.20_18.tst | 126c45e5f54d2f0d0bbd5bd0cbd6a99838f1d5f0 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,881 | tst | bow.20_18.tst | 20 1:0.1 5:2.0 9:0.3333333333333333 11:1.0 13:0.3333333333333333 15:0.06060606060606061 17:0.07142857142857142 24:1.0 51:0.25 74:0.0625 80:0.3333333333333333 97:0.25 113:0.5 119:1.0 133:0.5 170:1.0 279:1.0 1167:1.0 1241:1.0 1557:1.0
20 11:1.0 17:0.2857142857142857 24:0.5 51:0.25 64:0.25 97:0.25 170:2.0 279:2.0 283:0.12... |
96bf7272c556cb56ee901bb136e08709eea4906a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.49/3_49.sce | fdd097c7d6191c6d1f82eed04c65c6b219e6391c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 664 | sce | 3_49.sce | //Network Theorem 1
//page no-3.56
//example3.49
//calculation of Vth
disp("Removing the variable resistor RL from the network:");
x=100;
a=10;
b=20;
c=30;
d=40;
i1=x/(a+c);
i2=x/(b+d);
printf("\nI1 = %.1f A",i1);
printf("\ni2 = %.2f A",i2);
disp("Writing Vth equation,");
x=2.5;
y=1.66;
v=(20*y)-(10*x)... |
37e7c2ae170a21da5331dbee3c37bc2988a9f7ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH9/EX9.2.III/9_11_ShortQnA_9_2.sce | 3b66e77ae828cf8174d9c50bc3ec610e15863715 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_11_ShortQnA_9_2.sce | //Perform 4 point DFT of x(n)=(1 1 0 0) and sketch magnitude and phase spectrum
clc;
clear;
N=4;
xn=[1 1 0 0];
for k=0:1:N-1
Xk(k+1)=0;
for n=0:1:N-1
Xk(k+1)=Xk(k+1)+xn(n+1)*exp(-%i*2*%pi*k*n/N);
end
end
wk=0:1:N-1;
disp(Xk,'4 point DFT of x(n)=>');
disp(abs(Xk),'magnitude of 4 point DF... |
0554ed3a843a0e0d18e6b3e6afc035127c88ebd4 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/StdRegions/Tests/StdProject_Diff2D_Tri_Orth_P6_Q7.tst | 5f577f90dfb3028ae521007a42704c06fcfef2b7 | [
"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 | 505 | tst | StdProject_Diff2D_Tri_Orth_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject_Diff2D Triangle Orthonormal basis P=6 Q=7</description>
<executable>StdProject</executable>
<parameters>-s triangle -b Ortho_A Ortho_B -o 6 6 -p 7 7 -d</parameters>
<metrics>
<metric type="L2" id="1">
<value tolera... |
9c77bc2e9d2d91b088da58ce0977723d2dab52b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH14/EX14.2w/14_2w.sce | 1dd4749655c6fc6b1538cdf586167a8c64cc3766 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | 14_2w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 14.2w
//calculation of the elongation of the rope and corresponding change in the diameter
//given data
L=4.5//length(in m) of the nylon rope
d=6*10^-3//diameter(in m) of the nylon rope
T=100//weight(in N) of the mon... |
53c500b808304595e0826aaf5772544e862f3601 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos_blocks/BIGSOM_f.sci | 8e4911ca97cbbad84e4c3fbe33d72062fbfd3431 | [
"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 | 1,309 | sci | BIGSOM_f.sci | function [x,y,typ]=BIGSOM_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
[graphics,model... |
73336f316e32a765fe2b8aa5c66d9a8d5ae538d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH12/EX12.2/Ex12_2.sce | 6d21e86c2fc02c52d88ad421c2245beccf4a33f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_2.sce | //example 12.2
clc; funcprot(0);
Ap=%pi/4*1.75^2;
q=135.6;
w=0.83;
FS=4;
phi=36;
Nq=0.21*exp(0.17*phi);
Qp=Ap*q*(w*Nq-1);
Qpall=Qp/FS;
disp(Qpall,"allowed load in kN");
|
1290cce9c2cd62baf5bc00e8acb1372dc2204e69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.45/EX2_45.sce | 0dafdd8161830fd7059ef75852bacaaabfd69651 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX2_45.sce | clear;
clc;
printf("\nEx2.45\n");
//page no.-90
//given
E=1.56;...............//energy of e ejected in eV
lambda_o=2500*10^-8;..........//threshold wavelength in cm
c=3*10^10;...........//speed of light in cm/sec
e=1.6*10^-12;.........//charge in ergs
h=6.62*10^-27;........//planck's constant in ergs-sec
vo... |
d801cd15a235efb916abc0bbecf1c254c29e6eda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.67/Example_1_67.sce | 875f77bc6bdc2268d96f36b0faf207983ae5d91a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Example_1_67.sce | // Example 1.67 There are 3 children in a family
clc;
clear;
disp(8,"No.of sample points and sample space of 3 children in a family ");
disp(4/8,"Probab. that there is not more than one girl (BBB,BBG,BGB,GBB)",3/8,"Probab. that there are exactly 2 girls (BGG,GBG,GGB)");
|
73ea1c0a76f70f6285a1539bf67a2c1d95e582a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.10/Ex5_10.sce | 49c1aaf672cc3f92ccfbe9159bc27756df80ba9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_10.sce | //Example 5_10
clc;
clear;
close;
format('v',6);
//given data :
sigma_p=3;//(ohm-cm)^-1
sigma_n=0.1;//(ohm-cm)^-1
Ln=0.15;//cm
Lp=0.15;//cm
e=1.6*10^-19;//C/electron
mu_p=1800;//cm^2/V-s//For Ge
mu_n=3800;//cm^2/V-s//For Si
VT=0.026;///eV//at T=27 degree C
A=1.5;//mm^2
A=A*10^-6;//m^2
b=mu_n/mu_p;//uni... |
9f8f0bd71cbd693cc5ff008ba1ac22abbe1fcda1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH6/EX6.20/example6_20.sce | 8bf70500225a77784f007b5e2aae54a8b04238bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,536 | sce | example6_20.sce | clear;
clc;
// Stoichiometry
// Chapter 6
// Stoichiometry and Unit Operations
// Example 6.20
// Page 393
printf("Example 6.20, Page 393 \n \n");
// solution
// basis 100 kmol of feed gas
// using table 5.1
Sniai = 20.6*29.5909+62*28.6105+4.1*20.7723+11.1*19.2494+2.2*25.6503
Snibi = [20.6*(-5.141... |
35faaacd4fa99243b773b9a687cc3040b207ef42 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/EnBa/enba11.tst | d6ef020480cf10b0a6f628bd19f091dc58eec125 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,166 | tst | enba11.tst | sunoco
sariful
fertliser
calf
sahil
indurani
somarani
nandita
jababibi
abdul
dalasi
ruocheng
chinnamalai
maheshprasad
sahani
yala
najmeddin
mchenry
punjokhara
sureshkumar
jump
manuel
kamaldeo
fram
kutai
snowboarding
chenari
psivida
muchiram
ratish
shrikrushna
sigourney
mehandi
wight
uruguay
manyara
tanzania
dhamendra
t... |
009487eb0533de5ef8c74b784b8efaaaaccbb63b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.11/Ex4_11.sce | 3b7bbabb6543073fed8064c840b6535ba664ba9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | Ex4_11.sce | //Example 4.11:
clc;
clear;
close;
//given data :
del_ic=1;// in mA
del_ib=10;// in micro-A
del_Vbe=0.02;// in V
del_ib=10*10^-6;// in A
Rc=2;// in k-ohm
Rl=10;// in k-ohm
Beta=del_ic/(del_ib*10^3);//
format('v',5)
disp(Beta,"Current gain,Beta = ")
Ri=(del_Vbe/del_ib)*10^-3;
format('v',4)
disp(Ri,"Input impedence,Ri(k... |
b13ed4198fb17bc0c6b28719143f203439d7dcc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH2/EX2.1/Ex2_1.sce | 6b9c2437c597e7e263819743c8caed28c2e51d40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Ex2_1.sce | clc;
//page 85
//problem 2.1
//A & B are two events occured in sample space S, where P(A) & P(B) are their corresponding probability
P_S=1
//Given A&B are not mutually exclusive events,
//Probability of A is 0.2 = P_A
//Probability of B is 0.4 = P_B
//Probability of either A or B is 0.5 = P_AUB
P_A = 0.2
... |
36ef923a800b214c8b9cf6879bde8bff399e1c58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.55/Ex1_55.sce | 3dc07b13ff6df402d7218b5660d5bbffa2386c9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_55.sce | // Ex 55 Page 400
clc;clear;close;
// Given
Edc=250;//V
fim=.065;//Wb
f=50;//Hz
E1=6000;//V
P=1500;//kW
p=8;//pole
pf=0.9
V=400;//V
J=3;//A/mm^2
E2=Edc/sqrt(2)//V
N2=E2/4.44/f/fim;//no. of turns
N1=E1/E2*N2;//no. of turns
printf("no. of turns in primary = %d",N1)
printf("\n no. of turns in secondary = %d",N2)
Idc=P*1... |
9fa0d61b87ae858ea2e70b53800fcefd1d37f596 | f9c2db0a67747ae682f67fee66692ebef19c33d3 | /Scilab/Scilab/Test/2.sce | c220a4dee45f5f856a39ac7d46b28953d51ad4d8 | [] | no_license | vakafoam/estcube-dpp-containers | b3b7431cbf2cb2e13884cc6e968430b1d4a349c8 | 95255ee1afaae58140c9484b981ee60abbd05cd6 | refs/heads/master | 2021-09-03T00:10:13.154888 | 2018-01-04T07:42:03 | 2018-01-04T07:42:03 | 113,747,993 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | 2.sce | // Define your variable
t = linspace(0, 2*%pi, 100);
// Define your polar function
r = sqrt(abs(2 * cos(5*t)));
disp(r);
driver('PNG');
xinit('plot.png');
// Plot in polar coordinates
polarplot(t, r);
legend('r = Satellite passes');
xend();
exit();
|
1da1ec5f1e98f33099e6bcf3bd81ad1de4d6ec6f | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/mite_FG.sce | 94d57fcc7f080a5673c6024743666a8c4883e32c | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | mite_FG.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td align=left><b>Vfg0<br>Vfg1<br>Vsource</b></td> <td>mite_FG</td> <td><b>Vdrain</b></td> </tr> </table>";
pal2=xcosPalAddBlock(pal2,"mite_FG",[],style);
|
38157025451f84fc6ea3efaf35e92d5e1ac6a05a | b6bf377ad0dd93166c29119fdaf090d104caf3b7 | / extensiblesimulationofplanetsandcomets --username lasxrcista/Miscellaney/3Body.sci | 7dc95854f2301849c81f08aa0d701ef0f2e4592b | [] | no_license | tectronics/extensiblesimulationofplanetsandcomets | d69905f0406bf552043dd0e244ea889a55922ef9 | d9d59841d1d177026e60245d3f99c879ee0f8ca0 | refs/heads/master | 2018-01-11T15:15:54.659208 | 2009-07-21T21:22:33 | 2009-07-21T21:22:33 | 47,740,385 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,576 | sci | 3Body.sci | function xyp=f1(t,Z);
//Earth //Venus
//M = [(5.9737 * 10^24) (4.8685 * 10^24)];
//SUN = 1.991 * 10^30;
//G = 6.67259 * 10^(-11);
M = [1 1];
G = 1;
SUN = 1;
x(1) = Z(1);
x(2) = Z(2);
y(1) = Z(3);
y(2) = Z(4);
x2(1) = Z(5);
x2(2) = Z(6);
y2(1) = Z(7);
y2(2) =... |
31fdb182e531cee5415fb0f6f292b890c9ea637a | 3e306b2adf7199b1e7439c23137237f73a3160c6 | /adaptive.sci | 344170157db91d4c8d056bf3467092d5db52b38e | [] | no_license | vikhyat/consulo | 37151aaf7d8d1b78c1d3d787f03ae88777e67efe | bfe0c0305805090a830d982002452cbd85f07aae | refs/heads/master | 2020-04-20T08:25:13.827730 | 2012-05-14T10:14:01 | 2012-05-14T10:14:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,546 | sci | adaptive.sci | function y = f(x)
y = sin(x * 10 / (2 * %pi));
// y = x;
// y = 2;
endfunction
function A = addto(A, x)
A = [A x];
endfunction
function A = naive_polling(freq, samples)
A = []
for i = 0:(samples-1)
A = addto(A, [i*freq; f(i*freq)]);
end;
endfunction
function A = adaptive_polling_single(wait, samples,... |
5cf1e83644dc863f3de6e00d3f1d9333fa9b1ff3 | 82d111a65c769023fffac97c55920dc88b256156 | /tests/mixes.tst | c58aaedc60b774c63d96a3d9c10e87915c567033 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | scotws/Cthulhu-Scheme | c32910f7425da53ebc125094145a05481278ab5f | d7edfce86664aaaafde10bd34484e39b21d431d7 | refs/heads/master | 2021-05-23T01:44:01.222040 | 2020-05-17T13:02:27 | 2020-05-17T13:02:27 | 253,177,979 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | tst | mixes.tst | ; Mixed Tests for Cthulhu Scheme
; Scot W. Stevenson <scot.stevenson@gmail.com>
; First version: 10. Mai 2020
; This version: 10. Mai 2020
; Formats:
; - empty lines are ignored
; - lines that start with a semicolon ';' like this one are ignored
; - lines that start with a SECTION are printed to the output
; - All ot... |
e2c9a9fbbd7be6f89ae347196d01ee47340d0912 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH14/EX14.3/Ex14_3.sce | 3d4b39f5698d6bd3048c6e8a0424d23f1abe9899 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Ex14_3.sce | clc
clear
//Initalization of variables
disp("From table 5-4,")
a=1 //moles of C6H6
b=7.5 //moles of O2 in reactant
c=1.875 //moles of excess O2
d=35.27 //moles of N2
e=3 //moles of H2O
flow=40 //lb/min
w=1360850 //Btu/mol
//calculations
U11=a*337
U12=(b+c)*85
U13=d*82
U14=(a+b+c+d)*1066
Ua1=U11+U12+U13+... |
78bf167bdd8685a81382d4e9a3c5ebe5fd7ec11d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH5/EX5.1/5_1.sce | 662de9ee9fb2bb6862178703df9e9e1bf175e61e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 5_1.sce | clc
//initialisation of variables
T= 20 //C
R= 0.082 //li-atm per mole per degree
V= 2 //lit
m= 6 //gms
M= 60 //gms
//CALCULATIONS
P= m*R*(273+T)/(M*V)
//RESULTS
printf (' osmotic pressure= %.1f atm',P)
|
08c51e85cf92180abfc65e936bae14a2c5485236 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /scilab/deretTaylor/test2.sci | 54c779565ad93cb56b275eb29749469251e92fdf | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sci | test2.sci |
function hasil=tes2(g,tol)
while g>tol
g=g-1
disp(g);
end
hasil=[g];
endfunction
|
52145a2bedbd51419752372ea78f7d0762728f86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH10/EX10.12/Example10_12.sce | 590f1de8c7388b4d95d90e3e65c05424915e884b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,606 | sce | Example10_12.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 3: STEADY STATE CHARACTERISTICS AND PERFORMANCE OF TRANSMISSION LINES
// EXAMPLE : 3.12 :
// Page number 143
clear ; clc... |
dfcce6a19e86fd9b6c4c2e569baf445a1c35e75f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH7/EX7.8/ex7_8.sce | e7c1e5a3c0608f47edfac090dfcd0be262342b51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | ex7_8.sce | //Part A Chapter 7 Example 8
clc;
clear;
close;
P1=1;//MPa
V1=0.05;//m^3
x1=80/100;//dryness fraction
P2=1;//MPa
V2=0.2;//m^3
W=P1*1000*(V2-V1);//kJ
vf=0.001127;//m^3/kg//at 1 MPa
vg=0.19444;//m^3/kg//at 1 MPa
uf=761.68;//kJ/kg//at 1 MPa
ufg=1822;//kJ/kg//at 1 MPa
vfg=vg-vf;//m^3/kg
v1=vf+x1*vfg;//m^3/kg... |
b09f372f697fbaae82e186de65c2d35356eb53f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH9/EX9.16/Ch09Ex16.sce | 9b4d33931bc590d3bd4c5fc97633189981f3d992 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | Ch09Ex16.sce | // Scilab Code Ex9.16: Page-9.47 ; (2004)
clc;clear;
e = 1.6e-19; // Electronic charge, C
B = 1.5; // Magnetic field, tesla
I = 50; // Current, ampere
n = 8.4e+28; // Electron density, per metre cube
t = 0.5e-2; // thickness of slab, metre
RH = 1/(n*e); // Hall coefficent
V_H = RH*I*B/t; // Hall... |
c786ca338ed1d6cedee059d0807eccbebfe4ce12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH15/EX15.8/15_8.sce | 13207529716e3bb6f5cc754a0822db5fa19429fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | 15_8.sce | clc
//initialisation of variables
kw= 10^-14
ka= 2.69*10^-5
c= 0.1 //N
//CALCULATIONS
pH= -log10(sqrt(kw*ka/c))
//RESULTS
printf ('pH = %.2f ',pH)
|
03ef3ef15a0e008a98520d6e9c874b15889fa8cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH3/EX3.10/3_10.sce | 4a776cbf94126e3a7b89d88e42f98a81361a7c1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sce | 3_10.sce | //Problem 3.10:
//initializing the variables:
B = -0.159; // in m3/kgmol
C = 0.009; // in (m3/kgmol)2
T = 400; // in K
P = 40; // in atm
//calculation:
//Virial equation.
//Z = PV/RT = 1 + B/V + C/V^2
//Insert the appropriate values of the terms and coefficients. Use R = 0.082 Latm/gmolK = 82.06 cm3.atm/gm... |
36aa12179769079b09fd77601c5ae7833f55b76b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH5/EX5.17/ex_5_17.sce | 3033af6f6ddf58565aa8af0305770d87fdce3311 | [] | 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 | 303 | sce | ex_5_17.sce | errcatch(-1,"stop");mode(2);//Example 5.17 // fluxmeter
;
;
//given data :
N1=800;// turns
I=5;// in A
l=1;// in m
A=5*10^-4;// in m^2
N=500;// turns
theta=25;// divisions
H=(N1*I)/l;
B=(4*%pi*10^-7*H);
fi=B*A*10^8;
K=((2*N*fi*10^-8)/(theta));
disp(K*10^-3,"Constant is,(Wb-turn/scale-div)=")
exit();
|
3f35e253f0d381460b4fd65ef38f8f76f12ac357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH14/EX14.20/Ex14_20.sce | 4392e5c40388e70d5494288e6bd80b87f5c19b28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | Ex14_20.sce | //example 14.20 PG-14.41
clc
clear
printf(" Refer to the Figure-14.52 shown\n\n")
printf(" From the Figure we can see that\n\n")
printf(" Y = ((A+B)''.(B+C'')'')''\n\n")
printf(" Y = (A+B)''''+(B+C'')'''' .....Since (A.B)''=A''+B''\n")
printf(" DeMorgan''s Therem \n")
print... |
88c2df9bf2b912b33a439bb6b4f1acb1165a1965 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/4/tests/test20.tst | aa6398f25a9722d08cd51ab966b0b6c90549e10d | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | tst | test20.tst | type t1 = array 10 of int;
short proc(short a) { return a; }
main()
{
var a : t1;
const c = 11;
get(a[1]);
}
|
e95efca082fe0af9ab38f2b55b39add98dfdfeb1 | ad618ca6b5ed579648f418556d871a22f9a21aaf | /sci_scripts/rm_ws.sci | e216f3cd4c14d7ba63114e669411e93fcd04e183 | [] | no_license | manojgudi/sci_ocr | 6de17d33475b7f2429a3dbe39fd0711138e3e14a | d18e7bc7a244d73f59830dd914f7aa9059726696 | refs/heads/master | 2020-05-20T10:05:31.612844 | 2013-03-15T05:16:45 | 2013-03-15T05:16:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | sci | rm_ws.sci | // Removing whitespaces from binary image, returns co-ordinates image without white-space
function [clean_img] = rm_ws(given_img, input_string);
dirty_img = given_img; // given_img is binary image
dirty_img_dim = size(dirty_img);
select input_string
// Remove top and bottom whitespace
case "cols" then
col... |
5e8f8a0ce1acffa5c0109d48641ffc33e7cee025 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH22/EX22.1/Ex22_1.sce | 404e438174f5f77747965954509c487b488cf58e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex22_1.sce | clc
// Given that
p = 1.013e5 // Pressure in Pa
t = 300 // Temperature in K
d = 3.5 // Effective diameter of oxygen molecule in Angstrom
r = 2 // Ratio of free path of molecules with the lambda
printf("\n Example 22.1 \n")
sigma = %pi*(d*(10^-10))^2
n = p/(t*1.38*(10^-23))
lambda = 0.707/(sigma*n)
R = exp(-r... |
0a9cbbabb06377915b3dee9619d897ff94ab2d39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH13/EX13.8/Ex13_8.sce | 3011d1731f4db66cec3473c348817e3148e12f33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 925 | sce | Ex13_8.sce | clc
clear
//DATA GIVEN
b=0.2; //width of the belt in m
t=0.01; //thickness of the belt in m
Tp=2; //permissible tension of the belt in MN/m^2
ratio=1.8; //ratio of T1/T2=1.8
rho=1100; //density of the material in kg... |
5a4c9dbf7a51358a053aecc1f4624834ab21eeae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH4/EX4.22/Chapter4_Example22.sce | 1273d8a87300037f846a43255cc3df2b4e46e6d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,134 | sce | Chapter4_Example22.sce | //Chapter-4, Illustration 22, Page 212
//Title: Steam Nozzles and Steam Turbines
//=============================================================================
clc
clear
//INPUT DATA
N=300;//Speed in rpm
m=4.28;//Mass of steam in kg/s
P=1.9;//Pressure of steam in bar
x=0.93;//Dryness fraction
W=3.5;//Stage... |
31c0aacbc8185ecb9775e56709beeac21b7f8426 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH8/EX8.4/8_4.sce | c5a8bbdda4656d69f5c91d277cee3ef143d1123b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | 8_4.sce | clc
//Initialization of variables
T1=25+273 //K
T2=25+273 //K
//calculations
disp("Since, T2=T1, dE=0")
dE=0
w=0
q=dE+w
//results
printf("\n Work done = %d ",w)
printf("\n Heat transferred = %d ",q)
printf("\n Change in energy = %d",dE)
|
172c9abbd99f47b9ea8a4068393156b457be3ad2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH10/EX10.2/Ex10_2.sce | 1365a39d9943137d7ac5a5b7be0465483f03e789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,048 | sce | Ex10_2.sce | l=2.7+1//span, in m
R=0.15//rise, in m
t=0.27//tread, in m
sigma_cbc=5//in MPa
sigma_st=230//in MPa
//assuming 50 mm per 1 m of span
D=50*l//in mm
D=200//assume, in mm
W1=D/10^3*25*sqrt(R^2+t^2)/t//slab load on plan, in kN/m
W2=1/2*R*t*25/t//load of step per metre, in kN/m
W3=3//live load, in kN/m
W=W1+W2+W3... |
b08ce0ba4bc5a43fcd06074917610f5b8dc8fb6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH3/EX3.6/3_6.sce | 04352d4a2bc54f2edffb6b6cd34b5375177951ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | 3_6.sce | //example:-3.6,page no.-93.
// program to find out characteristic impedence and plot the magnitude of reflection coefficient versus normalized frequency.
Zl=100;// load impedence
Zi=50;//impedence of line which is to be matched
//as it is a quarter wave transformer so,Zi=(Zo)^2/zl;
Zo=sqrt(Zi*Zl);
disp(Zo,'charac... |
c0a15fe90367f8940a5f78a4d266e7574f26740c | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH18/EX18.1/18_01.sce | 6e102ae11eb6ecf40c622b3b7bae2983e2d0f295 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,580 | sce | 18_01.sce | clear
clc
dp=2.4*(10^-3);L=dp/6;
//Effective mass conductivity(m3/hr.mcat)
De=5*10^-5;
//Effective thermal conductivity(KJ/hr.mcat.K)
Keff=1.6;
//For the gas film surrounding the pellet
h=160;//heat transfer coefficient(KJ/hr.m2cat.K)
kg=300;//mass transfer coefficient(m3/hr.m2cat)
//For the reaction
Hr=-160... |
776a57dc1a8295170831a0595d87fa3da20f5586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.20/ex6_20.sce | f06f2c24d7409dc311c67898f850fef9afcaf26c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | ex6_20.sce | // Exa 6.20
clc;
clear;
close;
// Given data
del_VDS = 1.5;// in V
del_ID = 120 * 10^-6;// in A
r_d = del_VDS/del_ID;// in ohm
r_d = r_d * 10^-3;// in kohm
disp(r_d,"The drain resistance of the JFET in K ohm is");
|
fffb28aad436fe34808226a0fbb43f0bfbd3975d | c3d38db94d5862857932065e0c266a64e426002a | /tst/Ex3.tst | 4d4f23fef83945cf8f3cdf62a0e96a790a66ac67 | [] | no_license | fingolfin/carat | 69806199557c0b46b752d83b0755c627ed5877ec | 21741c23edb7d5cf410e7dc1698f7fb942573e9e | refs/heads/master | 2020-09-03T15:33:29.255011 | 2019-05-23T07:31:58 | 2019-05-23T07:31:58 | 133,804,402 | 0 | 0 | null | 2018-05-17T11:35:02 | 2018-05-17T11:35:02 | null | UTF-8 | Scilab | false | false | 566 | tst | Ex3.tst |
echo "### Test Ex3-1"
../bin/carat/Bravais_catalog << EOF
1,1,1,1,1
y
stdout
a
EOF
echo "### Ex3-1 return code $?"
echo "### Test Ex3-2"
../bin/carat/Bravais_inclusions Ex3_11111 -S
echo "### Ex3-2 return code $?"
echo "### Test Ex3-3"
../bin/carat/Bravais_catalog << EOF
5-1
y
stdout
a
EOF
echo "### Ex3-3 return cod... |
0e6058ab2e82e88598200e1fe65a3297fc8d67cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH4/EX4.6/Example4_6.sci | 55ce882fad27c33d17aa44ea62e48ad308476013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,424 | sci | Example4_6.sci | clc();
clear;
// To calculate the range in temperatures at different depths
T1=-15; // Min temperature at surface in degF
T2=25; // Max temperature at surface in degF
t=24; // time gap in hrs
k=1.3; ... |
68db275c2f6b3c5e664ea18d034626c4e07c0fae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH21/EX21.08/21_08.sce | 15de37ea41fc83bc840ec5995f368124ac2dc22b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | 21_08.sce | clear;
clc;
r0=.1;
v=1;
r1=.05;
r2=.05;
r3=.2;
r4=.2;
r34=inv(inv(r3)+inv(r4));
r234=r2+r34;
r10=r1+r0;
r=inv(inv(r234)+inv(r10));
ip=v/r;
mprintf("the positive sequence current=%fpu",ip);
|
dd78cdf081540044ad5e177098aa71cc904662ad | 6fd3f19d2ced950a97cae01eba7080554840efd4 | /src/Decimacion.sci | 34085cfdc956cf1bf417bd186f2edd78fc8ecbf5 | [] | no_license | marcosamaris/FrFTScilab | 6563d281792332354330ea2eb5d18334338e0bfd | 8a5cb67873b881714a051336d472271c184a2083 | refs/heads/master | 2020-12-14T07:32:10.208263 | 2017-02-02T13:48:43 | 2017-02-02T13:48:43 | 68,461,393 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | sci | Decimacion.sci | function xdec=bizdec(x)
k = 1:2:length(x);
xdec = x(k);
xdec = xdec(:);
endfunction
|
dc3ae48014fb89daec03a85dfb71691823983861 | 2425d32bb7c5a0b689c691b8cf61737d2bf0e866 | /05/CPU-decoding.tst | 5592cf05c14d29adf058692b465debfc6120c0de | [] | no_license | Furbreeze/Nand2Tetris | ab3f0703016e45f1c73faa2b7b7f39a3de153b31 | 02418138f0a282973b532b61ec96d85a6fe3890e | refs/heads/master | 2022-12-13T21:02:19.123479 | 2020-09-17T16:08:33 | 2020-09-17T16:08:33 | 296,376,173 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | tst | CPU-decoding.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/05/CPU.tst
load CPU.hdl,
output-file CPU.out,
compare-to CPU-decoding.cmp,
output-list time%S0.4.0 inM%D0.6.0 instruction%B0.16.0 reset%B2.1.2 outM%D1.6.0 writeM%B... |
ddf9c13ecc52d799b7812035603b311ed38eaaa7 | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/shapering.tst | d8d88e95978c9ccc34990ca140633188c6337363 | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 863 | tst | shapering.tst | \release printer CROUTPUT:
\set time slow
#
#
#
#
\USE shapering.in
# NOFSQ, NOANOM
\LIST 23
MODIFY EXTINCTION=YES ANOM=NO
MINIMISE F-SQ=NO
END
#list 4
end
#SFLS
R
R
R
R
END
\USE shapering1.in
\USE shapering.ref
# NOFSQ, ANOM
\use shapering... |
d0fe86390d32b3c2a976eb5d93355d3c18106f3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH1/EX1.3/Ex1_3.sce | d1ce816a746632ca5a815f96ae06c670f623535f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | Ex1_3.sce | clc
// Example 1.3.py
// Calculate the isothermal compressibility for air at a pressure of 0.5 atm.
// Variable declaration
p = 0.5 // pressure (atm)
p_si = 0.5*101325 // pressure (N/m^2)
p_eng = 0.5*2116 // pressure (lb/ft^2)
// Calculations
tau_atm = 1/p // isothermal compressibility in atm^-1
tau... |
565d0e8f1db0973c26abcc2330b8db7fd2575d28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH9/EX9.2/Example9_2.sce | 41d45da95b27dde5436442e99296bdce82711dbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | Example9_2.sce | //Exa 9.2
clc;
clear;
close;
//Given data :
C1=1;//
C=10;
K=C1/C;
V2byV1=(1+K);
V3byV1=(1+3*K+K^2);
V4byV1=(1+6*K+5*K^2+K^3);
V5byV1=1+10*K+15*K^2+7*K^3+K^4
//I6=I5+i5;
//omega*C*V6=omega*C*V5+omega*C1*(V1+V2+V3+V4+V5)
V6byV1=V5byV1+K*(1+V2byV1+V3byV1+V4byV1+V5byV1);
VbyV1=1+V2byV1+V3byV1+V4byV1+V5byV1+V... |
1cccf629a9aee553331295c729d7899ec4c0d062 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH21/EX21.5/example21_5.sce | 625a94ba0857e6a863f60560287ce21e1490b159 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | example21_5.sce | c1=5;
v1=25;
c2=10;
v2=20;
c3=1;
v3=50;
disp("Part a");
c=c1+c2+c3;
disp("the total capacitance (in μF) is"); disp(c);
disp("Part b");
disp("the maximum working voltage (in V) s"); disp(v2);
disp("Part c");
q=v2*c;
disp("the maximim charge (in μC) that can be stored is");disp(q); |
e90bd7ae2b2ec426ac5a29028145466722c5a920 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH14/EX14.4/Ex14_4.sce | 3bedd1d2638f5fa3b42110a1dada644d03860f02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 6,717 | sce | Ex14_4.sce | printf("\texample 14.4 \n");
printf("\tapproximate values are mentioned in the book \n");
//Assumed that 37500 lb/hr of 15 psig vapor is bled from the first effect for use in thevaccum pans
printf("\n\tAVERAGE EVAPORATION PER SQUARE FOOT HEATING SURFACE FOR SUGAR EVAPORATORS\n");
printf("\tEffects\t\tWater evaporat... |
c9d33df021ef5a050685c672126616e6dd269ea3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH8/EX8.12/ex8_12.sce | 07658351101e82935898819690996d5fff7c5084 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | ex8_12.sce | //Page Number: 435
//Example 8.12
clc;
//Given
Qmax=0.06D-12; //C
f=20D+6; //Hz
V=10; //V
n=3;
//Power disspated per bit
P=n*f*V*Qmax;
disp('muW',P*10^6,'Power disspated per bit:');
|
5983f5d23b2a89e8929877e4daf9cff80d7ea3f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH1/EX1.6/Ex1_6.sce | 0c115a49eeb04e638cd68f7ee16ab245e7751b58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex1_6.sce | // Chapter 1
//Amplifier Gain
//page 17
//Example no 1-6
//Given
clc;
G1=26; //in dB
Vin=0.01; //in volt
G=10^(G1/20);
printf("\n The ordinary power gain %.2f \n",G); // Result
Vout=Vin*G;
printf("\n The output voltage is %.4f V\n",Vout); // Result
|
752130d77ab261f662dabb3e6d50a7bf37f7b1a6 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH3/EX3.5/example3_5.sce | eb279d1a812b2b4d57c02f82a2550fa7300fe655 | [] | 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 | 322 | sce | example3_5.sce | errcatch(-1,"stop");mode(2);
//example 3.5
//page 127
; funcprot(0);
// Initialization of Variable
x=2;
y=4;
pi=3.14;
u=4*x;//velocity x
v=-4*y;//velocity y
V=sqroot(u^2+v^2);
theta=180/pi*atan(v/u);
disp(V,"velocity at (2,4)is (m/s)=");
disp(theta,"angle of the velocity with X axis(degrees)=");
exit()... |
bd4969764af14234405d5429ccc4c0969847d59b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.46/Ex12_46.sce | fac593143c950df1fadc0a9f4248faa50f12058f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex12_46.sce | //chapter 12
//page no 540
//exa 12_46
//given
clear;
clc;
Tb=100; //bit period in ps
dZ=0.4; //in ps/nm/km
Zr=150; //Modulator spacing in km
Ta=Tb/(dZ*Zr); //channel spacing in nm
printf("\n Channel spacing %0.1f nm",Ta); //result
|
7d5bd28da7a89493274aba042495bcb06660fc12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH5/EX5.21/5_21.sce | 57dd113e800aa9ff2c6da995ede7f8ee27b53ece | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | 5_21.sce | clc
//initialisation of variables
W= 0.0020 //M
W1= 0.0010 //M
W2= 0.0040 //M
T= 1.86 //C
n= 1 //moles
n1= 1 //moles
n2= 2 //moles
a= 1.122
//CALCULATIONS
dT= T*(W+W1+W2)
I= 0.5*(n^2*W+n1^2*W2+n2^2*W1)
g= 1-(2*a*I^1.5/(3*(W+W1+W2)))
dT1= g*dT
//RESULTS
printf (' lowering the freezing point = %.4f C ',dT... |
f78b716ca18ca5287f61bbe267208d8f03230ac1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH11/EX11.5/Ex11_5.sce | 19b8ab9e80bfab28e82dba62ef6a562cd341d50c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,203 | sce | Ex11_5.sce | // scilab Code Exa 11.5 Forced Vortex axial compressor stage
dm=50/100; // Mean Blade ring diameter in m
rm=dm/2;
dh=0.3098354; // from results of exa 11.2
dt=0.6901646;
um=100; // peripheral speed in m/s
beta_1m=51;
beta_2m=9;
alpha_1m=7; // air angle at rotor and stator exit
alpha_2m=50.177922;
omega=u... |
e322edc62f733251d5900314ee76cefc19d316c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH2/EX2.10/C2P10.sce | a7082cb1f03233977fdcc4c182b3a0d555e04c47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,439 | sce | C2P10.sce |
clear
clc
//to find time required to reach highest point
//to find distance travelled by the ball till the highest position is reached
//to find time at which ball will be 27m above the groung
// GIVEN::
//initial speed of the ball
v0y = 25.2//in m/s
//final speed of the ball
vy = 0//in m/s
//accel... |
7493b026e628cdf793567e944ceff8e511ce90be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH3/EX3.13/Ex3_13.sce | 15f5b6ea5d91c37e5a05a19ca59a14c707e77d62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_13.sce |
//
//
//given
FB_AB=80+(30/60)
FB_BC=FB_AB+180-60
FB_CA=FB_BC-180+300
//convert into mins and degrees
deg1=int(FB_AB)
mins1=(FB_AB-deg1)*60
deg2=int(FB_BC)
mins2=(FB_BC-deg2)*60
deg3=int(FB_CA)
mins3=(FB_CA-deg3)*60
printf("\nFB_AB is %0.3f degrees %0.3f minutes W",deg1,mins1)
printf("\nFB_BC is %0.3f degrees %0... |
47a3e99d15057eb76e09bf4300f02d1e5c407375 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/Fuctions.sci | a4d2af07677bd3c11d9e30f5756688fc2d68cfa5 | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,696 | sci | Fuctions.sci | pyAddToPath("N:\project\Python_Files\")
pyImport imp
//imp.reload("N:\project\Python_Files\")
//image burring is left..no documentation
//open closse function->kya hain pata nai...give proper function name
function [image] = cv_rgb2gray_path(path)
pyImport rgb2gray_file
image=rgb2gray_file.rgb2gray(... |
cb0a16129fdca1d81e6abf2b3120b47183ae47a4 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_adc.sci | 6e435d5a3c0938e7290e1747c6e284ad28275594 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 5,544 | sci | mdaq_adc.sci | function [x,y,typ] = mdaq_adc(job,arg1,arg2)
global %microdaq;
adc_desc = ["This block reads MicroDAQ analog inputs (AI). Block detects";
"MicroDAQ analog inputs type and allows channel, range";
"and measurement type selection.";
"In order to select analog input channels scalar or vector";
"con... |
a3ca3a13d4811cfc3bb5db1a2cc2287b86df9da3 | 5bee7340e93b8ea9d588b54e56850d3416c9b860 | /ce2004 lab5/code/RLC.sci | 967793dbc97abf1ee5a5ab59bba2ea8c1128de98 | [] | no_license | StevenShi-23/Lab-Report | f2217f466eeff34125127bca48a3a8e8aedc882a | 9510b7cc3b6318d1afaf3bdfc3e118fa2225f064 | refs/heads/master | 2020-07-05T18:46:29.864783 | 2014-04-14T05:35:31 | 2014-04-14T05:35:31 | 73,985,787 | 1 | 0 | null | 2016-11-17T03:17:13 | 2016-11-17T03:17:13 | null | UTF-8 | Scilab | false | false | 1,233 | sci | RLC.sci | close
t = 0:0.000001:0.001;
function y = step(t)
y = round((sign(t) + 1) / 2)
endfunction
function y = Pi(t)
y = step(t + 0.5) - step(t - 0.5)
endfunction
function y = delta(t)
y = 20000 * Pi(20000 * t);
endfunction
t0 = t(1);
y0 = [0;0];
L = 0.001;
R = 10;
C = 1e-6;
function zdot = RLCa(t... |
e1b1c58688dcec47b08d7312cc9dd4cd46058914 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH7/EX7.1/ex_7_1.sce | 771b247baf3dd0b6051df80cc821f863c771b32b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | ex_7_1.sce | //Example 7.1 // Energy of plane wave
clc;
clear;
//given data :
u=(4D-7*%pi);// permeability(free space) in H/m
e=8.85D-12;// permitivity(free space) in Farad/m
H=1;// magnetic field in amp/m
E=H*sqrt(u/e);// formula to calculate
disp(E,"magnitude of Energy of plane wave in V/m")
|
7944081d1885f3094798e714fce1cbd3bf872296 | d897696cc5ab77f0fa78fb32a26fba4611f9b9ea | /processing_ppm.sce | d005787c8415ed9b283079665ef0bb6c31d10d1e | [] | no_license | hnizdil/it3105-image-processing | 3ebf6ae8f18a6dfb4b1e91dd88fee594fc322ffb | 26ac31b32c6b8012094583b128a7b2b304f021e0 | refs/heads/master | 2021-03-12T22:41:42.261537 | 2009-10-26T10:51:57 | 2009-10-26T10:51:57 | 32,507,477 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,963 | sce | processing_ppm.sce | getf('functions.sci');
// bcms
pgm = pgm_read('tri_thres.pgm');
pgm(1) = pgm(2) - pgm(1);
disp(bcms_bi_get(pgm(1)));
// bi threshold truck
pgm = pgm_read('1.pic.pgm');
thres = thres_cr_get(pgm(1));
pgm(1) = thres_gray_apply(pgm(1), [thres], pgm(2));
pgm_write('test.pgm', pgm(1), pgm(2));
exit;
// bi th... |
7f4adfe93d867b56231df5838186e20c11ae5b2b | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 1/Oitava.sce | 20bb52d8c1a523d5983f2456767bc5f9cda74630 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | Oitava.sce | // José Augusto Câmara Filho - Matemática Industrial
function A=Oitava(v,k)
//Essa função insere os elementos de um vetor que o usuário cadastra previamente para serem os elementos que farão parte da matriz de Vandermonde e um inteiro "k" será o termo da ultima potência.
b= length(v)
// A variável "b" rec... |
4d29c37000d107d9a84a393eea3a2abfc9e71025 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH1/EX1.4/1Ex4.sce | 39ef7e632efddb4013c370901a51baf40973f3b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | 1Ex4.sce | //chapter 1 Ex 4
clc;
clear;
close;
//let value to be found is x
x=976*237+976*763;
mprintf("x=%.0f",x);
|
95cdd97dd7b1b3c68d0b68550f662fc3b0ecb0d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH9/EX9.12.7/Ex9_7.sce | 9c5dfcf88978ef7497f8f36ce5ecacbfeba2aba9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | Ex9_7.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 9 Basic Voltage and Power Amplifiers
clc
clear
//In a single tuned amplifier
L=120*10^-6//L=inductance in henry
C=100*10^-12//C=capacitance in farad
R=10//R=resistance in ohms
hoe=50*10^-6//hoe=output impedance in mho(or S)
hfe=100//hfe=current gain
hie=2... |
a72c8659c582a189d60c6ebbb562ccd5efe8b2f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH13/EX13.8/Ex13_8.sce | 2b6f3b86974b9f76ce7f54b71875a9999645f8c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | Ex13_8.sce | clc;
//page 675
//problem 13.8
//With single parity bit added, the code size = 4. An error evades parity check if any 2 or all symbols ofthe code arrives are erroneous.
//Probability of any symbol from n are erroneous = nCm*(p^m)*(1-p)^(n-m)
//Thus, the probability of error undetected, P_undeterr = (4C2*(p^2)*... |
12ecbe22b6a02e80c038a3a7ccfb943d533137ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.25/ex5_25.sce | a4dbd763b10ec03bb8d09619d629bdfdc633eb56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | ex5_25.sce | // Exa 5.25
clc;
clear;
close;
format('v',6)
// Given data
A = 54.8;
A = 20 * log(A);
Beta = 1/50;// feedback factor
// gain with feedback
Af = A/(1+(A*Beta));
//Distortion with feedback, Df = D/(1+(A*Beta))
Df = 1;
D = 12;
Pd = (Df/D)*100;// percenatge change in distortion in %
disp(Pd,"The percentage r... |
3410c8c46aaa299715cdb4eab2da4c81c66a9287 | 4bb2823f42f3f993d59b12346565eb9c5fda8b87 | /generateTriangledPositions.sce | 53d8277053f4edd0f8ec7edb55f0ca3e4f6c7ed9 | [
"MIT"
] | permissive | szotaa/random-walk | 4dd21aba5aa6c1f83a13e788be434579b884efd6 | 7b659722fe31badf1cc842d26aa740ebdf2f1f88 | refs/heads/master | 2020-03-23T03:19:13.124310 | 2018-07-15T12:28:01 | 2018-07-15T12:28:01 | 141,023,850 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,102 | sce | generateTriangledPositions.sce | /**
* Calculates point positions. Provides numerical solution for second exercise.
*
* @param amount - number of positions
* @param A, B, C - triangle vertices
* @returns x, y - vectors of calculated points coordinates
* @author Jakub Szota
*/
function [x, y] = generateTriangledPositions(amount, A, B, C)
... |
2781672be1f460f34703bcae710fe259b1e112e1 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/ARDUINO_DIGITAL_READ_sim.sci~ | ad132bb8aeb59aef483c00a936d5bb54529ae3c4 | [] | 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 | 2,083 | ARDUINO_DIGITAL_READ_sim.sci~ | //
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The ter... | |
d455047db72c7bf25849200544c1d4613e3ad863 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.2/Chapter1_Example2.sce | bbc4c0b8467ea00135e11c0167b4febbc39812a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | Chapter1_Example2.sce | //Chapter-1, Example 1.2, Page 1.15
//=============================================================================
clc
clear
//INPUT DATA
Il=40;//Load current in A
V=400;//Terminal voltage in V
Ra=0.04;//Armature resistance in ohm
Rse=0.02;//Series field resistance in ohm
Rsh=300;//Shunt field resistance in... |
e23fdf06b879ae6c0f167b4939fdf39f8a3d3818 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.8c/eg5_8c.sce | 50c34db704a3ff85210750c8eec86e224e368b57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 32 | sce | eg5_8c.sce | disp(1- cdfchn("PQ", 9/4, 3, 0)) |
393782b84664cfb125008b9fd606f62d8bb3ba61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH6/EX6.3/Ex6_3.sce | ac0de77062714991e0635fe2143b8f0c55490a99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Ex6_3.sce | //Example 6_3
clc();
clear;
//To find out how fast and the direction car moving
m1=30000 //units in Kg
m2=1200 //units in Kg
v10=10 //units in meters/sec
v20=-25 //units in meters/sec
vf=((m1*v10)+(m2*v20))/(m1+m2) //unis in meters/sec
printf("The car is moving at vf=%.2f Meters/sec\n",vf)
printf("T... |
c1b8398e0c51def52787290c45bd9b866f20dc0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH25/EX25.3/Ex25_3.sce | 98742ade42282fd49dc659584f6dab8c998183a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,371 | sce | Ex25_3.sce | // Example 25_3
clc;funcprot(0);
//Given data
T_1=15+273;// K
T_3=800+273;// K
p_r=8;// Pressure ratio
T_6=200+273;// K
p_9=0.05;// bar
W_t=190;// MW
C_pa=1;// kJ/kg.K
C_pg=1.1;// kJ/kg.K
r=1.33;// Specific heat ratio
CV=40*10^3;// kJ/kg
// Calculation
T_2=T_1*(p_r)^((r-1)/r);// K
T_4=T_3/(p_r)^((r-1... |
c5592c861b8501d9f0a1a197ab76b0d4ac146429 | 280a6ba512debfe9018f27b12c6777807f321b28 | /Escalonamento_Gauss.sci | 644ecac163cb5b9779b63ca30d8d24269db612ec | [] | no_license | remullo/Computational-Mathematical-Modeling-Projects-for-Scientific-Approaches | 326381bbbeb4933ccb3ad2e9455a894018130393 | f902df127645a158c9f4bdc37a59652e0e71a845 | refs/heads/master | 2023-04-12T08:08:32.288263 | 2021-07-26T22:22:06 | 2021-07-26T22:22:06 | 54,357,173 | 2 | 0 | null | 2021-07-26T22:22:07 | 2016-03-21T03:29:15 | Scilab | UTF-8 | Scilab | false | false | 2,366 | sci | Escalonamento_Gauss.sci |
function [Ab, P, sub] = gauss(A, b)
[linhas colunas] = size(A);
sub = zeros(linhas,colunas+1);
P = eye(linhas,colunas);
//----------------------------------------------------------
//----------------------------------------------------------
//-----------------------------------------------------... |
63ad82e93f572fa0258d830a2a3187420715ae28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH8/EX8.1/Ex8_1.sce | 43dd24f30725af7ffdf498efda56bc80778eb5f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 947 | sce | Ex8_1.sce | // scilab Code Exa 8.1 Calculation on a compressor cascade
V1=75; // Absolute Velocity of air at entry in m/s
alpha1=48; // air angle at entry
alpha2=25; // air angle at exit
p=1.1; // pitch-chord ratio
delps=11; // stagnation pressure loss in mm W.G.
ro=1.25; // density of air in kg/m3
g=9.81;
a=0.5*(tand(al... |
474b172f980cd756158900c753baf31340020633 | 939cf9524c0523729112dee335cc26668ae76018 | /peak2rms.sci | 311fb3c9557bf75995ce31a18c334cd1b12318da | [] | no_license | ishitab/functions-scilab | 919afb6f747fea12bd5c53f1b8e30c866b0eae2a | 5ffc3ccb9ce4185d5f877378af7b70292ccbbd37 | refs/heads/master | 2021-01-10T10:24:41.938399 | 2015-12-28T06:12:50 | 2015-12-28T06:12:50 | 44,682,482 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sci | peak2rms.sci | function [y] = peak2rms(x,dim)
funcprot(0);
if(~exists('dim','local'))
[r,c]=size(x);
big=abs(x(1));
for i=2:r:1
big<abs(x(i));
big=abs(x(i));
end
x=x.^2;
for i=1:r:1
ys(i)=sum(x(i,:))
ys=ys./c
ys=ys.^0.5
//disp(ys)
end
y=big./ys
else
if(dim==1)
[r,c]=size(x);
big=abs(x(1));
for i=... |
3d4bf4f1324f8fa55359a5a24655c5268fa47a46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH17/EX17.3/Example17_3.sce | 958fb26e13a70ea87d21135fdf691def064aac4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,762 | sce | Example17_3.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 10: POWER SYSTEM STABILITY
// EXAMPLE : 10.3 :
// Page number 270-271
clear ; clc ; close ; // Clear the work space and ... |
12bef3ae4443937be2b885d4fbe658dd2f5e0052 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.4/ex4_4.sce | f903480cdedfe77d1529292f52c89851688a1743 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_4.sce | // Exa 4.4
clc;
clear;
close;
format('v',7)
// Given data
I_B = 45;// in µA
I_B = I_B * 10^-6;// in A
I_C = 5.45;// in mA
I_C = I_C * 10^-3;// in A
I_E = I_B+I_C;// in A
I_E= I_E*10^3;// in mA
disp(I_E,"The value of I_E in mA is");
I_E= I_E*10^-3;// in A
Alpha = I_C/I_E;// unit less
disp(Alpha,"The value... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.