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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75b231c52698af55593a42e85ae3596d164d616f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH7/EX7.4/7_04.sce | c4d67c5fac9de3f6355009f782c407dfee4467f3 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 7_04.sce | errcatch(-1,"stop");mode(2);//Chapter 7, Problem 4
;
B=1.2; //Magnetic flux density
H=1250; //Magnetic field strength
uo=4*%pi*10^-7; //permeability of free space
ur=B/(uo*H); //Calculating relative permeability
printf("Relative p... |
5b196de9b85386246b7db694f0484ee35ff1e1f4 | 2707da68619819d8105f9ae472647dc578c75730 | /ForcedComponents.sci | d87e984356c59780b5bf2a600913ccaf40dcca44 | [
"Apache-2.0"
] | permissive | KrayzeX/ToE | 1aa62db747841e960fb47fbd59e38c6afa3a0723 | ad81dd433c0d3b23ebb00f0e65095ab6c1bed34e | refs/heads/master | 2020-05-26T09:19:33.970171 | 2017-06-02T08:50:16 | 2017-06-02T08:50:16 | 82,474,743 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sci | ForcedComponents.sci | // Чистяков А.А. Подгруппа №3
// Данный модуль принимает на вход матрику коэффицинтов при Uc, Il, I1(U1)
// Возвращает вынужденные составляющие цепи при постоянном воздействии uCв = const, iLв = const.
function[R] = ForcedComponents (KoefMatrix)
A = [KoefMatrix(1,1) KoefMatrix(1,2); KoefMatrix(2,1) KoefMatrix... |
2da997a30f1bfa3ee5957930787f0bf07e51947a | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/37.tst | f7581797768cddea349184ed02b5b427769d5c69 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | tst | 37.tst | int main(void)
{
typedef int arr[3];
arr x;
}
|
c33f4edb933298e86abfdf3e9fc4fbf38057e46e | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH1/EX1.3/1_03.sce | b6af9334c2d61f8e51a052df1834512e7260acd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 1_03.sce | //Eg No. 1.3
//Pg No. 12
clc ;
clear ;
close ;
deff('v = f(R,T,M)','v = sqrt(8*R*T/(3.14159*M))')
R = 8.314*(10^7)
M = input('Enter the value of M')
T = input ('Enter the value of T')
v = f(R,M,T)
disp('v = ')
disp(v) |
2bb2baf06041880f5351db774a260370893d30d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH1/EX1.6/Ex1_6.sce | 07ec4881c507b50b41b3611ef9e909e3aa88b5ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Ex1_6.sce | //variable declaration
I=5.14; //Ionization energy
A=3.65; //Electron Affinity
e=(1.6*10**-19);
E=8.85*10**-12;
r=236*10**-12;
//Calculations
E_c=I-A //Energy required
C=-(e**2/(4*%pi*E*r*e)) //Potentential energy in eV
BE=-(E_c+C) ... |
8268df820e841ef5cae12fa9b2e15dfffce90061 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.33/10_33.sce | 96b9850dec1dc2f7f1c58b19fdebfa754ef0dccb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | 10_33.sce | //Example 10.33
//Numerov Method
//Page no. 350
clc;clear;close;
k=0.5;h=%pi/6
y(1)=0;y(2)=k;
deff('y=f2(x,y)','y=-y')
deff('y=g()','y=-1')
fi=acos(((2+5*h^2*g()/6)-(1-h^2*g()/12)*y(1))/(2*(1-h^2*g()/12)))
y6=k*(sin(6*fi)/sin(fi))
disp(y6,"y6 = ") |
12881f675ebe61654a67d82a4863b9a1957e1be2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH3/EX3.04/3_04.sce | ba6bd1ed88e7f652404bbf45297811fc11ff99c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | 3_04.sce | //Problem 3.04: Calculate the resistance of a 2 km length of aluminium overhead power cable if the cross-sectional area of the cable is 100 mm2. Take the resistivity of aluminium to be 0.03E-6 ohm m.
//initializing the variables:
A = 100E-6; // in m2
L = 2000; // in m
p = 0.03E-6; // in ohm m
//calculation:
R... |
1f98a7c558645899851fb873d1b10d77e276a643 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH4/EX4.2/Ex4_2.sce | 45f094c7940aabc36e180f71e1fa5cd94c95de51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 965 | sce | Ex4_2.sce | // Calculating the loss that will be conducted across the the laminations
clc;
disp('Example 4.2, Page No. = 4.3')
// Given Data
Q_con_5 = 25;// Heat Dissipated
t_5 = 20;// Thickness of laminations in mm
S_5 = 2500;// Cross-section area of conduction in mm square
T_5 = 5;// Temperature difference in degree celsi... |
2a7f4fda30ea590e5156ac4ec9d727039a67996e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH9/EX9.16/Ex_9_16.sce | 944440b804736317d102b3f9af122476ebf5caea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex_9_16.sce | // Example 9.16;//Maximuum bandwidth
clc;
clear;
close;
tr=4.5*10^-12;//electron transit time in second
G=80;//photo conductive gain
Bm=(1/(2*%pi*tr*G))*10^-9;//Maximum bandwidth
disp(Bm,"Maximum bandwidth in giga hertz is")
|
fd7bf46373ce1dacd4011fd692d58f8a1ec75eae | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.47/47.sci | 88e206dc9347a3fb1be886023df096fd46c8edcb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sci | 47.sci | clc;
clear all;
disp("incerease in bulk temperature")
tb1=200;//degree C
d=25.4/1000;//m diameter of tube
U=10;//m/s
tw=20;// degree C
L=3;//m length of tube
rho=1.493;//kg/m^3
mu=2.57*10^(-5);//Ns/m^2
k=0.0386;//W/m.C
cp=1025;// J/kg.C
Re=rho*U*d/mu
Pr=mu*cp/k
Nu=0.0023*Re^0.8*Pr^0.4
h=Nu*k/d
Q=h*%pi*d... |
653d1983a3dde23b0a8f662763830aa33546d853 | efc2fec9dd841d0ca834702c904e00c52762a9f9 | /TemplateMatcher/TemplateMatcher5.sce | 50fb7a57b2ebb57cc294ed4176518474723cdb73 | [] | no_license | surajch77/Scilab-Computer-Vision-Toolbox-TestCases | 64c8e0382e8b9d416c4c27c1ed4272f49bf45b51 | 969f9bcddefea05b42c623aeebe2e0cdcffd6eeb | refs/heads/master | 2021-01-20T20:24:14.345296 | 2016-06-29T15:16:52 | 2016-06-29T15:16:52 | 61,932,313 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | TemplateMatcher5.sce | I = imread('ararauna.jpg');
J = I(:, :, :);
T = TemplateMatcher(I, J);
size(T)
/// output:
/// single channel result 1 1
|
933046bede977b4cdad008f970fcab902b104ecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH2/EX2.5/Ex2_5.sce | 326df7f35f3fd3b3f93ff753ce1d7502b5453c1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,737 | sce | Ex2_5.sce | //Ex2_5
//Addition of Noisy Images for Noise Reduction
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
close;
... |
cd4424434e4150d3aafbbda58b808a1865d68ddb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.10/Ch02Ex10.sce | 979c40c195ec2598662832650099117a96962a7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Ch02Ex10.sce | // Scilab Code Ex2.10:: Page-2.12 (2009)
clc; clear;
D = 100; // Distance between slits and the screen, cm
d = 0.08; // Separation between the slits, cm
b = 2.121/25; // Fringe width of the interfernce pattern due to biprism, cm
lambda = b*d/D; // Wavelength of light in a biprism experiment, cm
printf("\nThe ... |
5fb237b4fdd619a44b6a1389fcddc8c4c0e93be0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peak2peak/peak2peak6.sce | 71d9119ac311cec540890e5ea45efa395d0f7df6 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | peak2peak6.sce | //check o/p when i/p dim is less than 1
a=[1 2 3;1 2 34;2 3 54];
y=peak2peak(a,0);
disp(y);
//output
//!--error 10000
//Dimension argument must be a positive integer scalar within indexing range.
//at line 27 of function peak2peak called by :
//y=peak2peak(a,0);
|
da514ab00809ad3723d5fb156bcbcb86fe094129 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH1/EX1.5.2/Ex1_5_2.sce | 99e614d773830813eea27a70e092a163f9bbf102 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | Ex1_5_2.sce | clear;
clc;
T1=373.15;//in K
P=1;//atm
Vv=1674;//in cm^3/gm
delPdelT=27.12;//in torr/K
R1=8.314;//in J
R2=0.082;//in atm/(dm)^3
delH=((delPdelT)/760)*T1*((Vv*10^-3)*18)*(R1/R2)
printf('delH =%d J/mol',delH)
////Example in page 15
|
cab0c1d8358c7138628c6f31c804456f4db67634 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH3/EX3.10/Ex_3_10.sce | 9361d42d004dbbd47fd73c38b662c7f0c41e6d18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex_3_10.sce | //Example 3.10
clc;clear;close;
s=poly(0,'s');
I=3*s/(s+2)/(s+4);
disp(I,'Given Transfer Function:');
zero=roots(numer(I));
pole=roots(denom(I));
disp(zero,'Zeros of transfer function: ');
disp(pole,'Poles of transfer function: ');
plzr(I); |
7b21aa91fe635f55fe5d63538ace60a9216311e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.13/25_13.sce | e227c33a5826645a50c4f0dab9e098a0c4b72fdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | 25_13.sce | //ques-25.13
//Calculating pressure using van der Waals equation
clc
n=2;//moles of ammonia
T=300;//temperature (in K)
V=5*10^-3;//volume (in kL)
a=0.417;//(in Nm^4/mol^2)
b=0.037*10^-3;//(in kL/mol)
P=((n*8.314*T)/(V-n*b))-((a*n^2)/(V^2));
printf("The pressure required is %d N/m^2.",P);
|
683f324904d03fd154c3b44a52a3e7036cdfa3b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH2/EX2.2/Ex2_2.sce | 3ffb4176af121ca77fe86851713247b9902cd195 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,042 | sce | Ex2_2.sce | //Variable declaration
Vbb=5 //base voltage of bipolar transistor(V)
Vbe=0.7 //base emitter voltage drop(V) in active region
Rb=150 //base resistance(ohm)
beeta=125 //curret gain
Rc=3 //collector resistance(k ohms)
Vcc=10 //supply vol... |
866afaf8c9b8b8379609c5389d96bae3de94f24d | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH3/EX3.5/exm3_5.sce | 93136c7b1ea8245da5eba1381b87d6e549f725e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | exm3_5.sce | // Example 3.5
//Output of program shows round-off errors that can occur in computation of floating point numbers
//Sum of n terms of 1/n
count=1;
sum1=0;
n=input("Enter value of n:");
term=1.0/n;
while(count<=n)
sum1=sum1+term;
count=count+1;
end
printf("Sum= %f",sum1); |
9388ebb230dc09e241dc9f574fc3e7d9b49cd568 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH8/EX8.03.01/8_02_01.sci | 121e503ba4dbef30f23893286bc7398a3ddbb18a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sci | 8_02_01.sci | //coefficient//
s=%s;
p=poly([10],'s','coeff');
q=poly([0 0 1],'s','coeff');
G=p/q;
H=0.7;
y=G*H; //type 2
disp(y,"G(s)H(s)=")
//refering the table 8.2 given in the book ,for type 1 Kp=%inf & Kv=%inf
printf("For type1 Kp=inf & Kv=inf \n")
syms s;
Ka=limit(s^2*y,s,0); //Ka=accelaration error coefficient
dis... |
685661762bccaafe09ce8f743203b468cdf0a1f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH6/EX6.16/6_16.sce | 3210388ba1b5c426e475b9dff2174d3c7fa1a091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 6_16.sce | clc;
clear;
format('e',11);
E=1;
epsilone_r=1.5;
Xe=epsilone_r-1; //Xe=electric susceptibility.
epsilone_0=8.85*10^-12;
P=epsilone_0*Xe*E;
disp(P,"The polarisation density(in C/m^2)=");
|
6c551a0e17f845464162862417376e14cc1ebe7b | 73f78cdeffea591ff380589c4b1dd03d77d63e0a | /projects/08/test4/test4.tst | f928946733f817e7ffdebc8eb111757a07bec432 | [] | no_license | orensam/nand2tetris | bf7fe02f4580aff3dfa17e76145c0591112a9adb | dff1e1c014d27030037d4afb834cfdbf221c379d | refs/heads/master | 2020-07-21T21:28:27.084153 | 2014-10-28T10:20:09 | 2014-10-28T10:20:09 | 17,370,144 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | tst | test4.tst | load test4.asm,
output-file test4.out,
compare-to test4.cmp,
output-list RAM[5000]%D1.6.1 RAM[5001]%D1.6.1 RAM[5010]%D1.6.1 RAM[5011]%D1.6.1;
repeat 1000000 {
ticktock;
}
output;
|
e8b0a96e4314ad79ae7ba780fa5a83c646dbaf27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH3/EX3.9/Exa3_9.sce | 286b03ada4fd5ce007de4af4734fd73814956386 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Exa3_9.sce | //Exa3_9
clc;
clear;
close;
//given data is :
P=5000;//in rupees
n=10;//in years
i=12;//% per annum
m=4;//no. of interest periods per year for quarterly
N=n*m;
r=i/m;
F=P*(1+r/100)^N;
disp("Maturity value after 10 years is : "+string(F)+" Rupees."); |
579044a544b1fcd8a0f5dab5f954924cf1889ac0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1844/CH5/EX5.1/1.sce | 0478ddd81d16c9beb76c39918f09efc602c55ea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | 1.sce | clc
// doing only one of the given
// WCB to RB
a= 22.5
printf('a)R.B = N 22.5 E\n')
//RB to WCB
printf(' b)W.C.B = 12 degrees 24 min')
|
87e7c9189a9ca63f47cf192cf41613b2733c4e18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH8/EX8.9/9.sce | 4d1c952f79c4e7b5ed4bba8bb0a86f63203fbb44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | 9.sce | clc
clear
//INPUT DATA
a=0.1*10^-9//width of high potential box in m
h=6.625*10^-34//Planck's constant in m^2 Kg /sec
m=9.11*10^-31//mass of electron in Kg
e=1.6*10^-19//charge of electron in coulombs
n=1//take n equal to one
//CALCULATION
E=((n^2*h^2)/(8*m*a^2*e))//The least energy of the particle can be ob... |
fcf7b275e0a1cbde5aa04c16ffce965cd2a5b962 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.4/Exa_2_4.sce | 199794e50658432713ae8f4c4522f43041c6857d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Exa_2_4.sce | //Exa 2.4
clc;
clear;
close;
format('v',7);
//Given Data
Q1=120;//KJ
Q2=-16;//KJ
Q3=-48;//KJ
Q4=12;//KJ
W1=60000;//N-m
W2=68000;//N-m
W3=120000;//N-m
W4=44000;//N-m
Net_work=Q1+Q2+Q3+Q4;//KJ
disp(Net_work*1000,"Net Work in N-m : ");
disp("Option (ii) is true.")
|
b03bbc67e055294293d18cadd4fd304fbd84e049 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH10/EX10.2/smith.sce | 2ae3fbc0aaf8d8a6589b9d6e24bf7f3a1f8f1027 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,360 | sce | smith.sce | // Smith predictor for paper machine control in Example 10.2 on page 385.
// 10.2
exec('zpowk.sci',-1);
exec('poladd.sci',-1);
exec('polsize.sci',-1);
exec('pp_im.sci',-1);
exec('polsplit3.sci',-1);
exec('polmul.sci',-1);
exec('xdync.sci',-1);
exec('rowjoin.sci',-1);
exec('left_prm.sci',-1);
exec('t1calc.s... |
c0773645d4342911d5c8b612af0a67479cf18dfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH4/EX4.1.1/4_1_1.sce | 718811988bcb38e1c6600a161c17790fa2c4ce67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | 4_1_1.sce | clc
//initialisation of variables
H= 33 //ft lbf/lbf
Q= 100 //ft^3/min
w= 62.4 //lbf/ft^3
s= 0.8
//CALCULATIONS
P= s*w*Q*H/33000
//RESULTS
printf (' power required= %.2f h.p',P)
|
1a4626dbaedddfb697b954224dc2fd053c85cdc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH16/EX16.4/ex16_4.sce | 58061595719c030de3fc4be974ddf82f54b0bae8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | ex16_4.sce | //ex16.4
R1=10*10^3;
R2=33*10^3;
R3=10*10^3;
C=0.01*10^-6;
f_r=(1/(4*R1*C))*(R2/R3);
disp(f_r,'frequency of oscillation in hertz')
//the value of R1 when frequency of oscillation is 20 kHz
f=20*10^3;
R1=(1/(4*f*C))*(R2/R3);
disp(R1,'value of R1 in ohms to make frequency 20 kiloHertz') |
679b7a9a65b87902617a04e9debc20d783d77045 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH1/EX1.13/ex_1_13.sce | 73ed835d3dc901eb1a35ad975ada924fc1226080 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | ex_1_13.sce | //Example 1.13 //voltage ,current and frequency
clc;
clear;
close;
format('v',5)
vl=600;//in volts
p=200;//power absorbed in watts
pf=0.05;//power factor
f=30*10^6;//frequency in Hz
ep=8.854*10^-12;//constant
er=5;//
a=150;// in cm^2
t=0.02;// in meter
c=((ep*er*a*10^-4)/t);//capacitance in farads
vr=(sqrt(p/(2*%pi*f*c... |
ebb12e5d91776e69b879bbf17fe1e9c5d9699cfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH8/EX8.6/8_6.sce | d974d5e29fb985700bb304198de52351490cc5a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | 8_6.sce | //clc();
clear;
//To calculate numerical aperture and acceptance angle
n1=1.6; //refractive index of core
n2=1.4; //refractive index of cladding
n0=1.33; //water refractive index
NA=sqrt(n1^2-n2^2)/n0;
printf("numerical aperture is %f",NA);
theta0=asind(NA);
printf("acceptance angle is %f d... |
a2372e984cb4bad3638e4d98ea7015fca3b1af08 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/ReplaceLink.sci | 816801902fdf90c2468074c6779f881d05793fb5 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 2,310 | sci | ReplaceLink.sci | //ReplaceLink.sci replace a robot link specified by li
// www.controlsystemslab.com August 2012
// usage: robot=ReplaceLink(robot,L,li);
// Example:
// --> robot = ReplaceLink(robot,L, 2) // remove link 2 with L
function robot=ReplaceLink(robot,L,li)
if argn(2)==0 then
ReplaceLinkHelp();
... |
563f032dabe341e0726730c96173202bb7d9fd0e | 20392bee9b9ba080dc86418049e09f82be683a14 | /Design_Experiment_1/MUX8WAY16.tst | 521e77bf17e69aa54041f8110f82a39c07cd5456 | [] | no_license | Liveitabhi/CSD-LAB | 698645e3fee27fadc70979c6c64d7de13c58ffbd | e91c386c9d575fcced2f5163eea958033ca1e245 | refs/heads/master | 2023-01-23T05:31:42.301079 | 2020-12-09T08:52:58 | 2020-12-09T08:52:58 | 298,178,775 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | tst | MUX8WAY16.tst | load MUX8WAY16.hdl,
output-file MUX8WAY16.out,
compare-to MUX8WAY16.cmp,
output-list x1%B1.16.1 x2%B1.16.1 x3%B1.16.1 x4%B1.16.1 x5%B1.16.1 x6%B1.16.1 x7%B1.16.1 x8%B1.16.1 s%B2.3.2 z%B1.16.1;
set x1 0,
set x2 0,
set x3 0,
set x4 0,
set x5 0,
set x6 0,
set x7 0,
set x8 0,
set s 0,
eval,
output;
set s 1,
eval,
output;... |
64174fb8ab1163a1bef2061d7cf6b4f2e330d4b1 | 527dd92897bc9b75dde0f2f306f31510deaefe20 | /1547.1/Tests/WV/WV_1.tst | 0fa17795d8c2aadf7611251b1f8da98d47b7dc64 | [] | no_license | BuiMCanmet/svp_1547.1 | 7520680bfc5895b36081487099d22aac2a0b90d4 | 5f6a8e5d55ff7f109d02b618fd594c8a4f9d4eae | refs/heads/master_python37 | 2021-06-29T02:31:53.200049 | 2021-01-11T16:37:37 | 2021-01-11T16:37:37 | 179,517,708 | 0 | 1 | null | 2020-08-27T18:40:17 | 2019-04-04T14:44:13 | Python | UTF-8 | Scilab | false | false | 1,382 | tst | WV_1.tst | <scriptConfig name="WV_1" script="WV">
<params>
<param name="eut_wv.test_1_t_r" type="float">10.0</param>
<param name="eut_wv.irr" type="string">100%</param>
<param name="eut.v_low" type="float">116.0</param>
<param name="eut.v_nom" type="float">120.0</param>
<param name="eut.v_high" type="float">... |
4ea23ce48d2a54b439b85a032ff8984efeb9abb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH3/EX3.10/Ex3_10.sce | 65467d0638469bb50f74e56187eea1e51093737f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,062 | sce | Ex3_10.sce |
// Theory and Problems of Thermodynamics
// Chapter 3
// Thermodynamic Properties of Fluids
// Example 10
clear ;clc;
//Given data
X = 0.8 // wet stream quality
P = 0.1 // Pressure in MPa
T = 300 // Temperature in C
h_f = 417.46 // Specific enthalpy of fluid
h_... |
d0578bd878ffd387cc24d5be56826b3acd06d84d | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testreturn.sce | ab0db528f3f6a9a6a525b693b48d750bfc034b00 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | testreturn.sce | function foo(x)
txt_foo='x is equal to '+string(x)
txt_sci=return(txt_foo)
disp('what follows doesn''t get executed')
endfunction
foo(1)
txt_sci // the txt_sci variable does exist here
txt_foo // the txt_foo variable doesn't exist here
|
a5538e10d4f5479ab355bf62bddff34aa045178d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TEC2S.prev.tst | 77a9e049e3e526776bc69cd782db77f7ed60fb34 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 65,553 | tst | TEC2S.prev.tst | Expanding for base=2, level=9, reasons+features=base,same,similiar,evenexp invall,showfail
Refined variables=x,y
[0+1x,0+1y]: unknown -> [1] [0,0] x²-y³+2
---------------- level 0
expanding queue[0]^-1,meter=[2,2]: x²-y³+2
[0+2x,0+2y]: failure constant=2, vgcd=4 [0,0] 4x²-8y³+2
[1+2x,0+2y]: failure constant=3, vgcd=4 [... |
04a56ba2258ace01dda775fc18f3e5f97a930837 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH14/EX14.3/Ex14_3.sce | 505c3449d97eee0d21f07bd6ba067b6993f95df8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | Ex14_3.sce | clc;clear;
//Example 14.3
//given data
T1=25;
T2=15;
P2=101.325;
//from Table A-2a & A-4
//at T1
Psat1=3.1698;
hg1=2546.5;
//at T2
Psat2=1.7057;
hfg2=2465.4;
hf2=62.982;
cp=1.005;
//calculations
w2=0.622*Psat2/(P2-Psat2);
w1=(cp*(T2-T1)+w2*hfg2)/(hg1-hf2);
disp(w1,'the specific humidity in kg wa... |
8ea9f68b65977ac5fc2c6d7e5cc39509a60ffee1 | 9ce4292954000fd66bcdbd0797a280c306308d08 | /mooc/nand2tetris/projects/03/b/RAM512.tst | 4ec6fc22e1bad19e0c55af64c4988dba8615b2bd | [
"MIT"
] | permissive | JiniousChoi/encyclopedia-in-code | 0c786f2405bfc1d33291715d9574cae625ae45be | 77bc551a03a2a3e3808e50016ece14adb5cfbd96 | refs/heads/master | 2021-06-27T07:50:10.789732 | 2020-05-29T12:50:46 | 2020-05-29T12:50:46 | 137,426,553 | 2 | 0 | MIT | 2020-10-13T08:56:12 | 2018-06-15T01:29:31 | Python | UTF-8 | Scilab | false | false | 13,174 | tst | RAM512.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/03/b/RAM512.tst
load RAM512.hdl,
output-file RAM512.out,
compare-to RAM512.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 address%D2.3.2 out%D1.6.1;
... |
8474c11ffaf11dcc1fee08eb8b22a7d858b63d78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH3/EX3.20/EX3_20.sce | fb700dcea585cd22d7e5e77217532647840498c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | EX3_20.sce | clear;
clc;
printf("\nEx3.20\n");
//page no.-135
//given
a=10^-10;........//width of box in m
h=6.625*10^-34;....//planck's constant in J-s
m=9.1*10^-31;......//mass of electron in kg
n=2;..............//quantum no.
e=1.6*10^-19;.....//charge
p=n*h/2*a.........//momentum in Kg*m/s
printf("\nmomentum is 6... |
5f7ea57b8111be6bfec0e97c3fa34d9aadcbbed1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH26/EX26.2/ex_26_2.sce | b59aa9ce2db9d3aeb3e4a23998d2042f9030c183 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | ex_26_2.sce | //find
clc
//solution
//given
W=150000//N
d=0.3//m
N=1800//rpm
p=1.6//N/mm^2
Z=0.02//kg/m/s
c=0.25//mm
//let l be the length of bearing in mm
//A=l*d=300*l//mm^2
//pb=W/A
l=W/(300*p)//mm
printf("length of bearing is,%f mm\n",l)
u=(33/10^8)*(Z*N/p)*(d*1000/c)+0.002
printf("coeeficient of friction is,%f \... |
869d3366ffdb354c6199467d2c0091f70b0156bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH4/EX4.11/Ex4_11.sce | 389ae612966d6c0d345fb5165a2e4564ce31f51e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 758 | sce | Ex4_11.sce |
// Variable Declaration
h = 5 //Height of conductor above ground(m)
d = 1.5 //Conductor spacing(m)
r = 0.006 //Radius of conductor(m)
// Calculation Section
C_AB = %pi * 8.854*10**-9/log(d/(r*(1+((d*d)/(4*h*h)))**0.5)) //Capacitance with effect of earth(F/km)
C_AB1 = %pi * 8.854*10**-9/log(d/r) ... |
29038fef38cffc844fc6193a2f51439629099463 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testrat.sce | 5ec04d3dacefec1d68dc1cc26a903f1d0833b895 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | testrat.sce | P=poly(1,'x') // variable 'x'
Q=poly(2,'x') // combination of polynomials
R=P/Q // fraction (x-1)/(x-2)
numer(R) // numerator
denom(R) // denominator
M=[1 R; P Q] // matrix of rational fractions
N=invr(M) // inverse matrix
N*M // =identity matrix
// computing the characteristic polynomi... |
750b86548b7500d5d2501e73d839ba534c0363c4 | afd96675ead32880ce7928ad141c8e12ac66b141 | /firstblock/macros/xcos_mean.sci | 2be0ba73d710d843052c85af2cb49c8ee19c66ed | [] | no_license | KWMalik/dspblock | a26c722c604e3db33734fb94f42dbcfe8b9b28d6 | 949c3411a292460c246cd52c0846f01c63e9c79d | refs/heads/master | 2020-12-01T01:15:46.197082 | 2012-05-22T10:01:12 | 2012-05-22T10:01:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,164 | sci | xcos_mean.sci | function [x,y,typ] = xcos_mean(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1);
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1);
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1);
case 'getorigin' then
[x,y]=stan... |
be4f37cd736dabecddd940f2f90a9125daa029fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH8/EX8.10/example_10.sce | 2143578865aa1b2c05086b746886e370c8d3f616 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 827 | sce | example_10.sce | clc
clear
printf("example 8.10 page number 370\n\n")
//to find the rate of oil flow in l/s
density_oil=900; //in kg/m3
viscosity_oil=38.8*10^-3; //in Pa-s
density_water = 1000; //in kg/m3
diameter=0.102 //in m
manometer_reading=0.9; //m of water
delta_H=manometer_reading*... |
5464e9bd8c0ee6cd8f1a3b5d5270f3ccf99b5d2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH6/EX6.13/Ex6_13.sce | 6452e13d3be05487ecc436dce227c1052de96e7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,136 | sce | Ex6_13.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 6 Example 13")
disp("fron S.F.S.E on steam turbine;")
disp("W=h1-h2")
disp("initially at 4Mpa,300 degree celcius the steam is super heated so enthalpy from super... |
47e63891bc6e24fcdbad6476874a7b695ed38ff4 | 776c9715b4adba254a4ce6ad7391bae87e8086a2 | /mnewton/xrnr1.tst | d366d4b50580f1e0ac4a1321942dd9036d056264 | [] | no_license | TYMCOM-X/169279.tape | b0cf2f2cc6a400acb6b0ca2f44ef17f0a4854666 | a80150749ad1dc588b6768dfd53c1a21cfc7d783 | refs/heads/master | 2023-03-23T08:41:21.289217 | 2021-03-19T11:26:42 | 2021-03-19T11:26:42 | 345,965,036 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | tst | xrnr1.tst |
IF \MINRQA
ELSE
MINRQA EQ 0E
EI
patch(891115,1200,bpc,xmrr,,6)
j pa1ptr,,
conpatch(pa1ptr,,28)
clhi 4,1
je xm0
xm1 lb 1,cfxctb,4,
j xcmd00,,
xm0 lhl 1,scblks+scbrqa,rscb,
clhi 1,MINRQA
jg... |
6c7d8da80044f3d00d0558b98db1f876326669c9 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/gaussdesign/gaussedesign9.sce | 5f4357c4a4e0225211263ce4b26692dc997ac1ff | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | gaussedesign9.sce | bt =- 0.3;
span = 4;
sps = 'a';
h = gaussdesign();
//output
//!--error 10000
//Not enough input arguments
//at line 3 of function checkNArgin called by :
//at line 16 of function gaussdesign called by :
//h = gaussdesign();
|
f81d891e681b9b4156ddac0d542f16b0b1e02819 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH3/EX3.7.16/3_7_16.sce | 7b1150be2b8b1627740196a719c0aa76d6048b1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | 3_7_16.sce | //lubricants//
//example 3.7.16//
clc
wt_oil=3//weight f oil saponified(gms)//
volume=.2//volume of alcoholic KOH consumed to neutralize fatty acids(ml)//
normality_KOH=0.025//normality of KOH //
A=volume*normality_KOH*56/wt_oil//formula for acid value//
printf("\nAcid value of oil is %.4f mgs KOH",A); |
67de792fce904d764b4bcb35991c3fdf10b9711f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH17/EX17.8/Ex17_8.sce | 74bb8e3daf8c5d1a009f977e1b3b5df8b3c3fd8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | Ex17_8.sce | //Example 17.8
f_s=2500000;//Frequency of ultrasound (Hz)
v_w=1540;//Speed of sound in human tissue (m/s)
v_obs=20*10^-2;//Speed of blood (m/s)
f_obs=f_s*((v_w+v_obs)/v_w);//Frequency received by the blood (Hz)
printf('a.Frequency received by the blood = %7.0f Hz',f_obs)
v_b=v_obs;//Source velocity=velocity of bl... |
9017073df223dadf2820b2ec595b304a771f9bfd | 286a3b61feec58c992ceda8f1ce28b8e4db5caf5 | /courbes_surfaces/tp5/scilab/questions.sce | fff68fb5ec918855a072ecf403097c3637f3df57 | [] | no_license | confiture/M2 | 970865ab3a52c5c65a84637f987dc27d6485542d | e95ca27c1eccd36337348ff042b8db144c08f0d5 | refs/heads/master | 2021-01-22T07:32:37.900029 | 2017-11-06T13:07:58 | 2017-11-06T13:07:58 | 1,020,201 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,747 | sce | questions.sce | exec('util.sce')
exec('schemas.sce')
exec('tp5mat.sce')
////////////////////////////////////////////////////////////////////////
function traceChaikin()
P=inputpoly()
disp("yeye")
P1=chaikinIter(P,1)
plot(P1(1,:),P1(2,:),'r')
P2=chaikinIter(P,2)
plot(P2(1,:),P2(2,:),'g')
P3=chaikinIter(P,3)
plot(P3(1,:)... |
e9f708827453165b75aa3af060a30456427e2a50 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /chebyshev.sce | c7f24a9b1d8e25657a236e08fcad5354e9dbc9f7 | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | chebyshev.sce | clc;
f1=input('Enter the pass band edge(Hz)=');
f2=input('Enter the stop band edge(Hz)=');
rp=input('Enter the pass band ripple(dB)=');
rs=input('Enter the stop band attenuation(dB)=');
fs=input('Enter the sampling rate(Hz)=');
rp_ratio=10^(rp/20);
w1=2*%pi*f1*1/fs;
w2=2*%pi*f2*1/fs;
o1=2*fs*tan(w1/2);
o2=2*fs*tan(w2/2... |
927e912b3ffff43c4084c83bd57f234bab47593f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH10/EX10.19/Ex10_19.sce | 52d806d729556820ba53f3f25cf804eb4226ab31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | Ex10_19.sce | //Caption: code word
//Example 10.19
//page no 501
//Determine code word
clc;
clear;
m3=1;
m2=0;
m1=1;
m0=0;
//M=Message Matrix
//G=Generator Matrix
G=[1 0 0 0 1 0 1;0 1 0 0 1 1 1;0 0 1 0 1 1 0;0 0 0 1 0 1 1];
M=[m3 m2 m1 m0;];
X=M*G;
for i=1:7;
if X(i)>1
X(i)=0
end
end
disp(X,"T... |
98472a0cca7410a89576d58e7a385a7e99386c2d | fe48ae0c518509ac5c57688957075e939956f2b1 | /Energy eigen values of Hydrogen Atom.sce | 2325fb98be35a89bc9646eb4e7d968a8c77f719a | [] | no_license | dibakardhar/Scilab-Notes | d8161939a96b5d9f89106440059b6aaa717f5d79 | 6bc6a6caa5120a4c7a20f15430860e5b51e8014e | refs/heads/main | 2023-07-09T18:48:56.525225 | 2021-08-15T16:32:36 | 2021-08-15T16:32:36 | 396,415,364 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Energy eigen values of Hydrogen Atom.sce | clc
h=[5,5,5,5,5];
n=[1,2,3,4,5];
E0=input("Enter the value of ground state in eV : ")'
En=E0./(n^2);
barh(En,h,0.01,"black");
ylabel("Energy eigen valuee En(eV) - - - - ->");
xtitle('Plot of energy eigen values of Hydrogen atom');
legend("$En=\frac{E0}{n^2}$",[5]);
|
eb9fdc9bf20273c4bfeb1888ccf0330f24cf679d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/robust/gcare.sci | 1fad72cf89ef0010f4ab69abb5ed070dc58908cc | [
"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 | 295 | sci | gcare.sci | function [X,F]=gcare(Sl)
//[X,F]=gcare(Sl)
//Generalized Control Algebraic Riccati Equation
//X = solution , F = gain
//!
//FD.
// Copyright INRIA
[A,B,C,D]=Sl(2:5);
S=eye()+D'*D;R=eye()+D*D';
Si=inv(S);
Ar=A-B*Si*D'*C;
H=[Ar,-B*Si*B';
-C'*inv(R)*C,-Ar'];
X=ric_desc(H);
F=-Si*(D'*C+B'*X)
|
9e4e4131e4e6a707a677c361e4c30db875d63247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH3/EX3.12/Ex3_12.sce | c4ec37ffab1d7d1e7ab20708aa0af724e41e6963 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | Ex3_12.sce | //Example 3.12//
//As the problem is in the statement in the book
mprintf("As the problem is in the statement in the book it cannot be solved using scilab")
|
e9b798fa6c80b92de742a3089f2c31a75b42918f | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH2/EX2.6/Ex2_6.sci | 08eeec87f4dca3341335c7342111683bb656acaf | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sci | Ex2_6.sci | clear all
A=1;
f0=1;
T0=1/f0;
theta=0;
t=0:1:10;
function y=f(t);
y=(A.*cos((2*%pi.*t)./T0+theta))^2
endfunction
a=T0/2;
b=-T0/2;
x=intg(b,a,f)
disp(x,'The signal power is:')
|
212a62c37156e1223a34b8d03277782302ec0700 | ea619b33cae5a486fb22da8bdcfe0bc7d81c3032 | /test/testcases/directed/rred3.tst | 8967eb29a270c6b173408c82803195224209026b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alexvonduar/optimized-routines | 714ab0a7b8d7d28fc689b0bae1e7a885fd461a69 | f59c54e97e2023a5981679b14637d8ee2abe2d2d | refs/heads/master | 2020-03-08T14:07:45.302916 | 2018-11-27T09:34:42 | 2018-11-27T09:34:42 | 128,176,402 | 0 | 0 | Apache-2.0 | 2018-11-27T09:34:43 | 2018-04-05T08:05:10 | C | UTF-8 | Scilab | false | false | 41,586 | tst | rred3.tst | ; rred3.tst
;
; Copyright (c) 1999-2018, Arm Limited.
; SPDX-License-Identifier: MIT
func=rred op1=4f454f91.26ab5b7c result=bccabf68.428292b8.71a res2=00000003 errno=0
func=rred op1=4f569eab.0985179b result=bc561ece.c9c577fd.3e9 res2=00000003 errno=0
func=rred op1=4f5b7b07.c8260da4 result=3cd61dee.99d944a9.b99 res2=00... |
31eeab7db0e9de982d633cf69976aaeab2f5a52a | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/set.tst | aec74d9069a21183a3456e5ed34349e16e54ea9e | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 602 | tst | set.tst | # Simple set test
units SI
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + PROPANE n-BUTANE ISOBUTANE n-PENTANE
h1 = Heater.Heater()
h1.DeltaP.DP = 10
h2 = Heater.Heater()
set = Set.Set()
set.SignalType = DP # must be set before addition
set.multiplier = 2.
set.addition = 0.
h1.DeltaP -> s... |
90e11979418af58861a0c66ad9f69f12f612c2cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH5/EX5.14/Ex5_14.sce | 417bf480d950c123ad616b725c04ec8b46deb19b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 886 | sce | Ex5_14.sce | clc
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
I= 1*10^-3
disp("I= "+string(I)+"A") //initializing value of forward current
kbT = 0.026
disp("kbT = "+string(kbT)+"eV") //initializing value of kbT at 300K
Tp = 10^-6
disp("Tp= "+string(Tp)+"s")//inializing value of minority... |
dfb59450cdd7dbb19666ebfae32226dc8948f3f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH15/EX15.4/15_4.sce | 342fd572d3ba3255e8b5b857a0ee5113a80104ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | 15_4.sce | clc
//initialisation of variables
a=42//in
d=45//mgd
d1=0.75//in
s=60//ft
p1=9//in
p2=8.4//in
p3=9//in
c1=13*63.6//sq in
c2=9*55.4//sq in
c3=9.21//sq ft
M=d*1.547//cfs
v=M/c3//fps
g=0.025*32.2//ft/sec^2
//CALCULATIONS
F=v/sqrt(g*(p1/12))//ft
S=s/d1//in
//RESULTS
printf('the port near the end of the d... |
8a4de34ccc434c1dd28607f991f3123e262f3f3a | 3a031f437fdd7426aec9731b31871506b540c723 | /Linear Auto Correlation.sce | 78351b476b03b000e44cc8cac215d0bd28406b07 | [] | 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 | 153 | sce | Linear Auto Correlation.sce | clc
x=input('Enter x:')
h=x
h1=h(:,$:-1:1)
disp(h1,"h1 = ")
h2=h1($:-1:1,:)
disp(h2,"h2 = ")
y=conv2(x,h2)
disp(y,"2D Circular Correlation = ")
|
9bc8211aa02d11bccb669945a49c1a6b6bfd2240 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH6/EX6.3/Ex6_3.sce | cd844c174b847342c5c0bf7f354c2f4af2b880e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,007 | sce | Ex6_3.sce |
clc
clear
//Input data
H=15;//The high of downcomer riser circuit in m
P=160;//The pressure at which downcomer riser circuit operates in bar
xe=0.5;//The exit quality of the steam
S=1.2;//Slip factor
vf=0.001711;//Specific volume of saturated liquid in m^3/kg
vg=0.009306;//Specific volume of saturated gas in ... |
bf119e2aeb4bdeeae60b282d97f2e57755e56c46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH21/EX21.13/example13.sce | f59029ee814b6315c512005e3061d03b92c5e25e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example13.sce | // find phase shift of output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 21-13, page 833
clear;clc; close;
// Given data
C=100*10^-9;// capacitance in faraday
R=10^3;// resistance in ohms
f=10^3;// frequency in hertz
/... |
71c13833992741436cc9a3ed0c406f32ab101920 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH14/EX14.8/Ex14_8.sce | ba4ce98c6964c0b5a97541f75d475cb23e62c96f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | Ex14_8.sce | clc
// given data
P=200000.0 //principal value in rs
i=10/100.0 // interest rate
n=25.0 // time in years
L=2.0 // power produced in kW
A=P*(i*(1+i)**n)/(-1+(1+i)**n) // annualised capital cost in rs
maintcost=P*0.05 // annual maintainence cost
Totalcost=A+maintcost // total annual cost
Elec=L*0.25*1... |
db3ee8cc1b1e2f6b4793a050ebdb129adf3eb5b3 | 92074377d2c131cb9b55fc3babf541cab2c3c38b | /Statistika/FungsiPeluang.sce | ff01c484f77306c8006e0ae0c4310d67e9d26859 | [] | no_license | LinggaWahyu/BelajarScilab | 05f6173e0cad24d3d13bb324c6470bd87a4269cf | ea45563c3048f4f4f229ad1306245591fcb83e52 | refs/heads/master | 2020-07-31T10:41:28.629143 | 2019-10-24T23:12:17 | 2019-10-24T23:12:17 | 210,577,295 | 3 | 3 | null | 2019-10-24T23:12:18 | 2019-09-24T10:38:10 | Scilab | UTF-8 | Scilab | false | false | 124 | sce | FungsiPeluang.sce | function [fx] = FungsiD(x)
M = sum(x);
[m, n] = size(x);
for i = 1 : n
fx(i) = (x(i)) / M
end
endfunction
|
ecb82c362de284a0ef76f9a5707e56573db41b12 | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem01/lab01/q07.sce | 8e7c2ff3ded2fd04a04bdee8ca26d37c609e1cbd | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | q07.sce | //primes between x and y
clc;
clear;
x=200;
y=50;
p=primes(x);
for i=1:length(p)
if p(i)>50
disp(p(i))
end
end
|
c718a1480dd6e23881859561174aaeeb94c58359 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH9/EX9.5/ex_5.sce | 7ecbf5f05806788f6e19cb1c6cc4860cd24a4a5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | ex_5.sce | //Example 5// Amplitude
clc;
clear;
close;
//given data :
v=(1/3)*10^3;// in m/s
p=1.25;// in kg/m^3
E=v^2*p;
n=10^4;// in rad/sec
disp(E,"Bulk modulus of medium,E(N/m^2) = ")
I=10^-12;// in W/m^2
A=sqrt(I/(2*%pi^2*n^2*p*v));
disp(A,"Amplitude of wave,A(m ) = ")
P=sqrt(2*I*p*v);
disp(P,"Pressure amplitude,P(N/m^2) = ")... |
1cd171c86547684a9df840ba172bb43bf5df266b | 6b1efb6adc12c52438a2f9d64327e944c1d818a8 | /tabelDistribusiFrek.sce | 8eee7ba4f544e2b8905e4956d410e111539c829f | [] | no_license | Thoriq-ha/Tabel-Distribusi-Frekuensi | 8c74a8a16136dffcd94936a71a3fc3fa237fcf2c | cff9c6513759e3799b2fd91ae875693d8034a9f7 | refs/heads/master | 2022-12-29T20:42:59.755473 | 2020-10-20T10:42:51 | 2020-10-20T10:42:51 | 295,775,068 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,814 | sce | tabelDistribusiFrek.sce | //TDistribusiFrekuensi(x[1..n], k)
//Input: Array x[1..n], nilai k ditentukan
//Asumsi : Fungsi Max dan Min sudah ada
//Output : Tabel distribusi Frekuensi(interval, m, f, fr, fk)
function [interval, m, f, fr,fk] = TDistribusiFrekuensi(x, k, n)
x_min=min(x);
x_max=max(x);
R=x_max-x_min;
i=ceil(R/k);
... |
06ecc6f3b4c33d4608797a1e437484c6c427d669 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH6/EX6.10/Example6_10.sce | 012daa33f939a4147b0ea02662d1e9c28a74fc37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Example6_10.sce | //Example 6.10
clc;
clear;
close;
format('v',5);
//Given data :
g=9.81;//constant
H1=4-1;//meter
H2=4;//meter
Cv1=0.9;//Coefficient of velocity
Cv2=0.9;//Coefficient of velocity
//Cv1=Cv2 & x1=x2 at meeting point
//x1/sqrt(4*H1*y1)=x2/sqrt(4*H2*y2)
y1BYy2=H2/H1;
//y1=1+y2;
y2=1/(y1BYy2-1);//meter
y1=y1B... |
6d615ee388f26e56e8dc282c8157f17edd413cc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.17/Ex4_17.sce | a2f777efc287270858f9023f562a8ad0fa722053 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Ex4_17.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
Long=60.0;//longitude in derees east
LHA=5+30.0/60+20.0/3600;//local hour angle in hr
//calculatio... |
f14b69e71061918ce0d8fc213f78a5d0216c6600 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH14/EX14.5/14_5_Hydrogen_plastic_diffusion.sce | 620f6325c307eebf13c5a5486c4884a70beeeefa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 933 | sce | 14_5_Hydrogen_plastic_diffusion.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 14.5 Page 904 \n')// Example 14.5
// The Hydrogen mass diffusive flux nA (kg/s.m^2)
//A -> Hydrogen
//B -> Plastic
Dab = 8.7*10^-8 ;//[m^2/s] Diffusion coefficient
Sab = 1.5*10^-3 ;/... |
8de972fc299c56cc7053680b4b5a81b492b7b75c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH3/EX3.20/example3_20.sce | a35c71124ff31051ccb6ec360c756b3df1bf0334 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | example3_20.sce | clear;
clc;
// Stoichiometry
// Chapter 3
// Material Balances Without Chemical Reaction
// Example 3.20
// Page 86
printf("Example 3.20, Page 86 \n \n");
// solution
// concetration of the component after n times introduction of v volume of inert gas :
// Cn = Co/(1+1/n)^n
// we know limn-->infini... |
8b2cff8b1f02ab4529783a018ded86b43b7e1833 | 2707da68619819d8105f9ae472647dc578c75730 | /FindCD.sci | b9bbbb03e8e81cbf5c1e5fcde092d2152c1e730e | [
"Apache-2.0"
] | permissive | KrayzeX/ToE | 1aa62db747841e960fb47fbd59e38c6afa3a0723 | ad81dd433c0d3b23ebb00f0e65095ab6c1bed34e | refs/heads/master | 2020-05-26T09:19:33.970171 | 2017-06-02T08:50:16 | 2017-06-02T08:50:16 | 82,474,743 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,645 | sci | FindCD.sci | //Марчук Л.Б. 5307 подгруппа 3
//Данный модуль принимает на вход контурную матрицу, матрицу сопротивлений ветвей,
//матрицу ЭДС источников, матрицу источников тока, контурные токи,
//матрицу коэффициентов уравнений состояния и номер исследуемой ветви;
//возвращает матрицу коэффициентов уравнений состояния для иссле... |
97ac990510d3a5742972fd11934ad665e0147f3e | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/RadioButton/ground_truth/OpeningSequenceCoverage/length-1/max-150/t10.tst | 9d283006cbb2f32527c5c09741ef50c337eb8130 | [] | 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 | t10.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e35</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e36</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e67</EventId>
<Reaching... |
7e4c8d430ba1ae4b8aa19ca5f36e55d3dfee6b12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH3/EX3.3.3/3_3_3.sce | 1c94c037a0e15cb1118214821df97040dfba297d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | 3_3_3.sce | clc
pathname=get_absolute_file_path('3_3_3.sce')
filename=pathname+filesep()+'333.sci'
exec(filename)
molO2=massO2/MO2
molCO=massCO/MCO
molCO2=massCO2/MCO2
molN2=massN2/MN2
TotalMol=molO2+molCO+molCO2+molN2
printf(" \n molefraction of O2=%f",molO2/TotalMol)
printf(" \n molefraction of CO=%f",molCO/TotalMol)
... |
fbf6d495d18caa625a0ff404f261c57fec202e6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH7/EX7.6/example7_6.sce | 9bb91d08f200e330458021bf48a1180aa080be28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,133 | sce | example7_6.sce | clear;
clc;
//Example7.6[Cooling of a Steel Ball by Forced Air]
//Given:-
rho=8055;//[kg/m^3]
Pr = 0.7296;
Cp=480;//[J/kg.degree Celcius]
To=300;//Temp of oven[degree Celcius]
Ta=25;//Temp of air[degree Celcius]
va=3;//Velocity of air[m/s]
Ts=200;//Dropped temp of surface of ball[degree Celcius]
Ts_avg=(Ts+To)/2;//[de... |
a7ba75695741f79681ba669e0b97c1b6ff3e6064 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH4/EX4.3/Example_4_3.sce | 14e42cfb3827ad45e1654f5d2716f7c84cd20aef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Example_4_3.sce | //Composition Conversion- From weight percent to Atom percent
clear;
clc;
printf("\t Example 4.3\n");
//Conversion to Atom percent
function[C]=conc(C1,C2,A1,A2)
C=C1*A2*100/((C1*A2)+(C2*A1));
funcprot(0)
endfunction
C_Al=97; //Aluminium wt%
C_Cu=3; //Copper wt%
A_Al=26.98; /... |
635292ec39d274e6b4ddff58d1e6219f8ac81538 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.2/ex6_2.sce | 504f3fb033627d90d8ea6df1f8f00dd6935cb532 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | ex6_2.sce | // Exa 6.2
clc;
clear;
close;
format('v',7)
// Given data
Beta = 0.01;//feedback fraction
// Voltage gain with negative feedback
A = 3000;// unit less
Af = A/(1+(Beta*A));// unit less
disp(Af,"The voltage gain of the amplifier is");
|
95bbe01205d7f95502a199b0c0fead43be9754ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH38/EX38.3/EX38_3.sce | 6a5ace367b7902776349539b05db9b147f2d2823 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | EX38_3.sce | //chapter 38
//Example 3
clc
//given
L=10*(10^-3)// in henry
C=(10)^-6 //in farad
R=0.1 //in ohm
w=sqrt(1/(L*C))
disp(" Angular frequency in radians/sec=")
disp(w)
t=(2*L*log(2))/R
disp(" time in sec=")
disp(t)
|
5b544e840fdd1edce6ce35fb46b848503f7ae2a7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/examples/macros-examples/g.sci | 8f42b72f4a9573a06ddc7e08fa1b7669835ae061 | [
"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 | 26 | sci | g.sci | function [z]=g(x,y)
z=x+y
|
1981d3f1feb2a093a3e118f1f54801a5e85ed93f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH20/EX20.6/Ex20_6.sce | 6913df1aca38918f685333a79b7074b2e1fddbb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ex20_6.sce | //example-20.6
//page no-597
//given
//dielectric constant
Er1=6.0
Er2=3.0
//thickness of plates
d1=0.25*10^-3 //m
d2=0.1*10^-3 //m
//taking A1=A2
//we know that
//C=Er*E0*A/d
//for plate1
//C1=Er1*E0*A1/d1 -----------(1)
//for plate 2
//C2=Er1*E0*A2/d2 --------------(2)
//dividing 1 and 2
//w... |
72bb793f2bf9afdd4bb05071e28984f965e6fca0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH28/EX28.7/Ex28_7.sce | 69942683537d84cd695b4ed0f25b2e281478d0a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | Ex28_7.sce | // chapter28
// example28.7
//page606
printf("Y = A . B + A . ( B + C ) + B . ( B + C ) \n")
printf("By thoerem 14 \n")
printf("Y = A . B + A . B + A . C + B . B + B .C \n")
printf("By theorem 6 \n")
printf("Y= A . B + A . B + A . C + B + B .C \n")
printf("By theorem 5 \n")
printf("Y = A . B + A . C + B + B ... |
edeb697d5a917e977b4e267d4087c6fb4e89c3e1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/xdess/xclip.sci | 880de59f84fadb2260cb1f52e330f026911d01f8 | [
"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 | 336 | sci | xclip.sci | function []=xclip(x,y,w,h)
// fixe une zone de clipping en cordonnees reelles
// (x,y,w,h) (Upper-Left,wide,Height)
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs<=0, xset('clipoff');return;end
if rhs==1,if typeof(x)<>"string" then
xset('clipping',x(1),x(2),x(3),x(4));
else
xset(x);
end
else
xset('clipping',... |
62acabc304c7917c35bf9772199237d409474353 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH24/EX24.9/Ex24_9.sce | 773f33809f2b03c467c664c919b255075592b0c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 756 | sce | Ex24_9.sce |
clc;
RC=4*10**3;
R1=40*10**3;
R2=10*10**3;
RE=2*10**3;
RS=1*10**3;
RL=2.2*10**3;
CS=10*10**-6;
CE=20*10**-6;
CC=1*10**-6;
B=100;
VCC=20;
VB=(R2*VCC)/(R2+R1);
IE=(VB-0.7)/RE;
re=(26*10**-3)/IE;
B*re;
vo=-(RC*RL)/(RC+RL);
Av=vo/re;
a=(R1*R2)/(R1+R2);
Ri=(a*(B*re))/(a+(B*re));
Rs=1*10**3;
vibyvs=Ri/... |
7a14f327c3bec401cdea33356dd6a491d5d7eba6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.50/Ch1_1_50.sce | 5fbbe9983f438630a3248f6595476fab3ce85e22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Ch1_1_50.sce | clc
disp("Example 1.50")
printf("\n")
disp("Find the maximum power at 80c")
T1=25
PT1=1000*10^-3 //maximum power dissipation at 25c
T2=80
D=4*10^-3 //derating factor
PT2=PT1-((T2-T1)*D) //maximum power dissipation at 80c
printf("Maximum Power dissipated at 80c=\n%f watt\n",PT2)
|
90ef98914449194998acec5485e714c11373c8a5 | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-wavetime/bfa_mt/~LCM-SR-bfa_mt-nat.tst | 31b11854a37bde18797f8b273c7e41b874e1ce21 | [] | no_license | jflournoy/lnt_pxvx | fac8d6b00b886fa3dc800dcaa288aa186027b9ea | 3f1ddc64e4bf0aecddfa21d45f889620dbdd442d | refs/heads/master | 2021-10-20T12:52:55.625243 | 2019-02-27T17:06:09 | 2019-02-27T17:06:09 | 64,423,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,999 | tst | ~LCM-SR-bfa_mt-nat.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.446577D+00
2 -0.442966D-01 0.411333D-01
3 0.275950D-03 0.19968... |
52c53a36f1466aa4de63f433207518a9445f3f09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH6/EX6.1/ex6_1.sce | e18dc42bb5b3a109f9b367414915a8d1787dbffc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | ex6_1.sce | //chapter 6
//horn antenna
printf("\n");
Ae=10;
del=0.2;
p=Ae^2/(8*del);
del1=0.375;
Thetae=2*atan((Ae/(2*p)))*180/(%pi);//flare angle
Thetah=2*acos(p/(p+del1))*180/(%pi);
Ah=2*p*tan(((Thetah*(%pi)/180)/2));
printf(" the length is %gm",p);
printf("\n the angle ThetaE is %g degree",Thetae);
printf("\n the an... |
6b263b542bc94f9c667d770037ec310ce4d57772 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH5/EX5.6/exp_5_6.sce | 78ff89fb022276f276298b4f930568513a8defb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | exp_5_6.sce | clear;
clc;
v1=66;
v2=11;
v3=6.6;
s1=20;
s2=10;
s3=5;
Xps=0.1;
Xpt=0.12;
Xst=.08;
//now these rectance in pu and converted into 50 MVA base
xps=Xps*(50/s1);
xpt=Xpt*(50/s1);
xst=Xst*(50/s2);
Xp=complex(0,((xps+xpt-xst)/2));
Xs=complex(0,((xps-xpt+xst)/2));
Xs1=complex(0,((-xps+xpt+xst)/2));
mprintf(" ... |
3fedb4488a582736ae0ac1bc4cdc1019bce9fb8e | 0845790d81f9fd3b8393b14fc9c2bdde0ffe46cf | /8_9_dft_idft/8and9_dftandidft_of_seq.sce | 697721db59ba9273c3dd530c59ec95439c72575e | [] | no_license | NARAYAN1201/Scilab | 1a3fb62895b157f87b0d9e024ecd2f1c000eb6df | 48980c28ab2def9939e7519867da572660c8ac97 | refs/heads/main | 2023-02-26T02:09:05.762483 | 2021-02-01T07:24:54 | 2021-02-01T07:24:54 | 335,216,077 | 0 | 0 | null | 2021-02-02T08:17:23 | 2021-02-02T08:17:23 | null | UTF-8 | Scilab | false | false | 2,221 | sce | 8and9_dftandidft_of_seq.sce | // Caption : Program to find the spectral information of discrete time signal
clc ;
close ;
clear ;
xn = input ( "Enter the real input discrete sequence x[n]=") ;
N = length ( xn ) ;
XK = zeros (1 , N ) ;
IXK = zeros (1 , N ) ;
// Code block to find the DFT of the Sequence
for K = 0: N -1
for n = 0: N -1
XK... |
28363ec80ff65f6c079eeaeef73780bc86133214 | b5a6d0e4c3d84d1a446434b60e55627f017991d7 | /pruebas.sce | d122f2c427de5a9bacde97fa1399bc0ecf29b900 | [] | no_license | mayra-diaz/Scilab-Funciones-Matrices | 249cdec506befa4e5e88da9aaf8f6752e401153f | dc89d7dccc7fd22851e6a31867f986cb543b4c50 | refs/heads/master | 2022-12-10T12:50:48.449166 | 2020-09-14T01:10:43 | 2020-09-14T01:10:43 | 259,477,803 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,485 | sce | pruebas.sce | // Comando exec:
// exec('...ruta\archivo.sce', tipo)
// ------------------------------------------------------------------------//
// Algebra Lineal
//exec('~\mate-III\Algebra-Lineal-en-Scilab\algebra_lineal.sce', -1)
// Potencia Inversa
//exec('~\mate-III\Algebra-Lineal-en-Scilab\valores_propios.sce', -1)
// R... |
82333b734104554f9cd89f5b45779be96b96eab8 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 2/NormaP.sce | 2f30974e6a5c0203fcc78f5e29e765b7500b600f | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | NormaP.sce | // José Augusto Câmara Filho - Matemática Industrial
//ATENÇÃO EXECUTAR ESTÁ FUNÇÃO JUNTO COM A FUNÇÃO AUXILIAR "norma".
function x= NormaP(A,p,m)
[l, c] = size(A);
//Armazena em l e c, o tamanho das linhas e das colunas
v= zeros(1,m);
//inicia um vetor com todos os elementos iguais a zero
for i=1... |
a9d9de52162092f50c13ed19652aca01240db2a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH2/EX2.17/Ex2_17.sce | 0ffc708d07d9e3d07d1f13645559959d4e2a10de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,018 | sce | Ex2_17.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 2: Basic Laws
// Example 2 - 17
clear; clc; close;
//
// Given data
V1 = 1.00;
V2 = 5.00;
V3 = 50.00; ... |
4caa6bdac0de6d72ce10bdd825270872c049d488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH43/EX43.15/43_15.sce | 0e17c89439fa3ec5119a221294b4bc46e0b5d06f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,234 | sce | 43_15.sce | //Problem 43.15:A mutual inductor is used to couple a 20 ohm resistive load to a 50/_0° V generator as shown in Figure 43.18. The generator has an internal resistance of 5 ohm and the mutual inductor parameters are R1 = 20 ohm , L1 = 0.2 H, R2 = 25 ohm , L2 = 0.4 H and M = 0.1 H. The supply frequency is 75/pi Hz. Deter... |
505d6cccc8f6cd776ac4dc573b85fc56bb25e1e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH2/EX2.16/Ex2_16.sce | e49852d4382ad631a2a83cf94276af509d8cef64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | Ex2_16.sce | //Caption:Find the (a)Flux per pole (b)total number of conductors (c) torque
//Exa:2.16
clc;
clear;
close;
I_a=50;//in amperes
P=6;//no.of poles
E_g=200;//in volts
N=1500;//speed in rpm
A=6;
L=0.25;//in meter
d=0.2;//in meter
B=0.9;//in tesla
Theta=360/P;//angle subtended by pole shoe in degrees
l=%pi*L*T... |
4c525f1675068226c22d5916ae4a0e8c4b53f911 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH20/EX20.7/C20P7.sce | c11b21ea6ee7fa79ed472b5c0a0d4f81810e5c05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | C20P7.sce | clear
clc
//to find speed of electron as fraction of c and as difference from c
//Given:
//kinetic energy of electron
K = 50//in GeV
//value of mc_square
mc_square = 0.511e-3//in GeV
//speed of light
c = 3.00e8//in m/s
//Solution:
//appiying fomule for relativistic energy
//speed of electron as fracti... |
7ddc7a600fec2a29f48dffe1022dd0666cd670bb | 2099a9bd609028f0b6e382b2a9d95bedeb63f999 | /HackALU/HackALU.tst | 42a44b7f1a2620ded0a2bde4d9e3ede36fda0f08 | [] | no_license | NothingToSay77/HackALU | 3ace07fa37fb94e00ad0dc107a3d0a4d731abb42 | 11112c2d1f12a95414b34a5ddcd95963ac4e824a | refs/heads/main | 2023-06-26T21:28:28.977155 | 2021-07-19T08:16:37 | 2021-07-19T08:16:37 | 387,389,770 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,157 | tst | HackALU.tst | /*Script for HackALU*/
load HackALU.hdl,
output-file HackALU.out,
output-list x%B3.16.3 y%B3.16.3 zx%B3.1.3 nx%B3.1.3 zy%B3.1.3 ny%B3.1.3 f%B3.1.3 no%B3.1.3 Out%B3.16.3 zr%B3.1.3 ng%B3.1.3;
/*The test cases for x=13 y=6 i.e x>0 y>0 and x>y*/
set x %B0000000000001101,
set y %B0000000000000110,
set zx 1,
set nx 0... |
81e4173dfa6d3f0796a363c6cb0cec244fdadd43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH7/EX4/cha7_4.sce | 567e527df244d9c2774461f326e605411bc96996 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,986 | sce | cha7_4.sce | V=120;F=60;Pole=4;Zm=1.5+4.0;Za=3+6;
Xa=6;Xm=4;Rm=1.5;Ra=3;
Ra=(Xa/Xm)*(Rm+sqrt(18.25))
C=(2*%pi*F)*(Xa+(Ra*Rm)/(Xm+sqrt(18.25)))
a=((-Xm*Ra)+(sqrt(18.25)*sqrt(13.2)))
Xc=Xa+(a/Rm)
Ia=V/(3+%i*6)
function[r,theta]=rect2polar(x,y)
r=sqrt(x^2+y^2);
theta=atan(y/x)*180/%pi;
endfunction
[Is,Angle]=rect2polar(8,-1... |
b3ad375969a10bb063a77ade345f9acab3043744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH7/EX7.4.1/Ex7_5.sce | c14b212b0fa9494bfe76e50525e6215f7a1d21e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,089 | sce | Ex7_5.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 7.4.1\n')
//given data
E=1.96*10^11//youngs modulus in N/m^2
I=4*10^-7//moment of area in m^4
M1=100;M2=50//mass of discs 1 and 2 in Kgs
c=0.18//distance of disc 1 from support in m
l=0.3//distance of disc 2 from support in m
g=9.81//aceleration ... |
02a7761b18943e77ee83d5cd81b37d51b4145581 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH6/EX6.19/Example6_19.sce | a25c278aa30f10f29b03f7b4c50f34d792dff308 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | Example6_19.sce | //chapter6,Example6_19,pg 148
Ie=1*10^-3
Ib=0.04*10^-3
Ic=Ie-Ib
alpha=Ic/Ie
printf("current gain\n")
printf("alpha=%.2f",alpha) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.