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
beef3bbb79c2525e79e3151d2827bb56dbfb4145
04236ab1161ec860ab3b1d0c3225fcbdc54923a3
/2012.d/3-remez.d/tcheby.sci
8fedfa1ef128366c63995824683985941f807a02
[ "MIT" ]
permissive
homeostasie/petits-pedestres
957695cdb8a7823ed2e3fe79f7b441410928cba9
557c810e26412bc34ebe063dcd904affe5a27855
refs/heads/master
2023-05-31T03:35:13.365160
2023-04-26T21:47:56
2023-04-26T21:47:56
163,504,589
2
0
null
null
null
null
ISO-8859-1
Scilab
false
false
986
sci
tcheby.sci
funcprot(0) function [Coef_poly,Erreur]=F_Coef_Tcheby(fon_uti) //Soit Coef_poly la matrice des coéfficients du polynôme //Soit Vender la matrice de Vandermonde for i=1:1:n+1 for j=0:1:n Vander(i,j+1)=X_n(i)**j, end Vander(i,n+1)=(-1)**(i+1) end //Soit ColFunc1 le vecteur colonne de la fonction fon_uti aux points de X_n for i=1:1:n+1 ColFunc1(i)=fon_uti(X_n(i)) end Coef_poly=lsq(Vander,ColFunc1) Erreur=abs(Coef_poly(n+1)) endfunction funcprot(0) function [Poly_tcheby]=F_Poly_Tcheby(x) //On construit le polynome à partir des coefficients obtenu par Tcheby //On appelle la fonction qui calcul les coeffs A=0 for i=1:1:n A=A+Coef_poly(i)*(x)^(i-1) end Poly_tcheby=A endfunction [Coef_poly,Erreur]=F_Coef_Tcheby(fon_uti); [Poly_tcheby]=F_Poly_Tcheby; funcprot(0) function [fmoinsp]=F_fmoinsp(x) fmoinsp=fon_uti(x)-Poly_tcheby(x) endfunction funcprot(0) [fmoinsp]=F_fmoinsp;
0b411795cf0abfe4b7a2b6d09755caddb0de9cdc
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH2/EX2.01/2_01.sce
26aee15eee3005d4e77f5bf238994daf4baec372
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
335
sce
2_01.sce
//pathname=get_absolute_file_path('2.01.sce') //filename=pathname+filesep()+'2.01-data.sci' //exec(filename) //Temperature of human body in degree Fahrenheit: Tf=98.6; //Temperature of the body in degree Celcius: Tc=(Tf-32)/1.8 printf("\n\nRESULTS\n\n") printf("\n\nTemperature of the human body in degree Celcius= %f \n\n",Tc)
b37c45c681546f8693d1c61bcfeae755b7aa2b1a
346b29127e59e672f20ebc2738580a91c78a2cb6
/Scilab/report3/markovchain.sce
9916bb46b7b77768b43ad7c91579bdf227be52da
[]
no_license
cygnusbeta/tokuron
b19cce6ffd61e4aee20190fd6bc28c737a7a59ae
386957509f91508601c2981601fd39fd85c8e0e5
refs/heads/master
2020-11-24T13:49:38.292405
2020-01-12T19:15:52
2020-01-12T19:15:52
228,177,489
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,130
sce
markovchain.sce
// Markov 連鎖の定常状態を遷移確率行列 P の固有値・固有ベクトルから求める。 // また、連鎖の差分方程式(漸化式)を反復して、定常状態に収束するか調べる。 clear xdel(winsid()); // すべてのグラフィックウィンドウを閉じる // 状態の数と行列 P を与える。 p = [ 0.3 0 0.7; ... 0 0.6 0.4; ... 0.1 0.7 0.2]; // テキスト p.43 の例 n = size(p,1); // 正方行列 p を与えたと仮定している。 disp('n') disp(n) // p の左固有ベクトルが欲しい。spec 関数は右固有ベクトルを与えるので、 // p の転置行列の左固有ベクトルを求める。それを転置して、目的である // p の右固有ベクトルが求まる。 [evec,eval]=spec(p.'); // 対角行列 eval の対角成分が固有値なので取り出す。 lambda = diag(eval); disp('固有値は'); disp('lambda') disp(lambda); // 対応する固有ベクトルが各列に入った行列 evec を転置する。 evec = evec.'; disp('evec') disp(evec) // 定常状態の固有ベクトルは、すべての成分が同符号であり、厳密に 1 の // 固有値に対応していなければならない。それを探す。 for i=1:n if abs(sum(evec(i,:)))==sum(abs(evec(i,:))) then // 同符号の成分のとき等号が成立 if (abs(lambda(i)-1) < 1e-15) then disp('定常状態の固有ベクトルが見つかりました。'); disp([i,lambda(i)]); // *** 見つけた evec(i,:) は 2-norm で正規化されています。つまり成分の2乗の和が // *** 1 となっています。各成分を定常状態の確率と見るには、1-norm で正規化する // *** 必要があります。次の行でそうしてください。 steadystate = evec(i,:) / sum(evec(i,:)); disp(steadystate); break; end end end if sum(abs(steadystate))==0 then halt('定常状態の固有ベクトルが見つかりませんでした。'); end // 初期条件(時刻 0 での各状態の確率)を適当に与え、行列 p による写像を // 反復したときの変化を求め、3成分(各状態の確率)がどう変わるか、反復 // 回数を横軸にとって図示してください。 x = [ 1 0 0 ]; // 初期条件(別のも試してみてください。) m = 20; // 反復回数 scf(0); clf; p1 = zeros(1, m + 1) p2 = zeros(1, m + 1) p3 = zeros(1, m + 1) p1(1, 1) = x(1, 1) p2(1, 1) = x(1, 2) p3(1, 1) = x(1, 3) for i=2:m+1 x = x * p steadystate = steadystate / sum(steadystate) p1(1, i) = x(1, 1) p2(1, i) = x(1, 2) p3(1, i) = x(1, 3) end disp('p1') disp(p1) disp('p2') disp(p2) disp('p3') disp(p3) plot(p1, 'r') plot(p2, 'g') plot(p3, 'b') title('x[1]:赤, x[2]:緑, x[3]:青 とsteadystate(横線)の比較'); p1theory = ones(1, m + 1).' * steadystate(1, 1) p2theory = ones(1, m + 1).' * steadystate(1, 2) p3theory = ones(1, m + 1).' * steadystate(1, 3) plot(p1theory, 'r') plot(p2theory, 'g') plot(p3theory, 'b')
4f4939a74615793041d361c17baef23f4a9f7bd3
449d555969bfd7befe906877abab098c6e63a0e8
/1628/CH15/EX15.2/Ex15_2.sce
43ddc5fdbad57ad6ba4f2a0c15802859e11d4c9c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
447
sce
Ex15_2.sce
// Examle 15.2 p=12; // No.Of poles f=50; // Frequency Ns=(120*f)/p; // Synchronous speed disp(' The Synchronous Speed (Ns) = '+string(Ns)+' rpm'); N=485; // Speed of Motor s=(Ns-N)/Ns; // Slip fr=s*f; // The Frequence of Rotor (fr) disp(' The Frequence of Rotor (fr) = '+string(fr)+' Hz'); // p 593 15.2
f0a3cbb644782e11ac3ca1af5743aaf8de2babc5
449d555969bfd7befe906877abab098c6e63a0e8
/1475/CH3/EX3.15/Example_3_15.sce
f9e2e2c48b7ff96e9af81175c7e1d8c44a875100
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
512
sce
Example_3_15.sce
//Example 3.15 The safety limit of a crane is known to be 32 tons clc; clear; m=0.3; s_d=0.2; n=100; disp(n,"Sample size =",s_d,"Standard Deviation",m,"Mean"); disp(s_d/sqrt(n),"and Standard Deviation =",0.3,"Since the sample size n=100 is large, the sample mean follows normal distribution approx. with Mean="); disp(0.1587,"Probab. that mean is greater than 0.32=Area under the standard normal curve to the right of the ordinate at z=1",(0.32-m)/0.02,"The standarised value of sample mean 0.32 is ");
0321e1ba5ebd7f02bbaa7b25d4173d736adbe1da
449d555969bfd7befe906877abab098c6e63a0e8
/2672/CH5/EX5.28/Ex5_28.sce
c7e1b958373729664f006ca07b38d66e93bad423
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
307
sce
Ex5_28.sce
//Example 5_28 clc; clear; close; format('v',5); //given data : Pmax=2.5;//W Vf=900;//mV If_max=Pmax/(Vf/1000);//A disp(If_max,"(a) Maximum allowable forward current(A) : "); Rf=Pmax/If_max^2;//ohm format('v',7); disp(Rf,"(b) Forward Diode Resistance(ohm)") //Answer in the textbok is wrong.
e24869de8fc91d71e5b9f0258cda89d5afce198a
1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08
/Scilab/SparamToolBox/SparamToolbox/v1.1/x86_64/src/c/loader.sce
c9236fe8ed9896be28957ccea5cf6ef183194ea8
[]
no_license
lrayzman/SI-Scripts
5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d
9ab161c6deff2a27c9da906e37aa68964fabb036
refs/heads/master
2020-09-25T16:23:23.389526
2020-02-09T02:13:46
2020-02-09T02:13:46
66,975,754
0
0
null
null
null
null
UTF-8
Scilab
false
false
805
sce
loader.sce
// This file is released under the 3-clause BSD license. See COPYING-BSD. // Generated by builder.sce : Please, do not edit this file // ---------------------------------------------------------------------------- // if ~win64() then warning(_("This module requires a Windows x64 platform.")); return end // write_tchstn_path = get_absolute_file_path('loader.sce'); // // ulink previous function with same name [bOK, ilib] = c_link('write_tchstn'); if bOK then ulink(ilib); end // link(write_tchstn_path + filesep() + 'liberr_codes' + getdynlibext()); link(write_tchstn_path + 'libwrite_tchstn' + getdynlibext(), ['write_tchstn'],'c'); // remove temp. variables on stack clear write_tchstn_path; clear bOK; clear ilib; // ----------------------------------------------------------------------------
0988729a998cf73bdf57717507de8566bd46e802
449d555969bfd7befe906877abab098c6e63a0e8
/50/DEPENDENCIES/F28.sce
e79b88348bf7771fd4f2441759e7720ddc7ab5fb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
189
sce
F28.sce
function [F] = f28(x) //f2(x) = 0, with x = [x(1);x(2)] //represents a system of 2 non-linear equations F(1) = x(1)^2+x(1)*x(2) + x(2)^2 - 7; F(2) = x(1)^3+x(2)^3 -9; endfunction
5c0d5fbf151f19e61e9aa9fdb41ac7c6840c902f
449d555969bfd7befe906877abab098c6e63a0e8
/1118/CH13/EX13.1/eg13_1.sce
275f91c3c33da6f0a1694e1f80cc060747e1dd85
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
788
sce
eg13_1.sce
clear; clear; //clc(); function [mag,theta]=c(r,i) mag=sqrt(r*r + i*i) theta=atand(i/r) endfunction previousprot = funcprot(0) funcprot(0) r=10; x=30; i=x; vs=132; vr=vs; z=r + (%i)*x; B=z; A=1; b=atand(x/r); a=0; [mag,theta]=c(r,i); pm=(vs*vr/mag) - ((A*vr^(2)/mag)*cosd(theta)); printf("\n the maximum power is: %.2f MW\n",pm); //maximum power is at an angle del=theta; printf("\n the maximum power angle is: %.2f degrees\n",del); //determining the rating of the syncronous phase modifier pl=100; pr0=-(vr^2)*r/mag^(2); qr0=-(vr^(2)*x)/mag^(2); pr=vs*vr/mag; q=sqrt(pr^(2) - (pr0 - pl)^(2)) + qr0; qpm=pl*tand(acosd(0.9)) - q; printf("\n the rating of the phase modifier is: %.2f (leading)",qpm);
10d6855b64471b4624e777e84a7b525e0efcb7ca
449d555969bfd7befe906877abab098c6e63a0e8
/213/CH15/EX15.17/15_17.sce
266a0f083c6abb53cada4cb6c967f92ea26f3270
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,117
sce
15_17.sce
//To find radius and MI clc //Given: m=55 //kg l=850/1000, d1=75/1000, d2=100/1000 //m tp1=1.83, tp2=1.68 //seconds //Solution: //Refer Fig. 15.20 //Calculating the length of equivalent simple pendulum when suspended from the top of small end bearing L1=9.81*(tp1/(2*%pi))^2 //m //Calculating the length of equivalent simple pendulum when suspended from the top of big end bearing L2=9.81*(tp2/(2*%pi))^2 //m //Radius of gyration of the rod about an axis passing through the centre of gravity and perpendicular to the plane of oscillation: //Calculating the distances of centre of gravity from the top of small end and big end bearings //We have, h1*(L1-h1) = h2*(L2-h2), or h1^2-h2^2+h2*L2-h1*L1 = 0 .....(i) //Also, h1+h2 = d1/2+l+d2/2, or h1+h2-d1/2-l-d2/2 = 0 .....(ii) function y=f(x) h1=x(1) h2=x(2) y(1)=h1^2-h2^2+h2*L2-h1*L1 y(2)=h1+h2-d1/2-l-d2/2 endfunction z=fsolve([1,1],f) h1=z(1), h2=z(2) //m //Calculating the required radius of gyration of the rod kG=sqrt(h1*(L1-h1)) //m //Calculating the moment of inertia of the rod I=m*(kG)^2 //kg-m^2 //Dynamically equivalent system for the rod: //Calculating the distance of the mass situated at the centre of small end bearing from the centre of gravity l1=h1-d1/2 //m //Calculating the distance of the second mass from the centre of gravity towards big end bearing l2=(kG)^2/l1 //m //Calculating the magnitude of the mass situated at the centre of small end bearing m1=(l2*m)/(l1+l2) //kg //Calculating the magnitude of the second mass m2=(l1*m)/(l1+l2) //kg //Results: printf("\n\n Radius of gyration of the rod about an axis passing through the centre of gravity and perpendicular to the plane of oscillation, kG = %.3f m.\n\n",kG) printf(" Moment of inertia of the rod, I = %.2f kg-m^2.\n\n",I) printf(" Magnitude of the mass situated at the centre of small end bearing, m1 = %.2f kg.\n\n",m1) printf(" Magnitude of the second mass, m2 = %.2f kg.\n\n",m2)
c47fe913a39949301cb9c7c2e5a6cd2efb9d0a40
449d555969bfd7befe906877abab098c6e63a0e8
/491/CH1/EX1.7/1_7.sce
f68a744891e87a95ecfad75e1cd2cf9c94873ad0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
839
sce
1_7.sce
b1 = 1.5 ; // width of rectangular crosssection in inch t = 0.5 ; // thickness of rectangular crosssection in inch b2 = 3 ; // width of enlarged rectangular crosssection in inch d = 1 ; // diameter in inch // Part (a) s_1 = 16000; // maximum allowable tensile stress in Psi P_1 = s_1*t*b1 ; disp("lb",P_1,"The allowable load P1 is") // Part (b) s_2 = 11000; // maximum allowable tensile stress in Psi P_2 = s_2*t*(b2-d) ; disp("lb",P_2,"allowable load P2 at this section is") //Part (c) s_3 = 26000; // maximum allowable tensile stress in Psi P_3 = s_3*t*d disp("lb",P_3,"The allowable load based upon bearing between the hanger and the bolt is") // Part (d) s_4 = 6500; // maximum allowable tensile stress in Psi P_4 = (%pi/4)*(d^2)*2*s_4 ; disp("lb",P_4,"the allowable load P4 based upon shear in the bolt is")
c7db1498b4979ce4cf5bc8d400a93066c90a1060
449d555969bfd7befe906877abab098c6e63a0e8
/3446/CH10/EX10.5/Ex10_5.sce
0f6e2552a14803bb9eb07503c36718118ce1bb9d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
757
sce
Ex10_5.sce
// Exa 10.5 // To calculate the optimum diameter (DH), spacing (S) for the antenna and total length of the antenna, // To calculate the antenna gain, // To calculate the beam width of the antenna. clc; clear all; N=12; //number of turns fr=1.8; //frequency in GHz //solution lamda=3*10^8/(fr*10^9); DH=lamda/%pi;// diameter of helix in milli-meters S=lamda/4;//turn spacing in millimetres L=N*S; G=15*N*S*(DH*%pi)^2/lamda^3; Theta=52*lamda/(%pi*DH)*sqrt(lamda/(N*S)); printf('The optimim diameter is %d mm\n ',DH*1000); printf('Spacing is %.1f mm\n ',S*1000); printf('Total Length of antenna is %d mm\n ',L*1000); printf('The antenna gain is %.1f dBi\n ',10*log10(G)); printf('The BeamWidth of antenna is %d degrees \n ',Theta);
0a78af83997715d911ed9b10b99124e9dbae4ffd
449d555969bfd7befe906877abab098c6e63a0e8
/569/CH6/EX6.28/6_28.sci
25bc2b9a48f7ab2a0086a7bcb25afef09a0911af
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
152
sci
6_28.sci
// Calculating the weight of MSB and LSB clc; Ra=10; b=5; Wmsb=Ra/2; disp(Wmsb,'weight of MSB (V)=') Wlsb=Ra/2^b; disp(Wlsb,'weight of LSB (V)=')
15bffc1c0347ade88292cc1282a8f2d6a7c5272b
449d555969bfd7befe906877abab098c6e63a0e8
/2243/CH8/EX8.11/Ex8_11.sce
de1dd6847bb3158a4876ece4f24ff134e8274d60
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
855
sce
Ex8_11.sce
clc(); clear; //Given : T_half = 5730; // carbon 14 half life in years Na = 6.023*10^23; // Avogadro constant in nuclei/mole M = 25;// charcoal mass in gm mm = 12;// molar mass of carbon 12 in gm/mole a = 250 ; // disinitegrations per minute (Carbon 14 activity) // 1 year = 525949 minutes lambda = 0.693/(T_half*525949);// disinitegrations per minute per nucleus N0_1 = (Na/mm)*M ; // Number of nuclei (Carbon 12) // Carbon 14 to Carbon 12 ratio = 1.3*10^-12 N0_2 = 1.3*10^-12*N0_1 ; // Number of nuclei (Carbon 14) R0 = N0_2*lambda ; // disinitegrations per minute per nucleus a0 = R0 ; // initial activity t = log(a0/a)/lambda ; // 1 year = 525949 minutes printf("The tree died %d years ago",t/525949 ); // Result obtained differs from the textbook, because R0 value obtained here is 375.1025, where as in textbook it is 374.
34228a1d7d225185f19606b4f3e15a6f7f89a2b5
449d555969bfd7befe906877abab098c6e63a0e8
/1748/CH2/EX2.4/Exa2_4.sce
8499ff3fa81b308e64c5f18905dc54c7aa4878c3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
289
sce
Exa2_4.sce
//Exa 2.4 clc; clear; close; //Given data : P=8;//no. of poles f=50;//in Hz fr=1.5;//in Hz //Formula : fr=S*f S=fr/f;//slip(unitless) Ns=120*f/P;//in rpm //Formula : S=(Ns-Nr)/Ns Nr=Ns-S*Ns;//in rpm disp(round(Nr),"Motor running speed in rpm : "); disp(S*100,"Slip(in %):");
69bb88ee6ddfcb5af4ed7600e59f5668b84ab3a4
449d555969bfd7befe906877abab098c6e63a0e8
/479/CH4/EX4.2/Example_4_2.sce
013071aa17d399a9771ada2e9a9016137e4d5d1b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example_4_2.sce
//Chemical Engineering Thermodynamics //Chapter 4 //Second Law of Thermodynamics //Example 4.2 clear; clc; //Given T1 = 373;//Temperature of the saturated steam in K T2 = 298;//Temperature of the saturated water in K //To calculate the total change in entropy and hence determine the reversibility of the process //del_H = del_Q+(V*del_P) //del_H =del_Q; since it is a constant pressure process //From steam table, //enthalpy of saturated steam at 373K is H1 = 6348.5;// in Kcal/Kg //enthalpy of saturated liquid water at 373K is H2 = 99.15;//in Kcal/Kg Q = H2-H1;//heat rejected in Kcal/Kg del_S1 = Q/T1;//change in entropy of the system in Kcal/Kg K del_S2 = Q/T2;//change in entropy of the surronding in Kcal/Kg K del_St = del_S1+del_S2;//total change in the entropy in Kcal/Kg K if(del_St == 0) mprintf('Process is reversible'); else mprintf('Process is irreversible'); end //end
859225eab8aeb474f6f22be862f15ecefd120f88
449d555969bfd7befe906877abab098c6e63a0e8
/1952/CH1/EX1.12/Ex1_12.sce
9e511433a877a3afa80dbff576feb57051438615
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
258
sce
Ex1_12.sce
// chapter 1 , Example1 12 , pg 25 V=13500//volume(in m^3) T=1.2//reverberation time(in sec) a=0.65//average absorption coefficient(in Sabine/m^2) S=(0.165*V)/(a*T)//area of interior surface printf("Area of interior surface\n") printf("S=%.1f m^2",S)
9da325a5d3bd190b31fb702b0afe060e8d2bd626
449d555969bfd7befe906877abab098c6e63a0e8
/704/CH2/EX2.19/2_19.txt
62041e4898a25773d290a5ccc51a4d63544fa40b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
466
txt
2_19.txt
//Capyion:find the change in back emf from no load to load //Exam:2.19 clc; clear; close; V=220;//given voltage to machine(in V) R_a=0.5;//armature circuit resistance(in ohm) I_1=25;//full load armature current(in Amp) I_2=5;//no load armature current(in Amp) E_1=V-I_1*R_a;//back emf at full load(in V) E_2=V-I_2*R_a;//back emf at no load(in V) E=E_2-E_1;//change in back emf no load to load disp(E,'change in back emf from no load to load(in Volts)=');
24aa1eb8fca55df5f23a58aa589b8dccefca738f
449d555969bfd7befe906877abab098c6e63a0e8
/991/CH10/EX10.1/Example10_1.sce
0cb977309f62ac3e1fd4a7a0864e1721316bd737
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
3,590
sce
Example10_1.sce
//Example 10.1. refer fig.10.8. clc format(6) hie=1600 hfe=60 hre=5*10^-4 hoe=25*10^-6 hic=1600 hfc=-61 hrc=1 hoc=25*10^-6 disp("The AC equivalent circuit of the CE-CC amplifier is shown in fig.10.9(a)") disp("The Second Stage :") disp("Current gain :") disp("The current gain of a particular stage is given by") disp(" AI = -hf / (1 + ho*ZL)") disp("For the second stage ZL = RE2 and the current gain of the second stage is") RE2=4000 AI2=-hfc/(1+(hoc*RE2)) disp(AI2," AI2 = -Ie2 / Ib2 = -hfc / (hoc*RE2) =") disp("The input impedance Ri of a particular stage is given by") disp(" Ri = hi + hf*AI*ZL") disp("For the second stage,") Ri2 = hic + (hrc*AI2*RE2) Ri22=Ri2*10^-3 disp(Ri22," Ri2(k-ohm) = hic + (hrc*AI2*RE2) =") disp("Thus, the CC stage has a high input impedance.") disp("The voltage gain of a particular stage is") disp(" AV = (AI*ZL) / Zi") disp("For the second stage,") Re2=4000 AV2=(AI2*Re2)/Ri2 disp(AV2," AV2 = Vo/V2 = (AI2*Re2) / Ri2") disp("The First Stage :") RC1=4000 format(5) RL1=(RC1*Ri2)/(RC1+Ri2) RL11=RL1*10^-3 disp(RL11," RL1(k-ohm) = RC1 || Ri2 =") disp("Current gain,") AI1= -hfe/(1+(hoe*RL1)) disp(AI1," AI1 = -IC1/Ib1 = -hfe/(1+(hoe*RL1)) =") disp("The input impedance of the first stage, which is also the input impedance of the cascaded amplifier is") Ri1=hie +(hre*AI1*RL1) // answer in textbook is wrong Ri11=Ri1*10^-3 disp(Ri11," Ri1(k-ohm) = hie + hre*AI1*RL1 =") disp("The voltage gain of the first stage is") format(7) AV1=(AI1*RL1)/Ri1 // answer in textbook is wrong disp(AV1," AV1 = V2/V1 = (AI1*RL1) / Ri1 =") disp("The output admittance of the first transistor Q1") RS=600 format(5) Yo1=hoe-((hfe*hre)/(hie+RS)) Yo0=Yo1*10^6 disp(Yo0," Yo1(uA/V) = hoe - ((hfe*hre) / (hie+RS)) =") disp("The output impedance of the first stage") format(6) Ro1=1/Yo1 Ro0=Ro1*10^-3 disp(Ro0," Ro1(k-ohm) = 1 / Yo1 =") disp("The output impedance taking RC1 into account is") format(5) Rot1=(Ro1*RC1)/(Ro1+RC1) Rott=Rot1*10^-3 disp(Rott," Rot1(k-ohm) = Ro1 || RC1 =") disp("This is the effective source resistance RS2 of the second stage") disp("The output admittance of the second stage") format(7) Yo2=hoc-((hfc*hrc)/(hic+Rot1)) disp(Yo2," Yo2(A/V) = hoc-((hfc*hrc) / (hic+Rot1)) =") disp("Output impedance,") format(4) RO2=1/(11.525*10^-3) disp(RO2," RO2(ohm) = 1 / Yo2 =") disp("The amplifier output impedance taking RE2 into account is RO2 || RE2") format(6) Ro2=(87*4000)/(87+4000) disp(Ro2,"Hence, Ro2(ohm) = (RO2*RE2) / (RO2+RE2) =") disp("Overall current gain :") disp("The output or total current gain of both the stages is") disp(" AI = -Ie2 / Ib1 = (-Ie2/Ib2)(Ib2/IC1)(IC1/Ib1)") disp(" = -AI2*(Ib2/Ic1)*AI1") disp("From fig.10.9(b),") disp(" Ib2 = (-IC1)(Rc1 / Rc1+Ri2)") Rc1=4000 format(7) x=(-Rc1)/ (Rc1+Ri2) disp(x," Ib2/Ic1 = -Rc1/ Rc1+Ri2 =") format(6) AI=-AI2*x*AI1 disp(AI," AI = -AI2*AI1*(Rc1 / Ri2+Rc1) =") disp("The overall voltage gain of the amplifier,") disp(" AV = Vo / V1 = (Vo/V2)(V2/V1)") AV=AV2*AV1 disp(AV," AV = AV2*AV1 =") // answer in textbook is wrong disp("The overall voltage gain taking the source impedance into account,") format(4) AVs=AV*(Ri1/(Ri1+RS)) disp(AVs," AVs = Vo/Vs = Av(Ri1 / Ri1+Rs) =") // answer in textbook is wrong
5a6acad448276b653c709f88083e8d8a448fa360
449d555969bfd7befe906877abab098c6e63a0e8
/1733/CH2/EX2.18/2_18.sce
fcb43bd20872f2b79b17f55a3d2afb34b9640edd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
382
sce
2_18.sce
//2.18 clc; Vdc=100; Vm=(Vdc+2*1.7)*%pi/(2*cosd(30)); Vrms_sec=Vm/2^0.5; Vrms_pri=230; Turn_ratio=Vrms_pri/Vrms_sec; printf("\nTurn Ratio = %.2f ", Turn_ratio) Irms_sec=15/2^0.5; Ip=15; Trans_rating=Vrms_sec*Ip; printf("\nTransformer rating = %.2f VA", Trans_rating) PIV=Vm; printf("\nPIV = %.2f V", PIV) printf("\nRMS value of thyristor current = %.2f A", Irms_sec)
0f813278577cfd60818b056b0b30367940a99a14
449d555969bfd7befe906877abab098c6e63a0e8
/2126/CH5/EX5.25/25.sce
4425d3e6058cf477b35cb8f2a60a3180639af138
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,083
sce
25.sce
clc clear //Input data M1=2.8 //Inlet mach number sig=42 //Shock wave angle in degree Px=1 //Pressure upstream of shock in bar(Assuming) k=1.4 //Adiabatic constant //Calculations Mx=M1*sind(sig) //Mach number before the shock My=0.601 //Mach number after the shock from gas tables @Mx p1=3.98 //Static pressure ratio after and before the shock from gas tables @Mx Py=Px*p1 //Pressure after shock in bar p2=4.994 //Stagnation pressure after shock to Static pressure before shock from gas tables @Mx Poy=Px*p2 //Stagnation pressure after shock in bar p3=0.788 //Stagnation pressure ratio after and before the shock from gas tables @Mx Pox=Poy/p3 //Stagnation pressure before shock in kPa dPl=Pox-Poy //Total pressure loss in bar def=atand(((M1^2*sind(2*sig))-(2/tand(sig)))/(2+(M1^2*(k+cosd(2*sig))))) //Deflection angle in degree M2=My/(sind(sig-def)) //Downstream mach number //Output printf('(A)Deflection angle is %3i degree\n (B)Downstream mach number is %3.3f\n (C)Static pressure is %3.3f bar\n (D)Total pressure loss is %3.3f bar',def,M2,Py,dPl)
c263eceddca14820a0d79158055e337cf4d0c95a
449d555969bfd7befe906877abab098c6e63a0e8
/3760/CH8/EX8.8/ExA_8.sce
3820eeb0393683d0e79c0e1cc414e818564a05ca
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
725
sce
ExA_8.sce
clc; l=0.8; // length of conductor B=1.2; // flux density of uniform magnetic field v=30; // speed of conductor disp('case a'); // conductor motion is normal to field flux theta=90; // angle between direction of motion and field flux e=B*l*v*sin(theta*(%pi/180)); printf('EMF induced is %f V\n',e); disp('case b'); // conductor motion is at an angle of 30 degrees from direction of field theta=30; // angle between direction of motion and field flux e=B*l*v*sin(theta*(%pi/180)); printf('EMF induced is %f V\n',e); disp('case c'); // conductor motion is parllel to field flux theta=0; // angle between direction of motion and field flux e=B*l*v*sin(theta*(%pi/180)); printf('EMF induced is %f V\n',e);
1d30c8b051364fa051896c268291cce67d2645ce
449d555969bfd7befe906877abab098c6e63a0e8
/689/CH8/EX8.4/4.sce
fd1f4d42acb358e46dfeed4595580201ff402154
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
337
sce
4.sce
clc; funcprot(0); //Example 8.4 Power Required by Wing // Initialisation of variables S = 350; V = 80; alpha = 6; Cd = 0.0452; // Value of Cd from fig 8.8 rho = 0.002378; // Calculations D = Cd*rho/2*S*V^2; HP = D*V/550; //Results disp(HP,"Horse power required to move the wing forward(hp) :",D,"Drag (lb):");
0e529e3f5dc612ae1060493f67efad50230b7ff3
449d555969bfd7befe906877abab098c6e63a0e8
/1553/CH10/EX10.28/10Ex28.sce
995cd1bf6490a8d22e81417a8bb876018f4a97bf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
150
sce
10Ex28.sce
//chapter 10 Ex 28 clc; clear; close; AmoreB=100/(3*100); BlessA=(AmoreB/(1+AmoreB))*100; mprintf("B earns %d percent less than A",BlessA);
7aef7a6c696ed1ae6ad2152110b85257ce63b470
449d555969bfd7befe906877abab098c6e63a0e8
/965/CH13/EX13.16/16.sci
ca8e3587f02e8137b3a8208b14c550d32cfeecce
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
403
sci
16.sci
clc; clear all; disp("Nitrogen diffusion rate ") A=1; T=25+273; L=12/1000;//m G=8314;// gas constant xB=0.2; Dab=16*10^(-6); xC=0.1; Dac=14*10^(-6); xD=0.7; Dad=9*10^(-6); D=1/(xB/Dab+xC/Dac+xD/Dad);//m^2/s p=1.013; pN1=0.15;//bar pN2=0.08;//bar pM1=p-pN1; pM2=p-pN2; Mn=28; mn=(D*A*Mn*p*10^5/(G*T*L))*log(pM2/pM1) disp("kg/m^2",mn,"diffusion rate of gaseous mixture =")
54c31f8f4c345bd5cf9fdf7410bae636ffba33a2
b2efed85f1632d9ed4b7d9f4eebc7126d3074940
/ted_mini/artandsci_positive/221.ted.sci
5f11ff5ba20d04276d9a42cfe8558fc3e2b05c15
[]
no_license
joytafty-work/unsupervised_nlp
837d8ed75eb084b630d75a1deba7bdd53bbcf261
7812c7d24bb677c90cf6397ed0e274caba1b884c
refs/heads/master
2021-01-10T09:24:33.254190
2015-11-11T20:40:32
2015-11-11T20:40:32
45,651,958
2
7
null
2018-01-28T18:54:18
2015-11-06T01:42:42
Scilab
UTF-8
Scilab
false
false
7,990
sci
221.ted.sci
i m a historian steve told us about the future of little technology i m going to show you some of the past of big technology this was a project to build a 4 000 ton nuclear bomb propelled spaceship and go to saturn and jupiter this took place in my childhood 1957 to 65 it was deeply classified i m going to show you some stuff that not only has not been declassified but has now been reclassified if all goes well next year i ll be back and i ll have a lot more to show you and if all does n t go well i ll be in jail like wen ho lee so this ship was basically the size of the marriott hotel a little taller and a little bigger and one of the people who worked on it in the beginning was my father freeman there in the middle that s me and my sister esther who s a frequent tedster i did n t like nuclear bomb propelled spaceships i mean i thought it was a great idea but i started building kayaks so we had a few kayaks just so you know i am not dr strangelove but all the time i was out there doing these strange kayak voyages in odd beautiful parts of this planet i always thought in the back of my mind about project orion and how my father and his friends were going to build these big ships they were really going to go they were actually going to go ted taylor who led the project was going to take his children my father was not going to take his children that was one of the reasons we sort of had a falling out for a few years the project began in 57 at general atomics there that s right on the coast at la jolla look at that central building right in the middle of the picture that s the 130 foot diameter library that is exactly the size of the base of the spaceship so put that library at the bottom of that ship that s how big the thing was going to be it would take 2 000 or 3 000 bombs the people who worked on it were a lot of the los alamos people who had done the hydrogen bomb work it was the first project funded by arpa that s the contract where arpa gave the first million dollars to get this thing started spaceship project officially begun job waiting for you dyson that s july 58 two days later the space traveler s manifesto explaining why just like we heard yesterday why we need to go into space trips to satellites of the outer planets august 20 1958 these are the statistics of what would be the good places to go and stop some of the sizes of the ships ranging all the way up to ship mass of 8 million tons so that was the outer extreme here was version two 2 000 bombs these are five kiloton yield bombs about the size of small volkswagens it would take 800 to get into orbit here we see a 10 000 ton ship will deliver 1 300 tons to saturn and back essentially a five year trip possible departure dates october 1960 to february 1967 this is trajectories going to mars all this was done by hand with slide rules the little orion ship and what it would take to do what orion does with chemicals you have a ship the size of the empire state building nasa had no interest they tried to kill the project the people who supported it were the air force which meant that it was all secret and that s why when you get something declassified that s what it looks like military weapon versions that were versions that carried hydrogen bombs that could destroy half the planet there s another version there that sends retaliatory strikes at the soviet union this is the real secret stuff how to get directed energy explosions so you re sending the energy of a nuclear explosion not like just a stick of dynamite but you re directing it at the ship and this is still a very active subject it s quite dangerous but i believe it s better to have dangerous things in the open than think you re going to keep them secret this is what s happened at 600 microseconds the air force started to build smaller models and actually started doing this the guys in la jolla said we ve got to get started now they built a high explosive propelled model these are stills from film footage that was saved by someone who was supposed to destroy it but did n t and kept it in their basement for the last 40 years so these are three pound charges of c 4 that s about 10 times what the guy had in his shoes this is ed day putting so each of these coffee cans has three pounds of c 4 in it they re building a system that ejects these at quarter second intervals that s my dad in the sport coat there holding the briefcase so they had a lot of fun doing this but no children were allowed my dad could tell me he was building a spaceship and going to go to saturn but he could not say anything more about it so all my life i have wanted to find this stuff out and spent the last four years tracking these old guys down these are stills from the video jeff bezos kindly yesterday said he ll put this video up on the amazon site some little clip of it so thanks to him they got quite serious about the engineering of this the size of that mass for us is really large technology in a way we re never going to go back to if you saw the 1959 this is what it would feel like in the passenger compartment that s acceleration profile and pulse system yield we re looking at 20 kiloton yield for an effect for us of 10 million newtons well here we have a little problem the radiation doses at the crew station 700 rads per shot fission yields during development they were hoping to get clean bombs they did n t eyeburn this is what happens to the people in miami who are looking up personnel compartment noise that s not too bad it s very low frequencies it s basically like these subwoofers and now we have ground hazard assessments when you have a blow up on the pad finally at the very end in 1964 nasa steps in and says ok we ll support a feasibility study for a small version that could be launched with saturn vs in sections and pieced together so this is what nasa did getting an eight man version that would go to mars they liked it because the guys who kind of live there would be like it s just like living in a submarine this is crew compartment it switches so what s upside down is right side up when you go to artificial gravity mode the scientists were still going to go along they would take seven astronauts and seven scientists this is a 20 man version for going to jupiter bunks storm cellars exercise room you know it was going to be a nice long trip the air force version here we have a military version this is the kind of stuff that s not been declassified just that people managed to sneak home and after you know on their deathbed basically gave me the sort of artist conceptions these are basically powerpoint presentations given to the air force 40 years ago look at the little guys there outside the vehicle and one part of nasa was interested in it but the headquarters in nasa they killed the project so finally at the end we can see the thing followed its sort of design path right up to 1965 and then all those paths came to a halt results none this project is hereby terminated so that s the end all i can say in closing is we heard yesterday that one of the 10 bad things that could happen to us is an asteroid with our name on it and one of the bad things that could happen to nasa is if that asteroid shows up with our name on it nine months out and everybody says well what are we going to do and orion is really one of the only if not the only off the shelf technologies that could do something so i m going to tell you the good news and the bad news the good news is that nasa has a small secret contingency plan division that is looking at this trying to keep knowledge of orion preserved in the event of such a misfortune maybe keep a few little bombs of plutonium on the side that s the good news the bad news is when i got in contact with these people to try and get some documents from them they went crazy because i had all this stuff that they do n t have and nasa purchased 1 759 pages of this stuff from me so that s the state we re at it s not very good
63c7a528018bb34f042d87a7b2ba42236dad8461
449d555969bfd7befe906877abab098c6e63a0e8
/1073/CH2/EX2.38/2_38.sce
513f4198fcfde140a885ed2e0889524c8d33f667
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
498
sce
2_38.sce
clc; clear; //Example 2.38 //Given dia=50 //mm dia=dia/1000 //m r=dia/2 //radius in m h=115 //W/sq m.K rho=8000 //kg/cubic m Cp=0.42 //kJ/kg.K Cp=Cp*1000 //J/(kg*K) A=4*%pi*r^2 //Area in sq m V=A*r/3 //Volume in cubic m T=423 //K T_inf=363 //K T0=723 //K //(T-T_inf)/(T0-T_inf)=e^(-3ht/(rho*Cp*r)) t=-rho*Cp*r*log((T-T_inf)/(T0-T_inf))/(3*h); //Time in seconds printf("Time taken by centre of ball to reach a temperature of 423 K is %f s (=%f minutes",t,t/60);
0856b7ed6ce001db1bdc21e8ecd2e06487e4c91a
449d555969bfd7befe906877abab098c6e63a0e8
/3731/CH6/EX6.6/Ex6_6.sce
9e1487acd6d5436771a479dbc9ad361b0a9aeccf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,464
sce
Ex6_6.sce
//Chapter 6:Induction Motor Drives //Example 6 clc; //Variable Initialization //Ratings of the star connected Induction motor which operates under dynamic braking f=50 // frequency in HZ P=6 // number of poles //Parameters referred to the stator Xr_=3.01 // rotor winding reactance in ohm Xs=Xr_ // stator winding reactance in ohm Rr_=4.575 // resistance of the rotor windings in ohm Rs=1.9 // resistance of the stator windings in ohm J=0.1 // moment of inertia of the motor load system in kg-m2 Id=12 // given DC current N=1500 //given asynchronous speed //magnetization chacrateristic at the given asynchronous speed Im=[0.13,0.37,0.6,0.9,1.2,1.7,2.24,2.9,3.9,4.9,6,8,9,9.5] //magnetization current E=[12.8,32,53.8,80,106,142,173,200,227,246,260,280,288,292] //back emf //Solution Ns=120*f/P //synchronous speed in rpm torque=[] speed=[] temp=[] Is=sqrt(2/3)*Id //value of stator current for two lead connection Wms=2*%pi*N/60 for i=2:14 x=(Is**2-Im(i)**2)/(1+2*Xr_*Im(i)/E(i)) //x=Ir_**2 Ir_=sqrt(x) //required rotor current y=(E(i)/Ir_)**2-Xr_**2 S=Rr_/sqrt(y) //required slip N=S*Ns //required speed T=(3/Wms)*(Ir_)**2*Rr_/S //required torque speed($+1)=N torque($+1)=T temp($+1)=T end mprintf("Hence the magnetization curve is") disp(speed,"Speed:in rpm") for i=1:13 torque(i)=-1*torque(i) end disp(torque,"Braking torque :in N-m") //Results //Plot of of torque vs speed subplot(2,1,1) plot(torque,speed) xlabel('Torque, N-m') ylabel('Speed, rpm') title('Torque vs Speed') xgrid(2) //Plot of Wm vs J/T inertia_over_torque=[] for i=3:13 J_T=1000*J/temp(i) inertia_over_torque($+1)=J_T end disp(inertia_over_torque,"J/t :") Wm=[1,4,8,12,16,20,25,55,95,125,160] //the values of Wm are taken for the angular frequency with maximum value of Wms=50*pi rad/s subplot(2,1,2) plot(Wm,inertia_over_torque) xlabel('$Angular speed \omega_m$') ylabel(' J/T,1*10e-2') title('$J/T vs \omega_m$') xgrid(2) x=[6.5,6.5] y=[2,4.5] plot(x,y,'blue') str=["${A}$"] str1=["${B}$"] str2=["${C}$"] str3=["${D}$"] str4=["${E}$"] xstring(6,2,str) xstring(6,4.5,str1) xstring(80,3.4,str2) xstring(156,8.3,str3) xstring(156,2,str4) mprintf("Hence from the plot the area ABCDEA between the curve and the speed axis for speed change ") mprintf("for synchronous to 0.02 times synchrnous speed is the stopping time which is equal to: 9.36 sec")
ca7575a9cf5afe589b1e6df109e4871bd4013dbf
449d555969bfd7befe906877abab098c6e63a0e8
/506/CH18/EX18.1.d/Example18_1d.sce
b7821f4985c40a80c670f60f9bcc5f4699f282ca
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,233
sce
Example18_1d.sce
clear; clc; //Caption:Calculation of change in output voltage due to change in input voltage and load current //Given Data Vo=25;//in V ro=10;//in ohm Rz = 12;//in ohm Vo=25;//output voltage in V Vr = 7.5 + 7.5;//because two diodes are used Iz = 20;//in mA Ie2=10;//in mA Ic2 = Ie2; Icmax=30;//in mA Vcemax=45;//in V hFE2=220; hfe2=200; hie2=800;//in ohm Id=10;//in mA Il = 1000;//in mA Vi = 50;//in V dVi = 10; //change in input voltage dIl = 1;//change in load current //For D1 and D2 operate Iz = Id + Id; Rd = (Vo-Vr)/Id; Ib2 = (1000*Ic2)/hFE2; //Since we require I1>Ib2 , we select I1=10*(10^-3);//in A Vbe = 0.7;//in V V2 = Vbe + Vr; R1 = (Vo-V2)/I1; R2 = V2/I1; //We are selecting Texas Instruments 2N1722 silicon power transistor, so following parameters are required Ic1 = 1;//in A hFE1=125; hfe1=100; hie1=20; Ib1 =(1000*I1 + Il + Id)/hFE1; //The current through resistor R3 is I=Ib1 + Ic2; R3 = (Vi - (Vbe + Vo))/I; Gm = hfe2*(R2/(R2+R1))*(1/((R1*R2/(R1+R2))+hie2+(1+hfe2)*Rz)) ; Sv = (10^-3)/(Gm*R3); Ro = (ro + (((1000*R3) + hie1)/(1+hfe1)))/(1 + (Gm*((1000*R3) + ro))); dVo = (Sv*dVi)+(Ro*dIl); disp('V',dVo,'Change in output voltage = '); //End
20138ab286d0bf0e81cc82e71b81bf52c22c85c9
6813325b126713766d9778d7665c10b5ba67227b
/Chapter6/Ch_6_Eg_6.30.sci
d230189f25a4e87dbb1f9b2955659ec2f0fd7de1
[]
no_license
arvindrachna/Introduction_to_Scilab
955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f
9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140
refs/heads/master
2020-03-15T19:26:52.964755
2018-05-31T04:49:57
2018-05-31T04:49:57
132,308,878
1
0
null
null
null
null
UTF-8
Scilab
false
false
300
sci
Ch_6_Eg_6.30.sci
// A program to find factorial of a number using recursion. function [y]=fact(x) disp(sprintf('Calling fact(%d)', x)); if x == 1 then y=1 else y=x*fact(x-1) end endfunction // Main program y=fact(5); // calling the function disp(sprintf("Result: fact(5)=%d", y));
86f5b22cb685ed7da6bc76b05b7b396f96f0dfc4
417f69e36190edf7e19a030d2bb6aa4f15bb390c
/SMTTests/tests/ok_getRequiredOptions.tst
6536109c085822878cfcaebe5748793dee5b61b8
[]
no_license
IETS3/jSMTLIB
aeaa7ad19be88117c7454d807a944e8581184a66
c724ac63056101bfeeb39cc3f366c8719aa23f7b
refs/heads/master
2020-12-24T12:41:17.664907
2019-01-04T10:47:43
2019-01-04T10:47:43
76,446,229
1
0
null
2016-12-14T09:46:41
2016-12-14T09:46:41
null
UTF-8
Scilab
false
false
196
tst
ok_getRequiredOptions.tst
; Tests whether the required options are implemented and give the correct ; default values (get-option :print-success) (get-option :regular-output-channel) (get-option :diagnostic-output-channel)
35d5706392b8c934348146407ea4b3dc5f712917
449d555969bfd7befe906877abab098c6e63a0e8
/2216/CH14/EX14.3/ex_14_3.sce
383debcbb714f1eb0952e19c485f347b3c6c81b9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
697
sce
ex_14_3.sce
//Example 14.3: output power clc; clear; close; h=0.6943*10^-6;// lm=10;//in cm r1=1.0;// r2=0.8;// t1=0.98;// as=1;//cm^2;// Ls=2;//cm gth=((1/(2*lm))*log((1/(r1*r2*(t1)^8))))+(as*Ls)/lm;// sg=1.5*10^-20;// ndth=gth/sg;//cm^-3;// nth=ndth*as*lm;//atoms ni=5*nth;//atoms ng=1.78;// ns=2.7;// lair=2;// c=3*10^10;// trt=((2*ng*lm)/c)+((2*ns*Ls)/c)+((2*lair)/c);//seconds npmax=((ni-nth)/2)-(nth/2)*log(ni/nth);//photons L=14;//cm at=((as*Ls)/L)+((1/(2*L))*log(1/(r1*t1^8)));// aext=((1/(2*L))*log(1/r2));// tp=((trt)/(1-(r1*r2*t1^8*exp(-2*as*Ls))));//seconds hc=6.6*10^-34;// pmax=((aext/at)*hc*c*npmax)/(h*tp);//in watts disp(pmax*10^-6,"maximum power in MW is") //answer is wrong in the textbook
31b7be167d65e5eac2f24a1fa6f7565999bea979
67310b5d7500649b9d53cf62226ec2d23468413c
/tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/jEdit/ground_truth/OpeningSequenceCoverage/length-1/max-150/t52.tst
9f8895f2ddd650723ee508f57f4b092ee677d5f3
[]
no_license
csnowleopard/guitar
e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02
1fa5243fcf4de80286d26057db142b5b2357f614
refs/heads/master
2021-01-19T07:53:57.863136
2013-06-06T15:26:25
2013-06-06T15:26:25
10,353,457
1
0
null
null
null
null
UTF-8
Scilab
false
false
661
tst
t52.tst
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <TestCase> <Step> <EventId>e49</EventId> <ReachingStep>false</ReachingStep> </Step> <Step> <EventId>e76</EventId> <ReachingStep>false</ReachingStep> </Step> <Step> <EventId>e34</EventId> <ReachingStep>false</ReachingStep> </Step> <Step> <EventId>e79</EventId> <ReachingStep>false</ReachingStep> </Step> <Step> <EventId>e60</EventId> <ReachingStep>false</ReachingStep> </Step> <Step> <EventId>e66</EventId> <ReachingStep>false</ReachingStep> </Step> </TestCase>
431670916f2b39f6c2c94b20ecd9775d69e5dfc2
51a62cf6043094e32b4c75da5fe20ac31f53d711
/Computação Gráfica/GeometricTransformation-Translation.sce
2bbe41b414c2ddba123af7df6a3eadf7af379a4c
[ "MIT" ]
permissive
AnneLivia/CollegeProjects
9e32c4da216caaa973ebd4e4fe472f57557a3436
96d33d0ed79b5efa8da4a1401acba60b0895e461
refs/heads/master
2022-12-23T10:13:03.503797
2022-12-12T16:35:29
2022-12-12T16:35:29
128,656,614
2
0
MIT
2022-12-12T16:36:09
2018-04-08T15:44:18
PHP
UTF-8
Scilab
false
false
778
sce
GeometricTransformation-Translation.sce
Q = [0, 0; 0, 2; 2, 2; 2, 0; 0, 0]; plot(Q(:, 1), Q(:, 2)); // para visualizar melhor o quadrado plot(-4, -4); plot(8, 8); /* A translation moves an object to a different position on the screen. You can translate a point in 2D by adding translation coordinate (tx, ty) to the original coordinate X,Y to get the new coordinate X′,Y′. The pair (tx, ty) is called the translation vector or shift vector. P' = P + T */ // Move the square to the right. x = 4, y = 0 T = [4, 0; 4, 0; 4, 0; 4, 0; 4, 0]; QT = Q + T; plot(QT(:, 1), QT(:, 2)); // move the square up. x = 4, y = 4 T = [4, 4; 4, 4; 4, 4; 4, 4; 4, 4]; QT = Q + T; plot(QT(:, 1), QT(:, 2)); // move the square left. x = 0, y = 4 T = [0, 4; 0, 4; 0, 4; 0, 4; 0, 4]; QT = Q + T; plot(QT(:, 1), QT(:, 2));
3d6085ab0e0fcf30e301b8b2a6c14c3f972de263
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/%asn.man.tst
baf3cd5d51e3e012055de6abc412887ee5b4f09d
[ "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
348
tst
%asn.man.tst
clear;lines(0); m=0.8;z=%asn(1/sqrt(m),m);K=real(z);Ktilde=imag(z); x2max=1/sqrt(m); x1=0:0.05:1;x2=1:((x2max-1)/20):x2max;x3=x2max:0.05:10; x=[x1,x2,x3]; y=%asn(x,m); rect=[0,-Ktilde,1.1*K,2*Ktilde]; plot2d(real(y)',imag(y)',1,'011',' ',rect) // deff('y=f(t)','y=1/sqrt((1-t^2)*(1-m*t^2))'); intg(0,0.9,f)-%asn(0.9,m) //Works for real case only!
c8abda7f0e4828389c46cf2b6c4c1fe3265be093
e41b69b268c20a65548c08829feabfdd3a404a12
/3DCosmos/BCK/Scripts/planetarium.SCI
f2269dfd0b4fb6454afd29125dd010bf07e64f0f
[ "LicenseRef-scancode-khronos", "MIT" ]
permissive
pvaut/Z-Flux
870e254bf340047ed2a52d888bc6f5e09357a8a0
096d53d45237fb22f58304b82b1a90659ae7f6af
refs/heads/master
2023-06-28T08:24:56.526409
2023-03-01T12:44:08
2023-03-01T12:44:08
7,296,248
1
1
null
2023-06-13T13:04:58
2012-12-23T15:40:26
C
UTF-8
Scilab
false
false
9,782
sci
planetarium.SCI
codeblock readtextfile(ScriptDir+"\TOOLS.sci"); codeblock readtextfile(ScriptDir+"\SSYS.sci"); longit=(3+43/60.0)/180*Pi; lattit=(51+3/60.0)/180*Pi; ei=+23.4457889/180*Pi; scfac=100000; ssysframe=ssys_create; ssys_createearth(1); ssys_createluna(2); ssys_createmilkyway; ssys_createconstellationnames; ssys_createstarnames; ssys_showconstellations(true); root.framerate=30; #Create moon halo object frame_moonhalo=ssysframe.addviewdirframe(point(0,0,0),"MoonHalo"); ssysframe.moveobject(frame_moonhalo.name,-1000); tx=frame_moonhalo.createtexture("halo",DataDir+"\textures\star1.bmp",DataDir+"\textures\star1.bmp"); moonhalo=frame_moonhalo.add("Rectangle","EnableLight":false, "Color":color(0.7,0.7,0.7,0.3),"BlendType":BlendTransparent,"DepthMask":DepthMaskDisable); fc=scfac*0.6; moonhalo.Texture=tx.name; moonhalo.position=point(-1*fc,-1*fc,0); moonhalo.Axis1=vector(2*fc,0,0); moonhalo.Axis2=vector(0,2*fc,0); #Create sun halo object #frame_sunhalo=ssysframe.addviewdirframe(point(0,0,0),"SunHalo"); frame_sunhalo=ssysframe.addsubframe("SunHalo"); ssysframe.moveobject(frame_sunhalo.name,-1000); tx=frame_sunhalo.createtexture("halo",DataDir+"\textures\star1.bmp"); #large halo rc=frame_sunhalo.add("Rectangle","EnableLight":false, "Color":color(1,1,0.7,0.3),"BlendType":BlendTransparent,"DepthMask":DepthMaskDisable); fc=scfac*1; rc.Texture=tx.name; rc.position=point(-1*fc,-1*fc,0); rc.Axis1=vector(2*fc,0,0); rc.Axis2=vector(0,2*fc,0); #small halo rc=frame_sunhalo.add("Rectangle","EnableLight":false, "Color":color(1,1,0.5,1.0),"BlendType":BlendTransparent,"DepthMask":DepthMaskDisable); fc=scfac*0.05; rc.Texture=tx.name; rc.position=point(-1*fc,-1*fc,0); rc.Axis1=vector(2*fc,0,0); rc.Axis2=vector(0,2*fc,0); #sunset/sunrise halo sunsethalo=frame_sunhalo.add("Rectangle","EnableLight":false, "Color":color(1,0.5,0.0,0.3),"BlendType":BlendTransparent,"DepthMask":DepthMaskDisable); fc=scfac*1; sunsethalo.Texture=tx.name; sunsethalo.position=point(-3*fc,-1*fc,0); sunsethalo.Axis1=vector(6*fc,0,0); sunsethalo.Axis2=vector(0,2*fc,0); #hide Earth orbit root.SC.Universe.SolarSystem.EarthOrbit.visible=false; #create planet objects frame_planets=ssysframe.addsubframe("PlanetsIndicators"); ssysframe.moveobject(frame_planets.name,-1000); planlist=list("Mercurius","Venus","Mars","Jupiter","Saturnus","Neptunus"); for i=0 to planlist.size-1 do { ssys_createplanet(planlist(i),1); GetPlanetOrbit(planlist(i)).visible=false; fr=GetPlanetFrame(planlist(i)); fr.clearobjects; fr=frame_planets.addsubframe(planlist(i)); fr.add("LightPoint","Size":5000,"Color":color(1,1,0)); fr.add("TextFlat","Size":8000,"Color":color(1,1,0,0.5),"BlendType":BlendTransparent,"DepthMask":DepthMaskDisable, "Content":(" "+planlist(i))); } #starback=root.SC.Universe.StarBackFrame.StarBack; #starback.LineSize=autokm(1000); #starback.LineColor=color(1,0,0); #ssysframe.add("Sphere","Name":"Sun","Radius":autokm(0.01),"EnableLight":false); earthframe=GetPlanetBodyFrame("Earth"); earthframe.GlobeRendering.visible=false; myviewport=T_getviewport; myviewport.EnableUserNavigation=false; #create viewer frame, but at earth center vframe=earthframe.addsubframe("ViewerFrame"); vframe.transf.rotate(vector(0,1,0),Pi/2-lattit); vframe.transf.rotate(vecrotate(vector(0,0,1),vector(0,1,0),-1*(Pi/2-lattit)),longit); #s=20000*1000; #vframe.add("Bar","Position":point(0,0,0),"SizeX":s,"SizeY":s,"SizeZ":s); #vframe.add("Curve").makeline(point(0,0,0),point(0,0,2*s)); #Build scene #atmosphere horizon glow #atm1=vframe.add("Sphere","Name":"AtmopshereGlow"); atm1=vframe.add("Cylinder","Name":"AtmopshereGlow"); vframe.createtexture("Atm1",DataDir+"\textures\gradient1.bmp",DataDir+"\textures\gradient1.bmp"); atm1.renderback=true;atm1.renderfront=true; atm1.enablelight=false; atm1.Texture="Atm1"; atm1.BlendType=BlendTransparent;atm1.DepthMask=DepthMaskDisable; atm1.radius=1.0*scfac; atm1.Axis=vector(0,0,1.5*scfac); atm1.IsClosed=false; atm1.position=point(0,0,-0.05*scfac); #full atmosphere (equal light) atm2=vframe.add("Sphere","Name":"AtmosphereEqual"); atm2.renderback=true;atm2.renderfront=false; atm2.enablelight=false; atm2.BlendType=BlendTransparent;atm2.DepthMask=DepthMaskDisable; atm2.radius=2*scfac; atm2.resolution=5; #azimuth grid #for i=0 to 15 do { # ang=i/16*2*Pi; # vframe.add("Curve","Color":color(0,0.6,0.5,0.5),"BlendType":BlendTransparent, # "Size":2).makecircle(point(0,0,0),vector(cos(ang),sin(ang),0),1.3*scfac,200); #} #for i=0 to 6 do { # ang=i/6*Pi/2; # vframe.add("Curve","Color":color(0,0.6,0.5,0.5),"BlendType":BlendTransparent, # "Size":2).makecircle(point(0,0,1.3*scfac*sin(ang)),vector(0,0,1),1.3*scfac*cos(ang),200); #} #backdrop bdframe=vframe.addsubframe("BackDropFrame"); bdframe.transf.rotate(vector(0,0,1),-42/180*Pi-Pi); vframe.createtexture("bd",DataDir+"\textures\panovsrug.jpg",DataDir+"\textures\panovsrug_mask.jpg"); vframe.createtexture("bd2",DataDir+"\textures\koepel.jpg",DataDir+"\textures\koepel_mask.jpg"); bd=bdframe.add("Cylinder","Name":"BackDrop", "Position":point(0,0,(-0.55+0.04)*scfac), "Axis":vector(0,0,2*0.55*scfac), "Radius":scfac); bd.renderback=true; bd.resolution=70; bd.IsClosed=false; bd.enablelight=false; bd.Texture="bd"; bd.BlendType=BlendTranslucent; bd2frame=vframe.addsubframe("BackDropFrame"); bd2frame.transf.rotate(vector(0,0,1),-42/180*Pi+Pi/2); bd2=bd2frame.add("Surface","Name":"BackDropKoepel"); bd2.enablelight=false; bd2.renderback=true; bd2.dim(2,2); bd2.points(0,0)=@point(scfac*vecnorm(vector(+0.8,-1,0))+scfac*vector(0,0,-0.44)); bd2.points(1,0)=@point(scfac*vecnorm(vector(-0.15,-1,0))+scfac*vector(0,0,-0.44)); bd2.points(1,1)=@point(scfac*vecnorm(vector(-0.22,-1,0))+scfac*vector(0,0,+0.7)); bd2.points(0,1)=@point(scfac*vecnorm(vector(+0.9,-1,0))+scfac*vector(0,0,+0.7)); bd2.Texture="bd2"; bd2.BlendType=BlendTranslucent; myviewport.CameraPos=point(0,0,0); myviewport.Cameradir=vecnorm(vector(1,0,0.5)); myviewport.FocalDistance=0.1*scfac*10; myviewport.EyeSeparation=myviewport.FocalDistance/30; myviewport.NearClipPlane=0.1*scfac; myviewport.Aperture=70/180*Pi; #clock overlay clockframe=root.SC.Universe.addscreenframe("ClockFrame"); #time clock=clockframe.add("Clock"); clock.enablelight=false; clock.Position=point(0.085,0.085,0); clock.Size=0.075; clock.DepthTest=DepthTestDisable; clock.DepthMask=DepthMaskDisable; clock.BlendType=BlendTranslucent; clock.color=color(0.7,0.7,0.7); #date clock=clockframe.add("Clock"); clock.enablelight=false; clock.Position=point(0.15,0.01,0); clock.Type=ClockTypeDateTime; clock.Size=0.02; clock.DepthTest=DepthTestDisable; clock.DepthMask=DepthMaskDisable; clock.BlendType=BlendTranslucent; clock.color=color(0.7,0.7,0.7); #root.time=time(2008,3,21,0,0,0); root.time=CurrentTimeUT; fr=0; root.TimeSpeed=10; while true do { incrtime; #root.time=CurrentTimeUT; # root.time=CurrentTimeUT+0*60*60; earthpos=GetPlanetPosition("Earth"); moonpos=GetLunaPosition; #update positions of planet indicator for i=0 to planlist.size-1 do frame_planets.get(planlist(i)).transf.origin=earthpos+2*scfac*vecnorm(GetPlanetPosition(planlist(i))-earthpos); #update position of moon halo & calculate intensity frame_moonhalo.transf.origin=earthpos+1.5*scfac*vecnorm(@vector(moonpos)); fr=vecnorm(@vector(moonpos))^vecnorm(@vector(earthpos)); fr=1+fr;if (fr>1) then fr=1; fr=fr*fr; moonhalo.color=color(0.7,0.7,0.7,0.3*fr); #update position of sun halo ez=vecnorm(-1*@vector(earthpos)); ex=vecnorm(ez*(vframe.totaltransformation*vector(0,0,1))); ey=ex*ez; frame_sunhalo.transf.origin=earthpos+2*scfac*ez; frame_sunhalo.transf.Xaxis=ex; frame_sunhalo.transf.Yaxis=ey; frame_sunhalo.transf.Zaxis=ez; #calculate sun presence vertdir=vframe.totaltransformation*vector(0,0,1); sunang=vecnorm(point(0,0,0)-earthpos)^vertdir; sunfr=(sunang+0.1)/0.2; if sunfr<0 then sunfr=0; if sunfr>1 then sunfr=1; #adjust atmosphere color to sun presence atm1.color=color(0.3,0.5,0.7,0.3+0.58*sunfr); atm2.color=color(0.3,0.5,0.7,0.15+0.73*sunfr); #adjust sunset/sunrise halo brightness fr=6*(sunang+0.1);fr=1-fr*fr; if fr<0 then fr=0; sunsethalo.color=color(1,0.5,0.0,0.6*fr); #backdrop illumunation fr2=0.15+0.8*sunfr; bd.color=color(fr2,fr2,fr2,1); bd2.color=color(fr2,fr2,fr2,1); #mechanism to co-move camera with earth if true then { root.SC.Universe.transf.reset; ttf=vframe.totaltransformation; # myviewport.CameraUpDir=ttf*vector(0,0,1); ttf.invert; # root.SC.Universe.transf=ttf; # root.sc.light0pos=ttf*point(0,0,0); root.viewports.main.transf=ttf; } render; if UIGetAxisActive(UIAxisX,UIAxisLevel0) then { vl=UIGetAxisPos(UIAxisX,UIAxisLevel0); myviewport.CameraDir=vecrotate(myviewport.CameraDir,vector(0,0,1),0.03*vl); } if UIGetAxisActive(UIAxisY,UIAxisLevel0) then { ok=false; ang0=vecangle(myviewport.CameraDir,vector(0,0,1)); vl=UIGetAxisPos(UIAxisY,UIAxisLevel0); if vl>2 then vl=2; if vl<-2 then vl=-2; if (vl>0) and (ang0>5/180*Pi) then ok=true; if (vl<0) and (ang0<75/180*Pi) then ok=true; if ok then { dr1=vecnorm(myviewport.CameraDir*vector(0,0,1)); myviewport.CameraDir=vecrotate(myviewport.CameraDir,dr1,0.03*vl); } } if UIGetAxisActive(UIAxisZ,UIAxisLevel0) then { vl=UIGetAxisPos(UIAxisZ,UIAxisLevel0); myviewport.Aperture=myviewport.Aperture*(1-vl/20); if myviewport.Aperture<30/180*Pi then myviewport.Aperture=30/180*Pi; if myviewport.Aperture>80/180*Pi then myviewport.Aperture=80/180*Pi; } # if IsKeyDown("F4") then stop; }
4610ada32b90410f21b65ebecc402190c3fdc838
449d555969bfd7befe906877abab098c6e63a0e8
/213/CH9/EX9.1/9_1.sce
6d4a6b32e3295d2dc496495cac2e771a98141b53
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
9_1.sce
//To find inclination of track arm clc //Given: c=1.2,b=2.7 //m //Solution: //Calculating the inclination of the track arm to the longitudinal axis alpha=atan(c/(2*b))*180/%pi //degrees //Results: printf("\n\n Inclination of the track arm to the longitudinal axis, alpha = %.1f degrees.\n\n",alpha)
4503c17341de4eddc6adb23b636c7c7063102d8b
cfac21260a4737c49982a78160361703914dac1f
/sem1/old_src/Программы и so on/lab_5/Inv_pendulum/First_way.sce
8d6fe5da8968165206e91fb687b341722282ee00
[]
no_license
Zenkin/courses
680442fa57bc3b1c872e15e9bc7e98b579bfd39e
b0b0aafe0c358a611868fd764a2ad1cb71078d8d
refs/heads/master
2020-03-23T22:19:20.542398
2018-07-24T13:55:20
2018-07-24T13:55:20
139,969,727
0
0
null
2018-07-06T10:19:48
2018-07-06T10:19:47
null
UTF-8
Scilab
false
false
5,121
sce
First_way.sce
mw = 0.017; //масса колес Umax = 7.4 //управляющее напряжение (нужно только для моделирования) mc = 0.595 - 4*mw; //масса тележки mp = 0.051; //масса маятника g = 9.82; //ускорение свободного падения L = 0.68; //длина маятника l = L/2; //расстояние до центра масс маятника R = 7.54; //сопротивление цепи якоря двигателя r = 0.058/2; //радиус колеса km = 0.5; //конструктивные постоянные ke = 0.5; J = 0.0023; //приведенный момент инерции вала сервопривода Jp = mp*L*L/12; //момент инерции маятника (=J одн стержня отн. его центра масс) Jw = mw*r*r/2; //момент инерции колес tper = 1.0; //Время перерегулирования p=poly(0,"p"); //просто символ //коэффициенты нужного характеристиского полинома (полином Ньютона) p0 = 6.3/tper; a_1 = p0^3; a_2 = 3*p0^2; a_3 = 3*p0; //необходимые матрицы E = {2*mp*L*r, mp*L*L + 4*Jp; mp*r*r + mc*r*r + 4*mw*r*r + 4*Jw + 2*J, 0.5*mp*L*r}; F = {0, 0; 2*km*ke/R, 0}; G = {0, -2*mp*g*L; 0, 0}; H = {0; 2*km/R}; EG = (E^-1)*G; EF = (E^-1)*F; EH = (E^-1)*H; EG = (-1)*EG; EF = (-1)*EF; A = { 0, 0, 1; //матрица, определяющая динамические свойства ОУ EG(1,2), EF(1,1), EF(1,2); EG(2,2), EF(2,1), EF(2,2)}; B = { 0; //матрица входа управляющих воздействий EH(1,1); EH(2,1)}; W = [B, A*B, A^2*B]; //матрица управляемости //проверка на управляемость if det(W) <> 0 then printf("\nIt can be controlled\n\n"); end if det(W) == 0 then printf("\nIt can not be controlled\n\n"); end C={1,0,0}; //матрица выхода Q={ C; //матрица наблюдаемости C*A; C*A^2}; //проверка на наблюдаемость if det(Q) <> 0 then printf("It is observable\n"); end if det(Q) == 0 then printf("It is not observable\n"); end a = coeff(det(p*eye(3,3) - A)); //коэффициенты характеристического полинома объекта управления Ak = {0, 1, 0; //матрица, определяющая динамические свойства ОУ 0, 0, 1; //в канонической форме -a(1),-a(2),-a(3)}; Bk = {0; //матрица управляющих воздействий 0; //в канонической форме 1}; Wk = {Bk, Ak*Bk, Ak^2*Bk]; //матрица управляемости в канонической форме P = Wk*(W^-1); //матрица перехода Kk = {a_1-a(1), a_2-a(2), a_3-a(3)}; //матрица коэффициентов обратной связи для Bk и Ak K = Kk*P; //матрица коэффициентов обратной связи printf("\nYou need: "); disp(a_1+a_2*p+a_3*p^2+p^3); printf("\nYou will have: "); disp(det(p*eye(3,3)-(A-B*K))); printf("\nWhere Koefs =:\n k1 = %g k2 = %g k3 = %g\n\n", K(1), K(2), K(3)); //Для структурной схемы //начальные условия psi0 = 0; //начальный угол маятника dpsi0 = 0.2; //начальная скорость падения маятника dtheta0 = 0; //начальная скорость колес //Остальное k1 = K(1); k2 = K(2); k3 = K(3); i1 = A(2,2); i2 = A(2,1); i3 = B(2); o1 = A(3,2); o2 = A(3,1); o3 = B(3); ////моделирование при рассчитанных коэффициентах: //importXcosDiagram("C:\for_scilab\cart_on_3.zcos"); //полное имя файла со структурной схемой //xcos_simulate(scs_m, 4); ////построение графиков с результатами //subplot(2,2,1); //xtitle("Угол (рад --- с)"); //plot2d(psi.time, psi.values,2); //subplot(2,2,2); //xtitle("Напряжение (В --- с)"); //plot2d(napr.time, napr.values,2); //subplot(2,2,3); //xtitle("Скорость падения (рад/с --- с)"); //plot2d(dpsi.time, dpsi.values,2); //subplot(2,2,4); //xtitle("Скорость колес (рад/с --- с)"); //plot2d(dtheta.time, dtheta.values,2); // //вывод найденных коэффициентов printf("but in program you must put: \n"); disp(K*%pi/180)
f850927336886da1b7aa69ab913530098376f087
089894a36ef33cb3d0f697541716c9b6cd8dcc43
/NLP_Project/test/tweet/bow/bow.11_16.tst
556d60882aa870ce7a06595d3f48d1d4a5e17696
[]
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
35,052
tst
bow.11_16.tst
11 5:0.5 7:1.5 9:0.5 12:0.14285714285714285 15:1.0 31:0.2 41:2.0 46:0.14285714285714285 50:0.5 53:0.3333333333333333 59:0.16666666666666666 66:0.2 105:0.16666666666666666 110:0.06666666666666667 111:0.09090909090909091 153:1.0 324:1.0 330:0.5 342:0.2 348:0.25 457:1.0 508:2.0 582:1.0 618:2.0 670:0.5 960:0.5 1085:0.5 1121:0.05263157894736842 1125:1.0 1256:1.0 1441:1.0 1517:1.0 2452:0.3333333333333333 2659:1.0 3288:1.0 3438:1.0 3815:1.0 4253:1.0 4441:1.0 5502:1.0 7266:1.0 11 3:0.5 7:0.5 9:0.25 12:0.14285714285714285 15:1.0 18:1.0 24:0.3333333333333333 31:0.2 45:0.5 48:0.3333333333333333 50:0.5 52:0.023255813953488372 55:1.0 59:0.3333333333333333 66:0.2 103:1.0 106:0.25 110:0.06666666666666667 111:0.09090909090909091 126:1.0 144:0.5 677:1.0 755:0.125 938:1.0 980:1.0 1037:1.0 1102:1.0 1315:1.0 1993:1.0 2541:1.0 2651:1.0 3974:1.0 6523:1.0 6602:1.0 7814:1.0 11 7:0.5 9:0.5 12:0.14285714285714285 18:0.5 41:1.0 59:0.16666666666666666 106:0.25 110:0.06666666666666667 328:0.25 406:0.5 572:1.0 681:1.0 964:0.09090909090909091 976:1.0 983:1.0 1053:1.0 1125:1.0 1554:0.25 1731:0.5 2005:1.0 6500:1.0 11 7:0.5 8:1.0 9:1.0 12:0.2857142857142857 18:0.5 31:0.6 50:1.0 52:0.046511627906976744 55:0.5 66:0.4 82:0.14285714285714285 99:0.16666666666666666 102:0.25 104:1.0 110:0.06666666666666667 128:0.3333333333333333 153:1.0 182:0.5 185:0.25 189:1.0 260:0.1 275:0.1111111111111111 276:1.0 317:1.0 328:0.25 348:0.25 450:0.5 647:1.0 788:0.25 960:0.5 979:1.0 980:1.0 1005:1.0 1256:1.0 1409:1.0 1463:1.0 1486:1.0 1531:0.5 1544:1.0 2086:1.0 2111:1.0 2159:0.5 2721:1.0 3361:1.0 3707:1.0 6005:1.0 7839:1.0 7887:1.0 7927:1.0 11 9:0.25 12:0.21428571428571427 22:3.0 41:1.0 48:0.3333333333333333 50:1.0 52:0.023255813953488372 60:1.0 106:0.25 110:0.06666666666666667 164:1.0 214:1.0 237:0.1 279:0.25 388:1.0 390:0.5 672:1.0 745:1.0 771:1.0 776:1.0 812:0.3333333333333333 976:1.0 1187:1.0 1251:0.5 1322:1.0 1463:1.0 1577:1.0 1869:1.0 2049:1.0 2638:1.0 2987:1.0 3451:1.0 3583:1.0 4484:1.0 5903:1.0 5971:1.0 11 7:1.0 8:1.0 12:0.07142857142857142 15:1.0 16:0.3333333333333333 18:1.0 22:1.0 26:0.3333333333333333 40:0.25 48:0.3333333333333333 50:1.0 66:0.4 76:1.0 110:0.13333333333333333 113:0.5 127:0.3333333333333333 165:0.3333333333333333 180:1.0 185:0.25 236:0.1111111111111111 240:0.25 269:1.0 275:0.1111111111111111 508:1.0 664:0.3333333333333333 818:1.0 1137:1.0 1212:1.0 1251:0.5 1472:1.0 1851:1.0 1946:2.0 2343:1.0 2367:1.0 2650:1.0 2976:1.0 3953:1.0 5563:1.0 5631:1.0 11 7:2.5 12:0.07142857142857142 14:1.0 15:1.0 18:1.0 33:1.0 50:1.5 52:0.023255813953488372 59:0.16666666666666666 66:0.8 99:0.16666666666666666 102:0.25 110:0.13333333333333333 111:0.09090909090909091 150:0.3333333333333333 226:1.0 240:0.25 286:1.0 342:0.2 403:0.5 450:0.5 504:0.5 516:0.3333333333333333 544:1.0 777:1.0 803:1.0 960:0.5 1118:1.0 1476:0.5 2650:1.0 2708:0.5 2781:1.0 2885:1.0 2980:1.0 3057:1.0 4076:1.0 4354:1.0 4652:1.0 4932:1.0 4933:1.0 4934:1.0 5034:1.0 5868:1.0 6540:1.0 7294:1.0 7955:1.0 11 7:0.5 8:1.0 9:0.5 11:0.25 12:0.14285714285714285 18:0.5 22:1.0 25:1.0 26:0.3333333333333333 31:0.8 45:0.5 46:0.2857142857142857 48:0.3333333333333333 50:0.5 52:0.023255813953488372 55:0.5 59:0.16666666666666666 66:0.2 70:0.1111111111111111 99:0.3333333333333333 110:0.06666666666666667 124:1.0 126:1.0 127:0.6666666666666666 134:0.25 180:1.0 183:0.5 189:1.0 191:1.0 242:1.0 243:1.0 323:0.5 342:0.2 361:0.5 432:1.0 455:1.0 542:1.0 745:1.0 746:1.0 795:0.25 805:0.5 1023:1.0 1095:1.0 1150:1.0 1277:1.0 1440:1.0 1486:1.0 1884:1.0 2178:0.5 2275:1.0 2570:1.0 3159:1.0 3441:1.0 3876:1.0 4086:1.0 4167:0.5 4557:1.0 5719:1.0 11 7:0.5 9:0.25 12:0.2857142857142857 15:1.0 24:0.3333333333333333 31:0.6 33:1.0 41:1.0 47:0.3333333333333333 48:0.3333333333333333 66:0.4 76:1.0 105:0.16666666666666666 134:0.25 189:1.0 267:0.4 269:1.0 275:0.1111111111111111 278:1.0 286:1.0 303:0.5 362:0.5 380:1.0 516:0.3333333333333333 697:1.0 893:0.5 1300:1.0 1374:1.0 2640:0.5 2924:1.0 3154:1.0 3650:0.5 6550:1.0 8349:1.0 11 7:1.5 9:0.5 11:0.25 16:0.6666666666666666 31:0.2 47:0.3333333333333333 48:0.3333333333333333 50:1.0 52:0.023255813953488372 59:0.6666666666666666 78:1.0 102:0.25 110:0.06666666666666667 135:0.5 226:1.0 298:1.0 342:0.2 355:2.0 823:2.0 964:0.09090909090909091 1121:0.05263157894736842 1129:0.5 1212:2.0 1277:1.0 1657:1.0 1846:1.0 1919:1.0 2296:1.0 2562:1.0 2599:1.0 2892:1.0 3747:1.0 4373:1.0 4569:1.0 6693:1.0 6882:1.0 11 9:0.75 12:0.21428571428571427 14:1.0 18:0.5 31:0.2 46:0.14285714285714285 50:0.5 52:0.046511627906976744 76:1.0 78:1.0 108:0.5 109:1.0 110:0.13333333333333333 126:1.0 127:0.3333333333333333 128:0.3333333333333333 240:0.25 278:1.0 342:0.2 405:1.0 450:0.5 618:1.0 622:1.0 661:0.25 746:1.0 795:0.25 801:1.0 868:1.0 1113:0.5 1320:1.0 1463:1.0 1536:1.0 1629:0.5 1733:1.0 1866:1.0 1920:1.0 2945:1.0 3598:1.0 7034:1.0 11 7:0.5 9:0.25 18:0.5 31:0.2 46:0.14285714285714285 50:0.5 55:1.0 105:0.16666666666666666 111:0.09090909090909091 180:1.0 206:0.3333333333333333 329:1.0 544:1.0 579:1.0 654:1.0 657:1.0 1059:1.0 1332:1.0 1476:0.5 1554:0.25 1963:1.0 2128:1.0 2873:1.0 3171:1.0 3299:1.0 3696:1.0 3986:1.0 5944:1.0 11 7:0.5 9:0.5 12:0.14285714285714285 31:0.2 47:0.3333333333333333 48:0.3333333333333333 52:0.023255813953488372 66:0.2 102:0.25 106:0.25 110:0.06666666666666667 111:0.09090909090909091 126:1.0 206:0.3333333333333333 236:0.1111111111111111 275:0.1111111111111111 282:0.5 295:1.0 328:0.25 330:0.5 350:1.0 408:1.0 556:0.3333333333333333 661:0.25 664:0.3333333333333333 1001:1.0 1153:1.0 1212:1.0 1929:1.0 2345:1.0 2801:1.0 2981:1.0 3301:1.0 3779:1.0 4159:1.0 4700:1.0 5137:1.0 7383:1.0 7451:1.0 7616:1.0 11 7:1.5 9:0.5 11:0.25 14:1.0 16:0.6666666666666666 22:1.0 31:0.2 41:1.0 66:0.4 77:1.0 99:0.16666666666666666 110:0.06666666666666667 126:1.0 128:0.3333333333333333 182:0.5 275:0.2222222222222222 276:1.0 664:0.3333333333333333 688:0.5 795:0.25 964:0.09090909090909091 1203:1.0 1212:1.0 1297:1.0 1730:1.0 1884:1.0 2287:1.0 2532:1.0 2640:0.5 2934:1.0 2982:1.0 8090:1.0 8103:1.0 11 2:1.0 7:0.5 9:0.5 12:0.14285714285714285 14:1.0 18:0.5 50:0.5 52:0.023255813953488372 55:0.5 59:0.16666666666666666 60:1.0 66:0.2 81:0.5 85:1.0 113:0.5 131:1.0 135:0.5 150:0.3333333333333333 176:1.0 206:0.3333333333333333 215:0.1111111111111111 328:0.25 350:1.0 403:0.5 409:1.0 521:0.5 556:0.3333333333333333 558:1.0 852:1.0 923:1.0 1231:1.0 1439:1.0 1664:1.0 2033:1.0 3451:1.0 3659:1.0 4409:1.0 4790:1.0 5637:1.0 6885:1.0 8141:1.0 11 7:0.5 12:0.21428571428571427 18:0.5 22:1.0 31:0.2 50:0.5 52:0.023255813953488372 66:0.2 67:1.0 70:0.1111111111111111 85:1.0 99:0.16666666666666666 106:0.25 110:0.13333333333333333 128:0.6666666666666666 165:0.3333333333333333 267:0.2 278:1.0 279:0.25 286:1.0 309:1.0 507:1.0 661:0.25 677:1.0 811:1.0 878:1.0 1276:0.3333333333333333 1495:0.5 1566:1.0 1813:1.0 1971:0.5 2313:0.5 2688:0.5 2924:1.0 3121:1.0 4840:1.0 11 7:1.0 9:0.25 12:0.07142857142857142 15:2.0 18:0.5 27:1.0 31:0.4 48:0.3333333333333333 52:0.023255813953488372 53:0.3333333333333333 59:0.16666666666666666 66:0.4 88:0.3333333333333333 99:0.16666666666666666 102:0.25 110:0.06666666666666667 111:0.09090909090909091 125:1.0 126:1.0 128:0.6666666666666666 214:1.0 226:1.0 236:0.2222222222222222 237:0.1 275:0.2222222222222222 298:1.0 321:1.0 330:0.5 390:0.5 450:0.5 455:1.0 507:1.0 556:0.3333333333333333 571:1.0 639:1.0 827:1.0 960:0.5 979:1.0 980:1.0 1121:0.05263157894736842 1405:0.2 1410:1.0 1449:1.0 1616:1.0 1866:1.0 2213:1.0 2317:1.0 2640:0.5 3253:1.0 3443:1.0 3721:1.0 3801:1.0 3815:1.0 4707:1.0 4989:1.0 5060:1.0 5141:1.0 5220:1.0 5414:1.0 7049:1.0 11 7:0.5 9:0.25 12:0.07142857142857142 15:1.0 31:0.6 41:1.0 52:0.046511627906976744 55:0.5 59:0.3333333333333333 66:0.2 82:0.14285714285714285 106:0.25 110:0.26666666666666666 111:0.09090909090909091 126:1.0 182:0.5 191:1.0 221:1.0 236:0.1111111111111111 276:1.0 348:0.25 390:1.0 432:1.0 576:1.0 595:1.0 661:0.25 745:1.0 757:1.0 783:0.5 811:1.0 863:0.5 883:1.0 1053:1.0 1118:1.0 1193:1.0 1223:1.0 1276:0.3333333333333333 1528:1.0 2475:1.0 3301:1.0 3656:1.0 3661:1.0 4167:0.5 5402:1.0 6121:1.0 6221:1.0 11 7:0.5 12:0.07142857142857142 15:2.0 22:1.0 31:0.2 45:0.5 46:0.14285714285714285 47:0.3333333333333333 48:0.3333333333333333 50:1.0 52:0.023255813953488372 55:0.5 66:0.6 91:1.0 297:1.0 298:1.0 342:0.2 465:1.0 556:0.3333333333333333 610:0.5 816:1.0 861:1.0 862:1.0 936:0.3333333333333333 1095:1.0 1276:0.3333333333333333 1396:1.0 1984:1.0 2054:1.0 2388:1.0 2638:1.0 2861:1.0 3373:0.5 3632:1.0 4059:1.0 7955:1.0 11 16:0.3333333333333333 31:0.2 41:1.0 46:0.14285714285714285 47:0.6666666666666666 50:0.5 52:0.046511627906976744 99:0.3333333333333333 102:0.25 105:0.16666666666666666 106:0.25 110:0.06666666666666667 134:0.25 182:0.5 183:0.5 237:0.1 256:1.0 267:0.2 275:0.1111111111111111 279:0.25 298:1.0 323:0.5 343:1.0 362:0.5 387:1.0 450:0.5 482:1.0 556:0.3333333333333333 745:1.0 962:1.0 964:0.09090909090909091 1053:1.0 1657:1.0 2358:1.0 2380:1.0 2982:1.0 3248:1.0 4219:1.0 4264:1.0 4366:1.0 4432:1.0 4944:1.0 7544:1.0 7741:1.0 8349:1.0 11 7:1.0 46:0.14285714285714285 50:0.5 59:0.16666666666666666 66:0.6 97:1.0 102:0.25 125:1.0 135:0.5 155:0.5 222:0.3333333333333333 237:0.1 275:0.1111111111111111 276:1.0 355:1.0 362:0.5 465:1.0 513:0.5 823:1.0 868:1.0 943:1.0 980:1.0 1409:1.0 1410:1.0 1414:1.0 1461:1.0 1554:0.25 1968:1.0 1996:1.0 2178:0.5 2810:1.0 3823:1.0 8071:1.0 11 7:1.0 11:0.25 12:0.14285714285714285 14:1.0 15:2.0 18:1.0 22:2.0 24:0.3333333333333333 26:0.3333333333333333 31:0.4 45:0.5 46:0.2857142857142857 50:0.5 52:0.09302325581395349 53:0.3333333333333333 55:0.5 66:0.2 103:0.5 110:0.06666666666666667 191:1.0 236:0.1111111111111111 260:0.1 275:0.2222222222222222 336:1.0 439:1.0 745:1.0 755:0.125 762:1.0 868:1.0 1101:1.0 1118:1.0 1131:1.0 1296:1.0 1320:1.0 2101:1.0 2206:1.0 2444:1.0 2452:0.3333333333333333 2766:1.0 2891:0.5 3349:1.0 3749:0.5 5011:1.0 5281:1.0 6316:1.0 11 2:1.0 7:2.0 9:0.25 15:1.0 16:0.3333333333333333 31:0.2 43:1.0 48:0.3333333333333333 52:0.06976744186046512 59:0.5 88:0.3333333333333333 103:0.5 105:0.16666666666666666 110:0.06666666666666667 113:0.5 135:0.5 136:0.5 176:1.0 267:0.2 275:0.1111111111111111 282:0.5 328:0.25 362:0.5 445:1.0 508:2.0 521:0.5 528:1.0 688:0.5 1095:1.0 1468:1.0 1729:1.0 1778:1.0 2160:1.0 2161:1.0 2162:1.0 2657:1.0 3276:1.0 3283:1.0 3814:1.0 4283:1.0 11 2:1.0 7:1.0 9:0.75 12:0.21428571428571427 14:1.0 18:1.0 22:1.0 52:0.16279069767441862 53:0.3333333333333333 59:0.16666666666666666 70:0.1111111111111111 105:0.16666666666666666 111:0.09090909090909091 128:0.3333333333333333 155:0.5 165:0.3333333333333333 183:0.5 215:0.2222222222222222 267:0.2 286:1.0 320:1.0 342:0.2 450:0.5 516:0.3333333333333333 687:0.5 755:0.125 783:0.5 811:1.0 837:1.0 868:1.0 960:0.5 1121:0.05263157894736842 1320:1.0 1456:1.0 1463:1.0 1727:1.0 2364:1.0 3044:1.0 3147:1.0 3880:1.0 4310:1.0 6316:1.0 6336:1.0 6781:1.0 11 8:1.0 9:0.5 11:0.25 12:0.14285714285714285 16:0.3333333333333333 22:1.0 42:1.0 52:0.023255813953488372 66:0.2 70:0.1111111111111111 99:0.16666666666666666 150:0.3333333333333333 162:1.0 275:0.1111111111111111 315:1.0 342:0.2 508:1.0 524:1.0 582:1.0 755:0.125 868:1.0 1072:1.0 1297:1.0 1440:1.0 1469:1.0 1727:1.0 2709:1.0 2945:1.0 3599:1.0 4759:1.0 6661:1.0 11 7:1.0 12:0.14285714285714285 14:1.0 31:0.2 37:1.0 46:0.2857142857142857 50:1.5 52:0.046511627906976744 88:0.3333333333333333 99:0.3333333333333333 106:0.25 110:0.06666666666666667 128:0.3333333333333333 236:0.1111111111111111 237:0.1 260:0.1 282:0.5 440:1.0 445:1.0 468:1.0 1080:1.0 1193:1.0 1554:0.25 1804:1.0 2019:1.0 2286:0.5 3880:1.0 4827:1.0 7359:1.0 8412:1.0 11 7:1.0 12:0.07142857142857142 14:1.0 30:1.0 31:0.2 40:0.25 50:0.5 59:0.16666666666666666 99:0.16666666666666666 113:0.5 127:0.3333333333333333 128:0.6666666666666666 189:1.0 237:0.1 279:0.25 309:1.0 328:0.25 342:0.2 362:0.5 465:1.0 938:1.0 960:0.5 964:0.09090909090909091 1025:0.3333333333333333 1118:1.0 1399:1.0 1538:1.0 1757:0.5 3533:2.0 3597:1.0 4181:1.0 5069:1.0 5402:1.0 11 7:0.5 9:0.75 12:0.07142857142857142 15:1.0 31:0.4 45:0.5 52:0.023255813953488372 55:0.5 99:0.16666666666666666 110:0.13333333333333333 265:0.5 267:0.2 346:1.0 448:1.0 450:0.5 465:1.0 666:1.0 1454:1.0 1603:1.0 2848:1.0 4933:1.0 7515:1.0 7700:1.0 11 12:0.07142857142857142 16:0.3333333333333333 18:0.5 22:2.0 26:0.3333333333333333 46:0.14285714285714285 50:0.5 52:0.023255813953488372 55:2.0 58:0.5 59:0.5 78:1.0 86:1.0 106:0.25 110:0.06666666666666667 132:1.0 191:1.0 237:0.1 293:1.0 450:1.5 465:1.0 616:0.1111111111111111 755:0.125 857:1.0 1066:1.0 1095:1.0 1176:1.0 1340:1.0 1461:1.0 2150:1.0 2629:1.0 2981:1.0 4221:1.0 5445:1.0 5719:1.0 6863:1.0 11 5:0.5 9:0.25 12:0.07142857142857142 15:1.0 31:0.2 52:0.046511627906976744 55:1.0 58:1.0 64:1.0 66:0.2 88:0.3333333333333333 103:0.5 105:0.16666666666666666 110:0.06666666666666667 155:0.5 165:0.3333333333333333 215:0.1111111111111111 221:1.0 222:0.3333333333333333 279:0.25 322:1.0 342:0.2 348:0.25 466:1.0 967:1.0 1106:1.0 1456:1.0 1494:1.0 1712:1.0 2296:1.0 2511:1.0 2784:1.0 3793:1.0 11 5:0.5 16:0.3333333333333333 45:0.5 48:0.3333333333333333 50:0.5 52:0.046511627906976744 55:0.5 59:0.16666666666666666 76:1.0 81:0.5 103:0.5 189:1.0 215:0.1111111111111111 216:1.0 236:0.1111111111111111 275:0.1111111111111111 279:0.25 296:0.3333333333333333 536:0.5 618:1.0 1093:1.0 1121:0.05263157894736842 1340:1.0 1557:2.0 2605:1.0 4830:1.0 5100:1.0 5212:1.0 11 7:0.5 12:0.07142857142857142 22:1.0 31:0.6 40:0.25 41:1.0 46:0.42857142857142855 50:1.0 66:0.4 81:0.5 106:0.25 110:0.06666666666666667 117:1.0 124:1.0 128:0.3333333333333333 162:1.0 182:0.5 195:1.0 279:0.25 371:1.0 372:1.0 412:1.0 466:1.0 525:1.0 556:0.3333333333333333 811:1.0 842:1.0 884:0.5 964:0.09090909090909091 1486:1.0 2653:1.0 2820:1.0 3841:1.0 3879:1.0 5691:1.0 7387:1.0 7452:1.0 7892:1.0 11 7:0.5 12:0.07142857142857142 18:0.5 31:0.4 34:0.5 47:0.3333333333333333 50:0.5 59:0.16666666666666666 66:0.2 110:0.06666666666666667 128:0.3333333333333333 135:1.0 186:1.0 214:1.0 267:0.2 346:1.0 808:1.0 2246:1.0 2511:1.0 3443:1.0 5100:1.0 11 7:0.5 9:0.25 12:0.07142857142857142 15:1.0 16:0.3333333333333333 31:0.2 41:1.0 47:0.3333333333333333 48:0.3333333333333333 50:0.5 52:0.046511627906976744 66:0.2 105:0.16666666666666666 106:0.25 162:1.0 166:1.0 204:1.0 226:1.0 265:0.5 279:0.25 284:1.0 309:1.0 348:0.25 361:0.5 661:0.25 812:0.3333333333333333 1014:1.0 1089:1.0 1396:1.0 1495:0.5 1517:1.0 1729:1.0 2650:1.0 2651:1.0 2696:1.0 4017:1.0 4538:1.0 5281:1.0 7544:1.0 11 5:0.5 7:0.5 12:0.07142857142857142 15:2.0 22:2.0 33:1.0 48:0.3333333333333333 52:0.023255813953488372 55:0.5 66:0.4 127:0.3333333333333333 237:0.1 275:0.1111111111111111 286:1.0 358:1.0 929:1.0 943:1.0 1165:1.0 1193:1.0 1495:0.5 2161:1.0 2465:1.0 3349:1.0 3793:1.0 5036:1.0 11 7:0.5 9:0.25 12:0.14285714285714285 16:0.3333333333333333 18:0.5 22:1.0 48:0.3333333333333333 50:0.5 52:0.023255813953488372 59:0.16666666666666666 75:1.0 126:1.0 236:0.1111111111111111 276:1.0 282:0.5 336:1.0 343:1.0 645:1.0 729:1.0 788:0.25 938:1.0 3248:1.0 11 7:0.5 12:0.21428571428571427 52:0.046511627906976744 55:0.5 60:1.0 103:0.5 106:0.25 127:0.3333333333333333 206:0.3333333333333333 215:0.1111111111111111 236:0.1111111111111111 330:0.5 332:1.0 512:1.0 516:0.3333333333333333 536:0.5 783:0.5 788:0.25 1249:1.0 1842:1.0 4504:1.0 11 7:0.5 12:0.07142857142857142 15:2.0 33:1.0 41:1.0 50:0.5 52:0.046511627906976744 59:0.16666666666666666 66:0.2 110:0.13333333333333333 128:0.3333333333333333 134:0.25 150:0.6666666666666666 166:1.0 182:0.5 215:0.1111111111111111 224:1.0 267:0.2 358:1.0 390:0.5 406:0.5 516:0.3333333333333333 572:1.0 611:1.0 1025:0.3333333333333333 1030:1.0 1053:1.0 1908:0.2 2543:1.0 3044:1.0 3991:1.0 5572:1.0 5843:1.0 11 7:0.5 12:0.07142857142857142 16:0.3333333333333333 50:1.0 53:0.3333333333333333 135:0.5 215:0.1111111111111111 390:0.5 746:1.0 869:0.5 1170:1.0 1250:1.0 1346:1.0 1431:1.0 1469:1.0 1558:1.0 1956:1.0 2178:0.5 3547:1.0 5349:1.0 5759:1.0 11 2:1.0 15:1.0 50:0.5 81:0.5 110:0.06666666666666667 135:0.5 153:1.0 215:0.1111111111111111 523:1.0 616:0.1111111111111111 1025:0.3333333333333333 2054:1.0 2889:1.0 4310:1.0 11 12:0.07142857142857142 18:0.5 48:0.3333333333333333 50:1.0 52:0.06976744186046512 66:0.2 105:0.16666666666666666 106:0.5 110:0.06666666666666667 153:1.0 215:0.1111111111111111 236:0.1111111111111111 240:0.25 260:0.1 284:1.0 296:0.3333333333333333 348:0.25 432:1.0 528:1.0 1456:2.0 1476:0.5 2518:0.5 3079:1.0 3118:1.0 3880:1.0 4847:1.0 5770:1.0 6118:1.0 11 9:0.25 18:1.0 47:0.3333333333333333 50:0.5 52:0.023255813953488372 53:0.3333333333333333 55:0.5 66:0.4 70:0.1111111111111111 82:0.14285714285714285 103:0.5 110:0.06666666666666667 136:0.5 255:1.0 373:1.0 390:0.5 485:1.0 556:0.3333333333333333 616:0.1111111111111111 746:1.0 853:0.3333333333333333 938:1.0 1025:0.6666666666666666 1456:1.0 2219:1.0 2318:1.0 2496:2.0 2599:1.0 2688:0.5 4141:1.0 4868:1.0 7366:2.0 11 5:0.5 7:1.0 9:0.25 12:0.07142857142857142 15:2.0 43:1.0 48:0.3333333333333333 50:0.5 52:0.06976744186046512 53:0.3333333333333333 58:0.5 66:0.4 102:0.5 106:0.25 153:1.0 189:1.0 215:0.2222222222222222 240:0.25 339:1.0 346:1.0 355:1.0 455:1.0 525:1.0 755:0.25 765:1.0 814:1.0 823:1.0 1276:0.3333333333333333 1464:1.0 1762:1.0 1908:0.2 2541:1.0 2774:1.0 2848:1.0 2885:1.0 3772:1.0 3826:1.0 5843:1.0 5966:1.0 8324:1.0 11 18:0.5 41:1.0 50:0.5 59:0.16666666666666666 66:0.2 106:0.25 136:0.5 236:0.1111111111111111 279:0.25 572:1.0 1032:0.5 2379:2.0 5136:1.0 5761:1.0 11 15:1.0 33:1.0 66:0.2 134:0.25 136:0.5 215:0.1111111111111111 342:0.2 388:1.0 481:1.0 688:0.5 923:1.0 1541:1.0 1603:1.0 1800:1.0 1813:1.0 1908:0.2 2095:1.0 2273:1.0 4193:4.0 4194:1.0 4566:1.0 11 7:0.5 12:0.07142857142857142 18:0.5 66:0.2 99:0.3333333333333333 105:0.16666666666666666 106:0.25 110:0.06666666666666667 113:0.5 127:0.3333333333333333 197:1.0 328:0.25 330:0.5 687:0.5 700:1.0 782:1.0 1178:1.0 2383:1.0 2441:1.0 3146:1.0 3373:0.5 11 9:0.25 16:0.6666666666666666 18:0.5 48:0.3333333333333333 52:0.09302325581395349 53:0.3333333333333333 66:0.2 70:0.1111111111111111 237:0.1 295:1.0 322:1.0 331:1.0 465:1.0 871:0.5 1089:1.0 1212:1.0 1231:1.0 1362:2.0 1454:1.0 1558:1.0 1778:1.0 3055:1.0 11 9:0.75 11:0.25 12:0.14285714285714285 18:0.5 22:1.0 23:1.0 31:0.2 48:0.3333333333333333 50:0.5 52:0.046511627906976744 59:0.3333333333333333 66:0.4 126:1.0 128:0.3333333333333333 162:1.0 448:1.0 654:1.0 704:1.0 726:1.0 788:0.25 904:1.0 938:1.0 962:1.0 964:0.09090909090909091 1095:1.0 1114:1.0 1167:1.0 1538:1.0 1629:0.5 1913:1.0 2497:1.0 3677:1.0 3887:1.0 4158:1.0 4310:1.0 4508:1.0 5212:1.0 5502:1.0 5955:1.0 11 1:1.0 7:1.0 12:0.07142857142857142 16:0.3333333333333333 22:1.0 40:0.25 41:1.0 50:0.5 53:0.3333333333333333 59:0.16666666666666666 66:0.2 102:0.25 105:0.16666666666666666 106:0.25 110:0.06666666666666667 219:1.0 236:0.1111111111111111 253:1.0 279:0.25 368:1.0 390:0.5 460:1.0 536:0.5 695:1.0 745:1.0 776:1.0 777:1.0 816:1.0 884:0.5 927:1.0 1125:1.0 1361:1.0 1417:1.0 1801:1.0 2578:1.0 2778:1.0 2899:1.0 3747:1.0 11 1:1.0 7:1.0 12:0.07142857142857142 16:0.3333333333333333 18:0.5 40:0.25 41:2.0 46:0.14285714285714285 50:0.5 52:0.06976744186046512 59:0.16666666666666666 66:0.2 102:0.25 110:0.06666666666666667 183:0.5 219:1.0 279:0.25 342:0.2 346:1.0 390:1.0 445:1.0 572:1.0 763:1.0 777:1.0 927:1.0 1059:1.0 1095:1.0 1118:1.0 1259:1.0 1361:1.0 1440:1.0 1548:1.0 1896:1.0 2049:1.0 2578:1.0 3353:1.0 3747:1.0 4044:1.0 4613:1.0 5863:1.0 6883:1.0 11 15:1.0 31:0.2 50:1.5 52:0.023255813953488372 66:0.4 99:0.16666666666666666 102:0.25 103:0.5 110:0.2 155:0.5 160:1.0 564:1.0 622:1.0 755:0.125 766:1.0 869:0.5 943:1.0 978:1.0 1113:0.5 1137:1.0 1270:1.0 1276:0.3333333333333333 1531:0.5 2313:0.5 2931:0.5 3581:1.0 4077:1.0 4608:1.0 6694:1.0 11 12:0.21428571428571427 15:1.0 26:0.3333333333333333 48:0.3333333333333333 50:0.5 58:0.5 59:0.16666666666666666 66:0.2 70:0.1111111111111111 78:1.0 106:0.25 185:0.25 257:1.0 293:1.0 341:0.5 388:1.0 466:1.0 516:0.3333333333333333 580:1.0 653:1.0 745:1.0 766:1.0 849:1.0 1061:1.0 1121:0.05263157894736842 1259:1.0 1586:1.0 2095:1.0 11 7:0.5 9:0.25 12:0.14285714285714285 14:1.0 15:3.0 16:0.6666666666666666 22:1.0 31:0.2 43:1.0 44:1.0 50:0.5 59:0.16666666666666666 110:0.13333333333333333 126:1.0 182:0.5 260:0.1 267:0.2 348:0.25 466:1.0 485:1.0 717:1.0 746:1.0 1113:0.5 2336:1.0 3463:1.0 5099:1.0 5100:1.0 7885:1.0 11 11:0.25 12:0.14285714285714285 14:1.0 16:0.3333333333333333 55:0.5 105:0.16666666666666666 111:0.09090909090909091 127:0.3333333333333333 132:1.0 135:0.5 153:1.0 236:0.1111111111111111 310:1.0 445:1.0 527:1.0 536:0.5 619:1.0 795:0.25 867:1.0 883:1.0 1178:1.0 1464:1.0 1990:1.0 2033:1.0 2101:1.0 2316:1.0 3725:1.0 4077:1.0 5034:2.0 5035:1.0 8562:1.0 11 11:0.25 12:0.07142857142857142 14:1.0 47:1.0 70:0.1111111111111111 106:0.25 182:0.5 230:1.0 231:1.0 265:1.5 432:1.0 482:1.0 514:3.0 661:0.75 745:1.0 1276:0.3333333333333333 1332:1.0 1851:1.0 2640:0.5 2668:1.0 2781:1.0 4354:1.0 6121:1.0 11 7:1.0 110:0.06666666666666667 126:1.0 237:0.1 355:1.0 445:1.0 465:1.0 823:1.0 2216:1.0 3171:1.0 11 7:0.5 8:1.0 9:0.5 18:0.5 22:1.0 41:1.0 47:0.3333333333333333 50:0.5 52:0.023255813953488372 55:0.5 58:0.5 59:0.3333333333333333 66:0.2 70:0.1111111111111111 110:0.06666666666666667 127:0.3333333333333333 222:0.3333333333333333 267:0.4 275:0.1111111111111111 286:1.0 303:0.5 305:1.0 320:1.0 342:0.2 450:0.5 713:1.0 755:0.125 853:0.3333333333333333 938:1.0 1165:1.0 1472:1.0 1851:1.0 2189:1.0 2465:1.0 2781:1.0 3180:1.0 5100:1.0 6512:1.0 7656:1.0 8222:1.0 11 9:0.25 11:0.25 16:0.3333333333333333 18:0.5 48:0.3333333333333333 50:1.0 59:0.3333333333333333 104:1.0 166:1.0 265:0.5 450:0.5 516:0.3333333333333333 755:0.125 1085:0.5 2306:1.0 7773:1.0 11 11:0.5 12:0.07142857142857142 31:0.2 50:0.5 52:0.023255813953488372 59:0.16666666666666666 66:0.4 70:0.1111111111111111 86:1.0 166:1.0 282:1.0 755:0.125 1032:0.25 1072:1.0 1212:1.0 1431:1.0 3382:1.0 3385:1.0 11 16:0.3333333333333333 18:0.5 41:1.0 52:0.06976744186046512 59:0.16666666666666666 66:0.2 88:0.6666666666666666 102:0.25 105:0.16666666666666666 110:0.06666666666666667 564:1.0 755:0.125 811:1.0 828:1.0 861:1.0 1025:0.3333333333333333 1417:1.0 1452:1.0 1558:1.0 2657:1.0 2708:0.5 3111:1.0 4815:1.0 11 12:0.21428571428571427 14:1.0 50:1.5 52:0.046511627906976744 55:0.5 99:0.16666666666666666 102:0.25 103:0.5 105:0.16666666666666666 106:0.25 128:0.3333333333333333 134:0.25 185:0.25 259:1.0 282:1.0 511:0.5 527:0.5 869:0.5 1102:1.0 1141:1.0 1429:1.0 1464:1.0 1506:1.0 1592:1.0 2372:1.0 2379:1.0 2903:1.0 8032:1.0 11 7:1.0 12:0.07142857142857142 31:0.2 50:1.0 52:0.11627906976744186 59:0.16666666666666666 66:0.2 102:0.25 126:1.0 144:0.5 153:1.0 178:1.0 256:1.0 275:0.1111111111111111 534:1.0 1032:0.25 1085:0.5 1095:1.0 1212:1.0 1554:0.25 1757:0.5 3353:1.0 3793:1.0 4179:1.0 4230:1.0 5445:1.0 11 5:1.5 9:0.25 11:0.25 12:0.14285714285714285 23:1.0 31:0.2 52:0.023255813953488372 55:0.5 66:0.2 99:0.16666666666666666 103:0.5 275:0.1111111111111111 388:1.0 504:0.5 688:0.5 788:0.25 938:1.0 968:1.0 1289:1.0 1411:1.0 1957:1.0 2219:1.0 2286:0.5 2465:1.0 3391:0.5 3579:1.0 4179:1.0 4673:1.0 7893:1.0 11 2:1.0 7:0.5 9:0.25 12:0.21428571428571427 15:1.0 50:0.5 52:0.023255813953488372 59:0.16666666666666666 105:0.3333333333333333 106:0.75 110:0.06666666666666667 111:0.09090909090909091 136:0.5 215:0.1111111111111111 236:0.1111111111111111 242:1.0 268:1.0 450:0.5 544:1.0 620:1.0 729:1.0 904:1.0 911:1.0 1186:1.0 1187:1.0 1834:1.0 1910:1.0 2521:1.0 2774:1.0 3725:1.0 3934:1.0 5938:1.0 11 14:1.0 18:1.0 31:0.4 41:1.0 99:0.16666666666666666 110:0.06666666666666667 269:1.0 448:1.0 582:1.0 646:1.0 755:0.125 805:0.5 1297:1.0 1442:1.0 1486:1.0 3693:1.0 11 7:0.5 12:0.14285714285714285 15:1.0 18:0.5 31:0.2 50:0.5 52:0.023255813953488372 66:0.2 102:0.25 215:0.1111111111111111 230:1.0 231:1.0 236:0.1111111111111111 265:0.5 281:1.0 289:2.0 328:0.25 355:1.0 393:1.0 408:1.0 481:1.0 646:1.0 688:0.5 717:1.0 1137:1.0 1230:1.0 1486:1.0 1778:1.0 1831:1.0 1866:1.0 2696:1.0 3120:1.0 6812:1.0 11 12:0.07142857142857142 50:0.5 66:0.2 119:1.0 126:1.0 388:1.0 408:1.0 621:3.0 864:1.0 1383:2.0 1504:1.0 2318:1.0 2980:1.0 11 7:0.5 11:0.25 12:0.21428571428571427 16:0.3333333333333333 18:0.5 48:0.3333333333333333 50:0.5 52:0.023255813953488372 53:0.3333333333333333 59:0.5 66:0.4 84:1.0 99:0.16666666666666666 102:0.75 106:0.5 128:0.3333333333333333 150:0.3333333333333333 153:3.0 183:0.5 214:1.0 256:1.0 298:1.0 403:0.5 482:1.0 688:0.5 755:0.125 1095:1.0 1499:1.0 3373:0.5 3650:0.5 4804:1.0 5066:1.0 5958:1.0 6188:1.0 11 14:1.0 15:1.0 31:0.4 48:0.3333333333333333 50:0.5 52:0.046511627906976744 66:0.2 102:0.25 105:0.16666666666666666 106:0.25 126:1.0 204:1.0 224:1.0 348:0.25 450:1.0 582:1.0 863:0.5 1315:1.0 1899:1.0 1928:1.0 2193:0.5 2270:1.0 2611:1.0 2830:1.0 4395:1.0 4432:1.0 4545:1.0 5878:1.0 6812:1.0 7154:1.0 7544:1.0 11 7:0.5 9:0.25 12:0.14285714285714285 18:0.5 37:1.0 50:0.5 52:0.023255813953488372 55:0.5 81:0.5 106:0.5 110:0.06666666666666667 153:1.0 256:1.0 284:1.0 319:0.3333333333333333 329:1.0 348:0.25 367:1.0 563:1.0 1085:0.5 1141:1.0 1731:0.5 1805:1.0 2723:0.16666666666666666 3301:1.0 4381:1.0 4382:1.0 5050:1.0 5650:1.0 8264:1.0 11 12:0.21428571428571427 18:0.5 31:0.2 50:0.5 66:0.2 110:0.06666666666666667 111:0.09090909090909091 128:0.3333333333333333 132:1.0 275:0.1111111111111111 330:0.5 361:0.5 514:1.0 590:1.0 755:0.125 849:1.0 884:0.5 1074:1.0 1129:1.0 1487:1.0 2193:0.5 2981:1.0 3836:1.0 5691:1.0 5782:1.0 7304:1.0 11 7:1.0 9:0.25 11:0.25 12:0.07142857142857142 17:1.0 18:0.5 31:0.2 50:0.5 55:0.5 59:0.16666666666666666 99:0.16666666666666666 102:0.25 106:0.5 112:0.5 113:0.5 236:0.1111111111111111 260:0.1 275:0.1111111111111111 343:1.0 362:0.5 380:1.0 664:0.3333333333333333 962:1.0 966:1.0 1086:1.0 2318:1.0 2607:1.0 2723:0.16666666666666666 3268:1.0 3269:1.0 6585:1.0 11 7:0.5 14:1.0 15:1.0 50:1.0 66:0.2 110:0.06666666666666667 112:0.5 275:0.1111111111111111 284:1.0 321:1.0 348:0.25 437:1.0 688:0.5 884:0.5 1129:0.5 1212:1.0 1405:0.2 1837:1.0 2640:0.5 3705:1.0 11 7:1.5 9:0.5 12:0.2857142857142857 22:1.0 31:0.2 46:0.14285714285714285 50:0.5 52:0.046511627906976744 53:0.3333333333333333 55:0.5 59:0.16666666666666666 66:0.4 99:0.16666666666666666 105:0.16666666666666666 110:0.06666666666666667 117:2.0 150:0.3333333333333333 177:1.0 236:0.1111111111111111 310:1.0 343:1.0 355:1.0 450:1.0 507:1.0 783:0.5 818:1.0 823:1.0 829:1.0 1053:1.0 1121:0.05263157894736842 1206:0.5 2733:1.0 3622:1.0 3650:0.5 3753:1.0 4522:1.0 5206:1.0 5763:1.0 7351:1.0 11 7:0.5 12:0.07142857142857142 16:0.3333333333333333 22:2.0 31:0.2 34:0.5 40:0.25 47:0.3333333333333333 99:0.3333333333333333 105:0.16666666666666666 106:0.25 113:0.5 185:0.25 223:0.5 279:0.25 309:1.0 556:0.6666666666666666 622:1.0 755:0.125 857:1.0 1118:1.0 1691:1.0 1729:1.0 4604:1.0 5358:1.0 8466:1.0 11 7:0.5 12:0.07142857142857142 15:1.0 18:0.5 23:1.0 43:1.0 48:0.3333333333333333 52:0.023255813953488372 102:0.25 105:0.16666666666666666 106:0.5 136:0.5 155:0.5 162:1.0 236:0.1111111111111111 267:0.2 269:1.0 330:0.5 405:1.0 745:1.0 938:1.0 1176:1.0 1496:0.5 1536:1.0 1809:1.0 1846:1.0 2095:1.0 2273:1.0 2539:0.5 2651:1.0 2830:1.0 3504:1.0 5023:1.0 6337:1.0 8203:1.0 11 7:0.5 16:0.3333333333333333 18:0.5 22:1.0 40:0.25 41:1.0 47:0.3333333333333333 48:0.6666666666666666 50:0.5 59:0.16666666666666666 117:1.0 135:0.5 323:0.5 825:1.0 870:1.0 1055:1.0 1263:0.5 1383:1.0 1694:1.0 1729:1.0 2053:1.0 2087:1.0 3123:1.0 4119:1.0 11 7:1.0 9:0.25 12:0.07142857142857142 48:0.3333333333333333 53:0.3333333333333333 59:0.16666666666666666 66:0.2 97:1.0 282:0.5 284:1.0 292:1.0 298:1.0 321:1.0 616:0.1111111111111111 883:1.0 964:0.09090909090909091 1694:1.0 2470:1.0 2519:1.0 3666:1.0 11 7:0.5 16:0.3333333333333333 237:0.1 277:0.5 362:0.5 616:0.1111111111111111 782:1.0 868:1.0 936:0.3333333333333333 1212:1.0 1469:1.0 2086:1.0 2590:1.0 3148:1.0 4511:1.0 11 31:0.2 50:0.5 55:0.5 66:0.4 103:0.5 105:0.16666666666666666 215:0.1111111111111111 1392:1.0 1773:1.0 2783:1.0 3439:1.0 8422:1.0 11 7:1.0 9:0.25 12:0.14285714285714285 22:1.0 23:1.0 33:1.0 41:1.0 46:0.2857142857142857 47:0.3333333333333333 52:0.09302325581395349 71:1.0 75:2.0 99:0.16666666666666666 105:0.16666666666666666 110:0.06666666666666667 112:0.5 127:0.3333333333333333 132:1.0 150:0.3333333333333333 260:0.1 286:1.0 293:1.0 330:0.5 336:1.0 343:1.0 348:0.25 362:0.5 536:0.5 755:0.125 811:1.0 1668:1.0 1946:1.0 2452:0.3333333333333333 2721:1.0 3156:1.0 3162:1.0 3230:1.0 3709:1.0 3882:1.0 5066:1.0 6053:1.0 6337:1.0 6832:1.0 11 9:0.25 12:0.07142857142857142 18:0.5 22:1.0 31:0.2 50:0.5 52:0.023255813953488372 59:0.16666666666666666 88:0.3333333333333333 105:0.16666666666666666 236:0.1111111111111111 275:0.1111111111111111 582:1.0 664:0.3333333333333333 936:0.3333333333333333 1506:1.0 1531:0.5 2508:1.0 11 12:0.14285714285714285 31:0.4 47:0.3333333333333333 50:0.5 52:0.023255813953488372 59:0.3333333333333333 60:2.0 66:0.4 75:1.0 128:0.3333333333333333 150:0.3333333333333333 260:0.1 275:0.1111111111111111 278:1.0 330:0.5 342:0.4 368:1.0 772:1.0 783:0.5 1020:1.0 1025:0.6666666666666666 1834:1.0 2770:1.0 3438:1.0 4891:1.0 5066:1.0 7906:1.0 7987:1.0 8380:1.0 11 7:1.0 16:0.3333333333333333 50:0.5 55:0.5 66:0.2 99:0.16666666666666666 127:0.3333333333333333 128:0.3333333333333333 221:1.0 240:0.25 275:0.1111111111111111 390:0.5 507:1.0 516:0.3333333333333333 804:1.0 1025:0.3333333333333333 1674:1.0 1746:0.5 1884:1.0 2159:0.5 2266:1.0 2401:1.0 2541:1.0 5921:1.0 7500:1.0 7629:1.0 7887:1.0 11 9:0.25 12:0.07142857142857142 31:0.2 33:1.0 41:1.0 46:0.7142857142857143 48:0.3333333333333333 50:1.0 52:0.046511627906976744 55:0.5 58:0.5 105:0.16666666666666666 106:0.5 126:1.0 150:0.3333333333333333 242:1.0 256:1.0 336:1.0 355:1.0 362:0.5 411:1.0 525:1.0 533:1.0 687:0.5 700:1.0 755:0.125 777:1.0 811:1.0 812:0.3333333333333333 3011:1.0 3142:1.0 6537:1.0 11 9:0.25 12:0.14285714285714285 15:2.0 50:0.5 52:0.046511627906976744 59:0.3333333333333333 66:0.2 165:0.3333333333333333 183:0.5 198:1.0 215:0.1111111111111111 491:1.0 536:0.5 943:1.0 1059:1.0 1116:1.0 1407:1.0 1813:1.0 2180:1.0 2599:1.0 5843:1.0 8442:1.0 11 7:0.5 11:0.25 14:1.0 66:0.2 110:0.06666666666666667 126:1.0 135:0.5 240:0.25 260:0.1 286:1.0 342:0.2 755:0.125 1332:1.0 1355:1.0 1399:1.0 1847:1.0 5646:1.0 7512:1.0 11 5:0.5 7:0.5 11:0.25 12:0.07142857142857142 41:1.0 46:0.14285714285714285 50:0.5 52:0.06976744186046512 66:0.4 105:0.16666666666666666 110:0.06666666666666667 128:0.6666666666666666 150:0.3333333333333333 153:1.0 222:0.3333333333333333 342:0.2 388:1.0 450:0.5 544:1.0 1297:1.0 2065:1.0 2150:1.0 2377:1.0 3271:1.0 3350:1.0 4343:1.0 4596:0.5 7471:1.0 11 7:0.5 9:0.25 12:0.07142857142857142 15:2.0 16:0.3333333333333333 22:1.0 26:0.3333333333333333 43:1.0 45:0.5 46:0.14285714285714285 48:0.3333333333333333 50:0.5 52:0.023255813953488372 66:0.4 70:0.1111111111111111 75:1.0 81:0.5 99:0.5 102:0.25 105:0.16666666666666666 110:0.06666666666666667 113:0.5 127:0.3333333333333333 128:0.3333333333333333 133:0.5 134:0.25 153:1.0 183:0.5 236:0.1111111111111111 258:1.0 320:1.0 355:1.0 432:1.0 616:0.1111111111111111 688:0.5 823:1.0 1118:1.0 1170:1.0 1182:1.0 1251:0.5 1393:1.0 1405:0.2 1464:1.0 1980:1.0 2105:1.0 2537:1.0 2978:1.0 4474:1.0 6212:1.0 6809:1.0 11 3:1.0 7:0.5 9:0.25 11:0.25 12:0.07142857142857142 15:2.0 31:0.2 47:0.3333333333333333 50:1.0 52:0.046511627906976744 55:0.5 59:0.16666666666666666 66:0.4 99:0.16666666666666666 102:0.25 106:0.75 110:0.06666666666666667 126:1.0 203:1.0 215:0.1111111111111111 257:1.0 275:0.1111111111111111 282:0.5 328:0.25 330:1.0 361:0.5 556:0.3333333333333333 619:1.0 777:1.0 999:1.0 1117:1.0 1581:1.0 1609:1.0 1757:0.5 1896:1.0 1908:0.2 2225:1.0 2657:1.0 2830:1.0 4714:1.0 4739:1.0 7761:1.0 11 9:0.25 55:0.5 59:0.16666666666666666 89:1.0 92:1.0 93:1.0 99:0.16666666666666666 102:0.25 103:0.5 106:0.25 110:0.06666666666666667 153:1.0 165:0.3333333333333333 183:0.5 236:0.1111111111111111 260:0.1 287:1.0 450:0.5 616:0.2222222222222222 1469:1.0 2336:1.0 2837:1.0 3437:1.0 5172:1.0 5400:1.0 6480:1.0 11 7:0.5 14:1.0 22:2.0 23:1.0 52:0.023255813953488372 66:0.4 99:0.16666666666666666 103:0.5 150:0.3333333333333333 216:1.0 229:1.0 233:1.0 236:0.1111111111111111 237:0.1 328:0.25 342:0.2 388:1.0 390:0.5 465:1.0 616:0.1111111111111111 653:1.0 729:1.0 746:1.0 1032:0.25 1114:1.0 1586:1.0 1851:1.0 2379:1.0 3313:1.0 3457:1.0 5843:1.0 11 11:0.25 19:1.0 32:1.0 41:1.0 46:0.14285714285714285 52:0.023255813953488372 66:0.4 99:0.16666666666666666 106:0.25 224:1.0 243:1.0 317:1.0 330:1.0 408:1.0 432:1.0 548:1.0 550:0.3333333333333333 554:1.0 960:0.5 1066:1.0 1148:0.5 1153:1.0 1558:1.0 1597:1.0 1767:1.0 2496:1.0 2981:1.0 3211:1.0 3922:1.0 5127:1.0 11 7:0.5 9:0.25 12:0.07142857142857142 14:1.0 15:1.0 24:0.3333333333333333 33:1.0 48:0.3333333333333333 50:0.5 55:1.0 60:1.0 66:0.4 75:1.0 99:0.3333333333333333 105:0.16666666666666666 135:0.5 178:1.0 269:1.0 286:1.0 371:1.0 388:1.0 542:1.0 795:0.25 982:1.0 1554:0.25 2093:1.0 2231:1.0 2270:1.0 3283:1.0 3301:1.0 4487:1.0 5971:1.0 11 9:0.5 12:0.07142857142857142 22:1.0 52:0.023255813953488372 55:0.5 58:0.5 103:0.5 110:0.06666666666666667 126:1.0 236:0.1111111111111111 275:0.1111111111111111 336:1.0 342:0.2 345:0.25 548:1.0 550:0.3333333333333333 580:1.0 616:0.1111111111111111 964:0.09090909090909091 1403:1.0 1461:1.0 1486:1.0 2054:1.0 2140:0.3333333333333333 2533:1.0 2951:1.0 3040:1.0 3838:1.0 4325:1.0 6639:1.0 7544:1.0 8033:1.0 11 5:0.5 7:0.5 36:0.09090909090909091 50:1.0 52:0.023255813953488372 59:0.3333333333333333 78:1.0 110:0.06666666666666667 113:0.5 135:0.5 165:0.6666666666666666 216:1.0 336:1.0 348:0.25 367:1.0 610:0.5 780:1.0 788:0.25 936:0.3333333333333333 1276:0.3333333333333333 1411:1.0 1780:1.0 2723:0.16666666666666666 4784:1.0 5402:1.0 11 7:1.0 9:0.25 12:0.07142857142857142 14:1.0 15:2.0 16:0.3333333333333333 41:1.0 45:0.5 46:0.14285714285714285 47:0.3333333333333333 50:2.0 53:0.6666666666666666 59:0.5 66:0.4 75:1.0 89:1.0 91:1.0 103:0.5 106:0.25 165:0.3333333333333333 236:0.1111111111111111 279:0.25 409:1.0 617:1.0 688:0.5 755:0.125 777:1.0 788:0.25 1025:0.3333333333333333 1260:1.0 1399:1.0 1518:1.0 1536:1.0 1538:1.0 2201:1.0 2590:1.0 3048:1.0 3060:1.0 3648:1.0 6095:1.0 6776:1.0 7194:1.0 11 7:1.0 12:0.14285714285714285 14:2.0 15:1.0 33:1.0 47:0.3333333333333333 50:0.5 66:0.2 102:0.25 128:0.3333333333333333 155:0.5 237:0.1 309:1.0 388:1.0 450:0.5 617:1.0 687:0.5 777:1.0 1025:0.3333333333333333 1212:1.0 2926:1.0 2973:1.0 3246:1.0 3747:1.0 5172:1.0 11 7:0.5 12:0.07142857142857142 15:2.0 22:1.0 31:0.4 46:0.42857142857142855 48:0.3333333333333333 50:1.5 52:0.023255813953488372 59:0.3333333333333333 66:0.2 105:0.16666666666666666 110:0.13333333333333333 126:1.0 165:0.3333333333333333 185:0.25 224:1.0 292:1.0 313:1.0 328:0.25 377:1.0 392:1.0 432:1.0 437:1.0 445:1.0 514:1.0 556:0.3333333333333333 617:1.0 687:0.5 825:1.0 1141:1.0 1301:1.0 1558:1.0 2263:1.0 2402:1.0 2624:1.0 3244:1.0 3579:1.0 4461:1.0 5074:1.0 5173:1.0 6971:1.0 11 9:0.25 11:0.5 15:1.0 22:1.0 28:1.0 30:1.0 31:0.2 46:0.14285714285714285 50:1.0 55:0.5 66:0.2 99:0.16666666666666666 113:0.5 114:1.0 122:1.0 127:0.3333333333333333 183:0.5 224:1.0 260:0.1 445:1.0 484:0.5 491:1.0 556:0.3333333333333333 1032:0.25 1116:1.0 1144:1.0 1212:1.0 1424:1.0 1757:0.5 2178:0.5 3787:1.0 6655:1.0 8132:1.0
453e872f033fcdf0af762274ac33f3981505db61
449d555969bfd7befe906877abab098c6e63a0e8
/1370/CH2/EX2.13/example2_13.sce
863c25666c0d957ca67f7e9190f71dcbd64edf88
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,113
sce
example2_13.sce
//example2.13 clc disp("Let no load,speed be N_0=1000 rpm") disp("I_L0=Line current on no load=6 A") disp("I_L0=(I_a0)+(I_sh)") s=220/110 disp(s,"(I_sh)[in A]=V/(R_sh)=") a=6-2 disp(a,"Therefore, (I_a0)[in A]=(I_L0)-(I_sh)=") disp("Therefore, Back emf on no load E_b0 can be determined from the voltage equation.") disp("V=(E_b0)+[(I_a0)+(R_a)]") disp("Therefore, 220=(E_b0)+(4*0.3)") b=220-1.2 disp(b,"E_b0(in V)=") disp("On full load condition,supply voltage is constant and hence,") s=220/110 disp(s,"(I_sh)[in A]=V/(R_sh)=") disp("Now,(I_L)=(I_aFL)+(I_sh)") disp("Therefore, 50=(I_aFL)+2") f=50-2 disp(f,"Therefore, (I_aFL)[in A]=") disp("And, V=(E_bFL)+[(I_aFL)*(R_a)]") disp("Therefore, 220=(E_bFL+(48*0.3))") b=220-(48*0.3) disp(b,"Therefore, (E_bFL)[in V]=") disp("From the speed equation,") disp("N directly proportional to (E_b)/psi") disp("But psi is constant as I_sh is constant for both the load conditions") disp("Therefore, (N_0)/(N_FL)=(E_b0)/(E_bFL)") n=(1000*205.6)/218.8 format(7) disp(n,"Therefore, (N_FL)[in rpm]=[(N_0)*(E_bFL)]/(E_b0)=")
8993dec2705366c5b105c881cc74dc2ed2fee025
b0aff14da16e18ea29381d0bd02eede1aafc8df1
/mtlbSci/macros/moc_flipud.sci
b031501bfcb6453528bbfb0867dd03b01e7b1539
[]
no_license
josuemoraisgh/mtlbSci
5d762671876bced45960a774f7192b41124a13ed
5c813ed940cccf774ccd52c9a69f88ba39f22deb
refs/heads/main
2023-07-15T23:47:11.843101
2021-08-26T17:52:57
2021-08-26T17:52:57
385,216,432
0
0
null
null
null
null
UTF-8
Scilab
false
false
689
sci
moc_flipud.sci
function y = moc_flipud(x) //Return a copy of X with the order of the rows reversed. //Calling Sequence //y = moc_fliplr(x) //Description // Return a copy of X with the order of the rows reversed. In // other words, X is flipped upside-down about a horizontal axis. For // Note that 'fliplr' only works with 2-D arrays. // Examples // moc_flipud ([1, 2; 3, 4]) if ndims(x)~=2, disp('X must be a 2-D matrix!') end y = x($:-1:1,:); endfunction // %!assert((flipud ([1, 2; 3, 4]) == [3, 4; 1, 2] // %! && flipud ([1, 2; 3, 4; 5, 6]) == [5, 6; 3, 4; 1, 2] // %! && flipud ([1, 2, 3; 4, 5, 6]) == [4, 5, 6; 1, 2, 3])); // // %!error flipud (); // // %!error flipud (1, 2);
562e2dba752c39bcb2108ebebd212ee7139b5db2
449d555969bfd7befe906877abab098c6e63a0e8
/1919/CH1/EX1.4/Ex1_4.sce
40ddc0109a815e0b189d92f870078c90dfe3d576
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
626
sce
Ex1_4.sce
// Theory and Problems of Thermodynamics // Chapter 1 // Basic Concepts // Example 4 clear ;clc; //Given data Pf = 0.4 //Pf = pressure of the gas in MPa Pa = 0.1 //Pa = atmospheric pressure in MPa A = 10^-2 // A = cross-sectional area of piston in m^2 Vi = 0.1 // initial volume in m^3 Vf = 0.2 // final volume in m^3 //Calculate spring force constant Pf = Pf * 10^6; // units conversion MPa to Pa Pa = Pa * 10^6; // units conversion MPa to Pa K = (Pf-Pa)*A^2/(Vf-Vi); //spring force constant // Results mprintf('Spring force constant = %3.0f N/m', K)
7df22832f4a2475dd8510c9744c8561a2f32dc42
8ad9380384d2751d79937ba5d6d581565596b891
/macros/generate.sci
b614cd685b42ee4b201ee76508dd86c280236deb
[ "BSD-3-Clause" ]
permissive
iamAkshayrao/scilab_point_cloud_toolbox
1d8845f0830ddb623383c8dbfeadc8a3a35e8801
5d592a695b7976f4e63f0ae24d0a14937e474642
refs/heads/master
2022-12-17T23:14:11.513116
2020-09-25T18:57:02
2020-09-25T18:57:02
290,829,006
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,171
sci
generate.sci
function generate() // Generates a random point cloud. // // Syntax // PointCloud(OutputPCDFilename,options,"generate") // // Parameters // outputPCDFilename : PCD file where the output pointcloud had to be saved // options are // -distribution = the distribution to be used (options: uniform / normal)(default: "uniform") // -size = number of points in cloud (default: 10000); // Options for uniform distribution: // -(x,y,z)min = minimum for the (x,y,z) dimension (defaults: (0.0,0.0,0.0)) // -(x,y,z)max = maximum for the (x,y,z) dimension (defaults: (1.0,1.0,1.0)) // Options for normal distribution: // -(x,y,z)mean = mean for the (x,y,z) dimension (defaults: (0.0,0.0,0.0)) // -(x,y,z)stddev = standard deviation for the (x,y,z) dimension (defaults: (1.0,1.0,1.0)) // // Description // This function generate a random point cloud of the specified name. // // Examples // PointCloud("Output_generate1.pcd","-distribution","normal","-size","1000","-xmean","34","generate") // // Examples // PointCloud("Output_generate2.pcd","generate") // //Authors //Ankit Kumar //Akshay S Rao //Mohammed Rehab Sait //Aliasgar AV endfunction
30018c1940bd1b9061212241475f35bfe0b77fae
449d555969bfd7befe906877abab098c6e63a0e8
/2240/CH12/EX11.1/EX11_1.sce
e6de0cb1c36277ce0cad4a1f984af6e2fb1134aa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
392
sce
EX11_1.sce
// Grob's Basic Electronics 11e // Chapter No. 11 // Example No. 11_1 clc; clear; // What is the area in circular mils of a wire with a diameter of 0.005 in.? // Given data Din = 0.005; // Diameter in Inches=0.005 in. Dmil = 5; // Diameter in Mils=5 mil. // 0.005 in. = 5 mil // Therefore: Din == Dmil A = Dmil*Dmil; disp (A,'The Circular Area in cmils')
c30dfccadd23015708cc83484a37dfa6e4b2757d
3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f
/SciLab/gauge-oscilator.sce
c604759ed91266ab52bee20b26b3f143a3418da4
[]
no_license
bozhink/Code-Chunks
74355eb4c0d423c2f6484226e564030dff798678
860b7b8f53089ed96fd0ebead2e3eec16fa377cb
refs/heads/master
2020-12-24T06:19:04.343239
2019-11-13T14:09:15
2019-11-13T14:09:15
42,819,484
0
1
null
2019-11-13T14:09:16
2015-09-20T16:09:09
HTML
UTF-8
Scilab
false
false
345
sce
gauge-oscilator.sce
function z=GaugeOscilator(t,x) n=32; z(1) = x(n+1); z(n+1) = x(n+2)-x(1); for i=2:n-1 z(i) = x(n+i); z(n+i) = x(n+i+1) - x(n+i-1) - x(i); end z(n) = x(n+n); z(n+n) = -x(n+n-1) - x(n); endfunction xx=linspace(0,3*%pi,64); y0=sin(xx); t0=0; t=t0:1:1000; Z=ode(y0,t0,t,GaugeOscilator); nz=max(size(Z));
927744615e77d6ca4967b87b4aa157521b380ab2
ece5c630921508b439ed25c5f7ab3db5a66f7a1a
/Assignment1_Team8/Decoder2to4bit.tst
0c8a93aa65daf245fa9d9ac24db56f985979f176
[]
no_license
VedantS01/HDLProjectsCS2310
f8d17d1c9c28034a21026a4fbe2ae5d38cf39330
d2a39a4c062173475bd06ff0b3396f1ac6303103
refs/heads/main
2023-06-19T20:42:48.411561
2021-07-14T19:37:51
2021-07-14T19:37:51
386,054,022
0
0
null
null
null
null
UTF-8
Scilab
false
false
340
tst
Decoder2to4bit.tst
load Decoder2to4bit.hdl , output-file Decoder2to4bit.out , output-list s1%B3.1.3 s0%B3.1.3 en%B3.1.3 y0%B3.1.3 y1%B3.1.3 y2%B3.1.3 y3%B3.1.3 ; set en 1 ; set s0 0 , set s1 0 , eval , output ; set s0 1 , set s1 0, eval , output ; set s0 0 , set s1 1 , eval , output ; set s0 1 , set s1 1 , eval , output ;
b54da9f2e950223e16a3c3f4ff031c132f37523d
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/1.1/Unix/scilab-1.1/macros/auto/des2tf.sci
ad165e5199c3ba9d797ad01e7b16a452fa0bd547
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
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
407
sci
des2tf.sci
function [Bfs,Bis,tf]=des2tf(des) [LHS,RHS]=argn(0); if LHS<>1 & LHS<> 3 then error('des2tf: 1 or 3 output args needed');end A=des(2);B=des(3);C=des(4);E=des(6); if norm(des(5),1) > 100*%eps then warning('des2tf: D matrix is assumed to be 0!');end s=poly(0,'s') [Bfs,Bis,chis]=glever(E,A); if LHS==3 then Bfs=C*Bfs*B; Bis=C*Bis*B;tf=chis;return;end if LHS==1 then ww=C*Bfs*B;Bfs=ww/chis-c*Bis*b;return;end
f72008aa5fd1994998f5f81011bf5844dd26fdc3
449d555969bfd7befe906877abab098c6e63a0e8
/2789/CH5/EX5.5/Ex5_5.sce
30391c197827bb9f9397524efa262a4aa629e23a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
636
sce
Ex5_5.sce
clear; clc; //page no. 163 d = 1;// in p_r = 100;//psi T_r = 100;// degreeF p_b = 14.7;// psi p3 = 14.7;//psi G = 2.03;// lb/sec gam1 = 0.553; gam = 1.4; V3 = sqrt(2*32.2*(gam/(gam-1))*(p_r+p_b)*144/gam1 *(1-(p3/(p_r+p_b))^((gam-1)/gam))); T3 = (T_r+460) - V3^2 /(2*32.2*186.5); a3 = sqrt(gam*32.2*53.3*T3); M3 = V3/a3; A3 = G/(gam1*V3); d3 = (A3/(0.25*%pi))^(1/2); p3_dash = 103.3;// psia p_B = p3*(1+ (2*gam/(gam+1))*(M3^2 -1)); printf('V3 = %d fps, a3 = %d fps, M3 = %.2f ',V3,a3,M3); printf('\n p3_dash = %.1f psia, p_B = %.1f psia',p3_dash,p_B); //there are minute errors in the answer given in textbook
c5009a8f1e3778261a8d10c0942cebe43d7adebe
449d555969bfd7befe906877abab098c6e63a0e8
/1238/CH8/EX8.6/8_6.sce
18c697601c9cc58311430d95a7db0ba31868d298
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
8_6.sce
//calculating required data// //example 6// clc //clears the command window//; clear //clears// N=(2^8)-1;//no. of steps// M=1000/N;//no. of steps in which motor speed can varied;motor speed varies from 0 to 1000rpm// N1=450/M;//no. of steps required to reach 450rpm// N2=round(N1);//rounding the no. of steps// disp('For 115th step,speed of motor will be approximately 451rpm which gives an accuracy of .22%') //displaying the answer//
26efe5c62c3461b9a53cfa7692b8a274e6efe8ac
449d555969bfd7befe906877abab098c6e63a0e8
/3401/CH3/EX3.4/Ex3_4.sce
7029cd47215dcb2847c01deb8bd6d20770eaf38e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
111
sce
Ex3_4.sce
clc y=10 Ni=10 gi=10 //(gi-Ni)!=1 z=(factorial(gi)/factorial(Ni)*factorial(gi-Ni)) printf('z=%f\n',z)
e8c3a13bdb53d7e8a3132e4de54c88c6eb2a4cda
32191356107e7ecaa8d06ca11fa40c4d6b3ba749
/code/fft-scilab/bp-1000-44100.sce
72f85a06bfba1b8712e066ee59dfcfe26b0c443f
[]
no_license
mfkiwl/FIR-filter
9bfd6f96d52807ae744879668ddb922cc7db8149
bd08fa7d9f0162d7afab70a3e92ce140c7a422cb
refs/heads/master
2021-07-08T00:02:17.849458
2017-10-01T18:00:28
2017-10-01T18:00:28
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,611
sce
bp-1000-44100.sce
/** * Script to generate filter coefficients for a linear phase, FIR bandpass filter * centered at 5000 Hz. * * author: Rishi K Shukla * website: www.technogeek310.wordpress.com * */ /* n: determines the number of filter coefficients to be generated. */ n = 63; /** * bnd_edge: determines filter's frequency window. In Scilab, the frequency * window can vary from 0 to 0.5 only. Here, * f1 = 4420/44100 = 0.1 (lower cut-off frequency) * f2 = 5580/44100 = 0.13 (higher cut-off frequency) * f0 = (f1 + f2) / 2 = (0.1 + 0.13) / 2 * f0 = 0.115 * Central frequency = fo * sampling frequency = 0.115 * 44100 * Central frequency = 5071.5 Hz(approx. 5000 Hz) */ bnd_edge = [0, 4410/44100; 4420/44100, 5580/44100; 5590/44100, 22050/44100]; /* This is the desired magnitude for the central frequencies of the spectrum. */ des_magnit = [0 1 0]; /* This defines magnitude of weighted error across the frequency spectrum. */ rel_wght_err = [1 1 1]; /* generate band-pass filter coefficients as floating point values. */ [hn] = eqfir(n, bnd_edge, des_magnit, rel_wght_err); /* save the coefficients in a text file */ print('coeff-44100.txt', hn); /* convert floating point coefficients to signed int16_t format. */ hn = hn * 32768; hn = round(hn); /** * hm - amplitude of the output * fr - frequency * 256 indicates the length of the array that will be returned */ [hm, fr] = frmag(hn, 256); /* plot relationship between frequency and amplitude. */ plot(fr, hm); xlabel('Normalized Digital Frequency'); ylabel('Magnitude'); title('Frequency Response of FIR BPF using REMEZ algorithm');
c5f9ff5d701e22e7725c4274dc33bb21b508c3f4
449d555969bfd7befe906877abab098c6e63a0e8
/3755/CH10/EX10.1/Ex10_1.sce
200faa2de40ad41a3729762ffd8e02249bde6a36
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Ex10_1.sce
clear // // // //Variable declaration P=4.3*10^-8; //polarisation(per cm^2) epsilon0=8.85*10^-12; //relative permeability(F/m) E=1000; //electric field(V/m) //Calculations epsilonr=1+(P/(epsilon0*E)); //relative permittivity //Result printf("\n relative permittivity is %0.2f ",epsilonr)
18fd1017d7e918e6dcb7a7042d16ebbbb4809c37
717ddeb7e700373742c617a95e25a2376565112c
/72/CH12/EX12.4.3/12_4_3.sce
5b9bd9c4d829877840069d66d821dbd5a449e510
[]
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
436
sce
12_4_3.sce
//CAPTION: Planar_Capacitor //chapter_no.-12, page_no.-537 //Example_no.12-4-3 clc; N=8;//number_of_fingers er=13.1;//relative_dielectric_constant h=.254;//substarte_height l=.00254;//finger_length w=.051;//finger_base_width A1=.089;//contribution_of_interior_finger_for_h>w A2=.1;//contribution_of_two_exterior_fingers_for_h>w C=((er+1)*l*((A1*(N-3))+A2))/w; disp(C,'the_Capacitance(in (pF/cm)is =');
48af7a981a684fea82e58bf92bb21ef92fb42448
449d555969bfd7befe906877abab098c6e63a0e8
/3751/CH11/EX11.8/Ex11_8.sce
0cae0067a577aa22dd32b509b6c1e5b2e53fa386
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,100
sce
Ex11_8.sce
//Fluid Systems - By - Shiv Kumar //Chapter 11- Centrifugal Pumps //Example 11.8 //To Determine the Power Required to drive the centrifugal Pump. clc clear //Given Data:- Q=40; //Discharge, litres/s Hst=20; //Static Head, m D=150; //Diameter of Pipe, mm L=100; //length of pipe, m eta_o=70/100; //Overall Efficiency f=0.015; //Coefficient of friction //Data Used:- rho=1000; //Density of water, kg/m^3 g=9.81; //Acceleration due to gravity, m/s^2 //Computations:- Q=Q/1000; //m^3/s D=D/1000; //m A=(%pi/4)*D^2; //m^2 V=Q/A; //m/s Vd=V; h_f=4*f*L*V^2/(2*g*D); //Frictional Head Loss in Pipe, m Hm=Hst+h_f+Vd^2/(2*g); //Manometric Head, m P=rho*Q*g*Hm/(eta_o*1000); //kW //Result:- printf("Power Required to drive the Centrifugal Pump=%.3f kW\n",P) //The answer vary due to round off error
c7cbdc6b848844851b082c1a253d2b79ce4ab7cb
449d555969bfd7befe906877abab098c6e63a0e8
/2015/CH7/EX7.8/7_8.sce
24e6b5bdde9c22c1353f3e51baffa5b6febbbaa5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
529
sce
7_8.sce
clc //initialisation of variables ps1=0.056216 //bar pressure phi1=0.2 //relative humidity td1=35 //temp in degrees p=1.01325 //pressure in bar td2=25 //temp in degrees ps2=0.03166 //bar //CALCULATIONS pv1=phi1*ps1 w1=0.622*(pv1/(p-pv1)) ha=(1.005*td1+w1*(2500+1.86*td1)) w2=(ha-(1.005*td2))/(2500+1.86*td2) pv2=(w2*p)/(w2+0.622) phi2=pv2/ps2 //RESULTS printf('relative humidity rate is %2fkg/kg of da',ha) printf('\nrelative humidity is %2f',phi2) printf('\namount of water to be added is %2fkg/kg of da',w2)
5b181f4b323bf82c4d663e9ac854fd2825465c02
351fe6e47b1edc4fa8b9333340ba914299fa1b64
/rd7/as/pedm/backup.tst
53eef1028ba843a2f32ecca6da368d50d500321e
[ "MIT" ]
permissive
ssavitzky/Silvermine-Resources
80ebba26f94a746da700e99320d06f7c629f7611
703375ba302929ad94ebe8326e0afecd6c06d633
refs/heads/master
2020-03-19T13:08:45.067855
2018-06-08T04:17:05
2018-06-08T04:17:05
136,563,434
0
0
null
null
null
null
UTF-8
Scilab
false
false
25
tst
backup.tst
Sun Sep 11 21:47:40 1988
f6af747b22ba7f0e28959346b1029243ef3c3efa
449d555969bfd7befe906877abab098c6e63a0e8
/2444/CH6/EX6.18/ex6_18.sce
97b2b39066913b6d2bfe151dd52191ec5e9a0578
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
433
sce
ex6_18.sce
// Exa 6.18 clc; clear; close; format('v',7) // Given data D = 10/100;// distortion without feedback Df = 1/100;// distortion with feedback A = 200;// unit less // Df = D/(1+(Beta*A)); Beta = ((D/Df)-1)/A;// unit less Af = A/(1+(Beta*A));// unit less disp(Af,"The gain voltage with feed back is"); Vs = 10;// in mV Vs = Vs * 10^-3;// in V Vout = Af*Vs;// in V disp(Vout,"The output voltage with feed back in V is");
dd7ed6b31d0746545809d2253f1537690654c752
449d555969bfd7befe906877abab098c6e63a0e8
/926/CH3/EX3.1/Chapter3_Example1.sce
95e4356efbda940d66a391f588c00d66a96ac0eb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,093
sce
Chapter3_Example1.sce
//Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504 //Chapter-3, Illustration 1, Page 54 //Title: Calculation of volume //============================================================================= clear clc //INPUT W1 = 30; //Weight of chlorine in lb MW = 71; //Molecular weight of chlorine in lb/lb mole P1 = 760; //Pressure at standard conditions in mm Hg T1 = 492; //Temperature at standard conditions in degree R P2 = 743; //Given pressure in mm Hg T = 70; //Given temperature in degree F //CALCULATIONS n = W1/MW; //No of moles of chlorine in lb mole V1= n*359; //Volume of chlorine at standard conditions in cu ft T2 = 530; //Given temperature in degree R V2 = V1*(P1/P2)*(T2/T1); //Volume of chlorine at given conditions in cu ft //OUTPUT mprintf(' \n Volume occupied by %2.0f lb of chlorine at given temperature and pressure is %3.0f cu ft',W1,V2); //=================================END OF PROGRAM==============================
f560de8eb24c4e04c1d3c0097ce01c7377965e29
449d555969bfd7befe906877abab098c6e63a0e8
/3821/CH7/EX7.13/Example7_13.sce
bcc5efe7454c1959ae92568a31412b3fb09de7fa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example7_13.sce
///Chapter No 7 Fluid Mechanics ///Example 7.13 Page No:124 ///Find Discharge through pipe ///Input data clc; clear; D1=0.2; //Diameter of pipe section 1 in m D2=0.3; //Diameter of pipe section 2 in m V1=15; //Velocity of water in m/s pi=3.14; ///calculation Q=((3.14/4)*(0.2)^2)*15; //Discharge through pipe in m**3/s V2=(((3.14/4)*(0.2)^2)*15)/((3.14/4)*(0.3)^2); //velocity of section2 in m/s ///Output printf('Discharge through pipe= %f m^3/s \n ',Q); printf('velocity of section2= %f m/s \n ',V2);
706490d90d09a39229ac90803f50c6ba6e46accd
449d555969bfd7befe906877abab098c6e63a0e8
/1538/CH21/EX21.15/Ex21_15.sce
47c5f2d0eddfc0cea39109a025eccf9c057eed36
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Ex21_15.sce
//example-21.15 //page no-651 //given //length of wire l=250*10^-3 //m //no of turns N=400 //current I=15 //A //permeability in vaccum mu0=1.2457*10^-6 //H/m //relative permeability mur=1 //magnetic field strength H=N*I/l //AT/m //flux density is B=mu0*mur*H //Wb/m^2 printf ("the magnetic field strength is %f AT/m and flux density is %f Wb/m",H,B)
f04df1e83cb8221eaee830f68620e48afe0b7d50
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH4/EX4.9/ex4_9.sce
33ff823e83beff60ebba216a691e3dfaaeb8ae44
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
711
sce
ex4_9.sce
clc; G=6.67*10^-11 //universal gravitational constant in Nm square/kg square. m1=5.98*10^24; //mass of earth in kg m2=7.36*10^22; //mass of moon in kg r=3.84*10^8; //radius of moon's orbit F=(G*m1*m2)/(r*r); //calculating gravitationalforce in Newton v=sqrt((G*m1)/r); //calculating velocity of moon in m/sec s=2*%pi*r; //calculating circumference of moon's orbit in metre t=s/v; //calculating time in sec disp(F,"Gravitational Force in Newton = "); //displaying gravitational force in Newton disp(v,"Velocity in metre/sec = "); //displaying velocity in metre disp(t,"Time in sec = "); //displaying time in sec. disp(t/86400,"Time in days = "); //displaying time in days
6692472b9416513b43e262fb2214e12e5057fbb9
449d555969bfd7befe906877abab098c6e63a0e8
/1904/CH7/EX7.2/7_2.sce
fef83fce338eb6a07183f7b56447474c1ad431d2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,463
sce
7_2.sce
//To determine the voltage drop or voltage regulation of a 3phase system //Page 327 clc; clear; Vll=416; //Voltage Line to Line Vph=Vll/(sqrt(3)); //Phase Voltage and Base Voltage //Load Currents Ia=30; Ib=20; Ic=50; //Power Factors of the load pfa=1; pfb=0.5; pfc=0.9; //Impedances of the Sections ZA=0.05+(%i*0.01); ZAB=0.1+(%i*0.02); ZBC=0.05+(%i*0.05); //Impedance upto the point of load ZB=ZA+ZAB; ZC=ZB+ZBC; //Function to Calculate Voltage Drop deff('x=VD(a,b,c)','x=a*((real(b)*c)+(imag(b)*sind(acosd(c))))') //Voltage Drops at A,B and C VDA=VD(Ia,ZA,pfa); VDB=VD(Ib,ZB,pfb); VDC=VD(Ic,ZC,pfc); TVD=VDA+VDB+VDC; //Total Voltage Drop TVDpu=TVD/Vph; // In Per Unit deff('x=Real(y,z)','x=Vph*y*z') //Function to Calculate Real Power deff('x=Reactive(y,z)','x=Vph*y*sind(acosd(z))') //Funtion to Calculate the Reactive power //Real Powers Pa=Real(Ia,pfa); Pb=Real(Ib,pfb); Pc=Real(Ic,pfc); P=Pa+Pb+Pc; //Total Real Power //Reactive Powers Qa=Reactive(Ia,pfa); Qb=Reactive(Ib,pfb); Qc=Reactive(Ic,pfc); Q=Qa+Qb+Qc; //Total Reactive Power S=sqrt((P^2)+(Q^2)); //Total output from the Transformer PF=P/S; //Load Power Factor printf('\na) The Total Voltage drop is %g pu\n',TVDpu) printf('b) The Real Power per Phase is %g kW\n',P/1000) printf('c) The Reactive Power per Phase is %g kVAr\n',Q/1000) printf('d) The Kilovoltampere output and load factor is %g kVA and %g lagging\n',S/1000,PF)
d66950703c02641e49e77d1476fb1bb5c66c1f1c
449d555969bfd7befe906877abab098c6e63a0e8
/409/CH7/EX7.4/Example7_4.sce
d4ac12bf44488bab2a6422e50110a1677b7582a6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
540
sce
Example7_4.sce
clear ; clc; // Example 7.4 printf('Example 7.4\n\n'); //Page no. 180 // Solution n_un= 7 ;// Number of unknowns in the given problem- 3 values of xi and 4 values Fi n_ie = 5 ;// Number of independent equations // Summary of independent equations // Three material balances:CH4,C2H6 and N2 // One specified ratio: moles of CH4 to C2H6 equal 1.5 // One summation of mole fraction in mixture equals 1 d_o_f = n_un-n_ie ;// No. of degree of freedom printf('Number of degree of freedom for the given system is %i .\n',d_o_f);
87f8168abc14b18cc76a95010ba0074fe9874d63
449d555969bfd7befe906877abab098c6e63a0e8
/1382/CH5/EX5.4/EX_5_4.sce
c0d1ab1e17e3a139c842db03729f9a4803f74c4d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
267
sce
EX_5_4.sce
// Example 5.4:amplifier gain clc; clear; close; f=50;//frequency in hertz Avm=150/0.707;//mid voltage gain fh=20;//lower cut off frequency in hertz Avh= (Avm/(sqrt(1+(f/fh)^2)));//gain at upper cut off frequency disp(Avh,"gain at upper cut off frequency")
5284772029a5fca641f08754e2db095c784356c2
389bd4af3bf5a0f54f51e8aafea5035f568ba445
/13kasım_fonkfx.sce
ca85d5573c2cc02c39c254f591db5ca9fded0ed4
[]
no_license
esraatlici/Bilgisayar-Destekli-Matematik
d47f057d9cb7ee987e367c67f8923cfcf02342d8
dae1079f60fc7e0d3b54802b4cbed9182b52fcd7
refs/heads/main
2022-12-25T11:14:25.575530
2020-10-05T15:09:58
2020-10-05T15:09:58
301,447,895
0
0
null
null
null
null
UTF-8
Scilab
false
false
240
sce
13kasım_fonkfx.sce
//Çok tanımlı bir matematikse ifadenin fonksiyonu function out=f(x) if 0<x & x<=10 then out=5*x;end if 10<x & x<=100 then out=5*(x^2);end if x>100 then out=0.5*(x^2); end endfunction
b414cf51a5daaeba23ed7bf236c0c79d622e0505
2391eec552dac38c05f9c53bae1ec612f2871f51
/Lab 5/fucmeup.sce
78a7fd19959b12c227b2bf440141d3899d8d8be4
[]
no_license
Zebz13/EEE-S7-Power-Systems
fe9e00e27242fa51650bf87e46c504a716a22edf
1fc9ab29e96a5d5f8a23d629364cadf2c70c4a40
refs/heads/main
2023-01-10T03:53:34.295752
2020-11-08T17:03:45
2020-11-08T17:03:45
309,158,346
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,296
sce
fucmeup.sce
//please run or read and edit out unnecessary stuff //start clc ; clear ; //line inputs disp("Enter the line data in the order-> From,To,Res,Reat,Half Admit,Tap") linedata =input("Enter line data:") Yshunt=input("Enter shunt admittance:") // line data extraction from= linedata(:,1) to= linedata(:,2) imp= linedata(:,3)+ linedata(:,4)*%i half_adm= linedata(:,5)*%i bus_no= max(max(from,to)); Ybus= zeros(bus_no,bus_no); line_number=length(from) //Ybus building for i=1:line_number m=from(i); n=to(i); Ybus(m,m)=Ybus(m,m) +1/imp(i)+ (half_adm(i)) ; Ybus(n,n)=Ybus(n,n) +1/imp(i)+ (half_adm(i)) ; Ybus(m,n)= -1/ imp(i); Ybus(n,m)=Ybus(m,n); end //Adding shunt to diagonal elements for i=1:bus_no Ybus(i,i)=Ybus(i,i)+Yshunt(i) end //display Ybus disp("Ybus Admittance is:") disp(Ybus) //Input and extract bus data. Taps are avoided disp("Enter data in the order-> Bus, type, Vsp, theta, Pgi, Qgi, Pli, Qli, Qmin, Qmax") busdata = input("Enter bus data:") bus=busdata(:,1) typ = busdata(:,2) qmin = busdata(:,9) qmax = busdata(:,10) //net p and q p= busdata (:,5)- busdata(:,7) q= busdata(:,6)- busdata(:,8) v= busdata(:,3).*(cosd(busdata(:,4))+ %i*sind(busdata(:,4))); //parameter setting //default. Can take alpha as input() if needed count =0; err =1; vold =v; //gauss seidel method while abs(err)>5*10^(-5) //while count<23 //testing for i=2:bus_no sumyv=0; for j=1:bus_no if i~=j sumyv=sumyv+Ybus(i,j)*v(j); end end if typ(i)==2 q(i)=-imag(conj(v(i))*(sumyv+(Ybus(i,i)*v(i)))); if q(i)<qmin (i) | q(n)>qmax (i) if q(i)<qmin (i) q(i)= qmin (i); else q(i)= qmax (i); end end end v(i) =(1/Ybus(i,i)) *(((p(i)-%i*q(i))/(conj(v(i)))) -sumyv); end count=count+1; err=max(abs(abs(v)-abs(vold))); vold=v; end //Load flow and slack power Amp=zeros(bus_no,bus_no) Powerflow=zeros(bus_no,bus_no) Lineloss=zeros(line_number) slackpower=0 for start=1:bus_no for fin=1:bus_no if(start~=fin) //-Ybus since off diagonal elements are negative Amp(start,fin)=-Ybus(start,fin)*(v(start)-v(fin)) Amp(fin,start)=-Amp(start,fin) Powerflow(start,fin)=v(start)*(conj(Amp(start,fin))) Powerflow(fin,start)=v(fin)*(conj(Amp(fin,start))) Lineloss(start,fin)=Powerflow(start,fin)+Powerflow(fin,start) if(start==1) slackpower=slackpower+(conj(v(1))*Amp(1,fin)) end end end end //making sparse and removing duplicates (1,2) and (2,1) Lineloss_mod=zeros(bus_no,bus_no) for temp=1:line_number m=from(temp) n=to(temp) Lineloss_mod(m,n)=Lineloss(m,n) end Lineloss_mod=sparse(Lineloss_mod) //disp output disp("Voltage rectangular:",v) volt=abs(v) angle=atan(imag(v),real(v))*(180/%pi); disp("Voltage:",volt) disp("Angle:",angle) printf("Gauss Seidel Load Flow converged after %i iteration.", count) disp("Line flow",Powerflow) disp("Line losses",Lineloss_mod) disp("Slack bus power",slackpower)
74bd7bb1fb8d3845e5c95f1d35de4f9b1aaa5b88
449d555969bfd7befe906877abab098c6e63a0e8
/3843/CH4/EX4.6/Ex4_6.sce
bd9bf8e6d44c07b8d6b27d709b87593da78a1479
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Ex4_6.sce
// Example 4_6 clc;funcprot(0); // Given data T_1=300;// °C T_2=700;// °C m=3;// kg // Calculation // (a) delH=m*integrate('(2.07+((T-400)/1480))','T',T_1,T_2); printf("\n(a)The enthalpy change,delH=%4.0f kJ",delH); // From steam tables h_1=3073;// kJ/kg h_2=3928;// kJ/kg delH=m*(h_2-h_1);// kJ/kg printf("\n Using the values from steam tables,the enthalpy change,delH=%4.0f kJ",delH); // (b) delT=T_2-T_1;// °C c_pav=(m*integrate('(2.07+((T-400)/1480))','T',T_1,T_2))/(m*delT);// kJ/kg.°C printf("\n(b)The average value of c_p=%1.2f kJ/kg.°C",c_pav); // Using the values from steam tables c_pav=(h_2-h_1)/delT;// kJ/kg.°C printf("\n Using the values from steam tables,the average value of c_p=%1.2f kJ/kg.°C",c_pav);
f18ed72a2a44993953715118762860c6369a6182
7b5fc14eb97ac069fb310c30488cf43459cd667b
/LA_Assignment_1.sce
4a03c6ad945b4789f0090a58df419669b9e06829
[]
no_license
Araz1103/Linear-Algebra-Assignments
97406f1e10ed80570c0bb6d404c8fbd59b769ac3
84644aec95bc7e430bcc01f6075d60b23e2e4a65
refs/heads/master
2020-12-31T10:07:47.386678
2020-04-10T12:01:32
2020-04-10T12:01:32
238,992,825
0
0
null
null
null
null
UTF-8
Scilab
false
false
813
sce
LA_Assignment_1.sce
str = input("Enter a 3x4 augmented matrix which has spaces to seperate", "string") v = evstr(strsplit(str, " ")) init11=v(1) init12=v(2) init13=v(3) init21=v(5) init22=v(6) init23=v(7) init31=v(9) init32=v(10) init33=v(11) sec1=v(4) sec2=v(8) sec3=v(12) A=[init11,init12,init13,sec1;init21,init22,init23,sec2;init31,init32,init33,sec3] n=3; for k=2:n for j=2:n+1 A(k,j)=A(k,j)-A(1,j)*A(k,1)/A(1,1); end A(k,1)=0; end for i=3:n for j=3:n+1 A(i,j)=A(i,j)-A(2,j)*A(i,2)/A(2,2); end A(i,2)=0; end x(n)=A(n,n+1)/A(n,n);for i=n-1:-1:1 sumk=0; for k=i+1:n sumk=sumk+A(i,k)*x(k); end x(i)=(A(i,n+1)-sumk)/A(i,i); end disp(x(3),x(2),x(1),'Tha values of x,y,z are'); disp(A(1,1),A(2,2),A(3,3),'The pivots are');
98c6f6d48d4bdf7526fd8549ce0f12b4ad831d5c
931df7de6dffa2b03ac9771d79e06d88c24ab4ff
/Shoot Down Target.sce
9f107f672f17cb2532fa7e2ffd0d6cb953de504b
[]
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
41,456
sce
Shoot Down Target.sce
Name=Shoot Down Target PlayerCharacters=player_char BotCharacters=down_strafe.bot IsChallenge=true Timelimit=60.0 PlayerProfile=player_char AddedBots=down_strafe.bot;down_strafe.bot;down_strafe.bot;down_strafe.bot;down_strafe.bot PlayerMaxLives=0 BotMaxLives=0;0;0;0;0 PlayerTeam=1 BotTeams=2;2;2;2;2 MapName=shoot_down.map MapScale=10.0 BlockProjectilePredictors=true BlockCheats=true InvinciblePlayer=false InvincibleBots=false Timescale=1.0 BlockHealthbars=false TimeRefilledByKill=0.0 ScoreToWin=0.0 ScorePerDamage=1.0 ScorePerKill=10.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=0.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=true ScoreMultDamageEfficiency=false ScoreMultKillEfficiency=false GameTag=click-timing,tracking WeaponHeroTag=LG DifficultyTag=3 AuthorsTag=NFNT BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=false BlockFCT=false Description=Track and kill targets that drop when you shoot. GameVersion=2.0.1.1 ScorePerDistance=0.0 MBSEnable=false MBSTime1=0.25 MBSTime2=0.5 MBSTime3=0.75 MBSTime1Mult=1.0 MBSTime2Mult=2.0 MBSTime3Mult=3.0 MBSFBInstead=false MBSRequireEnemyAlive=false LockFOVRange=false LockedFOVMin=60.0 LockedFOVMax=120.0 LockedFOVScale=Clamped Horizontal [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 AimingStyle=Original ScanSpeedMultiplier=1.0 MaxSeekPitch=30.0 MaxSeekYaw=30.0 AimingSpeed=5.0 MinShootDelay=0.3 MaxShootDelay=0.6 [Bot Profile] Name=down_strafe DodgeProfileNames=down_strafe DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=100.0 DodgeProfileMinChangeTime=100.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=false CharacterProfile=down_strafe_char SeeThroughWalls=false NoDodging=false NoAiming=true AbilityUseTimer=0.0001 UseAbilityFrequency=1.0 UseAbilityFreqMinTime=0.3 UseAbilityFreqMaxTime=0.6 ShowLaser=false LaserRGB=X=1.000 Y=0.300 Z=0.000 LaserAlpha=1.0 [Character Profile] Name=player_char MaxHealth=100.0 WeaponProfileNames=LG;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=75.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=0.0 MaxCrouchSpeed=500.0 Acceleration=16000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=800.0 Gravity=0.0 AirControl=0.25 CanCrouch=true CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=230.0 MainBBRadius=55.0 MainBBHasHead=true MainBBHeadRadius=45.0 MainBBHeadOffset=0.0 MainBBHide=true ProjBBType=Cylindrical ProjBBHeight=230.0 ProjBBRadius=55.0 ProjBBHasHead=true ProjBBHeadRadius=45.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.2 JetpackFullFuelTime=4.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=false JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=true AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.25 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=2048.0 VerticalSpawnOffset=265.0 TerminalVelocity=0.0 CharacterModel=None CharacterSkin=Default SpawnXOffset=0.0 SpawnYOffset=0.0 InvertBlockedSpawn=false ViewBobTime=0.0 ViewBobAngleAdjustment=0.0 ViewBobCameraZOffset=0.0 ViewBobAffectsShots=false IsFlyer=false FlightObeysPitch=false FlightVelocityUp=800.0 FlightVelocityDown=800.0 [Character Profile] Name=down_strafe_char MaxHealth=70.0 WeaponProfileNames=;;;;;;; MinRespawnDelay=0.0001 MaxRespawnDelay=0.0001 StepUpHeight=0.0 CrouchHeightModifier=1.0 CrouchAnimationSpeed=0.1 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=0.0 MovementType=Base MaxSpeed=600.0 MaxCrouchSpeed=2400.0 Acceleration=50000.0 AirAcceleration=16000.0 Friction=0.0 BrakingFrictionFactor=0.0 JumpVelocity=2400.0 Gravity=0.0 AirControl=0.0 CanCrouch=false CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Spheroid MainBBHeight=100.0 MainBBRadius=50.0 MainBBHasHead=false MainBBHeadRadius=0.1 MainBBHeadOffset=0.0 MainBBHide=true ProjBBType=Spheroid ProjBBHeight=0.02 ProjBBRadius=0.01 ProjBBHasHead=false ProjBBHeadRadius=0.1 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.0 JetpackFullFuelTime=100.0 JetpackFuelIncPerSec=100.0 JetpackFuelRegensInAir=false JetpackThrust=1600.0 JetpackMaxZVelocity=800.0 JetpackAirControlWithThrust=1.0 AbilityProfileNames=down_strafe.abilmov;;; HideWeapon=true AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=0.001 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=500.0 RespawnAnimationDuration=0.0 AllowBufferedJumps=false BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=0.001 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.25 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=0.0 VerticalSpawnOffset=0.0 TerminalVelocity=1.0 CharacterModel=None CharacterSkin=Default SpawnXOffset=0.0 SpawnYOffset=0.0 InvertBlockedSpawn=false ViewBobTime=0.0 ViewBobAngleAdjustment=0.0 ViewBobCameraZOffset=0.0 ViewBobAffectsShots=false IsFlyer=true FlightObeysPitch=true FlightVelocityUp=0.0 FlightVelocityDown=0.0 [Dodge Profile] Name=down_strafe MaxTargetDistance=4000.0 MinTargetDistance=0.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=4.0 MaxLRTimeChange=4.0 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.0 BlockedMovementReactionMin=0.0 BlockedMovementReactionMax=0.0 WaypointLogic=Ignore WaypointTurnRate=200.0 MinTimeBeforeShot=0.15 MaxTimeBeforeShot=0.25 IgnoreShotChance=0.0 ForwardTimeMult=1.0 BackTimeMult=1.0 DamageReactionChangesFB=false [Weapon Profile] Name=LG Type=Hitscan ShotsPerClick=1 DamagePerShot=10.0 KnockbackFactor=0.0 TimeBetweenShots=0.05 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=0.1 ReloadTimeFromPartial=0.1 DamageFalloffStartDistance=100000.0 DamageFalloffStopDistance=100000.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 ProjectileGraphic=Ball VisualLifetime=0.1 BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.001 HitSoundCooldown=0.001 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.0 RecoilNegatable=false DecalType=0 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=true AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=0.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.2 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=104.0 ADSFOVScale=Apex Legends ADSAllowUserOverrideFOV=false IsBurstWeapon=false ForceFirstPersonInADS=true ZoomBlockedInAir=false ADSCameraOffsetX=0.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.1 WeaponModel=Heavy Surge Rifle WeaponAnimation=Primary UseIncReload=false IncReloadStartupTime=0.1 IncReloadLoopTime=0.1 IncReloadAmmoPerLoop=1 IncReloadEndTime=0.1 IncReloadCancelWithShoot=true WeaponSkin=Default ProjectileVisualOffset=X=0.000 Y=0.000 Z=-50.000 SpreadDecayDelay=0.0 ReloadBeforeRecovery=true 3rdPersonWeaponModel=Pistol 3rdPersonWeaponSkin=Default ParticleMuzzleFlash=None ParticleWallImpact=Gunshot ParticleBodyImpact=Gunshot ParticleProjectileTrail= ParticleHitscanTrace=Tracer ParticleMuzzleFlashScale=1.0 ParticleWallImpactScale=1.0 ParticleBodyImpactScale=1.0 ParticleProjectileTrailScale=1.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=0.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=1.0,1.0,-1.0,0.0 SpreadSCA=1.0,1.0,-1.0,0.0 SpreadMSA=1.0,1.0,-1.0,0.0 SpreadMCA=1.0,1.0,-1.0,0.0 SpreadSSH=1.0,1.0,-1.0,0.0 SpreadSCH=1.0,1.0,-1.0,0.0 SpreadMSH=1.0,1.0,-1.0,0.0 SpreadMCH=1.0,1.0,-1.0,0.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=false TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.05 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Movement Ability Profile] Name=down_strafe MaxCharges=10.0 ChargeTimer=0.01 ChargesRefundedOnKill=0.0 DelayAfterUse=0.0 FullyAuto=false AbilityDuration=0.0 LockDirectionForDuration=true NegateGravityForDuration=false MainVelocity=200.0 MainVelocityCanGoVertical=false MainVelocitySetToMovementKeys=false UpVelocity=-200.0 EndVelocityFactor=0.0 Hurtbox=false HurtboxRadius=50.0 HurtboxDamage=50.0 HurtboxGroundKnockbackFactor=1.0 HurtboxAirKnockbackFactor=1.0 AbilityBlocksTurning=true AbilityBlocksMovement=true AbilityBlocksAttack=false AttackCancelsAbility=false AbilityReloadsWeapon=false HealthRestore=0.0 AIUseInCombat=false AIUseOutOfCombat=false AIUseOnGround=false AIUseInAir=false AIReuseTimer=0.01 AIMinSelfHealth=0.0 AIMaxSelfHealth=100.0 AIMinTargHealth=0.0 AIMaxTargHealth=100.0 AIMinTargDist=0.0 AIMaxTargDist=1000000.0 AIMaxTargFOV=360.0 AIDamageReaction=true AIDamageReactionIgnoreChance=0.0 AIDamageReactionMinDelay=0.01 AIDamageReactionMaxDelay=0.01 AIDamageReactionCooldown=0.01 AIDamageReactionThreshold=0.01 AIDamageReactionResetTimer=0.01 [Map Data] reflex map version 8 global entity type WorldSpawn String32 targetGameOverCamera end UInt8 playersMin 1 UInt8 playersMax 16 brush vertices -480.000000 365.000000 -208.000000 480.000000 365.000000 -208.000000 480.000000 365.000000 -256.000000 -480.000000 365.000000 -256.000000 -480.000000 -115.000000 -208.000000 480.000000 -115.000000 -208.000000 480.000000 -115.000000 -256.000000 -480.000000 -115.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -480.000000 365.000000 272.000000 -432.000000 365.000000 272.000000 -432.000000 365.000000 -208.000000 -480.000000 365.000000 -208.000000 -480.000000 -115.000000 272.000000 -432.000000 -115.000000 272.000000 -432.000000 -115.000000 -208.000000 -480.000000 -115.000000 -208.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 432.000000 365.000000 272.000000 480.000000 365.000000 272.000000 480.000000 365.000000 -208.000000 432.000000 365.000000 -208.000000 432.000000 -115.000000 272.000000 480.000000 -115.000000 272.000000 480.000000 -115.000000 -208.000000 432.000000 -115.000000 -208.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 0.000000 -115.000000 464.000000 -189.000000 -115.000000 452.000000 0.000000 -115.000000 512.000000 -210.000000 365.000000 497.000000 0.000000 365.000000 512.000000 -210.000000 -115.000000 497.000000 -189.000000 365.000000 452.000000 0.000000 365.000000 464.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 brush vertices -189.000000 -115.000000 452.000000 -324.000000 -115.000000 416.000000 -210.000000 -115.000000 497.000000 -360.000000 365.000000 452.000000 -210.000000 365.000000 497.000000 -360.000000 -115.000000 452.000000 -324.000000 365.000000 416.000000 -189.000000 365.000000 452.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 brush vertices -324.000000 -115.000000 416.000000 -405.000000 -115.000000 356.000000 -360.000000 -115.000000 452.000000 -450.000000 365.000000 377.000000 -360.000000 365.000000 452.000000 -450.000000 -115.000000 377.000000 -405.000000 365.000000 356.000000 -324.000000 365.000000 416.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 brush vertices -405.000000 -115.000000 356.000000 -432.000000 -115.000000 272.000000 -450.000000 -115.000000 377.000000 -480.000000 365.000000 272.000000 -450.000000 365.000000 377.000000 -480.000000 -115.000000 272.000000 -432.000000 365.000000 272.000000 -405.000000 365.000000 356.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 brush vertices 0.000000 -115.000000 512.000000 210.000000 -115.000000 497.000000 0.000000 -115.000000 464.000000 189.000000 365.000000 452.000000 0.000000 365.000000 464.000000 189.000000 -115.000000 452.000000 210.000000 365.000000 497.000000 0.000000 365.000000 512.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 brush vertices 210.000000 -115.000000 497.000000 360.000000 -115.000000 452.000000 189.000000 -115.000000 452.000000 324.000000 365.000000 416.000000 189.000000 365.000000 452.000000 324.000000 -115.000000 416.000000 360.000000 365.000000 452.000000 210.000000 365.000000 497.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 brush vertices 360.000000 -115.000000 452.000000 450.000000 -115.000000 377.000000 324.000000 -115.000000 416.000000 405.000000 365.000000 356.000000 324.000000 365.000000 416.000000 405.000000 -115.000000 356.000000 450.000000 365.000000 377.000000 360.000000 365.000000 452.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 brush vertices 450.000000 -115.000000 377.000000 480.000000 -115.000000 272.000000 405.000000 -115.000000 356.000000 432.000000 365.000000 272.000000 405.000000 365.000000 356.000000 432.000000 -115.000000 272.000000 480.000000 365.000000 272.000000 450.000000 365.000000 377.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 brush vertices -480.000000 -48.000000 512.000000 480.000000 -48.000000 512.000000 480.000000 -48.000000 -256.000000 -480.000000 -48.000000 -256.000000 -480.000000 -64.000000 512.000000 480.000000 -64.000000 512.000000 480.000000 -64.000000 -256.000000 -480.000000 -64.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -480.000000 336.000000 512.000000 480.000000 336.000000 512.000000 480.000000 336.000000 -256.000000 -480.000000 336.000000 -256.000000 -480.000000 320.000000 512.000000 480.000000 320.000000 512.000000 480.000000 320.000000 -256.000000 -480.000000 320.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 0.000000 -115.000000 360.000000 -147.437500 -115.000000 352.000000 0.000000 -115.000000 408.000000 -168.437500 365.000000 397.000000 0.000000 365.000000 408.000000 -168.437500 -115.000000 397.000000 -147.437500 365.000000 352.000000 0.000000 365.000000 360.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices -147.437500 -115.000000 352.000000 -252.750000 -115.000000 328.000000 -168.437500 -115.000000 397.000000 -288.750000 365.000000 364.000000 -168.437500 365.000000 397.000000 -288.750000 -115.000000 364.000000 -252.750000 365.000000 328.000000 -147.437500 365.000000 352.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices -252.750000 -115.000000 328.000000 -315.937500 -115.000000 288.000000 -288.750000 -115.000000 364.000000 -360.937500 365.000000 309.000000 -288.750000 365.000000 364.000000 -360.937500 -115.000000 309.000000 -315.937500 365.000000 288.000000 -252.750000 365.000000 328.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices -315.937500 -115.000000 288.000000 -337.000000 -115.000000 232.000000 -360.937500 -115.000000 309.000000 -385.000000 365.000000 232.000000 -360.937500 365.000000 309.000000 -385.000000 -115.000000 232.000000 -337.000000 365.000000 232.000000 -315.937500 365.000000 288.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices 0.000000 -115.000000 408.000000 167.562500 -115.000000 397.000000 0.000000 -115.000000 360.000000 146.562500 365.000000 352.000000 0.000000 365.000000 360.000000 146.562500 -115.000000 352.000000 167.562500 365.000000 397.000000 0.000000 365.000000 408.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices 167.562500 -115.000000 397.000000 287.250000 -115.000000 364.000000 146.562500 -115.000000 352.000000 251.250000 365.000000 328.000000 146.562500 365.000000 352.000000 251.250000 -115.000000 328.000000 287.250000 365.000000 364.000000 167.562500 365.000000 397.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices 287.250000 -115.000000 364.000000 359.062500 -115.000000 309.000000 251.250000 -115.000000 328.000000 314.062500 365.000000 288.000000 251.250000 365.000000 328.000000 314.062500 -115.000000 288.000000 359.062500 365.000000 309.000000 287.250000 365.000000 364.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices 359.062500 -115.000000 309.000000 383.000000 -115.000000 232.000000 314.062500 -115.000000 288.000000 335.000000 365.000000 232.000000 314.062500 365.000000 288.000000 335.000000 -115.000000 232.000000 383.000000 365.000000 232.000000 359.062500 365.000000 309.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices -432.000000 365.000000 232.000000 -337.000000 365.000000 232.000000 -337.000000 365.000000 216.000000 -432.000000 365.000000 216.000000 -432.000000 -115.000000 232.000000 -337.000000 -115.000000 232.000000 -337.000000 -115.000000 216.000000 -432.000000 -115.000000 216.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 335.000000 365.000000 232.000000 432.000000 365.000000 232.000000 432.000000 365.000000 216.000000 335.000000 365.000000 216.000000 335.000000 -115.000000 232.000000 432.000000 -115.000000 232.000000 432.000000 -115.000000 216.000000 335.000000 -115.000000 216.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip entity type PlayerSpawn Vector3 position 0.000000 65.000000 0.000000 Bool8 teamB 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type CameraPath UInt8 posLerp 2 UInt8 angleLerp 2 entity type PlayerSpawn Vector3 position 0.000000 107.000000 435.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 0.000000 207.000000 435.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 0.000000 7.000000 435.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 100.000000 7.000000 430.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 200.000000 7.000000 420.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 300.000000 7.000000 390.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -100.000000 7.000000 430.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -200.000000 7.000000 420.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -300.000000 7.000000 390.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -100.000000 107.000000 430.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -100.000000 207.000000 430.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -200.000000 107.000000 420.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -200.000000 207.000000 420.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -300.000000 107.000000 390.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -300.000000 207.000000 390.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 100.000000 107.000000 430.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 100.000000 207.000000 430.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 200.000000 107.000000 420.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 200.000000 207.000000 420.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 300.000000 107.000000 390.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 300.000000 207.000000 390.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -250.000000 57.000000 405.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -250.000000 157.000000 405.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -150.000000 57.000000 425.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -150.000000 157.000000 425.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -50.000000 57.000000 435.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -50.000000 157.000000 435.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 50.000000 57.000000 435.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 50.000000 157.000000 435.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 150.000000 57.000000 425.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 150.000000 157.000000 425.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 250.000000 57.000000 405.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 250.000000 157.000000 405.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0
59b72afabadf8a549c1175ad6561c13dccdc9a38
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.4/examples/intersci-examples/ex7.sce
eb2620379d33e7c7d9b813c4580cb7e7e743f105
[ "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
462
sce
ex7.sce
//ex7 example //1-Creating interface source file // from ex7fi.desc file by call to intersci // Making object files // Interface file '/tmp/ex7fi.o' // User's files '/tmp/ex7f.o'; files=G_make(['/tmp/ex7fi.o','/tmp/ex7f.o'],'ex7.dll'); //2-Link object files .o with addinter //addinter(files,'intex7',intex1_funs); exec('ex7fi.sce'); //Run Scilab functions: if calc('one')<>1 then pause,end if calc('two')<>2 then pause,end if calc('other')<>-1 then pause,end
4e2add9da4b521252aae0ccab35981628921f9d3
449d555969bfd7befe906877abab098c6e63a0e8
/1682/CH11/EX11.3/Exa11_3.sce
396bf6ee028ba10d7133523b4de8ffca0e999e3a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,585
sce
Exa11_3.sce
//Exa 11.3 clc; clear; close; IR=5;//in % per year i=15;//in % per year //Machine X : disp("Machine X : "); Ppx=1500000;//in Rs. n=7;//in years S=200000;//in Rs. AMC=300000;//in Rs. disp("End of year AMC InflationFactor InflatedAmount P/F PW"); format('v',9) Pw=0;//For initialising for n=1:7 FP=(1+IR/100)^n IA=AMC*FP;//in Rs. PF=1/((1+i/100)^n); PW=IA*PF;//in Rs. Pw=Pw+PW;//in Rs. disp(" "+string(n)+" "+string(AMC)+" "+string(FP)+" "+string(IA)+" "+string(PF)+" "+string(PW)); end disp(Pw,"Present worth of inflated annual operating and maintenance cost in Rs. : "); PWX=Ppx+Pw-S*1/((1+i/100)^n); disp(PWX,"Present worth of machine X in Rs. : "); //Machine Y disp("Machine Y : "); Ppy=2000000;//in Rs. n=7;//in years S=300000;//in Rs. AMC=250000;//in Rs. disp("End of year AMC InflationFactor InflatedAmount P/F PW"); format('v',9) Pw=0;//For initialising for n=1:7 FP=(1+IR/100)^n IA=AMC*FP;//in Rs. PF=1/((1+i/100)^n); PW=IA*PF;//in Rs. Pw=Pw+PW;//in Rs. disp(" "+string(n)+" "+string(AMC)+" "+string(FP)+" "+string(IA)+" "+string(PF)+" "+string(PW)); end disp(Pw,"Present worth of inflated annual operating and maintenance cost in Rs. : "); PWY=Ppy+Pw-S*1/((1+i/100)^n); disp(PWY,"Present worth of machine Y in Rs. : "); disp("Since the present worth of Machine X is less than Machine Y, select Machine X") //Note : Calculations are not accurate in the book
b54e8db8872d3225da4f0977493b19099c97f51b
449d555969bfd7befe906877abab098c6e63a0e8
/1991/CH6/EX6.12/12.sce
9f1b9d35b8d35db2b12d11dd1df21fb86afaf7f8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
225
sce
12.sce
clc clear //input r100=6.9//resistence of steam r0=5.8 //resistece of ice t=550 //temperature //calculation r=(t*(r100-r0))/100 +5.8//platinum resistance thermometre //output printf("the resistence is %3.3f ohm",r)
6edab78428736214f3b2601f8dd48671eb17cc54
8781912fe931b72e88f06cb03f2a6e1e617f37fe
/scilab/gr_harm/condor/test1/out/fluxes.sce
23dda5965fd3784ad96d7d5d9311697b0195fd0f
[]
no_license
mikeg2105/matlab-old
fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e
eac168097f9060b4787ee17e3a97f2099f8182c1
refs/heads/master
2021-05-01T07:58:19.274277
2018-02-11T22:09:18
2018-02-11T22:09:18
121,167,118
1
0
null
null
null
null
UTF-8
Scilab
false
false
3,289
sce
fluxes.sce
function [fxxx,fxxy,fxxz,fxyy,fxyz,fxzz,... fyxx,fyxy,fyxz,fyyy,fyyz,fyzz,... fzxx,fzxy,fzxz,fzyy,fzyz,fzzz... ]=fluxes(... nx,ny,nz,... x,y,z,r,psi,... alp,cux,cuy,cuz,rg,... uxx,uxy,uxz,uyy,uyz,uzz,... gxx,gxy,gxz,gyy,gyz,gzz,... qxx,qxy,qxz,qyy,qyz,qzz,... dxuxx,dxuxy,dxuxz,dxuyy,dxuyz,dxuzz,... dyuxx,dyuxy,dyuxz,dyuyy,dyuyz,dyuzz,... dzuxx,dzuxy,dzuxz,dzuyy,dzuyz,dzuzz... ) //[fxxx,fxxy,fxxz,fxyy,fxyz,fxzz,... // fyxx,fyxy,fyxz,fyyy,fyyz,fyzz,... // fzxx,fzxy,fzxz,fzyy,fzyz,fzzz... // ]=fluxes(... // nx,ny,nz,... // x,y,z,r,psi,... // alp,cux,cuy,cuz,rg,... // uxx,uxy,uxz,uyy,uyz,uzz,... // gxx,gxy,gxz,gyy,gyz,gzz,... // qxx,qxy,qxz,qyy,qyz,qzz,... // dxuxx,dxuxy,dxuxz,dxuyy,dxuyz,dxuzz,... // dyuxx,dyuxy,dyuxz,dyuyy,dyuyz,dyuzz,... // dzuxx,dzuxy,dzuxz,dzuyy,dzuyz,dzuzz,... // ) //============================================================================== // // [ROUTINE NAME] Fluxes // [AUTHOR] Joan Masso, NCSA & UIB // // [PURPOSE] Compute the fluxes of the equations // // [ARGUMENTS] // [INPUT] // nx,ny,nz : grid sizes of the 3d cube. // Full list of grid and metric arrays // [OUTPUT] // fxxx,fxxy,... : fluxes of the qxx,..., as they are the only // variables with "complicated" fluxes. // That is, F^k_{ij} of the $q^{ij}$ // // [INCLUDES] metric.h declares all the passed grid and metric arrays. // // [CALLED BY] Method // //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< //c ******* q fluxes ******* fxxx = alp.*rg.*(2.*cux.*uxx + dxuxx.*uxx + dyuxx.*uxy + dzuxx.*uxz); fxxy = alp.*rg.*(cuy.*uxx + dxuxy.*uxx + cux.*uxy + dyuxy.*uxy + dzuxy.*uxz); fxyy = alp.*rg.*(dxuyy.*uxx + 2.*cuy.*uxy + dyuyy.*uxy + dzuyy.*uxz); fxxz = alp.*rg.*(cuz.*uxx + dxuxz.*uxx + dyuxz.*uxy + cux.*uxz + dzuxz.*uxz); fxyz = alp.*rg.*(dxuyz.*uxx + cuz.*uxy + dyuyz.*uxy + cuy.*uxz + dzuyz.*uxz); fxzz = alp.*rg.*(dxuzz.*uxx + dyuzz.*uxy + 2.*cuz.*uxz + dzuzz.*uxz); fyxx = alp.*rg.*(2.*cux.*uxy + dxuxx.*uxy + dyuxx.*uyy + dzuxx.*uyz); fyxy = alp.*rg.*(cuy.*uxy + dxuxy.*uxy + cux.*uyy + dyuxy.*uyy + dzuxy.*uyz); fyyy = alp.*rg.*(dxuyy.*uxy + 2.*cuy.*uyy + dyuyy.*uyy + dzuyy.*uyz); fyxz = alp.*rg.*(cuz.*uxy + dxuxz.*uxy + dyuxz.*uyy + cux.*uyz + dzuxz.*uyz); fyyz = alp.*rg.*(dxuyz.*uxy + cuz.*uyy + dyuyz.*uyy + cuy.*uyz + dzuyz.*uyz); fyzz = alp.*rg.*(dxuzz.*uxy + dyuzz.*uyy + 2.*cuz.*uyz + dzuzz.*uyz); fzxx = alp.*rg.*(2.*cux.*uxz + dxuxx.*uxz + dyuxx.*uyz + dzuxx.*uzz); fzxy = alp.*rg.*(cuy.*uxz + dxuxy.*uxz + cux.*uyz + dyuxy.*uyz + dzuxy.*uzz); fzyy = alp.*rg.*(dxuyy.*uxz + 2.*cuy.*uyz + dyuyy.*uyz + dzuyy.*uzz); fzxz = alp.*rg.*(cuz.*uxz + dxuxz.*uxz + dyuxz.*uyz + cux.*uzz + dzuxz.*uzz); fzyz = alp.*rg.*(dxuyz.*uxz + cuz.*uyz + dyuyz.*uyz + cuy.*uzz + dzuyz.*uzz); fzzz = alp.*rg.*(dxuzz.*uxz + dyuzz.*uyz + 2.*cuz.*uzz + dzuzz.*uzz); endfunction
e3c59a419aae525791404386893264ddfa686746
777ac7fa75f240739af167655f7fab95cba80ef6
/docs/Basics.New/Goto.tst
8c0af2f1461af18f27651c554267fa2402664f31
[]
no_license
Karabur/TML-project
8d498d8133f4b1ea8e8c3fe6f6f47f7ab5de4b5c
0bfe006b0e66628427b769bc1be903875e77d5b7
refs/heads/master
2021-01-02T09:20:39.055827
2013-12-28T22:02:15
2013-12-28T22:02:15
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,538
tst
Goto.tst
Title: TestName: Проверка примитива Goto; Difficulty: A1; FullTime: 0; Questions: 3; EndTitle. StartTest: Question: 1; Weight: 1.0; BeginText: Тест намеренно зациклен следующим образом первый вопрос, второй вопрос. Чтобы остановиться выберите пункт меню Файл/закрыть тест. EndText; Choice: AtX: 8; AtY: 8; Width: 100; Height: 100; 1: правильно endcase; 2: ошибка endcase; Right: 1; Ask; goto 2; Question: 2; Weight: 1.0; BeginText: Вопрос 2 Тест намеренно зациклен следующим образом первый вопрос, второй вопрос. Чтобы остановиться выберите пункт меню Файл/закрыть тест. EndText; Choice: AtX: 8; AtY: 8; Width: 100; Height: 100; 1: правильно endcase; 2: ошибка endcase; Right: 1; Ask; goto 1; Question: 3; Weight: 1.0; BeginText: Вопрос 3. При правильной работе системы Вы этот вопрос никогда не увидите Тест намеренно зациклен следующим образом первый вопрос, второй вопрос. Чтобы остановиться выберите пункт меню Файл/закрыть тест. EndText; Choice: AtX: 8; AtY: 8; Width: 100; Height: 100; 1: правильно endcase; 2: ошибка endcase; Right: 1; Ask; EndTest.
f897698f98de7c5be96b0c8473a41bb707ed0990
449d555969bfd7befe906877abab098c6e63a0e8
/2102/CH1/EX1.8/exa_1_8.sce
4aa61befabf12924bf50e71e5fb573e532f18145
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
621
sce
exa_1_8.sce
// Exa 1.8 clc; clear; close; // Given data format('v',13) d= 2;// in mm d=d*10^-3;//in m sigma= 5.8*10^7;// in s/m miu_c= 0.0032;// in m^2/v-sec E= 20;//in mV/m E=E*10^-3;//in V/m e= 1.6*10^-19;// in C // Part (a) n= sigma/(e*miu_c);//in /m^3 disp(n,"Charge density per meter cube is : ") // Part (b) J= sigma*E;//in A/m^2 disp(J,"Current density in A/m^2 is : ") // Part (c) Area= %pi*d^2/4;// in area of cross-section of wire in m^2 I= J*Area;// in A disp(I,"Current flowing in the wire in amp is : ") // Part (d) v= miu_c*E;// in m/sec disp(v,"Electron drift velocity in m/sec is : ")
d8a668fb6fac456f1c22fa1364621ef5c3d50227
244971ae8af51184d278cdc2be1c80775413adae
/SSSoEDFAgain.sci
2abd831f52a40ba522c9f9014c006de6df8f2dcb
[]
no_license
MSCA-SIMFREE/748767
5879f1f139b608c7cd2f1bd62325b281c9c1e7d1
4726206e514f1e47e939e73b9339c056057866db
refs/heads/master
2020-12-27T15:21:13.646362
2020-02-03T11:40:00
2020-02-03T11:40:00
237,951,088
1
0
null
null
null
null
UTF-8
Scilab
false
false
802
sci
SSSoEDFAgain.sci
// The code was developed under Horizon2020 Framework Programme // Project: 748767 — SIMFREE function [Out,P_dBm]=SSSoEDFAgain(In,G_dB) // A simple optical amplifier // // Calling Sequence // [Out,P_dBm]=SSSoEDFAgain(In,G_dB) // // Parameters // In : Optical Input // Out : Optical Output // G_dB : small signal gain [dB] // P_dBm : output power [dBm] // // Description // A simple optical amplifier model with constant gain // The amplifier gain is flat with wavelength. // [lhs,rhs]=argn(0); select rhs case 0 then error("Expect at least one argument"); case 1 then G_dB=0; end Pin=sum(real(In.*conj(In))); G=sqrt(10^(G_dB/10)); Out=G*In; P_dBm=10*log10(G*Pin); endfunction
7667d72bc135c0677cc6a4109139ca9635944614
397456b742a46d88c251aa168bfe794903987f93
/Butterfly Optimization Algorithm/standard/scilab/butterfly-oa.sce
7d7bde2de322ce94e9db0164429fbfe6a2e0e448
[]
no_license
JonesCG/PROJECT-NIOA
b5dcc7820d818369a4115fbb34b0f7ba02d7a129
7e6a3aa9a5deda6aa4eec9f4d523556844593c8b
refs/heads/master
2022-08-16T14:06:54.967718
2020-05-18T08:17:47
2020-05-18T08:17:47
264,872,793
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,929
sce
butterfly-oa.sce
clc clear exec('objective.sce'); disp('RUNNING...') rand('seed',getdate('s')) POPSIZE = 50 DIM = 2 UPPER = 100 LOWER = -100 MAXITER = 50 a = 0.1 // power exponent c = 0.01 // sensory modality prob = 0.5 // or 0.8 // switch probability BUTTERFLY = rand(POPSIZE,DIM).*(UPPER-LOWER)+LOWER FIT = F1(BUTTERFLY) [BESTFIT IND] = min(FIT, 'r') GBESTPOS = BUTTERFLY(IND,:) GBESTFIT = BESTFIT xtitle("INITIALIZATION") square(LOWER,LOWER,UPPER,UPPER) plot(BUTTERFLY(:,1),BUTTERFLY(:,2),'b.') plot(GBESTPOS(:,1),GBESTPOS(:,2),'g.') xs2png(gcf(),'gif/boa/ITER0.png') clf() for ITER=1:MAXITER //CALCULATE FRAGRANCE FRAG = (FIT.^a).*c RANDOM = rand(POPSIZE,1) IND1 = find(RANDOM<prob) IND2 = find(RANDOM>=prob) if length(IND1)>0 R1 = rand(length(IND1),DIM) DIST1 = (R1.^2).*repmat(GBESTPOS,[length(IND1) 1]) - BUTTERFLY(IND1,:) STEP1 = DIST1.*repmat(FRAG(IND1),[1 DIM]) BUTTERFLY(IND1,:) = BUTTERFLY(IND1,:) + STEP1 end if length(IND2)>0 INDRAND = grand(1,'prm',(1:POPSIZE)') R2 = rand(length(IND2),DIM) DIST2 = (R2.^2).*BUTTERFLY(INDRAND(1:length(IND2)),:) - BUTTERFLY(INDRAND(1:length(IND2)),:) STEP2 = DIST2.*repmat(FRAG(IND2),[1 DIM]) BUTTERFLY(IND2,:) = BUTTERFLY(IND2,:) + STEP2 end BUTTERFLY = ammend(BUTTERFLY,UPPER,LOWER) FIT = F1(BUTTERFLY) [BESTFIT IND] = min(FIT,'r') if BESTFIT < GBESTFIT GBESTFIT = BESTFIT GBESTPOS = BUTTERFLY(IND,:) end a = 0.1 - (0.1-0.3)*(ITER/MAXITER) // UPDATE POWER EXPONENT c = c + 0.025/(c*MAXITER) FITRUN(ITER) = GBESTFIT //gcf().axes_size = [500 500] xtitle("ITER "+string(ITER)) square(LOWER,LOWER,UPPER,UPPER) plot(BUTTERFLY(:,1),BUTTERFLY(:,2),'b.') plot(GBESTPOS(:,1),GBESTPOS(:,2),'g.') xs2png(gcf(),'gif/boa/ITER'+string(ITER)+'.png') clf() end //plot((1:MAXITER)',FITRUN,'g-')
d5c9a5f277e0c3638fafb50756b10d4c65ff5078
449d555969bfd7befe906877abab098c6e63a0e8
/1919/CH6/EX6.16/Ex6_16.sce
104649b86d7eb7dbebd172dcfc987bd0d53e96e2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,359
sce
Ex6_16.sce
// Theory and Problems of Thermodynamics // Chapter 6 // Thermodynamic Potentials and Availability // Example 16 clear ;clc; //Given data Ng = 10 // moles of a gas in kmol T1_g = 700 // initial temperature of gas in K T2_g = 320 // final temperature of gas in K T1_a = 300 // air inlet temperature in K T2_a = 330 // air outlet temperature in K T0 = 298 // ambient temperature in K Pa = 0.1 // ambient pressure in MPa R = 8.314 // gas constant Cp = 3.5*R // specific heat ratio of gas and air // Calculations E_g_a = Ng*Cp*(T1_g-T2_g) // Energy transfered from gas to air Na = E_g_a/(Cp*(T2_a-T1_a)) // number moles of air // change in availability of air C_a = Na*(Cp*(T2_a-T1_a)-T0*Cp*log(T2_a/T1_a)) C_a = C_a * 1e-3 // units conversion from kJ/s to MJ/s // change in availability of gas C_g = Ng*(Cp*(T2_g-T1_g)-T0*Cp*log(T2_g/T1_g)) C_g = C_g * 1e-3 // units conversion from kJ/s to MJ/s // loss in available energy L_E = -C_g - C_a // Output Results mprintf('(a) Change in availability of air = %4.3f MJ/s' ,C_a); mprintf('\n (b) Change in availability of gas = %4.3f MJ/s' ,C_g); mprintf('\n (c) loss in availability of energy = %4.2f MJ/s' ,L_E);
1521b156fb3a204a4d63c17f11102126bb9cb4a7
08bfc8a1f8e44adc624d1f1c6250a3d9635f99de
/SDKs/swig/Examples/test-suite/scilab/struct_rename_runme.sci
482f49c61eb44eba9dfb50eae134b21175d638f1
[]
no_license
Personwithhat/CE_SDKs
cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02
7afbd2f7767c9c5e95912a1af42b37c24d57f0d4
refs/heads/master
2020-04-09T22:14:56.917176
2019-07-04T00:19:11
2019-07-04T00:19:11
160,623,495
0
0
null
null
null
null
UTF-8
Scilab
false
false
128
sci
struct_rename_runme.sci
version https://git-lfs.github.com/spec/v1 oid sha256:a02063d3b77def630ab140dba81444aa27034665a13b810a5111f1df520d4790 size 182
093555e3513e1d4400bb12acf315de19986fb454
da5b40d917ec2982828bd9bdf06b18b7bf189f26
/sim/cmd/test/langs.tst
813ec645ab5318bd38180e97318e15f4263e207d
[]
no_license
psy007/NNPC-CHEMICAL-SIM-
4bddfc1012e0bc60c5ec6307149174bcd04398f9
8fb4c90180dc96be66f7ca05a30e59a8735fc072
refs/heads/master
2020-04-12T15:37:04.174834
2019-02-06T10:10:20
2019-02-06T10:10:20
162,587,144
1
0
null
null
null
null
UTF-8
Scilab
false
false
647
tst
langs.tst
language Spanish $thermo = VirtualMaterials.Advanced_Peng-Robinson . -> $thermo cd thermo /thermo + PROPANE ISOBUTANE n-BUTANE language Portuguese /thermo - ISOBUTANE n-BUTANE /thermo + ETHANE ISOBUTANE language French /thermo + n-BUTANE ISOPENTANE cd $ cd $ thermo2 = VirtualMaterials.RK cd thermo2 $thermo2 + PROPANE ISOBUTANE n-BUTANE language Malay $thermo2 - ISOBUTANE cd / language Spanish stream = Stream.Stream_Material() cd stream language Malay /stream.In.T = 20 /stream.In.P = 101 cd /stream.In.Fraction /stream.In.Fraction = 0.0 2 3 0.0 0.0 cd / language Portuguese mix = Mixer.Mixer() cd mix /mix.In0 -> /stream.Out language English
5c1c7f6a6a7ce5f3e4b1b33d323cf218e827dcea
449d555969bfd7befe906877abab098c6e63a0e8
/3809/CH8/EX8.4/EX8_4.sce
76dcbc22a48dbe2560324ddc95a9a1bd3966f27b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
849
sce
EX8_4.sce
//Chapter 8, Example 8.4 funcprot() clc //Initialisation p1=20 //gain p2=30 //gain p3=40 //gain //initialising a function for gain function [x]=pgain(a) //function for power gain x=10**(a/10) endfunction function [x]=vgain(a) //function for voltage gain x=10**(a/20) endfunction //calling a functions [pd1]=pgain(p1) [pd2]=pgain(p2) [pd3]=pgain(p3) [vd1]=vgain(p1) [vd2]=vgain(p2) [vd3]=vgain(p3) //Result printf("Power Gain (dB) of 20 = %.1f dB\n",pd1) printf("Voltage Gain (dB) of 30 = %.1f dB\n\n",vd1) printf("Power Gain (dB) of 40 = %.1f dB\n",pd2) printf("Voltage Gain (dB) of 20 = %.1f dB\n\n",vd2) printf("Power Gain (dB) of 30 = %.1f dB\n",pd3) printf("Voltage Gain (dB) of 40 = %.1f dB\n",vd3)
b9dbbbb1a22b882ef7d4e6e0959f352b62ef9762
449d555969bfd7befe906877abab098c6e63a0e8
/3860/CH3/EX3.7/Ex3_7.sce
18f53b0be60e674339892002843cae796223fe2a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
358
sce
Ex3_7.sce
//Example 3.7 Reduction using K-Map clc; //clears the console window clear; //clears the variable browser disp('f = a''b''c + a''bc'' + a''bc + ab''c''') disp('The mapping is shown below') disp(' A''B'' A''B AB AB''') disp('C'' 1 1 - 1') disp('C - 1 - -') //The kmap for f is displayed// disp('f = a''b + b''c''')
f056eac2a73f9dc1f9b0229fc5834ca287f7e04d
23314c7f41e73d972d0c32ef5e7a202967e3e7fb
/Code/sacred_new_prg.sce
98e5d1e0dce25c54adbb40a0f20d4eb060b88933
[ "MIT" ]
permissive
eyantra/CS684_Re--Plantation-bot_2013
aaa5742fc39d2b690816bfe75405dee0e13facc3
4ed104aae46ec6efd3c27ccb88783e26e49f217c
refs/heads/master
2020-04-29T02:15:31.538554
2019-10-16T10:06:23
2019-10-16T10:06:23
20,951,259
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,401
sce
sacred_new_prg.sce
clc; getd('./functions') //adding the functions directly. location of all my function files h = openserial(4,"9600,n,8,1"); // open serial port //avicloseall(); //closing all open camera ports //n = camopen(0); //opening the camera //for i=1:20 //looping to provide enough time for camera to initialize before capturing image //image0 = avireadframe(n); //reading image from camera //image0 = imread('real.jpg'); //imshow(image0); //end //imshow(image0); //closing the open camera port //h=openserial(4,"9600,n,8,1"); detected=0; while(detected==0) avicloseall(); //disp(detected); //detected = 0; n=camopen(0); for i=1:10 im = avireadframe(n); imshow(im); end; //imread('real.jpg'); imshow(im); //avilistopened(); avicloseall(); il=imwrite(im,"catch.jpg") image0=im; imshow(image0); orig_image = image0 imagegray = rgb2gray(image0); //converting color image to grayscale //imshow(imagegray); i2 = uint8(255*ones(size(imagegray,1),size(imagegray,2))); inverted_image = i2-uint8(imagegray); //complementing the grayscale image //imshow(inverted_image); //imshow(i2); i1 = inverted_image; threshold = CalculateOtsuThreshold(i1); //calculating threshold for the given image //imshow(threshold); disp(threshold,'threshold'); seg_image = SegmentByThreshold(i1,threshold+20); //segmenting the image based on the threshold calculated above imshow(seg_image); blobimage = SearchBlobs(seg_image); //searching segments for blobs //imshow(blobimage); //[CumulatedSizeHistogram Listofsizes] = CumulatedSizeHistogram(blobimage); //figure();plot(Listofsizes,CumulatedSizeHistogram); filteredimage = FilterBySize(blobimage,40); //filtering out blobs that are too small. figure();ShowImage(filteredimage,'image is filtered',jetcolormap(4)) //Iscalculated = CreateFeatureStruct(); Iscalculated = CreateFeatureStruct(%f); //Iscalculated.BoundingBox = %t; Iscalculated.Centroid = %t; Blobstatistics = AnalyzeBlobs(filteredimage,Iscalculated); Figurewindow = ShowColorImage(image0,'image with boxes'); plot(Blobstatistics(1).Centroid(1),Blobstatistics(1).Centroid(2),'r*'); //disp("color",getcolor(image0); //DrawBoundingBoxes(Blobstatistics,[0 0.5 0],Figurewindow); disp("centroid",Blobstatistics(1).Centroid(1),Blobstatistics(1).Centroid(2)); if Blobstatistics(1).Centroid(1) > 121 then detected =1; end //h=openserial(4,"9600,n,8,1"); if detected == 0 then writeserial(h,"8"); // sending command to move bot 2 cm else writeserial(h,"1"); //sending command that bot is detected now collect the plant end //xpause(200000); //buf = readserial(h); //xpause(200000); //disp(buf); //mprintf("buffer %d",buf); disp(detected); end closeserial(h);
cb1e6d9728adf6873c86079b17ec8a62d9b388eb
449d555969bfd7befe906877abab098c6e63a0e8
/24/CH8/EX8.2/Example8_2.sce
efe8e106c2aecbf9c071c8cbac37987b48a5e094
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
634
sce
Example8_2.sce
//Given that mass = 2 //in kg y1 = 5 //in meter g = 9.8 //in m/s^2 ref = [0, 3, 5, 6] //Sample Problem 8-2a printf("**Sample Problem 8-2a**\n") for x = ref U = mass* g* (y1 - x) printf("The potential energy at y1 is %dJ if reference is assumed to be at y=%d\n", U, x) end //sample Probelm 8-2b printf("\n**Sample Problem 8-2b**\n") y2 = 0 //The change in potential energy doesn't depend on choice of reference deltaY = y2 - y1 //because the deltaY doesn't depend upon the choice of references deltaU = mass* g* deltaY printf("The change in potential energy is %dJ same for all the references", deltaU)
375506afe13fa99ea1304c45be096b8d09cfaf9c
449d555969bfd7befe906877abab098c6e63a0e8
/2354/CH4/EX4.3/4_3.sce
12d9fd69ac80d8540cc768c4a9708b4e83616ebd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
4_3.sce
//example 4.3 clc; funcprot(0); // Initialization of Variable V=10.0;//ft^3 v1=26.8;//ft^3/lb u1=1077.6;//btu/lb u2=1161.6;//Btu/lb; m=V/v1; W=-m*(u2-u1); disp(W,"Work done in Btu"); clear()
1eef73b8ff170d4996dcfbe6cc9d6bed3b69fe8c
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH1/EX1.4/ex1_4.sce
d2a6fec3a12ae579d1a4cbdaa32459490be8448b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
47
sce
ex1_4.sce
clc; disp((460*0.00003*100000)/(9000*0.0062));
77c1ebbc226e8ede82db2fad1c5e0c8c91797c96
449d555969bfd7befe906877abab098c6e63a0e8
/1529/CH15/EX15.13/15_13.sce
5c3ecdc55d1627ddd1c59d0ec2dcac058d87b443
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
562
sce
15_13.sce
//Chapter 15, Problem 13 clc; R=25; //resistance in ohm C=45e-6; //capacitance in farad V=240; //supply voltage f=50; //supply frequency Xc=1/(2*%pi*f*C); //capacitive reactance Z=sqrt(R^2+Xc^2); //impedance I=V/Z; //current a=atan(Xc/R); printf("(a) Impedance, Z = %.2f ohm\n\n",Z); printf("(b) Current, I = %.2f A\n\n",I); printf("Phase angle between the supply voltage and current, = %.2f deg (leading)\n\n",a*(180/%pi));
e371b493418dc87d0bee25a6047240f7e5bcc528
5c4a19e674d3d4c9f8714cc056d7597a0f9cab51
/Experiment_2.sce
d0d1503c7fff069df1caaaf866435f185820cd26
[]
no_license
idyczko/Graduate_Project
f1fa672fd22b894d16f4ec82d101e13b624b1e56
aced90cd634af106df651dd8761744a38cd1f7a1
refs/heads/master
2021-01-10T10:19:25.994422
2016-03-01T21:42:17
2016-03-01T21:42:17
44,832,960
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,206
sce
Experiment_2.sce
xdel(winsid()); clear; File = mgetl("frequency_double_measurement.txt"); Vector = evstr(File); len= size(Vector); frequency = len(2)/20; time_stamp = 10000/frequency; File = mgetl("Experiment_2_top.txt"); Vector = evstr(File); Vector=Vector(131:length(Vector)); time_axis = 0:time_stamp/10000:length(Vector)*time_stamp/10000/2; f = linspace(0,frequency,length(time_axis)); n = length(time_axis); top=Vector(1:2:length(Vector)); bottom=Vector(2:2:length(Vector)); plot(time_axis(1:length(top)),top, 'b'); a=gca(); a.font_size=3; xgrid(1, 1, 7); mtlb_axis([0,5,-80,80]); title("Wykres sygnału górnego akcelerometru", "fontsize",5); xlabel("Czas [s]", "fontsize",5); ylabel("Przyśpieszenie [m/s^2]", "fontsize",5); figure; plot(time_axis(1:length(bottom)),bottom, 'r'); title("Wykres sygnału dolnego akcelerometru", "fontsize",5); a=gca(); a.font_size=3; xgrid(1, 1, 7); mtlb_axis([0,5,-80,90]); xlabel("Czas [s]", "fontsize",5); ylabel("Przyśpieszenie [m/s^2]", "fontsize",5); figure; X=fft(top)./(length(top)/2); plot(f(1:n/2),abs(X(1:n/2)), 'b'); a=gca(); a.font_size=3; xgrid(1, 1, 7); title("Charakterystyka częstotliwościowa sygnału", "fontsize",5); xlabel("Częstotliwość [Hz]", "fontsize",5); ylabel("Moduł widma", "fontsize",5); figure; hz = iir(8,'lp','butt',6/frequency,[]); [hzm,fr]=frmag(hz,256); fr2 = fr.*frequency; plot(f(1:n/2),abs(X(1:n/2)),fr2,hzm); a=gca(); a.font_size=3; xgrid(1, 1, 7); title("Charakterystyka częstotliwościowa sygnału oraz filtra", "fontsize",5); xlabel("Częstotliwość [Hz]", "fontsize",5); ylabel("Moduł widma", "fontsize",5); figure; y = flts(top,hz); Y = fft(y)./(length(top)/2); plot(f(1:n/2),abs(Y(1:n/2))); a=gca(); a.font_size=3; xgrid(1, 1, 7); xlabel("Częstotliwość [Hz]", "fontsize",5); ylabel("Moduł widma", "fontsize",5); title("Charakterystyka częstotliwościowa przefiltrowanego sygnału", "fontsize",5); figure; plot(time_axis(1:length(y)), y); a=gca(); a.font_size=3; xgrid(1, 1, 7); mtlb_axis([0,5,-80,80]); xlabel("Czas [s]", "fontsize",5); ylabel("Przyśpieszenie [m/s^2]", "fontsize",5); title("Wykres przefiltrowanego sygnału górnego akcelerometru", "fontsize",5); figure; plot(time_axis, sin(time_axis));
34ad91f13d6c827086036c2c572efa81c2cdf376
449d555969bfd7befe906877abab098c6e63a0e8
/605/CH9/EX9.10/9_10.sce
2a5d341b83a98752dcfc2de8d99c72d47dcbf325
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
495
sce
9_10.sce
fl=10*10^6 fu=40*10^6 Wu=2*%pi*40*10^6 Wl=2*%pi*10*10^6 gc=0.9662 gL=0.62425 Wo=2*%pi*20*10^6 fo=sqrt(fl*fu) printf("\nfo=%.2e Hz",fo) CBP1=(Wu-Wl)/(Wo^2*gL) LBP1=gL/(Wu-Wl) printf("\nCBP1=%.3e F\nLBP1=%.4e H",CBP1,LBP1) CBP2=(Wu-Wl)/(Wo^2*gc) LBP2=gc/(Wu-Wl) printf("\nCBP2=%.3e F\nLBP2=%.4e H",CBP2,LBP2) printf("\nC1=C3=%.2f pF",19.122*1000/75) printf("\nL1=L3=%.4f nH",75*3.3116) printf("\nL2=%.4f uH",75*12.354/1000) printf("\nC2=%.3f pF",5.1258/75*1000)
4b86d6665c09b363882732cb3cb1b8e821dac217
3a031f437fdd7426aec9731b31871506b540c723
/Pract8_1.sce
9c561e44ee6392e47270253733b2f6ee579b3f32
[]
no_license
mohammedkesury/Digital-Image-Processing
006294df3c05100912ade8f75dcadc59f518cbba
6589dcf0f400a803862fcd2194ff4b008ceb795e
refs/heads/master
2020-04-20T05:20:20.161398
2019-04-09T16:04:04
2019-04-09T16:04:04
168,653,548
0
0
null
null
null
null
UTF-8
Scilab
false
false
157
sce
Pract8_1.sce
a=imread('D:\TYCS 37\DIP\letter1.bmp') figure imshow(a) b=[1 1 1;1 1 1;1 1 1] c=imdilate(a,b) figure imshow(c) d=imerode(a,b) figure imshow(d)
e945bfcce8e29f97415dd9e0f7c5c20c094c5dbf
62e6605ab494919b6833bf1a1b158bcb6f9b79df
/predict.sci
ec84de1c27af280baee953fddd37366dcf0badfb
[]
no_license
mani1250/system-identification
c597c26d10bb5dd62b1b4db650b3945afc336e37
5db0536c792dfaa4a8f01561315263503ff34d3d
refs/heads/master
2021-01-12T06:56:00.703593
2017-03-07T12:18:15
2017-03-07T12:18:15
76,865,655
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,365
sci
predict.sci
function ypred = predict(x,data,nahead) // x is an idpoly object [lhs,rhs] = argn(0); if(rhs<3) nahead = 1; end y = data(:,1); // make sure that data has output signal in its first coloumn u = data(:,2); // make sure that data has input signal in its second colou k = x.ioDelay; b = [zeros(1,k) x.B]; a = x.F1; G = struct('b',b,'a',a) [det_sys,zf] = filter(b,a,u); if(x.Type=="oe" | nahead == %inf) ypred = det_sys; else Hden = x.A*x.D; Hinv = [Hden x.C] [filtered,zf] = filter(Hden,x.C,(y-det_sys)); if(nahead~=1) H = coeff(poly(x.C,'m')*polyinv(Hden,nahead)); h1 = H(1:nahead); [filtered,zf] = filter(h1(1),h1(2),filtered); end ypred = y - filtered; end endfunction function X = polyinv(x,k) p1 = poly(x,'m','coeff'); p2 = roots(p1); p3 = real(p2) p4 = 1./p3; z = inverse(p4,k); z1 = []; for(i = 1 : size(z,'r')) z1 = [z1;poly(z(i,:),'x','coeff')]; end temp = z1(1) if(length(z1)>1) then for(i = 2:length(z1)) temp = temp*z(i) end end X = temp; endfunction function X = inverse(y,k) X = []; for(i=1:k-1) X = [X y.^(i-1)] end endfunction
e0bd0696f4d3dbe24fa923ecabae801c6c0707fa
449d555969bfd7befe906877abab098c6e63a0e8
/174/CH6/EX6.3/example6_3.sce
750ee3a64fe4e17ba629dfabd347e566237ea55b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
998
sce
example6_3.sce
// To find the maximum time // Modern Electronic Instrumentation And Measurement Techniques // By Albert D. Helfrick, William D. Cooper // First Edition Second Impression, 2009 // Dorling Kindersly Pvt. Ltd. India // Example 6-3 in Page 144 clear; clc; close; // Given data R = 100*(10^3); // Value of resistance in ohm C = 0.1*(10^-6); // The value of integrating capacitor in F V_ref = 2; // The reference voltage in V V_out = 10; // The maximum limit of the output in V //Calculations T = R*C; printf("The integrator time constant = %0.3f s\n",T); V_s = V_ref/T; //Unit is V/s V = 1/V_s; printf("Therefore the integrator output = %0.3f s/V",V) disp('Therefore to integrate 10V'); T_max = V*V_out; //The max time the ref voltage can be integrated printf("The time required = %0.4f s",T_max); //Result // The integrator time constant = 0.010 s // Therefore the integrator output = 0.005 s/V // Therefore to integrate 10V // The time required = 0.0500 s
de0c894e40bc11fd14bf514163d21f51b19f985c
449d555969bfd7befe906877abab098c6e63a0e8
/2223/CH13/EX13.2/Ex13_2.sce
980d10dae6e3823d889e4143c615794511d15ed0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,718
sce
Ex13_2.sce
// scilab Code Exa 13.2 Mach Number and loss coefficient t=650; // in degree C T01=t+273; // in Kelvin p3=1; // Exit Pressure in bar gamma=1.4; sigma=0.66; // blade-to-isentropic speed ratio N=16e3; // rotor Speed in RPM b2=5/100; // blade height at entry in m alpha_2=20; // air angle at nozzle exit d_r=0.45; // rotor diameter ratio(d3/d2) p01_3=3.5; // total-to-static Pressure Ratio(p01/p3) n_N=0.95; // Nozzle Efficiency cp=1005; // Specific Heat at Constant Pressure in J/(kgK) R=287; n=(gamma-1)/gamma; c_0=sqrt(2*cp*T01*(1-(p01_3^(-n)))) u_2=sigma*c_0; Mb0=u_2/sqrt(gamma*R*T01); // part(a) Mach number at nozzle exit M2=Mb0/(cosd(alpha_2)*sqrt(1-(0.5*(gamma-1)*(Mb0^2)*(secd(alpha_2)^2)))); disp(M2,"(a)the flow Mach number at nozzle exit M2=") // part(b)rotor exit Relative Mach number d2=60*u_2/(%pi*N); d3=d2*d_r; c_r2=u_2*tand(alpha_2); u3=%pi*d3*N/60; beta3=atand(c_r2/u3); w3=u3/(cosd(beta3)); T03=T01-((u_2^2)/cp); T3=T03-((c_r2^2)/(2*cp)); a3=sqrt(gamma*R*T3); M3_rel=w3/a3; disp(M3_rel,"(b)the Relative Mach number at rotor exit is") // part(c) Nozzle enthalpy loss coefficient T2=T3+((0.5*(u_2^2))/cp); c2=u_2/(cosd(alpha_2)); T2s=T01-((0.5*(c2^2))/(cp*n_N)); c2=u_2/(cosd(alpha_2)); zeeta_N=cp*(T2-T2s)/(0.5*(c2^2)); disp(zeeta_N,"(c)the Nozzle enthalpy loss coefficient is") // part(d)rotor enthalpy loss coefficient p01_2=(1-(((0.5*(c2^2))/(cp*n_N))/T01))^(-1/n); p01=p3*p01_3; p2=p01/p01_2; T3s=T2/((p2/p3)^n); zeeta_R=cp*(T3-T3s)/(0.5*(w3^2)); disp(zeeta_R,"(d)the rotor enthalpy loss coefficient is") disp("comment: Nozzle enthalpy loss coefficient value is not correctly calculated in the textbook. the above value is correct.")
6e7f7daa441b4c4c9dffe46036c07cc2e15d3353
449d555969bfd7befe906877abab098c6e63a0e8
/446/CH8/EX8.2/8_2.sce
2c0e8fb7a62947efcdd2aabf88018b70ad79c1a6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
8_2.sce
clear clc disp('Exa-8.2(a)'); EKa=21.990;EKb=25.145;EK=25.514 //all the values are in KeV ELo=EKb-EKa;printf('The enrgy of La of X-ray is %.3fKeV.\n',ELo); //Energy of La X-ray disp('Exa-8.2(b)'); EL=-EK+EKa;printf('Hence the binding energy of the L electon is %.3fKeV.',EL); // for electron L electron
d36c4b23216fe39dfd773fbfe0163b52d0c410e7
b3c9357cd1290921e67444ae057761959fdf24f1
/Curso de programação com Scilab/códigos/bola.sce
2a9dc0ac99241fdbc360597aea37e39e55a068e6
[]
no_license
joaolrneto/Scilab
91742520422426dc8a772997ef4a5d6376008b6e
f383f87e4585955cf19d0dae1b5c29f93c3f70b4
refs/heads/master
2023-02-05T20:13:03.677069
2020-12-30T14:53:09
2020-12-30T14:53:09
264,671,730
1
0
null
null
null
null
UTF-8
Scilab
false
false
1,803
sce
bola.sce
clc clear close conv=%pi/180; //conversão de radianos para graus g=-9.81;//aceleração devido a gravidade vo=20;//velocidade inicial //cria um vetor para todas as distâncias distancia=zeros(1,91); //calcula as distâncias máximas for ii=1:91 theta=ii-1; vxo=vo*cos(theta*conv); vyo=vo*sin(theta*conv); max_tempo=-2*vyo/g; distancia(ii)=vxo*max_tempo; end //escreve a tabela de saida das distâncias printf('Distância versus ângulo theta :\n'); for ii=1:91 theta=ii-1; printf('%2d %8.4f\n',theta, distancia(ii)); end //calcula a distância máxima e ângulo [maxdist,indice]=max(distancia); maxangulo=indice - 1; printf('\nDistância máxima = %8.4f a %2d graus. \n',maxdist, maxangulo); //plota as trajetórias for ii=5:10:85 //considera velocidade e tempo máximo para este ângulo theta=ii; vxo=vo*cos(theta*conv); vyo=vo*sin(theta*conv); max_tempo=-2*vyo/g; //calcula as posições(x,y) x=zeros(1,21); y=zeros(1,21); for jj=1:21 tempo=(jj-1)*max_tempo/20; x(jj)=vxo*tempo; y(jj)=vyo*tempo+0.5*g*tempo^2; end plot(x,y,'b'); //considera velocidade e tempo máximo para este ângulo theta=ii; vxo=vo*cos(theta*conv); vyo=vo*sin(theta*conv); max_tempo=-2*vyo/g; //calcula as posições(x,y) x=zeros(1,21); y=zeros(1,21); for jj=1:21 tempo=(jj-1)*max_tempo/20; x(jj)=vxo*tempo; y(jj)=vyo*tempo+0.5*g*tempo^2; end plot(x,y,'b'); end //adiciona titulos e rótulos nos eixos title('Trajetória da bola x ângulo theta'); xlabel('x(metros)'); ylabel('y(metros)'); mtlb_axis([0 45 0 25]); mtlb_grid on //plota a trajetoria para a distancia maxima vxo=vo*cos(maxangulo*conv); vyo=vo*sin(maxangulo*conv); max_tempo=-2*vyo/g; //calcula as posicoes (x,y) x=zeros(1,21); y=zeros(1,21); for jj=1:21 tempo=(jj-1)*max_tempo/20; x(jj)=vxo*tempo; y(jj)=vyo*tempo+0.5*g*tempo^2; end plot(x,y, 'r','LineWidth',3.0);
d1a79a3096ee9893b31ca5e7262a68e76f2a764d
449d555969bfd7befe906877abab098c6e63a0e8
/1280/CH5/EX5.9/5_9.sce
c44d8a99f6f4cd8820dc53729e63b139e52df7a0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
5_9.sce
clc //initialisation of variables v= 27 //cp s= 0.85 d= 1 //in //CALCULATIONS V= v/s V1= V*0.001552 V2= 2000*V1/(12*d) V3= 4000*V1/(12*d) //RESULTS printf ('Critical velocity = %.2f fps',V3)
27f02c0040b131f815914b8999c7bc0435d87dbd
449d555969bfd7befe906877abab098c6e63a0e8
/1655/CH7/EX7.5.3/Example_7_5_3.sce
ff68835ff4f98c0083d0f16b721f48fab8472bed
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example_7_5_3.sce
// Example 7.5.3 page 7.24 clc; clear; lamda1=1300d-9; lamda2=1600d-9; h=6.625d-34; //plank's constant c=3d8; //speed of light q=1.6d-19; //charge of electron eta=90/100; //quantum efficiency E=0.73; //energy gap in eV R1=eta*q*lamda1/(h*c); R2=eta*q*lamda2/(h*c); lamdac=1.24/E; printf("\nResponsivity at 1300nm is %.2f A/W.\nResponsivity at 1600nm is %.2f A/W.\nCut-off wavelength is %.1f micrometer.",R1,R2,lamdac); //R1 is calculated as 0.92 in the book, deviation of 0.02.
f8c790837407aa62e3bfc201dd0665f3fdd7a510
449d555969bfd7befe906877abab098c6e63a0e8
/3250/CH4/EX4.22/Ex4_22.sce
5de68f024cfd2b632fa2bf9eb43c3c0fd981261c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Ex4_22.sce
clc // Given that d= 0.05 // Depth of cut in mm f =200 // Feed rate in mm/min theta = 850 // Surface temperature in °C Theta = 700 // Maximum surface temperature of workpiece surface required to maintain in °C // Sample Problem 22 on page no. 251 printf("\n # PROBLEM 4.22 # \n") K = theta * (f^0.2)/(d^0.9) r = Theta/K C = d*f Dm = (r*C^0.2)^(1/1.1) fm = C/Dm printf(" \n Required depth of cut = %f mm,\n Required feed = %d mm/min",Dm,fm)
8f360fcdae8ae4b1e8027582f4afdad3761e3385
eec3a6e2cd91307fd7a55b7fc83bb86b35f86a6c
/stlfiles/demos/ship_binary.sce
5bd52d759a2eae4885e07426afe679070101d4cf
[]
no_license
Matthieu-71/PowerSubsystemSimulation
d1a5171ff763ca42db9d701f893d3ab257a1b882
cdcff61d4a11509f5d9023fb295af6b8092a3c66
refs/heads/master
2020-03-16T23:33:28.836945
2018-05-24T00:10:57
2018-05-24T00:10:57
133,082,402
2
2
null
null
null
null
UTF-8
Scilab
false
false
213
sce
ship_binary.sce
stlpath = get_absolute_file_path("ship_binary.sce") t = stlread(fullfile(stlpath, "ship.stl"), "binary"); figure tcolor = 2*ones(1, size(t.x,"c")) plot3d(t.x,t.y,list(t.z,tcolor)); a = gca() a.isoview = "on"
c78c383f7c957211beadc25f4a4893367c0c5b77
449d555969bfd7befe906877abab098c6e63a0e8
/992/CH3/EX3.10/Ex3_10.sce
6caa12423164a9fbc304584403d140db390a39a9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
275
sce
Ex3_10.sce
//Exa:3.10 clc; clear; close; //Given: mf=1.0; Jo=0.77; //According the bessels Function table j1=0.44; j2=0.11; j3=0.02; printf("\n Firstsideband pairs :J1 = %f",j1); printf("\n Secondsideband pairs :J2 = %f",j2); printf("\n Thirdsideband pairs :J3 = %f",j3);