blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e383ea95a485f3652acc63708ef03cf857ea05f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH3/EX3.2.b/Chapter3_Ex2_b.sce | 895c612f8d566a3c68cabae98e6689006e452a42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,681 | sce | Chapter3_Ex2_b.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc., USA,pp 436.
//Chapter-3 Ex3.2.b Pg No. 96
//Title:Heat generation in CSTR in Series
//=============================================================================================================
clear
clc
//INPUT
// For a first order reac... |
940f5dd881d6a79d1fbece005a71d9f2894b3edb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH8/EX8.6/8_6.sce | e0bbe045fdd2a844ce046a00c510f7aa8749f6ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | 8_6.sce | //Reaction at B
//refer fig. 8.10
//Applying virtual work principle
//(-4-6+RB)*delta(y)=0
//Thus
RB=6+4 //kN
printf("Reaction at B is RB=%.2f kN",RB)
|
3d75ddf176e55321295566863fb819a60f814dd7 | a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f | /Sem2_Mathe/random nice shit/Euler_Verfahren.sci | e0469c02b7628cba280d4cbb96b1bc28012a42dd | [] | no_license | DonnyAwesome/UNI | 99580eabc0ff200eeecb72d866313b89cd28d0cb | c028434b672ae1962c2074fc249012d68a63db2b | refs/heads/master | 2020-04-02T13:05:02.067280 | 2019-02-14T02:14:06 | 2019-02-14T02:14:06 | 154,466,384 | 0 | 0 | null | 2018-10-24T08:33:10 | 2018-10-24T08:33:10 | null | UTF-8 | Scilab | false | false | 246 | sci | Euler_Verfahren.sci | exec dgl.sci
figure(1);
clf;
mtlb_axis([0 5 -60 10])
x = 0; //initalisierung
y = 3; //initialsierung
h = 0.1; //step size
while (x<=5)
plot(x, y, 'o');
y = y + h*dgl(x, y);
x = x + h
sleep(100)
end
|
686dfc877390a516241623c16892e588a2e339b9 | eba87ea88592ae455b25057043e94955762052e1 | /Scenario/world5.sce | b0e92fb6e119ce6cee20c650596e270c7190a8b2 | [] | no_license | milkhouse1990/RabbitMilk2018 | d5f9d4d740c763f7c9003be870f7c6c240a4f6df | 1dffae3c4a70ab6cb29c7c20d4fe68e898ca5adf | refs/heads/master | 2018-07-14T18:24:56.563587 | 2018-06-01T10:37:06 | 2018-06-01T10:37:06 | 116,246,271 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,620 | sce | world5.sce | //猫耳族的太空船
world 0 Space
//1111
scene 0 Space
cut 0
可乐炭 你很厉害呢!
牛奶酱 这还用你说。不过你还没使出全力吧?
可乐炭 怎么说?
牛奶酱 最终BOSS从来都是要有第二形态的。
可乐炭 好吧,那就如你所愿,moon ***** power! // moon prism power, make up!
可乐炭 怎么没反应?
牛奶酱 废话,你可是月球的敌人啊,怎么可能给你月亮的力量。再说,就算给了你,版权也通不过吧。
可乐炭 那怎么办?
牛奶酱 随便喊个变身就行啦!
可乐炭 我为什么要听你的啊?
牛奶酱 随你便。
boss
可乐炭 我才不会输…
牛奶酱 你还有力气吗?
可乐炭 你不知... |
34b94679b83bdf9bc6a808893daf7ef7dede28e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH2/EX2.2/Ex2_2.sce | 85fd14356600f5536a3140277e40140541413130 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ex2_2.sce | //Ex 2.2
clc;clear;close;
format('v',6);
fi=0.015;//Wb(flux)
ag=2.5;//mm(airgap)
Ae=200;//cm^2(Effective area)
FD=fi/(Ae*10^-4);//T(Flux density)
mu0=4*%pi*10^-7;//constant
H=FD/mu0;//A/m(Magnetic field strength)
mmf=H*ag*10^-3;//A(magnetomotive force required)
disp(mmf,"Magnetomotive force required(A)");
//... |
9efb97c5e7e4217017526789db701bbfaad4b49d | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH14/EX14.3/14_03.sce | 020ed5ad98a4e819abfac23f4a4fa71129cf9a37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 14_03.sce | //Example No. 14_03
//Eigen Vectors
//Pg No. 473
clear ; close ; clc ;
A = [8 -4 ; 2 2 ] ;
lamd = poly(0,'lamd')
p = det(A - lamd*eye())
root = roots(p)
mprintf('\n The roots are \n lamda1 = %f \n lamda2 = %f \n ',root(1),root(2))
A1 = A - root(1)*eye()
X1 = [-1*A1(1,2)/A1(1,1) ; 1]
disp(X1,'X1 = ')
A2 = ... |
c1a2dfa2f1b89e50efe5c3aa5c028db40aae6432 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.11/Chapter6_Example11.sce | f0eb366263e2032100ba80a3223125481fb01160 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | Chapter6_Example11.sce | clc
clear
//Input data
T1=450;//The temperature of the source in k
H1=1000;//The amount of heat taken by the engine at T1 in calories
T2=350;//The temperature of the sink in K
//Calculations
H2=(T2/T1)*H1;//The amount of heat rejected to the sink in each cycle in calories
n=(1-(T2/T1))*100;//The efficien... |
2a53bbcfd7ccbef838b9691d3ea96461936be9c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH6/EX6.6.u1/Ex6_6_u1.sce | 69fe8d9f01d8e5e37e762adf1b0c5312db3c539a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | Ex6_6_u1.sce | //Example 6_6_u1
clc();
clear;
//To calculate the ratio of stimulated emission to Spontaneous emission
h=6.63*10^-34 //units in m^2 kg s^-1
c=3*10^8 //units in meter/sec
lamda=694.3 //units in nm
lamda=lamda*10^-9 ... |
33928b0a8c31399b5ac56ed3eafcdba592403d03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH3/EX3.11/Ex3_11.sce | b08f1cbaf1167375c5393e63bfbd5fe32eb4bf87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Ex3_11.sce | //Initiization of variables
w=1500 //N/m
x=4 //m
L=4 //m
//Calculations
k=x^2/w //m^3/N
//Solving the intergral we get
W=L^3/(3*k) //N
x_bar=L^4/(4*k*W) //m
//Result
clc
printf("The resultant is %f N and the line of action of the force is %f m",W,x_bar)
|
6749db72c83242d775727002894944eb77400642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH17/EX17.7/17_7.sce | 53d4672c72ddba06a18e19bf313186039f12ddfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | 17_7.sce | //Tensions in the strings
//refer fig. 17.7
//Case (a)- Initial velocity u=0 t=5 sec
//Writing impulse momentum equation for 500 N block and 1500 N block and solving obtained equations
v=7.007 //m/sec
T=642.86 //N
//Case (b)-Initial velocity u=3 m/sec
//Writing impulse momentum equation for 500 N block and 150... |
5c784fac6c1385dd0009d3922c0db8d5a1cc78ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH9/EX9.6/C9P6.sce | 10192a5e5b72297e7e825125b7db91d69b682066 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | C9P6.sce |
clear
clc
//to find forces that is scale reading
// GIVEN::
//refer to figure 9-22(a) from page no. 189
//mass od beam
m = 1.8//in kg
//massof block
M = 2.7//in kg
//acceleration due to gravity
g = 9.8//in m/s^2
// SOLUTION:
//refer to figure 9-22(b) from page no. 189
//consider our system as ... |
9caeb12d1670f3aac9b84ba572d3bb1b545cb73b | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Flux Valorant Stralroom Angles.sce | c174cfa511b966004ce482b50d98284b85f5c8b4 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 73,952 | sce | Flux Valorant Stralroom Angles.sce | Name=Flux Valorant Stralroom Angles
PlayerCharacters=Quaker Player Flux Stralroom Angles
BotCharacters=Quaker Bot Valorant Strafe.bot;Quaker Bot Valorant No Strafe.bot;Quaker Bot Valorant No Strafe.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker Player Flux Stralroom Angles
AddedBots=Quaker Bot Valorant Strafe... |
cf5b868e0fe652ba7ddb917b87d918f9269073bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH8/EX8.8/Ex8_8.sce | 61419596d2bc108e0d97071064974c2431885842 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | Ex8_8.sce | clc;
//page 432
//Given
T2=600;//lb, Tension from side 2
us=0.25;// Coeffiecient of static friction between pulley and belt
bta=(2*%pi)/3;//Co=efficient of kinetic friction between pulley and belt
r1=8//in in
//Pulley B
T1=T2/(exp(us*bta))//N, Tension from side 1
//disp(T1)
//Pulley A
//Aumming moment ab... |
13224ce340994ca18ff202d86a0b79da39f74905 | 717ddeb7e700373742c617a95e25a2376565112c | /3434/CH14/EX14.7/Ex14_7.sce | c3edd8ba7987cefd0586fa52a0845d62aac28ce7 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 654 | sce | Ex14_7.sce | clc
//given data
i=12/100.0 // interest rate
n=10 // time in years
time=100.0 // days geyser is used in year
effi=0.9 // efficiency of geyser
w=100.0 // weight of water in kg
C=4.2 // heat capacity in kJ/kg-degree C
theta=60-15 // temperature difference in C
cost=4 // cost of electricity per kWh
Elec=(1/... |
60cfd221c9f73c521079b6de8f8566cd47beebc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH21/EX21.12/21_12.sce | c68b19350fc771279502e22996cd115111ebbad1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 751 | sce | 21_12.sce | //Problem 21.12: A 10 kW shunt generator having an armature circuit resistance of 0.75 ohm and a field resistance of 125 ohms , generates a terminal voltage of 250 V at full load. Determine the efficiency of the generator at full load, assuming the iron, friction and windage losses amount to 600 W.
//initializing ... |
e3e9d424cd791fed023705c677479328449fec9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH9/EX9.11/Example9_11.sce | 31f34cbbb1f1a9315a02c8de0c73a6b60b083b00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,575 | sce | Example9_11.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 9 : SYMMETRICAL COMPONENTS AND FAULT ANALYSIS
// EXAMPLE : 9.11 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
kv = 230 ; // Line voltage in kV from E... |
14f28b88be708424f5f4a30fdfc868ce1253fd57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH6/EX6.8/Ex6_8.sce | bf9b2c90e825e585061559ab90db4a8ee215532d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Ex6_8.sce | clear;
clc;
//page no. 194
gam = 0.0765;// lb/cuft
V1 = 293;//fps
hp = 1500;
h = 10;//ft
V4 = 338;//fps
V = 0.5*(V1+V4);
Q = hp*550/((V4-V1)*V*gam/32.2);
d1 = sqrt(Q/(V1*0.25*%pi));
d4 = sqrt(Q/(V4*0.25*%pi));
F = Q*(gam/32.2)*(V4-V1);
eta = V1/V;
printf('V4 = %d fps,\n V = %.1f fps,\n d1 = %.1f f... |
64293f007d5f775085fd02647deae771149decaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH6/EX6.8/ch6_8.sce | d971edf8ae85ffe49a4740ddf785d5110ec74738 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch6_8.sce | clc
disp("Example 6.8")
printf("Given")
disp("R1= 10kohm R2=50kohm Ri=500kohm R0=0")
disp("Open loop gain (A)=10^5")
A=10^5;R1=10*10^3;R2=50*10^3;Ri=500*10^3;
//From figure 6.11
//Applying KCL equation at node B
disp("(v1+vd)/10+ (v2+vd)/50+ vd/500=0 (1)")
//Since R0=0
disp("v2=A*vd")
//Solving for ... |
5077a74947de824a6db2074e0bb5d1f6df319dd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.14/2_14.sci | adb89dbd5af76a5b89ab4f3afcd9db269fb1cebf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sci | 2_14.sci | // 2.14
clc;
mo=0.8;
sr=250;
sm=sr/mo;
R=sm*1*10^-3;
printf("Resolution of 1mm movement = %.4f degree/mm",R)
Rq=300/1000;
printf("\nRequired Resolution of 1mm movement = %.3f degree/mm",Rq)
disp('Since the resolution of potentiometer is higher than the resolution required so it is suitable for the application'... |
1edbaa3852ac30f265871076d3d119512817db3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.4.b/solution8_4.sce | 241d5a4e9f17346d33ea94b0eaca83cb4f08875d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | sce | solution8_4.sce |
//Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0) then
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution8_4.sce')
//Obtain path of data file
data... |
acec72583374730490910fd7f4508bf4f8390761 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH7/EX7.1/Example_7_1.sce | eec48bb7cee28ff33549cedb097a65f736da892d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Example_7_1.sce | //Scilab Code for Example 7.1 of Signals and systems by
//P.Ramakrishna Rao
clc;
clear;
a0=2;
a1=2;
a2=4;
x1=[1,3,5,7];
x2=[2,4,6,8];
for t=1:4
y1(1,t)=a0+a1*x1(t)+a2*(x1(t))^2;
y2(1,t)=a0+a1*x2(t)+a2*(x2(t))^2;
end
b1=2;
b2=3;
x=b1*x1+b2*x2;
disp('y(n) does not depend on past inputs');
disp('H... |
cf011e98aabc8fed22686595e099698df2e88e8f | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp2/resolLU.sci | a8bd4c53cfc0c45f6f7685debcf1718ecacc3b5a | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sci | resolLU.sci | function [x]=resolLU(A,b)
[L,U] = LU(A)
y = solinf(L,b)
x = solsup(U,y)
endfunction
|
19eb52d49a7082db8139e5c604770c8c93771958 | 6e8df5b4cc6a12833566b3b67b0160d1937be025 | /Multimorphic_testing_data_code/code/scilab/OpenCV/scripts/scilab/v2/script_eval_bin_influence.sci | ae750179167973655459358d84526ad36d484989 | [] | no_license | templep/TSE_MM_test | 2b2cc79b9e6d46a80bf692227f367438adeca3f3 | 4d3c08489c182b77418fc5d4e55377d5b68e8334 | refs/heads/master | 2020-03-22T22:01:12.897309 | 2019-06-13T07:50:42 | 2019-06-13T07:50:42 | 140,728,734 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,669 | sci | script_eval_bin_influence.sci | //a function to create histograms needed to compute dispersion scores
//it also computates associate dispersion scores to videos
//scores and histograms are stored in the given file
//inputs :
// - path : the path to the folder where data are
// - filename : the file name containing are (csv format with ';' separati... |
6183afe037db19afc6cdbc47dbe68c29473870cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.14/EX20_14.sce | f6fa526ca2ca385f85bfa847d76bbcdcffa2dcd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | EX20_14.sce | clc;funcprot(0);//EXAMPLE 20.14
// Initialisation of Variables
v=14;..........//Volume of air delivered in m^3
p1=1;........//Suction pressure in bar
p2=7;........//Delivery pressure in bar
N=310;........//Compressor rpm
n=1.35;........//Compression index
k=0.05;........//Clearance ratio
rld=1.5;.........//Rati... |
2ac6636c185bdd4a7e133d53363c17b50070f7c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH7/EX7.2/Ex7_2.sce | 1a917a6f9ea4ec888531852f112189383cbe3821 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Ex7_2.sce |
V1=200//voltage applied to non-inductive load
I1=20//current flowing through the load
R=V1/I1
V=230//applied voltage to series connection of R and L
I=I1
Z=V/I
Xl=sqrt(Z^2-R^2)
L=Xl/(2*%pi*50)
phi=atand(Xl/R)
mprintf("Inductance of the reactor=%f H, phase angle between applied voltage and the current is %f d... |
a1445d28bd0e86eb7aa2540718eaa2ca1e3b2b8e | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/austronesian/mao.tst | a09c7599d6241344234a28efa208e105ea97cc05 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | tst | mao.tst | mōhio V;ACT
mōhio V;PASS
tahi V;ACT
tahi V;PASS
patu V;PASS
patu V;ACT
hoe V;ACT
hoe V;PASS
āmine V;ACT
āmine V;PASS
oka V;PASS
oka V;ACT
paki V;PASS
paki V;ACT
wareware V;ACT
wareware V;PASS
puta V;ACT
puta V;PASS
kaukau V;PASS
kaukau V;ACT
tae V;ACT
tae V;PASS
tomo V;ACT
tomo V;PASS
hora V;PASS
hora V;ACT
waiata V;PA... |
5df289293f332810dee5c2ffb47a8ee3a69faf1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH5/EX5.13/Ex5_13.sce | 22579ec2c4b1f17b3c06a18f15907757830f0661 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 895 | sce | Ex5_13.sce | //Fluid Systems- By Shiv Kumar
//Chapter 5- Francis Turbine
//Example 5.13
//To Determine the Blade Angle at Entry and Exit.
clc
clear
//Given Data:-
R=0.6; //Degree
ui=15; //Peripheral velocity of Runner at entry, m/s
Vfo=3.2; //m/s
Vfi=Vfo;... |
3cbb192601b6ee76ae7626346d614f16dcc7ff3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.45/example1_45.sce | 838da45da1d3626e3f47951abf3fc277b09bb9bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example1_45.sce |
//exapple 1.45
clc; funcprot(0);
// Initialization of Variable
c=90-36-30/60-30/3600;//co latitude
p=90-16-12/60-18.4/3600;//co declination
z=90-30-12/60-30/3600;//co altitude
s=(p+z+c)/2;
pi=3.14159;
s1=s-c;
s2=s-p;
s3=s-z;
H=2*atan(sqrt(sin(s1*pi/180)*sin(s2*pi/180)/sin(s*pi/180)/sin(s3*pi/180)));
H=H... |
dd1ab72eda7095b95f74e458034cb280abf96b08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH7/EX7.9/Ex7_9.sce | 2f8b342e6f7740468b897a08b227b089f1e346cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,054 | sce | Ex7_9.sce | clear
//Given
dia = 15 //mm - The diameter of the rod
h = 0.5 //mt - The freely falling height
A = 3.14*(dia**2)/4 //sq.mm The area of the crossection
E = 200 //GPa -Youngs modulus
L = 750 //mm - The total length of the rod
G = 80 //gpa - Shear modulus
N = 10 ... |
a0a65a81a1fa7dfeb9f2c28b927c7c9aab6dabcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH31/EX31.4/Ex31_4.sce | 04d6ff4f5bb0982045a62d8641b0776e0d3ac42b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Ex31_4.sce |
//To Calculate the Charge on each Capacitor
//Example 31.4
clear;
clc;
C1=10*10^-6;//Capacitance of First Capacitor
C2=20*10^-6;//Capacitance of Second Capacitor
C=C1*C2/(C1+C2);//Equivalent capacitance of C1 and C2 in series
V=30;//Apllied Voltage
Q=C*V;//Formula for finding the charge on each... |
d0bfed5df77f2e01249015e541d4955b4dee5c3f | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Uralic/udm.tst | 0b49f3b62bb0238fcbd3d1b334dd07b2bdbc9e69 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 837,964 | tst | udm.tst | лобаны V;SG;1;PST;CAUS+INTR
кулыны V;PL;3;FUT;INTR
огъя ADJ;COMPV
утьыны V;SG;LGSPEC_MULT;3;NEG;PRS;CAUS+TR
чабыны V;SG;3;PST;TR
салон N;NOM;SG;PSS3S;LGSPEC1
жюри N;GEN;SG;LGSPEC1
кылзӥсь N;HUM;ACC;PL;PSS1S
зарезь N;IN+ESS;SG;PSS1S
детектив N;HUM;NOM;SG;PSS3S;LGSPEC1
мунё N;DAT;PL;PSS3S
вкладчик N;HUM;ABL;PL;LGSPEC1
ма... |
d2cdb08ef470d208ca586a622b56346b946e3ff9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH3/EX3.9.1/ex_3_9_1.sce | fec3a9144ea05561e24598436c2570024e662e17 | [] | 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 | 211 | sce | ex_3_9_1.sce | errcatch(-1,"stop");mode(2);//Example 3.9.1// multiplier
;
;
//given data :
Vin=20;//in volts
I_fsd=50*10^-6;//in Farad
Rm=200;// in ohm
Rs=(Vin/I_fsd)-Rm;
disp(Rs*10^-3,"the multiplier,Rs(k-ohm) = ")
exit();
|
9943be2f11b483396984c8a91410ac5c78dc8e4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH3/EX3.2/ex3_2.sce | e425e40f12fa0a966df677a0667995f31baeb01b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | ex3_2.sce | // Exa 3.2
clc;
clear;
close;
format('v',6)
// Given data
R_C = 5;// in k ohm
V_CC = 10;// in V
I_C = 1;// in mA
V_CE = V_CC - (I_C*R_C);// in V
disp("Part (i) When Collector load = 5 kohm");
disp("Operating point is : "+string(V_CE)+" V, "+string(I_C)+" mA")
disp("The quiescent point 5V and 1mA");
R_C = 6... |
1696a0e824c7f58dc29890fcec4318475bab2349 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH7/EX7.9/Ex7_9.sce | 0bc3d5da440d80325bb38bbb9089087111ba64c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex7_9.sce | //Example 7_9
clc();
clear;
//To find out the angle where it should be banked
v=25 //units in meters/sec
r=60 //units in meters
g=9.8 //units in meters/sec^2
tantheta=v^2/(r*g) //units in radians
theta=atan(tantheta)*180/%pi
printf("The angle where it should be banked is theta=%d degrees",round(thet... |
4765f1d96cd1435d4c03dc393ab1c99dc5a3db8f | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/cummulativeSum.sce | 2908e38a818d68541e72d53ed7cf6c3e13367465 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | cummulativeSum.sce | // Function Name: cummulativeSum
// Returns a matrix containing the cumulative sum of elements in each column (dim=0), or each row (dim=1) of input matrix
// Calculating the cummulativeSum.
//dim = 1
inputMat = [-1.2, 1, 1.9; -4, 2.6, 5; -2.3, 8, -7];
result = armaMatFunc("cummulativeSum",inputMat,1)
//dim = ... |
53545290f4130ea01f13f1950a15dffbdf2238b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.18/example2_18.sce | 5f6edc4804dc05b015e17eea506cd06adf3acd12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | example2_18.sce | clc
// Given that
lambda = 5.89e-7 // wavelength of light in meter
d = 1 // distance of screen from slit in meter
b = 1e-4 // slit-width in meter
// Sample Problem 18 on page no. 2.44
printf("\n # PROBLEM 18 # \n")
theta = (asin(lambda / b)) * (180 / %pi) // calculation for angular spread
x = (2 * d * lambda) / b// ca... |
9bae18cd53ecf38e9d9378a70234f1eeee80b464 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.7.1/Ch04Exa4_7_1.sci | 13dca071a91873fde9d5f224001554dad02c9237 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch04Exa4_7_1.sci | // Scilab code Exa4.7.1: To calculate the energy and power released during fission of U-235 : Page 189 (2011)
m = 0.001; // Mass of U-235 lost during fission, Kg
c = 3e+08; // Velocity of light, m/s
E = m*c^2; // Energy released during fission, J
E_t = E/(4e+09*1000); // Energy requires TNT, Kt
printf("\n Energy... |
dcacdb0be0b8b9510190f111a49c55e10f813f45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.7/Ex2_7.sce | aee5ea67452d1102e746248a5e00b771d29b3300 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex2_7.sce | //problem 7 pagenumber 2.91
//given
format(6);
r1=1e3;//ohm
r2=100e3;//ohm
rf1=90e3;//ohm
//determine cmrr
ac=(r2-rf1)/(r1+r2);
ad=(rf1+((((rf1+r1)/r1)*r2)/(r1+r2)))/r1;format(12);
disp( 'CMRR = '+string(ad/(ac)));//no unit
|
9cd830638fdf3a7f88d5c47c6955a11aa55d8b39 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_n_usi/~BivLCM-SR-bfi_n_usi-PLin-VLin.tst | f3186bfe27c91caf068e7ea7d6da7374565cde1a | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_n_usi-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.482229D+00
... |
6e6fd39ecbe120de07316d22a712cc6421729f1d | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpkbpc2bpc/test_8.sce | 5654b8ecf9277d197ebfcdd871aa4b9ce30b58d1 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | test_8.sce | // Test #8 : When output arguments are less than 5
exec('./zpkbpc2bpc.sci',-1);
[z,p,k]=zpkbpc2bpc(4,2.2,1,[0.5,0.6],[-0.8,0.34]);
disp(k);
disp(p);
disp(z);
//
//Scilab Output
//k= 1.4967554 + 0.3078635i
//p= -0.7456261 + 0.5534776i
//z= -0.8709140 + 0.6869281i
//
//Matlab Output
//z=-0.8709 + 0.6869i
//... |
04e27197e0d82ec0a996c025211d3a7af414440f | 132b4ac959b21691290ffeefbc31eefe24500a25 | /a8/a8/test5.tst | 6f32a357609d1ffaa63f54c2a4cfa5f0e6c7bd48 | [] | no_license | HanlonsStraightRazor/cs310 | df790b8c10b1ebb942313b4a620fd3ce655a075b | 0a053116659eb65ffacb9bf410774e31b17e8fbd | refs/heads/master | 2023-03-12T22:35:35.357502 | 2021-03-02T20:47:48 | 2021-03-02T20:47:48 | 343,901,992 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,891 | tst | test5.tst | load Larc.hdl,
// function call NOT
set RAM4K[0] %X8AFA, // li R10 -6 1.
set RAM4K[1] %X9D08, // lui R13 2048(dec) 2.
set RAM4K[2] %X0000, // nop 3.
set RAM4K[3] %X0000, // nop 4.
set RAM4K[4] %X0000, // nop ... |
b29494734a5c76e35e0ea85ba060f5191aa5d77d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH7/EX7.5/Exa7_5.sce | 8ba3926e3b79d723f9623da1d0d6249609b27b5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Exa7_5.sce | // Exa 7.5
clc;
clear;
close;
// given data
VSat=13;//in Volt
Vut=2;//in Volt
Vlt=-1;//in Volt
// Assume R1=10 Kohm
R1=10;//in Kohm
R2=((VSat/Vut)-1)*R1;//in Kohm
R3=((-VSat/Vlt)-1)*R1;//in Kohm
disp(R1,"Value of R1 in Kohm is :");
disp(R2,"Value of R2 in Kohm is :");
disp(R3,"Value of R1 in Kohm is :");... |
2a5d93bed6454bf9e6a50796ec9dd21696a2773a | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP3/cald.sci | 85cc301ffa46f563fc26bd92deca41df23f1a31e | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sci | cald.sci | function [d] = cald(T, y)
n = length(T);
h = T(2:n) - T(1:n-1);
c = 1 ./ h(1:n-1);
a = [0; c];
b = 2 * ([0 ; c] + [c ; 0]);
dy = y(2:n) - y(1:n-1);
u1 = dy(1:n-1) .* (c .* c)
u = 3 * ([0; u1] + [u1; 0]);
d = rich (a, b, c, u);
endfunction
|
57c4a56ab4a0ced6ef22ae0d8ff7918d3b28095b | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH2/EX2.9/9.sce | 797a089cfc9531def08de1655ac1985280248d22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 9.sce | clc
N=60; //rpm
r2=0.25; //m
g=9.8; //m/s^2
w=2*%pi*N/60;
dz_12=(w*r2)^2/2/g; // dz_12=z2-z1
c=w*r2^2;
dz_23=c^2/2/g/r2^2;// dz_23=z3-z2
dz_13=dz_23+dz_12;
disp("Total depression =")
disp(dz_13)
disp("m") |
30ec3044039c5ef34af6f0a1978cb23d44625736 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH7/EX7.6/Ch07Ex6.sce | d515921a7fa34dd52263b61300823e7fd806da24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,341 | sce | Ch07Ex6.sce | // Scilab code Ex7.6: Pg 244 (2005)
clc; clear;
Z_T = 88; // Atomic number of daughter nucleus
E_T = 4.05e+06; // Energy of ejected alphas, eV
R = 9.00e-15; // Nuclear radius, m
r_o = 7.25e-15; // Bohr radius, m
E_o = 0.0993e+06; // Energy analogous to the Rydberg in Atomic Physics
T_T = ex... |
5bc0da290d4bafdf161021292a4266d5afd6b10d | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH2/EX2.2/example_2_2.sce | c8680e6b903acfa26a512d4c622176069e795b53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 837 | sce | example_2_2.sce | //Chapter 2
//Example 2.2
//page 57
//To find reactance of the conductor
clear;clc;
f=50; //frequency
D=5.04; //diameter of the entire ACSR
d=1.68; //diameter of each conductor
Dsteel=D-2*d; //diameter of steel strand
//As shown in fig
D12=d;
D13=(sqrt(3)*d);
D14=2*d;
D15=D13;
D16=D12;
//neglecting the central sttel co... |
45a7ca521fc31f2bea5cc23c9431c5e80ae45935 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH1/EX1.1/1_1.sce | 189a15c7ec36700f0b79ed26317315948916e581 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | 1_1.sce | Z=2;
E2=-(13.6)*(Z^2)/4;
b=(-E2);
printf('\n The Kinetic energy of the electron is %f',b);
m0=(9.1)*(10^-31)*(1.6)*(10^-19);
p=sqrt(2*b*m0);
h=(6.6);
disp("λ=(h)/(p)");
c=h/p; //say c=λ
d=c*(10^-25);
printf('\n The value of de-Broglie wavelength is %fnm',d); |
467de6e46d79b80a6d1c14dd61e5e8362675c4db | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH4/EX4.7/Ex4_7.sce | 2e42445ce6323c2d192b8cb70500ad79872eddf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex4_7.sce | //Caption:Calculate breadth of rectangular waveguide
//Exa:4.7
clc;
clear;
close;
f=9*10^9;//in Hz
c=3*10^10;//in cm/s
wl_g=4;//in m
wl_o=c/f;
wl_c=[sqrt(1-((wl_o/wl_g)^2))/wl_o]^-1;
b=wl_c/4;
disp(b,'Breadth of rectangular waveguide (in cm) ='); |
7a245b345daf1c3540f1adf24ae91b2cf3b5db9b | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/GetFreqAtStageAndNote.sci | 177a4e671f4198e840c69b80e94cc5734c3f1078 | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sci | GetFreqAtStageAndNote.sci | function frequency = GetFreqAtStageAndNote(stage, note)
//function frequency = GetFreqAtStageAndNote(stage, note)
//returns the frequency of a note at the given stage and note
//stage corresponds to the four stages (0, 1, 2, 3)
//stage 0 is the lowest frequency, 3 is the highest
//note is an index for th... |
2b76ba87bccdf2ebf2bc2b5981078212c2cee91a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH4/EX4.21/ex4_21.sce | 9716cf6d592ae993b4ee58760fc1aeca6727d2a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,024 | sce | ex4_21.sce | //Chapter-4, Example 4.21, Page 147
//=============================================================================
clc
clear
function [polar] = r2p(x,y)//function to convert rectangular to polar
polar = ones(1,2)
polar(1) = sqrt ((x ^2) +(y^2))
polar(2) = atan (y/x)
polar(2) =(polar (2)*180)/%pi
endfunc... |
699156204d30496b187c22168d7899cd16caa393 | 449d555969bfd7befe906877abab098c6e63a0e8 | /296/CH7/EX7.4/eg7_4.sce | ed9a96dca99ddeb0c1ab252b6c615fede76b1f17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 936 | sce | eg7_4.sce | A=10^-4;
q = 1.6*10^-19;
kT = 0.0259;
Wb = 10^-4;
ni = 1.5*10^10;
Na = 10^17;
Tn = 10^-7;
upe=200;
une=700;
Nd = 10^15;
Tp=10^-5;
unb=1300;
upb=450;
Veb = 0.3;
Vcb = -40;
pn = ni^2/Nd;
Dp = upb*kT;
Lp = sqrt(Dp*Tp);
Ies = q*A*Dp*pn/Lp*(csch(Wb/Lp)+tanh(Wb/Lp));
dpe = pn*exp(Veb/kT);
Ib = q*A*Dp*dpe/... |
642449b3b67ed6640a357d2c13cfcad6e7d0323f | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/polinomios.sce | 1451498f35c47a3edc729cfd8d645c877ccddcc9 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | polinomios.sce | mode(7);
// Polinomios
// um polinomio definido pelas raizes
p=poly([1 2],'s')
// um polinomio definido pelos coeficientes
q=poly([1 2],'s','c')
// soma de polinomios
p+q
// multiplicacao de polinomios
p*q
// divisao de polinomios
q/p
// polinomio definido pela equacao caracteristica de uma matriz
poly([1 ... |
56e56c81ceaccf9b7dd0fba77acc2befa02cf3f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.27/example7_27.sce | 51e0c083742749194ec518b8876f7c825f2c2548 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | example7_27.sce | // Find Id,Vds,Vgs,Av
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-27 in page 331
clear; clc; close;
// Given data
Idss=3; // Drain-source current in mA
Vp=-2.4; // Pinch off voltage in volts
// Calculation
printf("Id^2-6.73*Id+5.76=0\... |
03282b2d332da3807f2fe9fe9d4a0d48815cb173 | 1897ae5489b64fae9aa083d62f51254cfe52d26f | /III semester/numerical-algorithms/labovi/LV6/vjezba6.sce | fd852c7b556f9b35de349b4fff9242fb0722725e | [
"Unlicense",
"LicenseRef-scancode-proprietary-license"
] | permissive | MasovicHaris/etf-alles | f1bfe40cab2de06a26ceb46bdb5c47de2e6db73e | 0ab1ad83d00fafc69b38266edd875bce08c1fc9e | refs/heads/main | 2022-01-01T18:22:54.072030 | 2021-12-22T09:05:05 | 2021-12-22T09:05:05 | 138,169,714 | 9 | 15 | Unlicense | 2020-03-29T23:36:50 | 2018-06-21T12:50:51 | C++ | UTF-8 | Scilab | false | false | 1,793 | sce | vjezba6.sce | clc
mode(1)
pause
//Zadatak 1
//a)
//Plotanje i definisanje funkcija
deff('res=funct_1(x)','res=cos(x)-x');
x0 = 0;
x = linspace(-2,2,51);
y=cos(x);
plot(x,y,'r-');
plot(x,x,'b-');
pause
//Poziv fsolve
xsol =fsolve(x0,funct_1)
pause
//b)
//Plotanje i definisanje funkcija
deff('res=funct_2(x)',['res(1)=x(2)-(x(1).^2+1)... |
5d140f3bbaab09c779fc775c8b1bf02595b53d87 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/fullrf.man.tst | cabf2284ef76d5e49b9006f2824c0c74098fe662 | [
"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 | 157 | tst | fullrf.man.tst | clear;lines(0);
A=rand(5,2)*rand(2,5);
[Q,M]=fullrf(A);
norm(Q*M-A,1)
[X,d]=rowcomp(A);Y=X';
svd([A,Y(:,1:d),Q]) //span(Q) = span(A) = span(Y(:,1:2))
|
93d7d543b52f9df95bda97854077de345256e473 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH7/EX7.18/Ex7_18.sce | 708fd5d8ae3b22996e6bad5b902ec56a676a572b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 759 | sce | Ex7_18.sce | //===========================================================================
//chapter 7 example 18
clc;clear all;
//variable declaration
VL =400; //voltage in V
IL = 10; //current in A
//r = W1/W2
//tan(phi) = sqrt(3)*((W1-W2)/(W1+W2))
//tan(phi) = sqrt(3)*((1-(W2/W1))/(1+(W2/W1)))
//tan(phi) = sq... |
e2c625c5f5012fce90df567d98d15bf467a27af5 | be07c1e346737e6e38bb958d9a66f52f6da2180a | /Regression/FLOAT/FLOAT_W.tst | 079387907a08d85a3529f5afef95f9a97ca40ad0 | [] | no_license | dpreisser/Training | 1bc8840d646306d861f4c7610a28bb23667f06e5 | 97eb58c7963e4725d6a2ad9e8200ca9367c84061 | refs/heads/master | 2021-01-10T13:03:12.508795 | 2016-04-11T12:49:06 | 2016-04-11T12:49:06 | 54,963,561 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,514 | tst | FLOAT_W.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : FLOAT_W
-- Unit(s) Under Test: float_example
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIP... |
7bb749cd755c9ee168d2735680fb389b1a7a778a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH16/EX16.6/Ex16_06.sce | 9c8e437c110c6a11a63b893e2e123a515b8d23fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | Ex16_06.sce | // Scilab Code Ex16.6: Page-598(2014)
clc; clear;
c = 1; // Assume speed of light to be unity
clf();
v = [0:0.01:0.92]';
bita = v/c; // Recession velocity ratio
for i = 1:1:93
red_shift(i) = sqrt((1+bita(i))/(1-bita(i)))-1;
end
plot(bita, red_shift);
title('The relation between Redshift and... |
a98e4a29fa7066d18c0166aa31559fb7eb7ee90f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.24/Ch03Ex24.sci | 77b03a026c91fe7128180cf9327e225f26c9ee6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sci | Ch03Ex24.sci | // Scilab code: Ex3.24 : Unertainity in the position of an electron:Pg: 94 (2008)
m = 9.1e-31; // Mass of an electron, kg
v = 300; // Speed of electron, m/s
h_bar = 6.6e-034; // Reduced Plancks constant, joule second
p = m*v; // Momentum of electron, kgm/s
del_p = 1e-04*p; // Minimum uncertainity in... |
7a0a471cd18612139a33b2f555d6a937930aee3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH12/EX12.10/Ex12_10.sce | b445bd4efd1a838befd9009fb1a20be5282a2899 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,741 | sce | Ex12_10.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 12- Reciprocating Pumps
//Example 12.10
//To Find the Power required to overcome the friction of Delivery pipe when (a)No air vessel is fitted on it , (b)A large air vessel is fitted at the centre line of the pump.
clc
clear
//Given Data:-
... |
053d8ec1379e35a80098bc5cb21c9bf987b022f9 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Circle Strafes Fast.sce | e337edb9bef5e2da85ceba93ba3c5d9a31bea55c | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 145,155 | sce | Circle Strafes Fast.sce | Name=Circle Strafes Fast
PlayerCharacters=Quaker
BotCharacters=Cycle Strafes.rot
IsChallenge=true
Timelimit=100.0
PlayerProfile=Quaker
AddedBots=Cycle Strafes.rot
PlayerMaxLives=0
BotMaxLives=6
PlayerTeam=2
BotTeams=1
MapName=circleplats.map
MapScale=3.0
BlockProjectilePredictors=true
BlockCheats=true
In... |
f6026b1c9a39075d18137dec0f1f75cd9b6d7733 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH10/EX10.4/ex_4.sce | d996d3a5809819f201da2ef7e87dadba8eaa65a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | ex_4.sce | //Example 4 // Young's modulus
clc;
clear;
close;
//given data :
l=3;// in m
n=600;// in Hz
p=8.3*10^3;// in kg/m^3
Y=p*n^2*(2*l)^2;
disp(Y,"Youngs modulus,Y(N/m^2) = ")
|
2300a0199ee8e4ab285abdfac57a18a4077b752c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH1/EX0.5/EXI_5.sce | a284e4bf9adc3a312f0838dd101591ccf384cfb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | EXI_5.sce | // Grob's Basic Electronics 11e
// Chapter No. I
// Example No. I_5
clc; clear;
// Express the resistance of 1,000,000-Ohms using the appropriate metric prefix from Table I–2.
disp ('First, express 1,000,000-Ohms in engineering notation: 1,000,000-Ohms = 1.0*10^6-Ohms')
disp ('Next, replace 10^6 with its corre... |
cd2e355911c617d29b0e6e4270187c88b67c581b | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /easy/tests/undeclaredIdentifier.tst | 7257a5351da7f5cc9b87e6c716c2e558ecb3f198 | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37 | tst | undeclaredIdentifier.tst | main begin
x = 1;
return x;
end
|
ab0469fab70b22976262cac4a34f7f5254b21209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.27/example_3_27.sce | 00e69b14d776ae2ebc2bf0e341a92c90ebe85d46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | example_3_27.sce | clear;
clc;
disp("--------------Example 3.27---------------")
ratio=10; // power of signal after amplification/initial power of signal = p2/p1
amp=10*log10(ratio); // formula to calculate amplification or gain of power
printf("The amplification is %d dB.",amp); // display result
|
cac610ebe52fc452db8b52bb0d9a614944e88247 | ee448e163bbdfa978366ef29a12478fef0cfeee3 | /taylor.sce | b593aff37fea1b5b68b98912c0f8775fd4a4a3f0 | [] | no_license | jerryleandro/ComputacaoNumerica | f3d14bd31e08424fa16dddf21e904e8ee012cd80 | 3e9da09f585c5ded586355b0974e63f3853014da | refs/heads/master | 2021-07-23T22:46:44.703735 | 2020-09-25T02:13:32 | 2020-09-25T02:13:32 | 217,126,491 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | taylor.sce | function t = taylor(x0 , x , n)
t = exp(x0)
for i = 2: n
t = t+exp(x0)*(x - x0)^(i-1)/factorial(i-1)
end
endfunction
t = taylor(-4.63,3.94,17)
|
3cfa0f2ca4d7b0c733c0f8c3f390dba995034de1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH7/EX7.11/Ex7_11.sce | b8063e6205be75322314822b7b61b5f224af422c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | sce | Ex7_11.sce | clc
//variable initialization
V=380 //line voltage in volts
P=8 //number of poles
f=50 //frequency in Hz
n=1.25
N1=600 //speed in rpm
N2=400 //speed in rpm
//solution
Ns=(120*f/P)
s=(Ns-N1)/Ns
Vd1=(3*sqrt(6)*s*(V/sqrt(3)))/(%pi*n)
m=(3*sqrt(6)*(V/sqrt(3)))/(%pi*Vd1)
a=acosd(-(s*(n/m)))
s1=(Ns-N2)/Ns
s... |
66ffe8fe8a2a0d05a8b39a28cda1577ad639d54b | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /halfsum.sci | 38fa6bc4e322d494de69acaba25d30f31161d75c | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sci | halfsum.sci | function [summ]=halfsum(m,n)
//A=[1,5,9;2,6,10;3,7,11;4,8,12]
A = ceil(rand(m,n)*10)
disp(A)
s = size(A)
m = s(1)
n = s(2)
sumk = 0
if(m >=n)
for (i=0:(m-1))
for(j=i:(n-1))
//disp(A($-i,j+1))
sumk= sumk + (A($-i,j+1))
e... |
e1214577182c0f9f9e2c2af9e8f47d5b1d5da925 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH7/EX7.3/Example7_3.sce | b8f750315d577ba126a27b19a599e56ce722a9f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | Example7_3.sce | clear ;
clc;
// Example 7.3
printf('Example 7.3\n\n');
// Page no. 171
// Solution Fig. E7.3
printf("Drawing as in fig E7.3 is not possible with scilab.") |
cfd2247a82c48e93fecb19b1d9a3c72a493b5bc6 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/stidp.tst | 68ac1f15d4434c5a777a5aaa0efabb42995acd98 | [
"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 | 21,379 | tst | stidp.tst | #----------------------------------------------------------------------
# STIDP -- Store CPU ID
#----------------------------------------------------------------------
# Fixed test values
cpuverid AA
cpumodel 4444
cpuserial 666666
#--------------------------------------------------------... |
e81772e3588033fa03ae8e82e38affda5a81fab2 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/uencode/uencode1.sce | ca2bf6e6c2b7ef3a84d3d0a77ad2dc5da980cbfe | [] | 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 | 186 | sce | uencode1.sce | u=-1:0.1:1;
y=uencode(u,3);
disp(y);
//output
// column 1 to 19
//
// 0 0 0 1 1 2 2 2 3 3 4 4 4 5 5 6 6 6 7
//
// column 20 to 21
//
// 7 7
|
e3c56ece4385ed83f00745500c63e8021359b3ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.16/Ch017Ex16.sce | cedd366033283db2c8dfac66df452e5e255b50c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch017Ex16.sce | // Scilab code Ex17.16 : Pg:897 (2011)
clc;clear;
V = 1000; // Operating voltage of the GM counter, volt
a = 1e-04' // Radius of GM counter wire, m
b = 2e-02; // Radius of cathode, m
E = V/(2.3026*a*log10(b/a)); // Maximum radial field at the surface of central wire of GM tube, V/m
tau = 1e+09; // ... |
8bce279156611155b037d8225ba77a81bf2e6b7a | 19e7b2a92e135cbdbd427cbb0b422f1706b80d35 | /tests/skey370.tst | b4beb9832b590fae44799dbf74dbebcdcc0fea57 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | friedkiwi/hyperion | 08106d9235c67480b609452903d7f253f7baeb5f | d0ccfbc9a74dd0a77a75ac224025fc68f6a6617f | refs/heads/master | 2023-03-16T08:26:25.222250 | 2022-01-06T23:54:32 | 2022-01-06T23:54:32 | 142,925,136 | 0 | 1 | NOASSERTION | 2021-09-12T21:15:38 | 2018-07-30T20:31:06 | C | UTF-8 | Scilab | false | false | 193 | tst | skey370.tst | *Testcase Storage Keys: pure System/370 only
mainsize 3
numcpu 1
sysclear
archlvl 370
loadcore "$(testpath)/skey370.core"
f- 5000
f- 5800
runtest 0.2
*Done
|
68ea98ae59d02e02c04844e101baa82b37002132 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /nsp/scripts/price-portfolio.sce | cb11e123916d3e9b38dd55519ea2be7d6baa7790 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | price-portfolio.sce | HOME=getenv("HOME") + "/";
PREMIADIR=HOME + "devel/premia/trunk-dev";
exec(PREMIADIR + '/nsp/libpremia/loader.sce');
premia_init()
pb_list = PBLIST;
t=cputime();
Lpb=pb_list;
for pb=Lpb'
printf("job %s\n",pb)
load(pb);
P.compute[];
end
t=t - cputime();
printf ("cpu : %f\n", t);
|
8e766d5d2902f0b3a512212bc7888c6be4b5fee0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH11/EX11.2/Ex11_2.sce | f2db7249d742131fdabd7579a8f05ebdde0dbdf2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,351 | sce | Ex11_2.sce | clc;
N=10000; // Speed of gas turbine in rpm
T01=700+273.15; // Total head temperature at nozzle entry in kelvin
P01=4.5; //Total head pressure at nozzle entry in bar
P02=2.6; // Outlet pressure from nozzle in bar
p3=1.5;// Pressure at trbine outlet annulus in bar
M=0.5; // Mach number at outlet
alpha_2=70; // o... |
abba5e099fa4e936e585e4d3f394be118036e9e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH21/EX21.4/Ex21_4.sce | 0208268bfd41f5bc24382e95e0123af5f8855a39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ex21_4.sce | //example-21.4
//page no-632
//given
//refer to fig-21.6
//width of loop
//W=(OA+OB)
//so
W=80*2 //A/m
//height of loop
//H=(OC+OD) //wb/m^2
//so
H=0.15*2 //Wb/m^2
//area of loop
A=W*H //T A/m or J
printf ("the energy loss per ubitvolume of the magnetic material during one cycle is %f J",A)
|
81d74df07939418b0f9e57801640823ee58d26b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.45/example45.sce | 300ba2265e381b2270ff5107900624f94c04c2f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | example45.sce | //Chapter-11 example 45
//=============================================================================
clc;
clear;
//Given data
Pt = 100*10^3; // Peak tx. power
PRF = 1000; // pulse repetitive freq. in Hz
PW = 1.2*10^-6; // Pulse Width in sec
//Calculations
DC ... |
844df7840031c45a3a9967e44d743ae68a3fe98e | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH3/EX3.8/3_08.sce | 3bb6c8c42bde62de39014e4ae8ecc991b014439d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | 3_08.sce | //Example No. 3_08
//-ve Integer to binary
//Pg No. 50
clear ; close ; clc ;
negint = -13
posbin = dec2bin(abs(negint))
posbin = strcat(['0',posbin])
compl_1 = strsubst(posbin,'0','d')
compl_1 = strsubst(compl_1,'1','0')
compl_1 = strsubst(compl_1,'d','1')
compl_2 = dec2bin(bin2dec(compl_1) + 1)
disp(com... |
6662e7789b6d17a2041cde19bb2f6b050062b1f7 | c83170941847182ab67f9004c167e708f90e9132 | /FOSSEE-Computer-Vision-master/macros/findChessboardCorners.sci | 6b1d1189f469f8ccff6207f507910abf40a9b8ca | [] | no_license | kevgeo/FOSSEE-CV | eb7f7f5490848c045c6638771a0ae27b2d3c6f44 | d155a57114e87ac8c88061fa7bb1005a4ba298ed | refs/heads/master | 2021-01-09T05:40:42.637501 | 2017-02-03T07:58:18 | 2017-02-03T07:58:18 | 80,808,860 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sci | findChessboardCorners.sci | function [found, coordinates] = findChessboardCorners(image1,pts_row,pts_col,flags)
img1 = mattolist(image1);
[found coordinates] = opencv_findChessboardCorners(img1,pts_row,pts_col,flags);
endfunction
|
ec69ea3760c22a70857401bf20bdb54a1a06a9e1 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-5/result6s0.tst | ddb338ddfbd736ba4ed09e597bdb58e8bfb6a8c1 | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | tst | result6s0.tst | @relation yeast-5
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, E... |
692706a165909111e2fcd8119f7178392464a16f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.35/Exa2_35.sce | a569b8a1a41daf83472eba620890ef76d036c299 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | Exa2_35.sce | //Exa2.35
clc;
clear;
close;
//given data
Hc=7900;//in A/m
d=1;//in mm
r=d/2;//in mm
r=r*10^-3;//in m
Ic=2*%pi*r*Hc;
disp("Critical current is : "+string(Ic)+" A"); |
2aba093210f0793ca6b1a9a695988dc10f4410da | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH4/EX4.15/Ex4_15.sce | 9891166498dcf05cfa0474c681d71265b75e1201 | [] | 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 | 143 | sce | Ex4_15.sce | errcatch(-1,"stop");mode(2);//Ex:4.15
;
;
N_s=120;
V_p=220;
N_p=2000;
V_s=N_s*V_p/N_p;
printf("Secondry voltage = %f V",V_s);
exit();
|
44fa05ab5074e7b59a74496dd398368330a09b85 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fminsearch/MinOilCost.sce | 8ba1c9480b9b45870c72b0f82783a28126b7941b | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,384 | sce | MinOilCost.sce | //Reference: Edgar, Himmelblau and Lasdon,"Optimization of Chemical Processes",2nd Ed,McGraw-Hill Chemical Engineering Series,chapter 6
//The cost of refined oil when shipped via the Malacca Straits to Japan in dollars per kiloliter was given as the linear sum of the crude oil cost, the insurance, customs, freight cos... |
bebbf840dec4ee847afba90d33e9f399d2291723 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.80/EX2_80.sce | 20229c9b883451211687f9d1614edb4336a00ffd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | EX2_80.sce | //EXAMPLE 2-80 PG NO-115-16
I=12+%i*0;
X2=13.33;
R=10+%i*13.33;
V=I*R;
disp('i) VOLTAGE (V) is in polar form = '+string (V) +' V ')
V1=30-%i*27.67;
Z1=10.6165+%i*1.5;
R1=V1/Z1;
disp('i) RESISTANCE (R1) is in polar form = '+string (R1) +' ohm ')
|
52a38f3adb8ea681f56dbc0226a7ff44354cd174 | 5bd81bf02557a266648c04d0926bfd5f97f6f77f | /examples.sce | 23ba8f45d6648151cab72a29a14428e4ffe8b8c8 | [] | no_license | bernardorusso/IC-proj | a025644007bb47c5fcc5e9925f0ac67d6cb7d9c1 | c53856216e1e1951eb78c921db5bb78ece7d52b3 | refs/heads/master | 2021-01-01T17:37:10.068765 | 2015-09-17T13:13:23 | 2015-09-17T13:13:23 | 35,575,367 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | examples.sce | // Distortion Matrix Examples
Q1 = [0. 0. 1.1111 1.0784; 0. -1.5464 -1.7172 -0.1961];
Q2 = [0. 0.3191 1.3542 0.9804; 0. -2.1489 -2.2083 -0.098];
Q3 = [0. -0.5 0.9375 0.7692; 0. -2. -1. 0.1538];
[A1,Q1] = dist_mat(Q1,0.5);
[A2,Q2] = dist_mat(Q2,0.7);
[A3,Q3] = dist_mat(Q3,1.2);
|
85cc8c0912d4365d878eee411c795c996e359852 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/gnrcprc.tst | 870167ff3224f838319252436d1f435d1aab0375 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | tst | gnrcprc.tst | (unwatch all)
(clear)
(load "gnrcprc.clp")
(dribble-on "gnrcprc.out")
(testit)
(dribble-off)
(clear)
(open "gnrcprc.rsl" gnrcprc "w")
(load "compline.clp")
(printout gnrcprc "gnrcprc.clp differences are as follows:" crlf)
(compare-files gnrcprc.exp gnrcprc.out gnrcprc)
(close gnrcprc)
|
659e38be0eb9d93df2bb69bf9e5780c159f568fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH7/EX7.2/exa7_3.sce | 3860f4df1f301ac0ab896398eb3e289fff674ff9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | exa7_3.sce | // Example 7.3
// Power Transfer from an Oscillator
V_rms=1.2;
Z_s=complex(6,8)*10^3;
Z=conj(Z_s); // Matched Load Impedance
P_max=V_rms^2/(4*real(Z));// Maximum availble power
// If load has a fixed ratio X/R= -7/24 then,
c=poly(0,'c');
Z_1= complex(24,-7)*c;// New value of
// Since |Z_1|=|Z_s|
q=abs(Z_1)-a... |
c9882f983675286f38406c557a4c37374feb328d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH12/EX12.6.1/12_6_1.sce | 747fe8223ab87454d63b3282cef34e592f539f2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | 12_6_1.sce | clc
//initialisation of variables
r= 3.5
T= 186 //F
T1= 60 //F
//RESULTS
R= (((T+460)/(T1+460))^r-1)*100
//RESULTS
printf ('percentage rise = %.1f per cent',R)
|
57dae506244a370f6c8be9883bfdf815dcb26a71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH2/EX2.6/Chapter2_example6.sce | 4a83c72f664080a317c3d68137d319b179a13585 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Chapter2_example6.sce | clc
clear
//Input data
Y=(7.25*10^10)//Youngs modulus of silver in N/m^2
K=(11*10^10)//Bulk modulus of silver in N/m^2
//Calculations
s=(3*K-Y)/(6*K)//Poissons ratio
//Output
printf('Poissons ratio for silver is %3.2f',s)
|
8e50c2690171999e5697a658d7ed8a421d161f21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.2.6/Example1_21.sce | 81624a89c5f4eb97f07dda79e8a890cf7e0c5ab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | Example1_21.sce | //Chapter-1,Example1_2_6,pg 1-15
n=8
wavelength=5890*10^-8 //wavelength of light
u=1.46 //refractive index of oil
i=30 //angle of incidence
r=asind(sind(i)/u) //by Snell's law
... |
f6bdf84b3c618fdba8aaedd2d5483c0c4afd4bd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.63/Ex6_63.sce | a3ae926c95631652b4bd00f6dc77064f5380721f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | Ex6_63.sce | clc;
fs=0.02; // full load slip
ir=2; // ratio of starting current to full load current
n=5; // number of section
R=0.03; // rotor resistance
//ir*ifl=(E2/R)*sm where ifl is full load current and E2 is induced voltage in rotor therefore
sm=fs*ir; // maximum slip
al=sm^(1/n);
R1=R/sm; // resistance of whole sec... |
9b6574b6a9f7e2154b4329d9c22f425f77efbc55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH2/EX2.4.b/2_4b.sce | a36fe270579c5eb86030ea91e60aa0accf535a18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 2_4b.sce | clc
clear
//Initialization of variables
basis= 1 //kmol ammonia
P=10^6 //pa
a=4.19
b=0.0373
R=8314.3
Tc=405.5
Pc=11.28*10^6
//calculations
disp("part b")
an=27*R^2*Tc^2 /(64*Pc)
bn=R*Tc/(8*Pc)
V=3
//results
printf("Since an and bn are same as a and b, V is the same = %d m^3/kmol",V)
|
8f42950a43e374fef72c25221035609dec0dda29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH2/EX2.9/2_9.sce | c779315a771a74554945026838a7dc9692fdd2ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | 2_9.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 2.9
//evaluation of a integral
//given data
//function of x=(2*x^2)+(3*x)+5)
//limit=3 to 6
//calculation
y=integrate('((2*x^2)+(3*x)+5)','x',3,6)
disp(y,'value of the given integral is')
|
8057dd2994e93eef9ee864fd7ccfcf9ddaab6f93 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oi_hrz_ind_d/~BivLCM-SR-bfas_oi_hrz_ind_d-PLin-VLin.tst | ead6620ff24ab40599893c72594329b3f6b909c7 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_oi_hrz_ind_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.265035D+00
... |
ced2364eac90988b5dbadc376b3ce5db796eaaed | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.4_15.tst | d7188eb7c1cd35039758200afd705b5534ba09dd | [] | 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 | 5,076 | tst | bow.4_15.tst | 4 1:0.1 16:0.012195121951219513 139:0.25 142:1.0 143:1.0 146:1.0 168:1.0
4 16:0.012195121951219513 27:2.0 28:1.0 33:0.05555555555555555 41:0.5 77:1.0 104:1.0 112:0.25 162:1.0 589:1.0
4 1:0.1 6:0.25 15:0.25 16:0.012195121951219513 18:1.0 19:0.5 30:1.0 33:0.05555555555555555 48:1.0 139:0.25 379:1.0 586:1.0
4 1:0.1 18:1.0... |
3ac0102d1a7dcb88ee0648fee410cdb48cc26c11 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/pencilSketch/test4.sce | 0e04b69b3fd43ad26930739ea946796fcb9f7dc1 | [] | 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 | 148 | sce | test4.sce | //increasing sigma_r
src = imread("../images/cow2.jpg");
[output1 output2] = pencilSketch(src,120, 0.8,0.02 );
imshow(output1);
//imshow(output2);
|
3af855e92731ca00f4b6b57e0a71fd74ba423375 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/invfreq.sci | a72011504f68d55b6d11a7bd27afe1e4dde58393 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,543 | sci | invfreq.sci | function [B,A] = invfreq(H,F,nB,nA,W,iter,tol, plane)
// Calculates inverse frequency vectors
//
// Calling Sequence
//[B,A] = invfreq(H,F,nB,nA)
//[B,A] = invfreq(H,F,nB,nA,W)
//[B,A] = invfreq(H,F,nB,nA,W,[],[],plane)
//[B,A] = invfreq(H,F,nB,nA,W,iter,tol,plane)
//
// Parameters
// H: desired complex frequency resp... |
a1320d19acdde997051b3a0491623f8beea3dc89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH11/EX11.6/11_6.sce | d6eeb179b7ca8b766eb0a723a3cfc3ea4c79137d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 11_6.sce | clc
//Initialization of variables
y1=[1.5 1.48]
V1=[2.22 2.29]
d=1.2
//calculations
q=y1.*V1
V2=q/d
Vm=[2.5 2.56]
Rh1=[0.9 0.89]
Rh2=[0.88 0.78]
Rhm=(Rh1+Rh2)/2
S=(q.*Vm/ Rhm.^(2/3)).^2
dx=[358 226]
yavg=(y1(1) + y1(2))/2
qavg=(q(1) + q(2))/2
B=4.5
Q=qavg*B
//results
printf("Flow rate = %.1f m^3/s",Q... |
acab59e4963feec065c2def7128cf598dbda5ea7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH2/EX2.15/Example2_15.sce | 09423793502c6b72d76997b4bc3db4bd10985320 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Example2_15.sce | clc
// Given That
r = 1 // distance from lamp in meter
power = 100// power radiated by lamp in W
mu_not = 1.2566e-6 // universal constant
epsilon_not = 8.85e-12 // universal constant
//Sample Problem 15 Page No. 87
printf("\n # Problem 15 # \n ")
s = power /(4 * %pi * (r^2)) //calculation of intensity at a dist... |
95448307078a2e1423cbde0d9a6ce72f91547873 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH12/EX12.7/Example12_7.sce | 674e648c5cab2ffafd79e2eab132cd06147c8ab2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Example12_7.sce | //Example 12.7
clear;
clc;
SNRmaxmindB=96;
SNRmaxminb=16;
n=1;
m1=((((SNRmaxmindB+3.41)/6.02)-n)/1.5);
m1app=m1-0.042193;//Approximation for m1
k1=2^m1app;
m2=((((SNRmaxmindB+11.14)/6.02)-n)/2.5)
k2=2^m2;
printf("k for first order Integrate Difference ADC : k=%.f",k1);
printf("\nk f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.