blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
315e12a5633fee6a6986c889715cf9eae20c3d88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH3/EX3.13/exa_3_13.sce | 47846731c1518846eeba6636b69df6e13e96a179 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | exa_3_13.sce | // Exa 3.13
clc;
clear;
close;
// Given data
V_F= 0.2;// in V
T=300;// in K
V_T= T/11600;// in volt
Io= 1;// in micro amp
Io=Io*10^-6;// in amp
Id= Io*(%e^(V_F/V_T)-1)
I_F=Id;
r_dc= V_F/I_F;// in ohm
disp(r_dc,"Dynamic resistance in ohm is : ")
r_ac= .026/I_F;// in ohm
disp(r_ac,"Static resistance in ohm... |
7efffb52a45a040fd1f4ab5ef0b69e521099db4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.12/Ch04Ex12.sce | 98d486a4a2880e75b5c313ae536701130f900e7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,084 | sce | Ch04Ex12.sce | // Scilab code Ex4.12: Pg:149 (2008)
clc;clear;
Lambda = 6500e-007; // Wavelength of light, mm
Lambda_prime = 5200e-007; // New wavelength of light, mm
n = 3; // Order of bright fringe
D = 1200; // Distance between the source and the slits, mm
d = 2/2; // Separation between teh slits, mm
x3 = n*La... |
b8a0f919b7b752504f5f33a95af5f02f667e743f | bdf572464541387fa0028a1ff861ceb55e81938e | /Numerical Integration/simpsons1.sci | f7e3c3346d1b4e77dc029d7c0f3f0a8b7f74a703 | [] | no_license | akarshsomani/Scilab-programs | 20c4a52a51e5689d12d491218988aa037f09a21a | 18199a7f424e3711765965e3d3b12e149a5d497a | refs/heads/master | 2020-03-14T10:00:36.585002 | 2018-04-30T04:59:39 | 2018-04-30T04:59:39 | 131,557,212 | 0 | 1 | null | 2018-10-31T14:52:07 | 2018-04-30T04:55:36 | Scilab | UTF-8 | Scilab | false | false | 231 | sci | simpsons1.sci | function [e] = sim1(x0,xn,n)
deff("y=f(x)","y=sqrt(x^2+1)")
h=(xn-x0)/n
s=0
while x0<xn
s=s+(h/3)*(f(x0)+4*f(x0+h)+f(x0+2*h))
x0=x0+2*h
end
e=(abs(s-1.147)/1.147)*100
disp(s)
endfunction
|
1ff46ede20918ef19f77abfeaac0b5fcac9565d5 | 2875b7a7a87e6280e5aac1fb50dc04dfbcc23d3f | /lec/mdyn/scilab/vib-tr.sce | 28dbcb1d16dd7b4d739e03817846915cfaee0ab0 | [] | no_license | ktysd/ktysd.github.io | eb8946c877a6cb209960be57bfbcc1fe429abedd | 1e29a628e63ea476b4891da5c12276d1ae11c4a7 | refs/heads/master | 2021-04-26T15:07:02.322758 | 2020-11-02T07:33:51 | 2020-11-02T07:33:51 | 123,993,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | vib-tr.sce | //
// "vib-tr.sce"
//
clear; clf();
function dx = model(t,x)
om=1.6;
dx(1) = x(2);
dx(2) = -0.2*x(2) - x(1) + cos(om*t);
endfunction
x0 = [0; 0.3]; tt = linspace(0, 100, 800);
xx = ode(x0, 0, tt, model);
g=gca(); g.data_bounds=[0,-1.5;100,1.5]; //座標軸の設定
plot(tt,xx(1,:),"-");
xtitle("x(t)=a(t)+b(t)"); xgrid();
... |
67f58131445598975807a22366f51c049afa307a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.8/Example4_8.sce | 0678e22048fb52d1a8aa358d12573ef4cd139322 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | Example4_8.sce | //Exa 4.8
clc;
clear;
close;
//Given data :
r=(20/2)/10;//cm
d1=4*100;//cm
d2=5*100;//cm
d3=6*100;//cm
rdash=0.7788*r;//cm
L=0.2*log((d1*d2*d3)^(1/3)/rdash);//mH
disp(L,"Inductance per phase(mH)");
|
02161e0810b2800e7acb1dba3e2edd77fab00011 | ed81f401dcd2ce0399cec3a99b6e5851e62e74ca | /data/github.com/JOfTheAncientGermanSpear/Simple-Time-Stretcher-Scilab/638360ea04ee4951f9a4e550d45fcea0bc01c867/src/scilab/timeStretch.sci | 891ea6970768ad99e57d01b3695652c5d45c2cc0 | [
"MIT"
] | permissive | smola/language-dataset | 9e2a35340d48b497cd9820fa2673bb5d482a13f7 | 4d1827d1018b922e03a48a5de5cb921a6762dda3 | refs/heads/master | 2023-03-10T12:42:04.396308 | 2022-07-15T18:05:05 | 2022-07-15T18:05:05 | 143,737,125 | 18 | 3 | MIT | 2023-03-06T05:01:14 | 2018-08-06T14:05:52 | Python | UTF-8 | Scilab | false | false | 1,773 | sci | timeStretch.sci | function timeStretchedSignal = timeStretch(timeSignal, timeStretchFactor, ftLength)
// timeStretchedSignal = timeStretch(timeSignal, timeStretchFactor, ftLength) Time-stretch a signal to timeStretchFactor times longer with phase vocoder
// timeSignal is an input sound. ftLength is the FT size, defaults to 1024. ... |
6b9f37c3baecb10390aaa1044698688f7fd3cdb4 | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch8_II.sce | 757580d069bff3abe8d4dbf53d6684a96421c3fb | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | sce | Ch8_II.sce | --> A=[3,4,7,-2;5,4,9,3;1,-1,0,3;1,-1,0,0]
A =
3. 4. 7. -2.
5. 4. 9. 3.
1. -1. 0. 3.
1. -1. 0. 0.
-->
--> [Q,R]=qr(A)
Q =
-0.5 0.5 -0.7071068 6.245D-17
-0.8333333 -0.0555556 0.5499719 -3.932D-17
-0.1666667 -0.6111111 -0.3142697 -0.... |
53b914e9def182b3b012451288b623cc52a419bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH8/EX8.13/Ex8_13.sce | 3cb81d748300ef344bc847f3faa0f57f93648f01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sce | Ex8_13.sce | // Example 8_13
clc;funcprot(0);
// Given data
T_1=-10;// °C
P_3=0.9;// MPa
Q_C=300;// kW
C=0.07;// $/kWh
C_n=0.50;// The cost of operating a furnace in $/therm
q=100000;// kJ/therm
// Calculation
// (a)
// From appendix D we find,
h_1=183.1;// kJ/kg
s_1=0.7014;// kJ/kg.K
s_2=s_1;// kJ/kg.K
h_3=71.9;//... |
08e13a10187165ba5ec2a92494199ea15c6b252f | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH6/EX6.3/3.sce | 0fd6e0b686e57e010f98cc9934cf3d3f2c07f4f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | 3.sce | clc;funcprot(0); //Example 6.3
//Initializing the variables
d1 = 0.25; //Pipeline diameter
d2 = 0.10; //Throat diameter
h =0.63; //Difference in height
rho = 1000; //Density of water
g = 9.81 //Acceleration due to gravity
//Calculations
rh... |
6d99de34b4d436d4027fd766437d6d49a66f508f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH3/EX3.15/Ex3_15.sce | 3167b1db166b78241475f90cf5016a234a7ccc7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,419 | sce | Ex3_15.sce | //Ex3_15
// Image Sharpning using Laplacian
// 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;
clear;... |
eb86a4d57b14faf9cd62180a0bbdef595c1f7f30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH9/EX9.6/Ex9_6.sce | 856823f85b979bef019f010b7218e0f1b048c382 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 926 | sce | Ex9_6.sce | // Example no 9.6
// To determine the maximum throughput using ALOHA and slotted ALOHA
// Page no. 466
clc;
clear all;
//The maximum throughput using ALOHA
Rmax=1/2; //Maximum rate of arrival calculated by equating ALOHA throughput formula derivative to zero
T=Rmax*... |
9e46bbfddc289a955663ed6bed7cae0f5190a065 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/DEPENDENCIES/stand_students_t_VarUnkn.sci | d86c20f32d497b5a0d22006a875915539c010267 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sci | stand_students_t_VarUnkn.sci | function [t_alpha] = stand_students_t_VarUnkn(alpha)
if (alpha ==0.05) then
t_alpha = 1.645;
elseif (alpha==0.01) then
t_alpha = 2.326;
end
endfunction |
ea73853909e69ecfd3ff9192b86b0c5002e2d2fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH31/EX31.5/31Ex5.sce | eae78e476a54d5f802cfa6db86d10dea6ecf88ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | 31Ex5.sce | //chapter 31 Ex 5
clc;
clear;
close;
totalBalls=10; white=6; Black=4; random=2;
sizeS= factorial(totalBalls)/(factorial(totalBalls-random)*factorial(random));
sizeE=(factorial(white)/(factorial(white-random)*factorial(random)))+(factorial(Black)/(factorial(Black-random)*factorial(random)));
prob=sizeE/sizeS;... |
52a889209a64a82faf3d23f269cd074d0ac57845 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.14/Exa1_14.sce | 12510c1b73f30a63bd8f8e925b60306e8e28c577 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Exa1_14.sce | //Exa 1.14
clc;
clear;
close;
//given data :
Irms=30;//in A
f=1;//in MHz
Erms=10;//in mV/m
Erms=Erms*10^-3;//in V/m
r=50;//in Km
r=r*10^3;//in m
c=3*10^8;//speed of light i m/s
lambda=c/(f*10^6);//in m
le=Erms*lambda*r/(120*%pi*Irms);//in m
disp(le,"Effetive height of Antenna in meter : "); |
42336e9b1b535f3b8a8fac577cdcdef3490384e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.43/Ex2_43.sce | 44090eb66812ae97b2472fefc39b172eb443f82c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | Ex2_43.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 43 // read it as example 42 in the book on page 2.102
clc;
disp("CHAPTER 2");
disp("EXAMPLE 43");
//VARIABLE INITIALIZATION
I=5; // max amplitude of wave in Amp
f=50; //Hz
//wave for... |
50f716c54fe2dff32cfdc8a6456fe50e34673836 | 8277b4cef8c96ff5b520fc43b2200dc67ea6b2ed | /Exp8.sce | 45b28b99fa700239d2dbc9bcc4b7b203ea79a1bc | [] | no_license | divyashah98/OST | 5f7f3acf268fb9ab7e4ae889229e87d9ad31e6be | 214ee78db4e98e6387fca13cbe889054f3d9c298 | refs/heads/master | 2020-03-24T20:12:02.774742 | 2018-09-25T05:08:32 | 2018-09-25T05:08:32 | 142,964,900 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,234 | sce | Exp8.sce | clc;
clear all;
ap = 3; //
as = 15; //
wp = 2; // Analog Passband Edge
ws = 4.828; // Analog Stopband Edge
// Low Pass Filter
// Order of filter
n = 0.5*(log((10^((0.1)*(as)) - 1)/(10^((0.1)*(ap)) - 1)));
N = n/(log(ws/wp));
N = ceil(N)
disp... |
21b7fa02b83c850b32c46d55a889cde7639fb901 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH5/EX5.3/3.sce | 66edf88c58ab2d8cd0008e24bbce6f3989690aaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 709 | sce | 3.sce | clc
u_p=10; // m/s
scale=1/25; // l_m/l_p
L=125; // m
meu=1.235*10^(-6); // m^2/s
meu_p=1.188*10^(-6); // m^2/s
rho_p=1025; // kg/m^3
rho_m=1000; // kg/m^3
A=3500; // wetted surface in m^2
u_m=u_p*sqrt(scale);
d=L*scale;
Re=d*u_m/meu; // Reynolds no.
C_F=0.075/(log10(Re)-2)^2; // Skin friction coeffi... |
7cde31dfa9bac5225e9a719f7082c70881b58623 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153.zip/Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153/CH2/EX2.5/ex_2_5.sce | 72e58e8f2b21fead9a29eef7ad1a8c51f8daa445 | [] | 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 | 178 | sce | ex_2_5.sce | errcatch(-1,"stop");mode(2);//Example 2.5 : velocity
;
;
//given data :
n=1;
Z=1;
k=6.56*10^15; // k is constant
fn=k*(Z^2/n^3);
disp(fn,"orbital frequency,fn(Hz) = ")
exit();
|
7905f16d6ccbb5bab9c73c5add5831e82f46631e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH4/EX4.5/Ex4_5.sce | 2aab8b7183bec4e65de5759f911d55c60ee48f47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Ex4_5.sce | ////Given
m=1.672*10**-27 //mass of neutron in kg
h=6.60*10**-34 //Js
v=1.0*10**-10 //de broglie wavelength in m
//Calculation
K=(h**2/(2.0*m*v**2))/(1.6*10**-19)
//Result
printf("\n Kinetic energy of a neutron is %0.2f *10**-2 ev",K... |
2f0102be1122c9251112dd76ec732addeeeb308b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH16/EX16.11/16_11.sce | 4c37ae884dd8b8fa19abe0a4dd124c587cdd009f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | 16_11.sce | //Two bodies hung to rope
//refer fig. 16.15 (a) and (b)
s=(450+300)*(4*4-2*2)/(2*9.81*150) //m
//Let T be the tension in the string
//apply work energy principle
T=((450*3.058)-((450*12)/(2*9.81)))/3.058 //N
printf("\nT=%.0f N\ns=%.3f m",T,s)
|
97d60cbfccc9957342fcacee205bed238f698c00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH3/EX3.2/3_2.sce | efc0f09c556d070e2590e724133061e384e017c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | 3_2.sce | //ques-3.2
//Calculating number of molecules of ethene in sample and number of molecues of polyethene produced
clc
m=28;//mass of ethene (in g)
deg=1000;//average degree of polymerisation
//Part (i)
n1=(m/28)*6.023;//number of molecules of ethene (x10^23)
printf("The number of molecules of ethene in sample are... |
245f3d0ee46933df04e5f403d69886bec0eba9b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.4/Ex4.sce | 39e7b7d2bc405422e42eebf1fd51b7273d6bf190 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Ex4.sce | //Ex:4
clc;
clear;
close;
h_p=1000;//perigee height in km
h_a=4000;//apogee height in km
R_E=6378.14;// radius of earth in km
a=(2*R_E+h_p+h_a)/2;//Semi major axis in km
u=3.986*10^5//km^3 per sec^2
T_P=(4*%pi^2*a^3/u)^(1/2);//Orbit period in sec
printf("Orbital period =%f sec",T_P); |
9949b01116e3c8b4863b978873261409e4330ff1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.6/ex5_6.sce | b866fe18d2320755797c327c0d5992c13bb2ab28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | ex5_6.sce | // Exa 5.6
clc;
clear;
close;
// Given data
f_c = 2;// in kHz
f_c = f_c * 10^3;// in Hz
C2 = 0.033;// in µF
C2 = C2 * 10^-6;// in F
C3 = C2;// in F
C = C2;// in F
R2 = 1/(2*%pi*f_c*C);// in ohm
R2 = R2 * 10^-3;// in k ohm
R3=R2;// in kohm
disp(R2,"The value of R2 and R3 in kΩ is : ");
//R_F= 0.586*R1
R1... |
600cdb36a7fb70935e760f2f2b9286120435194b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH13/EX13.2/EX13_2.sce | 2523477a8bbd9497a356f1ba7d28699aff2bcf3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | EX13_2.sce | //Finding of Boundary layer thickness , Drag Force
//Given
x=1;
L=1.5;
b=1.2;
vs=0.25;
mu=0.001;
rho=1000;
x2=1.2;
L2=1.2;
//To Find
A=L*b;
R=(rho*vs*x)/mu;
t=(5.477*x)/sqrt(R);
tau=(0.365*mu*vs*sqrt(R))/x;
R1=(rho*vs*L)/mu;
Cd=1.46/sqrt(R1);
Fd=(1/2)*Cd*rho*(vs)^2*A;
disp("Boundary Layer Thickness ="... |
1707736aa3f1c833403204cfc005c25906a485bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH5/EX5.4/5_4.sce | 2abbf2796aa6c9580304f07d17a36602853b0729 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | 5_4.sce | //Eg-5.4
//pg-219
clear
clc
exec graf.sci
clc
A=[1 2 4;3 1 2;4 2 5];
a1=zeros(3,1);
a1(1)=trace(A);
A1=A;
for k=2:3
A2=A*(A1-a1(k-1)*eye(3,3));
a1(k)=trace(A2)/k;
A1=A2;
end
C=[1; -a1];
for(i = 1:4)
c(i) = C(5-i);
end
ce = poly(c,'x','c');
printf('\nThe expression of... |
2ee5aa703c51d9194ac67cd6dfe2203f2a0a764f | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/bfp-004-cvttolog.tst | 7ac6b7abbd347d212ec73360fddf4adfba7bf6ed | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 23,185 | tst | bfp-004-cvttolog.tst | *Testcase bfp-004-cvttolog.tst: CLFEBR, CLFDBR, CLFXBR
#Testcase bfp-004-cvttolog.tst: IEEE Convert To Logical
#..Includes CONVERT TO LOGICAL 32 (3). Tests traps, exceptions,
#..rounding modes, and NaN propagation.
sysclear
archmode esame
#
# Following suppresses logging of program checks. This test program, as ... |
9c846e8a0886190866a6e2a0c2dc8acc3826f142 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH5/EX5.1/5_1.sce | f03200d86f04bb64885d7574c63b400c59a0cc02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 5_1.sce | clc
//initialisations
h=50//m
g=9.8//m/sec2
l=1000
j=4.2//j/cal
//calculations
q=h*g/j
t=q/l
//results
printf(' difference in temperature of water= % 1f C',t)
|
f5051ebc40994b5ffd17ba1ddb184542341f1bd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH5/EX5.15.s/5_15_solution.sce | d5a86bef1192acf1c87796355d2e71bfbc268fef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | 5_15_solution.sce | //Solution 5-15
WD=get_absolute_file_path('5_15_solution.sce');
datafile=WD+filesep()+'5_15_example.sci';
clc;
exec(datafile)
Wdot_shaft = Wdot_shaft * 1000;
Wdot_pump = eta_pump * Wdot_shaft / 100;
mdot = Wdot_pump / (g * (z_2 + h_L)); //energy equation
Vdot = mdot / rho;
printf("Discharge rate of water is %1.4e m^3/s... |
9cddba800f6c5aaaa52a366fa7b58dd842fc7653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH14/EX14.6/Example14_6.sce | 14060871f0ba483d34ff2e02f2705a5ddd5a47b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Example14_6.sce | //Example 14.6.
clc
format(6)
Ai=1+80
disp(Ai," Ai = 1 + hfe =")
Ri=(5*10^3)+((1+80)*(2*10^3)) //in ohm
x1=Ri*10^-3 //in k-ohm
disp(x1," Ri(k-ohm) = hie + (1+hfe)*RL =")
Av=(81*2*10^3)/(167*10^3)
disp(Av," Av = Ai*RL / Ri =")
Ro=(5000+600)/(1+80) // in ohm
disp(Ro," Ro(ohm) = hie+Rs / 1+hfe =")
Rof=(69... |
ad5ac219fe8afe24795160cb5f33fc9fe6cefff1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH6/EX6.6/Example_6_6.sce | 19903ccaa1184299fb5ca31dd43cafc064fa933c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | Example_6_6.sce | //Example 6.6
clear;
clc;
//Given
delHfus=6.0;//heatoffusion of water in kJ mol^-1
T=298;//temperature in K
k=1.38*(10^(-23));//in J K^-1
N=10;//number of molecules
//To calculate the probabilty that 10 molecules will be found in half of the container
delS=N*k*log(0.5);//entropy change in J mol^-1 K^-1
w=delS/(2.303*... |
56996ce8a4d2b5ebbb84bd599f67aa3ee766417d | 952f05b9b2293792559cddaf7ee402ccc22b0b8d | /icclim/test-cases/test-cases-read-the-docs/read-the-docs-example-10.tst | f6c66748a900f3098b0670b5fabfe61669152272 | [
"Apache-2.0"
] | permissive | ptrgast/icclim | a5c768bde9f5ce0562ef8250262ca1d70213c461 | 1c43cc7fc5d779f04fb72361a80bde3b232a9580 | refs/heads/master | 2020-05-18T18:44:15.153378 | 2020-02-04T07:46:40 | 2020-02-04T07:46:40 | 184,594,303 | 0 | 0 | NOASSERTION | 2020-02-04T07:46:41 | 2019-05-02T14:19:16 | Python | UTF-8 | Scilab | false | false | 531 | tst | read-the-docs-example-10.tst | [Read-the-docs-example-10] # Read the docs - example 10
user_indice: {'indice_name': 'my_indice', 'calc_operation': 'nb_events', 'calc_operation': 'max_nb_consecutive_events', 'logical_operation': 'gt', 'thresh': 'p85', 'var_type': 'p'}
in_files: ['pr_day_CNRM-CM5_historical_r1i1p1_19700101-19741231.nc','pr_day_CNRM-CM... |
c443f29413a6e0bcb3494ed2b48ca0180d866e92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.47/ex2_47.sce | 89d8b1b07dabd6a406cf4636562b12f80e7161e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | ex2_47.sce | clc
Vr=10; //Assigning values to parameters
Vl=15;
Vc=10;
V=sqrt(Vr^2+(Vl-Vc)^2);
V=10+%i*0+0+%i*15+0-%i*10;
[r,t]=polar(V);
disp("Volts",r,"Voltage"); |
face725ab9bd072d07abd5a23cf08f232ed0ccde | 448b934390596180e5965efadbcbe8e13809ab8c | /macros/pkgQuit.sci | 55803004b5359c87854873bc9d5464e6c9f905f4 | [] | no_license | pirpyn/pkg-scilab | 3834d8b5e5e7cbb71e2d2cff14ea763d32259bf0 | b3ac0d499c9b446d02159f29068616fcf2a57f56 | refs/heads/master | 2021-01-19T17:36:20.707736 | 2017-12-11T21:31:23 | 2017-12-11T21:31:23 | 101,072,162 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sci | pkgQuit.sci | function pkgQuit()
f = pkgGetRootHandle(gcbo)
btn = messagebox('All modification will be lost.','Exit','warning',['Continue','Cancel'],'modal')
if btn==1 then
xdel(f.figure_id)
end
endfunction
|
91baa5daad529bf4741063f41b2b55202280ed5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.15/Ex7_15.sce | 328ec97a47c01d81c25c052429b7eda2ee7c87bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | Ex7_15.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 15")
disp("In question no. 15 prove for ideal gas satisfies the cyclic relation is done which cannot be solve using scilab software.")
|
b9ef52bfadbf811322b154287e9dead692d1d53d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.4/example4.sce | 9d0c9a78d17fa0f85ae589301f1b89429f04846d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | sce | example4.sce | //find transfer function of lag network
printf("syms R1 R2 C\n ei=(R1+R2+(1/C)*s);\n eo=(R2+(1/C)*s);\n G=eo/ei;\n transfer function Eo(s)/Ei(s)is:G")
|
b49fce51bef04fb763d7a30f769927ed9b6d5fef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH5/EX5.16/Ex5_16.sce | 23bb7ca26424652a0847b7fcd5118e560eef0129 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Ex5_16.sce | //Example 5_16
clc();
clear;
//To find IMA AMA and Efficiency of the system
si=3
so=1
IMA=si/so
Fo=2000 //units in Newtons
Fi=800 //units in Newtons
AMA=Fo/Fi
effi=AMA/IMA*100
printf("IMA=%.2f\n",IMA)
printf("AMA=%.2f\n",AMA)
printf("Percentage of efficiency is %d percent",effi)
|
4e0baa472202545ebec2576db1f23e1045529794 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH5/EX5.16/5_16.sce | 4a4144ca67181acfa30fc58ca2cee299222f7ea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | 5_16.sce | // Determine primary and secondary voltages and current
clc;
clear;
R1=100;
R2=40;
P=2; // Power
r=sqrt(R2/R1); // n2/n1 Turns ratio
if(r<1)
printf(' The turns ratio is 1 : %g \n',(1/r));
else
printf('The turns ratio is %g : 1 \n',r);
end
V1=sqrt(P*(R1));
V2=sqrt(P*(R2));
I1=V1/R1;
... |
05b21dee4e9dedb5dd24125c403ce7c75bdb0ae5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH11/EX11.13/11_13.sce | 17382d5c3f0f786d72826ca00afcd780f83d817f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | 11_13.sce |
Xs=8
Ia=40
V=600
Vt=V/sqrt(3)
Ef=V
delta=acos((1-(Xs*Ia/V)^2+(Vt/V)^2)/2/Vt*V)
theta=-atan((cos(delta)-Vt/V)/sin(delta))
pf=cos(theta)
Pout=sqrt(3)*V*pf*Ia
disp(Pout)
theta=-theta
Pin=Pout
disp(Pout)
|
e5e974da4e679fcc7af95709bcccee36ccd914d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH10/EX10.14/ex10_14.sce | e7186d6d0f1a146dd619677ec222b217d1d05b4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | ex10_14.sce | // Exa 10.14
clc;
clear;
close;
format('v',7)
// Given data
P = 4;
slots = 144;
phi = 20;// in mWb
phi = phi * 10^-3;// in Wb
N = 720;// in rpm
A = 4;
P =4;
n1 = 2;// in coil/slot
n2 = 2;// in turns/coil
Z = slots*n1*n2;// total number of conductor
Eg = (N*P*phi*Z)/(60*A);// in V
disp(Eg,"The induced v... |
de84024ee432ef324a73efd76c446142182175d8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/auto/statgain.sci | b40550281c15d7fe0ed81d2cf4c2994a8a81c3c5 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sci | statgain.sci | function st=statgain(sl)
//-compat type(sl)<>15 retained for list/tlist compatibility
if type(sl)<>15&type(sl)<>16 then error(97,1),end
flag=sl(1);
select flag(1)
case 'lss'
dom=sl(7);
[m,p]=size(sl(2));
if dom='c' then
if rank(sl(2)) <> m then error('singular A matrix'),end
st=sl(5)-sl(4)*inv(sl(2... |
c3b2c70b595708e814e10216363980eaeb33502e | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH7/EX7.13/Example_7_13.sce | fd43fecd18b176e1fbc97567b3a21a0c98a86086 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | Example_7_13.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 7
//Properties of Solutions
//Example 13
clear;
clc;
//Given:
P = 20; //pressure in bar
//Function for fugacity of component 1
function [y] = f1(x1);
y = (50*x1)-(80*x1^2)+(40*x1^3)
endfunction
//To determine fugacity fugacity coeff... |
ffe96cc8846496ee5a68bb2d6d4f84713aae3601 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH9/EX9.7/ex9_7.sce | 89b25bf620fc279abf29504e56710f7d4d4d2ce8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex9_7.sce | clc;
Q=200; //heat in Btu(British Thermal Unit)
m=50; //mass in lb
c=0.5; //specific heat capacity inBtu/lb.F
delT=Q/(m*c); //calculating change in temperatur using Q=mc(del T)
disp(delT,"Change in Temperature in Farenheit = "); //displaying result.
disp(25-delT,"Final Temperature in Farenheit = "); //... |
79ceb8677f59c0111319b0db3c8c28528f717bb6 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376.zip/Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376/CH3/EX3.8/3_8.sci | dd9201ea2b3b18adefa1498e4cdfd982fc567975 | [] | 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 | 214 | sci | 3_8.sci | errcatch(-1,"stop");mode(2);//3.8
;
Sp_constant=10.5*10^-6*%pi/180;
deflection=83;
Td=Sp_constant*deflection;
I1=10;
K=0.078;
I2=(Td/(K*I1))*10^6;
printf("Current in the voltage coil=%.2f uA",I2)
exit();
|
ea1fdb4ea676a1f16d5853c747cfc49af8fde9f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH5/EX5.2/Ex5_2.sce | e92c504f05ad979d12f71aafc29320a8e065a0df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | Ex5_2.sce | //Example 5-2, Page No - 160
clear
clc
max_deviation = 25*10^3
fm =15*10^3
mf =max_deviation/fm
printf('The deviation ratio of the TV sound is %.3f',mf)
|
ec1c3c71caa15c75ea8a466e0ca75effb8f5e264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH19/EX19.4/C19P4.sce | acd8929582c87ce8118cddd894b8068dd0d62592 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 922 | sce | C19P4.sce | clear
clc
//to find speed of sound
// GIVEN:
//refer figure 19-8 from page no. 436
//frequeny
f = 1080//in Hz
//distances of water level at resonance
x1 = 6.5//in cm
x2 = 22.2//in cm
x3 = 37.7//in cm
// SOLUTION
//using equation of sound wave for resonance
//from first two resonances
half_lambda = x2-... |
55c9116ded5bcb3972259a5a840446c97ac56083 | 337f9a673603d008cbd1b3cef9500ae806fef452 | /ruidos/Aula_02_Ex8Uniforme.sce | 5056ea452cf3aa48801a4ec50e66d5b4a20f01fd | [] | no_license | Gervaes/PDI | 6608e3ce8dcde1373512429039e3e51de32de2d1 | 912a9f1b6e40facdbef75d8c298a52127f5403e7 | refs/heads/master | 2021-04-12T04:31:13.241166 | 2018-06-21T14:01:39 | 2018-06-21T14:01:39 | 125,973,311 | 0 | 2 | null | 2018-03-29T19:52:56 | 2018-03-20T06:48:59 | Scilab | UTF-8 | Scilab | false | false | 2,051 | sce | Aula_02_Ex8Uniforme.sce | //Lendo imagens
a = imread('a.jpg');
b = imread('b.jpg');
c = imread('c.jpg');
d = imread('d.jpg');
e = imread('e.jpg');
//Transformando imagem pra matriz de double
a=im2double(a);
b=im2double(b);
c=im2double(c);
d=im2double(d);
e=im2double(e);
a=matrix(a(:), size(a));
b=matrix(b(:), size(b));
c=matrix(c(:), size(c))... |
d6e491d929520fae2141c83efa0c31688ef79f2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH14/EX14.3/3.sce | 2f038f744273f95c0fcc5ca8f4abee508ee94d34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | 3.sce |
//Variable declaration
mew=1.33; //refractive index of soap
t=5000*10**-10; //thickness(m)
n0=0;
n1=1;
n2=2;
n3=3;
//Calculation
x=4*mew*t;
lamda1=x/((2*n0)+1); //for n=0
lamda2=x/((2*n1)+1); //for n=1
lamda3=x/((2*n2)+1); //for n=2
lamda4=x/((2*n3)+1); //for n=3
//Res... |
4ac2926578fab9f0e74e9935104a24ba9e5bd127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH2/EX2.2/2_2.sce | c10d42868fafbc1f8a9c050f38a3c1301d945982 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | 2_2.sce | clc
//initialisation of variables
F= 1 //Pouunda
m= 1 //lbm
g= 1 //fts^-2
//CALCULATIONS
gc= m*g/F
//RESULTS
printf ('gc= %.2f lbm ft/poundal^2',gc)
|
fe3c62797b3172bd713cfa36330fffb8ea1d3825 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH5/EX5.3/exp_5_3.sce | c59f887235a3cd1a22580da9842e199e539b7535 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,157 | sce | exp_5_3.sce | clear;
clc;
function [Ecom,Emag]=vcurves(Prtd,Xs,Vt,Phi,K);
index=1;
if index==1;
X= input('percentage load');
Pg=X*Prtd;
Vt=Vt/sqrt(3);
pfang=Phi*%pi/180;
x=pfang:-.005:-pfang;
Pg=Pg*ones(1,length(x));
Ia=Pg./(3*abs(Vt)*cos(x));
Iacom=... |
6d883c34634a4b27e6c5af8079a54f39a8d8c381 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/NativeInteger/InterfaceLoader.sci | a7082caa63a985e109711ee7352c3fd08ed7a579 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sci | InterfaceLoader.sci | //** ... a very crude temp solution ...
exec(EESCI_DSPIC_PATH + "/NativeInteger/NAT_GAINBLK.sci");
exec(EESCI_DSPIC_PATH + "/NativeInteger/NAT_SUMMATION.sci");
|
ef07c2de73aac7aa82231aaa93995dea88937eb3 | 35c34f73b38e0f9c1ed58f49101cc122232b172e | /qtcreator/brass.tst | 92c2562269c8cb66f4c505e5d7a209cd0a443c80 | [] | no_license | kanhar/X_Monotone_Longest_Path | 7dca1199b2ce77f42f9eb0e3ec59d867651be294 | c6b7cbf4fc42a2c97bec2e6d45cdbf40e26d5572 | refs/heads/master | 2021-06-25T03:31:38.515583 | 2021-01-19T03:31:30 | 2021-01-19T03:31:30 | 5,651,981 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | tst | brass.tst | [0,600]x[0,400]
S (20,40) (100,50)
S (50,30) (100,200)
S (10,100) (200,70)
S (10,300) (300,370)
S (50,5) (70,290)
S (60,390) (80,100)
|
cd829b8864876f8cf340bebe32f7f9e0912fee0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH5/EX5.05/5_05.sce | 1ace4a6e237ef1983935b984e656ff0b3579d08b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | 5_05.sce | //pathname=get_absolute_file_path('5.05.sce')
//filename=pathname+filesep()+'5.05-data.sci'
//exec(filename)
//Mass of the block(in kg):
m=1
//Temperature of the block(in K):
T=27+273
//Height(in m):
h=200
//Heat capacity for copper(in kJ/kg.K):
s=0.393
//Acceleration due to gravity(in m/s^2):
g=9.81
//Ch... |
ef083790d4911ba3e50607ff1e4c2e201b9c405b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH11/EX11.4/11_4.sce | bd882afb1ef2c60727bd69897fafe726be4f4b54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | 11_4.sce | clc
//initialisation of variables
h=300//cu ft
p1=14.2//psia
p2=150//psia
w1=74//percent
w2=88//percent
q=33000//ft
g=144//ft
t1=0.74//ft
t2=0.88//ft
//CALCULATIONS
I=(-g)*p1*h*log(p2/p1)/q//hp
P1=I/t1//hp
P2=P1/t2//hp
//RESULTS
printf('the isothermal horsepower=% f hp',P2)
|
7b3639bb80041164e3344a0158567550253ec701 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH8/EX8.20/8_20.sce | 07adaede78f64473f5673bde9109345e68580a08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 8_20.sce | //Fuels and Combustion//
//Example 8.20//
w=1080;//quantity of water taken in grams//
W=150;//Water equivalent of calorimeter in grams//
m=0.681;//weight of coal taken or mass of fuel in grams//
dt=3.61;//rise in temperature of water in degree C//
AC=50;//Acid correction in calories//
FC=5;//Fuse wire correction... |
25edb7d154c45a88ce211fbbc9c0eeb2a8879fa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH8/EX8.8/Ex8_8.sce | 7c9c6bd57dc000545e67cfc6da829346c51c6e9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | sce | Ex8_8.sce | clc;
ApdB=3;
Ap=10^(ApdB/10);
disp(' ',Ap,"Ap=");
|
5b16a0395f45f14750fbd840faa242ee65cb33b1 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PV1.prev.tst | f4e105521cc7d1dfe70aed65259c94f339dba442 | [
"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 | 47 | tst | PV1.prev.tst | [m^2-n^2,2*m*n,m^2+n^2].powerSum(2, 2, 1) = 0
|
7062bd582b848d4f6f743588cfabb98636194a1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH10/EX5.10.7/Ex5_10_7.sce | 9734ed9f922c3fcd2a31393fc02524efbc422960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Ex5_10_7.sce | //Section-5,Example-8,Page no.-D.8
//To calculate rate constant and time taken to complete 80% of the reaction.
clc;
//k=2.303/t log( r_0/r_t)
k=(2.303/50) *log10(1/0.6)
disp(k,'Rate constant(min^-1)')
t=(2.303/k)*(log10(1/0.2))
disp(t,'Time required when the reaction is 80% complete(min)')
|
a850f211a376feef755f20ef637bc7b2ed011b8d | c247bce84b3facd1a13b48e7417327c40c8b3898 | /FOPID/fod.sci | adabd1c0c855c93d1913b8fe6f62fdeb503eeb72 | [] | no_license | AstroSayan/FuzzyFOPID | 9de9fa761301da6ae1f5dfe7b8e7e8214f3b472b | ea0e31e8fa0b36e407de9dfa466cf46b583e4103 | refs/heads/main | 2023-04-26T19:18:30.590337 | 2021-05-13T18:27:32 | 2021-05-13T18:27:32 | 367,137,779 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sci | fod.sci | function G=fod(alpha,f,N,w)
wl=w(1); wh=w(2);
if f=='o' then
exec('C:\Users\SAYAN\Documents\FuzzyFOPID\oustaloup.sci');
G=oustaloup(alpha,N,wl,wh);
elseif f=='r' then
exec('C:\Users\SAYAN\Documents\FuzzyFOPID\refOustaloup.sci');
G=refOustaloup(alpha,N,wl,wh);
elseif f=='m' then
exec('C:\Users\SAYAN\Documents\F... |
d891ba9a3c3269a14b7ebad6a895128c855ba6f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH4/EX4.8.a/4_8_data.sci | 702964b7d710a0ea30b62b639de00aae0ef6cb74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sci | 4_8_data.sci | // Aim:Refer Example 4-8 for Problem Description
// Given:
// Kinematic viscosity of oil:
nu=100; //cS
// Diameter of steel pipe:
D=1; //in
// flow rate:
Q=30; //gpm
// Diameter of wide open globe valve:
D_l=1; //in
|
bccd5c101d2cf07a9623eb63a02e2c43e79c80c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH8/EX8.6/c8_6.sce | 87ec5c1a5ed6716a96ca330b6d3d340f753e2e18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 6,227 | sce | c8_6.sce | //(8.6) Consider a reheat–regenerative vapor power cycle with two feedwater heaters, a closed feedwater heater and an open feedwater heater. Steam enters the first turbine at 8.0 MPa, 480C and expands to 0.7 MPa. The steam is reheated to 440C before entering the second turbine, where it expands to the condenser pre... |
9797ce24ecd241d6ead3beaee4dc79e8c0d2a388 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH10/EX10.2/Example_10_2.sce | 5f223922ad903de08d0f207b4f8ea008088472b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,182 | sce | Example_10_2.sce | clear;
clc;
printf("Example 10.2\n");
th=[0 0 3 7 22 32 46 55 80 106]; //Time in hours
tm=[0 26 5 36 16 38 50 25 22 25]; //Time in min
//Conversion to kilo seconds
for i=1:10
tm(i)=tm(i)*60;
th(i)=th(i)*3600;
tim(i)=(tm(i)+th(i))/1000;
end
L=[0 2.5 12.9 23.2 43.9 54.7 67.0 73.8 9... |
ebd320d6bb0b0670e6a1c9f94dacc364650c8524 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH6/EX6.5/Ex6_5.sce | 9237a298f41122898425719d3251cd3aa6d0e16e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Ex6_5.sce | //Chapter-6,Example 6_5,Page 6-27
clc()
//Given Values:
B=10.9*10^-5 //Horizontal component of B in wb/m^2
u0=4*%pi*10^-7 //Permeability in free space
H=B/u0 //Horizontal component of magnetic field
printf('Horizontal component of magnetic field is =%.1f Ampere/meter \n',H... |
a8a86bd74d3c27fd9a757fb5034a3b88c4184b30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH6/EX6.6/ex_6_6.sce | b507fe2295e30b2897822b75d0043608af6f65be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | ex_6_6.sce | syms d
Wmax=500
Wmin=200
sigmau=900
sigmae=700
FSu=3.5
FSe=4
Kf=1.65
A=(%pi/4)*d^2
Wm=(Wmax+Wmin)/2
sigmam=(Wm*10^3)/A
disp(sigmam,"Mean stress=")
Wv=(Wmax-Wmin)/2
sigmav=(Wv*10^3)/A
disp(sigmav,"Variable stress=")
0=1-((sigmam*Kf)/(sigmau/FSu))-(sigmav/(sigmae/FSe))//according to Soderberg's relation
d... |
cd23a810aa138065f7cc6cbc162b23347bc9e0bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.3/Ex13_3.sce | af85e7b46939bed2704524e8697af4bf8d8d14e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_3.sce | //EX13_3 PG-13.3
clc
clear
disp("representation of the number 567 in power of 8")
disp("N=(5*8^2)+(6*8^1)+(7*8^0)=375")
printf(" Therefore decimal equivalent of 567 is: ")
N=(5*8^2)+(6*8^1)+(7*8^0)
printf("%.0f",N)
|
1cd707ab336610862d585507197371092a315069 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH26/EX26.9/eg26_9.sce | 39ee43ebe989d894dd37e20e01ac26f1e9ab5d4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | eg26_9.sce | clear;
//clc();
s=15;
sa=complex(s,0);
s1=40;
sb1=complex(s1*0.6,s1*0.8);
sb=conj(sb1);
s2=25;
sc1=complex(s2*0.8,s2*0.6);
sc=conj(sc1);
st=sa + sb + sc;
t_kvar=sqrt((real(st)^2) + (imag(st)^2));
printf("The kVA is:%.2f kVA\n",t_kvar);
pf=real(st)/t_kvar;
printf("The power factor is:%.4f lagging... |
c9911d08d7fcfebe7eec93ee431a88bf6d59ec75 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/mao.tst | cff93607341061772ad578c201b51b37f06dd22d | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | tst | mao.tst | mahara mahara V;ACT
tahi tahia V;PASS
mahara maharatia V;PASS
whāngai whāngai V;ACT
momotu motukia V;PASS
hiki hiki V;ACT
mutu mutua V;PASS
aroha aroha V;ACT
mihi mihi V;ACT
tomo tomokia V;PASS
kī kī V;ACT
ako ako V;ACT
pātai pātaitia V;PASS
tūtaki tūtakitia V;PASS
motu motukia V;PASS
eke eke V;ACT
hora hora V;ACT
tuhi... |
577d4d42f84f5c17f52d329265f8870f9316e367 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PD2.prev.tst | ed795f7839560afa248cc08c273d23c4e6cad35b | [
"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 | 46 | tst | PD2.prev.tst | (3).degree() = 0
(3).degree(false) = 0
|
0f38c228727e6fa964eaba26b53af5c15bded19c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH3/EX3.1/Ex3_1.sce | 745356751f0fa54a70111ea29698de5795d1b8fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Ex3_1.sce | // Problem 3.1,Page no.54
clc;clear;
close;
P=40 //mm //Force applied to stretch a tape
L=30 //m //Length of steel tape
A=6*1 //mm //Cross section area
E=200*10**9*10**-6 //KN/m**2 //Modulus of Elasticity
//Calculations
sigma_L=(P*L*10**3)*(A*E)**-1 //mm
//Result
printf("The Elongation of steel tape is %.1f mm",s... |
6c5b7340de9d47a48c498caf47ba81429d53d9a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH6/EX6.9/exa6_9.sce | 81df6c32db005edfcc54af38e8e1c5587891dad2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | exa6_9.sce | // Example 6.9
// AC Network With a Controlled Source
// Form figure 6.22(b)
V_m=20; // Voltage phasor magnitude
phase_v=0; // voltage phasor phase
omega=1000; // Radian frequency (rad/s)
Z_R1=6;
Z_R2=12;
C=250*10^-6; // Farad
L=8*10^-3; // Henry
Z_C=1/(%i*omega*C);
Z_L=%i*omega*L;
// Using Proportionality ... |
7db94561aed452fbd28cef52ba0874cd2c4eae6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.9/ex6_9.sce | e37bff8fc568f3a2b9742cd42f6793cdcf5440af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | ex6_9.sce | // Exa 6.9
clc;
clear;
close;
format('v',7)
// Given data
Vout = 12.5;// in V
Vin = 0.25;// in V
Av = Vout/Vin;// unit less
disp(Av,"The voltage gain without feed back is ");
Vin = 1.5;// in V
Avf = round(Vout/Vin);// unit less
// Avf = Av/(1+(Beta*Av));
Beta = ((Av/Avf)-1)/Av;// unit less
Beta = Beta*100... |
ad63f4d8f5f2855afda35280f9e54c8c3523d863 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.11/Example1_11.sce | e36796b3e3eafa077c7026c9fa29d48370e30fbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Example1_11.sce | // Example 1.11
clear; clc; close;
format('v',8);
// Given data
f=50;//in Hz
P=4;//no. of poles
Pin=50;//in kW
N=1440;//in rpm
StatorLoss=1000;//in watts
FrictionalLoss=650;//in watts
//Calculations
Ns=120*f/P;//in rpm
S=(Ns-N)/Ns;//Slip
N=Ns*(1-S);//in rpm
P2=Pin-StatorLoss/1000;//in KW
//formul... |
f87880f647650ab52af382d94dfe29631c819c3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.10/Ex_6_10.sce | ea79fa40f702e8bb571b364d73c7e284ab618159 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Ex_6_10.sce | //Example 6.10
clc;clear;close;
x=[1 1 2 2 3 3];
//Calculation of DFT
X=fft(x,-1);
X=clean(X);
disp(x,'Given Sequence is x(n): ');
disp(X,'DFT of the Sequence is X(k): ');
subplot(3,1,1);
plot2d3(x);
title('Given Seqence x[n]:');ylabel('Amplitude-->');xlabel('n-->');
subplot(3,1,2);
plot2d3(abs(X));
title('Magni... |
cdc264687a29ab1a7cd916aeb68be0f78e2d1044 | 17d775a544e47ac1d2faf88f26b86d08afdcdf7c | /Rubik's Cube/rubixSolver/layouts/solved_layout_cube.tst | c7f7b5aa65ec1eb296a7b9c8273c9ab368921e30 | [] | no_license | PlenipotentSS/Python-Testing | fbe20bf9574b445da11b1abe844a402c7e51e2a0 | 3dcb029e08b751d38b799881bdff1135e236cb43 | refs/heads/master | 2021-01-23T03:53:24.574975 | 2014-03-16T20:30:15 | 2014-03-16T20:30:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | tst | solved_layout_cube.tst | ###TStar Version 05 Tree Description File
###USER=Unknown
###TIME=Sat Nov 28 21:46:28 2009
n=0;h=0;d=2;
v:op=12;n=1;h=0;d=2;
^
v:op=12;n=2;h=0;d=2;
v:op=0;n=3;h=0;d=2;
^
^
v:op=12;n=4;h=0;d=2;
v:op=0;n=5;h=0;d=2;
v:op=2;n=6;h=0;d=2;
v:op=2;n=7;h=0;d=2;
^
^
^
^
^ |
29f6955102a7a9f244d28a21660a9b07d6f2af1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH10/EX10.8/example8.sce | a98d2ea226287b7f259edc0c9b0847d2626e9611 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 916 | sce | example8.sce | // calculate output across load resistor
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 10-8, page 333
clear;clc; close;
// Given data
B=200;
re=180;// in ohms
R1=10*10^3;// in ohms
R2=2.2*10^3;// in ohms
Rc=3.6*10^3;// in ohms
Vg=1*10^-3;// in v... |
7d205d4d94a33d762ef97bcbc974b06eee20fbe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH12/EX12.2/122.sce | dbfab1d9f071a126e3a4167ea74ee95f5c741c9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | 122.sce | clc;
//Example 12.2
//page no 125
printf("Example 12.2 page no 125\n\n");
//to calculate reynolds number
L=2.54//diameter of tube in cm
rho=1.50//density of liquid in gm/cm^3
v=20//velocity of flow in cm/s
meu=0.78e-2//viscosity of liquid in g/cm*s
printf("\n diameter of tube L=%f cm\n density rho=%f gm/cm^3\... |
2b0cd1eafbd0fd5cecafd46c212e4737b98e5d48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH5/EX5.3.2/Ex5_3_2.sce | d54ccf725929ea62f64c965d83fca19df0cb8b52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | Ex5_3_2.sce | //Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
//Windows 8
//Scilab version- 6.0.0
//Example 5.3.2
clc;
clear ;
//given
lambda=1550;//operating wavelength in nm
deltalambda=1;//wavelength in nm
L=1;//length of fiber in km
Dmatlambda=20;//material dispersion in ps/nm.km
Dw... |
268972d36c187651783081f5717a4f1b9a3c93ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH16/EX16.5/Ex16_5.sce | cdda6437eb0f44bba8750910ffa2ea33a5a02d79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,433 | sce | Ex16_5.sce | //Variable declaration:
//From figure 16.13, for ideal countercurrent heat exchanger:
T1 = 150.0 //Inlet temperature of hot fluid ( F)
T2 = 100.0 //Outet temperature of hot fluid ( F)
t1 = 50.0 //Inlet temperature of cold fluid ( F)
t2 = 80.0 ... |
62485bdf50002a55d95b574bc154766d9934eec1 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /ppppStrafer6ShooterInvincible.sce | a1aa46575bff2b387fb45cb05f200666fcbef262 | [] | 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 | 219,035 | sce | ppppStrafer6ShooterInvincible.sce | Name=ppppStrafer6ShooterInvincible
PlayerCharacters=6Shooter
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=6Shooter
AddedBots=Quaker Bot Fast Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=cataIC.map
MapScale=3.8125
BlockProjectilePredictors=true
Blo... |
8759533e8e387cc2d2dd580a08d5ae6566e85a71 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.12_18.tst | f713fba1f3728a370ea41f09709ec0c53291fb5a | [] | 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 | 393,465 | tst | 5.12_18.tst | 12 363:1 398:1 451:1 835:1 923:1 3642:1 4504:1 4509:1 4844:1 6388:1 6962:1 7071:1 7870:1 8029:1 8050:1 8108:1 8408:1 8598:1 9765:1 12149:1 12356:1 13681:1 13930:1 14020:1 14300:1 15892:1 17069:1 17449:1 18244:1 18295:1 18342:1 19214:24 20074:1 22598:1 22733:1 23013:1 23090:1 23897:1 24419:1 24775:1 26345:1 27929:1 2873... |
4f85a6bca6accbad1dd01c1e9514d4f379024617 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH29/EX28.14/EX28_14.sce | cabe16b1720b681bcd35fec3a90ab508f1f3eb0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 885 | sce | EX28_14.sce | // Grob's Basic Electronics 11e
// Chapter No. 28
// Example No. 28_14
clc; clear;
// For the pnp transistor, solve for Vb, Ve, Ic, Vc, and Vce.
// Given data
R1 = 33*10^3; // Resistor1=33 kOhms
R2 = 6.2*10^3; // Resistor2=6.2 kOhms
Rc = 2*10^3; // Collector resistance=2 kOhms
Re = 500; ... |
c9ca245c2f17dd0511db445b92f643c0229e7a14 | 51c4c028f490213495b3a6df77e94afcfa03c254 | /scara/InverseKinem.sci | 537d967973667b07a9e794f231ace87794b4d057 | [] | no_license | dgerod/robotics-utils | d8b130290ba77a3aa2fbe9502c39cfba78f40609 | 5d5d6c4c426de3bf859303b56c431ecd4b203d86 | refs/heads/master | 2020-05-17T08:31:03.702958 | 2016-08-20T11:14:57 | 2016-08-20T11:14:57 | 32,637,117 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,647 | sci | InverseKinem.sci | // =================================================================================
// InverseKinem.sci
// =================================================================================
function [Ret, Joints] = scrInvKinem (KinemParams, TCP0)
//
// DESCRIPTION
// Solves the Inverse Kinematics problem of a Scara-R... |
44d9e7439b33701f111dac26447aefc0529799d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH4/EX4.4/Ex4_4.sce | 8c5951e2ae228f664e9ed70f268e92c68a27a479 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | Ex4_4.sce | // Example 4.4
clc;
clear;
close;
// Given data
format('v',6);
Vout= '(-2*V1+3*V2+4*V3)';//given expression
R3= 10;// in kΩ
// Vout= -(Rf/R1*V1+Rf/R2*V2+Rf/R3*V3) (i)
// Compare equation(i) with given expression
Rf= 4*R3;//in kΩ
R2= Rf/3;// in kΩ
R1= Rf/2;// in kΩ
disp(Rf,"The value of Rf in kΩ is :... |
aa54d54c684f40327fb5f6567012a5a55b0c9998 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH7/EX7.2/ex7_2.sce | d33edda71be3b58038578c4faa6a8b01bb3d7f19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | ex7_2.sce | // Exa 7.2
clc;
clear;
close;
// Given data
H1 = 3100;// in kJ/kg
H2 = 1950;// in kJ/kg
C1 = 20;// in meter/second
C2 = 30;// in meter/secon
Q = 0;// in kJ/kg
Q_desh= 20;// in kJ/kg
Vs= 1.1;// in m^3/kg
W = H1-H2+(C1^2-C2^2)/(2*1000)+Q-Q_desh;// in kJ/kg
m= 2;//mass flow rate in kg/sec
Power= m*W;// in kW... |
8d55aac4a0ba74614d80089d8a6cd11f633de715 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.14/Ex7_14.sce | 8b5a630a0b7440f8e7dbd37f71ccfebae8178ea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex7_14.sce | // Exa7.14
clc;
clear;
close;
// given :
phi=5 // HPBW,half power beam width in Degrees
phi_not=2*phi // BWFN, null-to-null beam width in degrees
Lm=poly(0,'Lm') // defining Lm as lambda
// formula : phi=70*(Lm/D_a) // where Lm is wavelength in m and D_a is mouth diameter in m
D_a=(70*Lm)/phi
G_p=6.4*(D_a/Lm)... |
066e4692e176d6b4fe9f2117d457aee97620f8fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH4/EX4.1/4_1.sci | b208e33ab4d161bf4aa956bd0690b3abde9a0f72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sci | 4_1.sci | // calculating the temperature after 1.5 s
clc;
th0=100;
t=1.5;
tc=3.5;
th=th0*[1-exp(-t/tc)];
disp(th,'temperature after 1.5 s (degree C)') |
1f47ba82d2507f6435c759fa8e0f15e885508d4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH6/EX6.4/Example64.sce | 0db8cb2755aa0eef8dbcdc066be3b2dacfd62e76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,373 | sce | Example64.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 6 Example # 6.4 ")
//Temperature of device casing in degree K
Ts = 353;
//Length of holes in m
L = 0.3;
//Diameter of holes in m
D = 0.0025... |
2a6a08f6900a6c55895b34779dbf12d5ccba84a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH18/EX18.6/S_18_6.sce | ec68e9cd483c1965f1ae4d2ad47afcb5722444f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,110 | sce | S_18_6.sce | clc;
m=300;//g, mass of each rod
mom=1/1000;//given mo/m
vo=2000;//m/s, relative velocity
wo=60;//rpm
wo=wo*2*%pi/60;//rad/s, conversion
a=800;//mm, radius of disk
a=a/1000;//m, conversion into meter
//By theorytical work we get
wx=-4/5*mom*vo/a;//rad/s , x component of angular velocity
wy=0;//rad/s , y comp... |
c5df027e7af37ba61cfb0fa266d5c4875dc036e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.31/ex1_31.sce | a97cff8352810270f080c823cd5edfca43d904df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | ex1_31.sce | //Exa:1.31
clc;
clear;
close;
f=50;//in hertz
P1=6;//No. of poles
P2=4;//No.of poles
N_s1=120*f/P1;//Synchronous Speed of 6-pole motor
N_s2=120*f/P2;//Synchronous Speed of 4-pole motor
N_sc1=120*f/(P1+P2);//Concantenated Speed of set when cumulatively compounded (in rpm)
N_sc2=120*f/(P1-P2);//Concantenated Sp... |
a70e2fd830d9ba1d6d6a2929ec8b425353b045b2 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.8/EX8_8.sce | a8ffc0430b69a9a2eabe00604f318368cf34af7e | [] | 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 | 959 | sce | EX8_8.sce | clc;funcprot(0);//Example 8.8
//Initilisation of Variables
mh=10;....//Mass flow rate of water in kg/s
L=6.7;.....//Lemgth of the tubes in m
Do=0.026;....//Diameter of tube in m
hi=470;....//Inside heat transfer coefficient in W/m^2 K
ho=210;.....//Outside heat transfer coefficient in W/m^2 K
Tci=15;......//Inle... |
2368ba401c55f2af831ce6d04cda17f1c9a73462 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamUtilities/SxP_InteViewer/SxP_InteViewer_DiffModeSelGUI_v1.sci | 543b022f4aa2738f01eb7bb7cabf8727aef8e172 | [] | 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 | 4,287 | sci | SxP_InteViewer_DiffModeSelGUI_v1.sci | // ====================== S-params Converter ====================
//
// (Semi)Intelligent Differential S-param Viewer
//
// Diff port mode selection GUI
//
// (c)2014 L. Rayzman
//
// GUI interface based on UICONTROL2 GUI demo
//
// Created : 06/23/2014
// Last Update :
//
// ==============... |
2297e586dbf4f71055d1b4e475a90411aef2df89 | 3267dfd638e022b81b44b942a9de44ac896514a1 | /formula.sci | 9605da0d7ac71a3dd7c75d55475fc9abdb584093 | [] | no_license | triv82564/Mass-Transfer-Lab | be5acd413972311bb3adba7e8fc9690a3f616763 | 2323baeaf390ac02e2a95cb0605029dd3b48cc8a | refs/heads/master | 2021-01-01T16:53:08.288071 | 2017-07-21T12:09:17 | 2017-07-21T12:09:17 | 97,940,517 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sci | formula.sci | function y1=formula(u1);
y1=-5169*u1*u1+21240*u1+6135;
disp(y1);
endfunction
|
7addbb14c8795a91afcd996d46e35f00674b34cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH7/EX7.10/Ex7_10.sce | 459f61a1765f4dcfd6d8310901e6b371478da41f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,111 | sce | Ex7_10.sce | // exa 7.10 Pg 212
clc;clear;close;
// Given Data
d=35;// mm
d2=125;// mm
n=6;// factor of safety
T=800;// N.m
N=350;// rpm
tau_s=63;// MPa
tau_b=56;// MPa
tau_CI=10;// MPa
tau_k=46;// MPa
// Diameter of bolts:
F=2*T*10**3/d2/n;// N
//%pi/4*db**2*tau_b=F
db=sqrt(F/(%pi/4*tau_b));// mm
printf('\n (i) Diameter of bolts... |
e6eb74bf5755b8bd7a409a7ad26796e84395ac33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.18/ex1_18.sce | 1ea21df4d7cc6e56489ec76e225ffac0889e330a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | ex1_18.sce | // Exa 1.18
clc;
clear;
close;
// Given data
V_gamma = 0.7;// in V
R1 = 5*10^3;// in ohm
R2 = 10*10^3;// in ohm
V=5;// in V
disp("Part (a)")
I_R2 = (V-V_gamma-(-V))/(R1+R2);// in A
I_D2 = I_R2;// in A
disp(I_D2*10^3,"The value of I_D1 and I_D2 in mA is");
V_o = V - (I_D2 * R1);// in V
disp(V_o,"The value ... |
ef61873f0053ebad038aedd006e74f4cae78ef20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH7/EX7.6/Ex7_6.sce | 9b70c1bbceca42b61ae146c727089eaa76f8a835 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Ex7_6.sce |
clc
//initialisation of variables
T1=500 //R
T2=2000 //R
P1=30 //lbf/in^2
P2=20 //lbf/in^2
M=32.00 //ft
S2=11.515*log(T2/T1)
s1=2*172*(1/sqrt(T2-1/sqrt(T1)))
s=-1530*[(1/T2-1/T1)]
s3=-1.986*log(P2/P1)
//CALCULATIONS
S=S2-s1+s+s3//Btu/lb mole R
S2=S/M//Btu/lbm-R
//RESULTS
printf('The change in entropy p... |
f9807f42ce731ec19456914e82a89ea5e6dbddee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.21/Example5_21.sce | 766f99576390ad54921aa13b5a79395b3c3aa0a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 997 | sce | Example5_21.sce | //Exa 5.21
clc;
clear;
close;
//Given data :
P=50*10^6;//VA
pf=0.8;//power factor
cos_fi_r=pf;
sin_fi_r=sqrt(1-cos_fi_r^2);
A=0.98*expm(%i*%pi/180*3);//parameter of 3-phase line
D=0.98*expm(%i*%pi/180*3);//parameter of 3-phase line
B=110*expm(%i*%pi/180*75);//parameter of 3-phase line
C=0.0005*expm(%i*%pi/1... |
e705e51f58c5767636da050055a31e0f7fb5f482 | aef26b59d30e6dadcb4ad4adca5fef486bba8f39 | /测试游标更新数据.tst | 803c439aacb9498b721e3da03e2011d546058094 | [] | no_license | BinYangXian/ora | 23141658d122e552ae63d2c091a0b038446da275 | ebb23fed403da5248f8926f902a247b4046e540c | refs/heads/master | 2021-01-20T15:07:10.757649 | 2017-05-09T08:34:52 | 2017-05-09T08:34:52 | 90,722,061 | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 560 | tst | 测试游标更新数据.tst | PL/SQL Developer Test script 3.0
21
-- 测试游标更新数据
-- 默认情况 游标是只读的
declare
-- 声明游标
-- 用 for update表示用于更新
cursor emp_cursor(l_deptno number) is select * from emp_bak e where e.deptno=l_deptno for update;
begin
for emp_row in emp_cursor(20) loop
-- 更新值到当前的记录
update emp_bak e set e.sal=3... |
11d1d0221956c8404c4462b36e0f9d5addb046d1 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_InternalUsage/test.SCI | a3745e69467fbc9e247ce7f3d46861ddb62df423 | [
"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 | 804 | sci | test.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
sss.ambientlightcolor=color(0.15,0.15,0.15);
#sss.VolumeShadowAdd(0,color(0,0,0,0.5),0.002,20);
refframe=sss.addsubframe("refframe");
sf1=sss.addsubframe("sf1");
obj=sf1.add("SolidObject");
cset=Contour(list(point(0,0,0),point(0,1... |
001902dbeafc0bdf2e3dba03ca768a812b7fe9f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH13/EX13.4/ex13_4.sce | 26d7808682412e4d772604b05f3e7c139bfbd82e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | ex13_4.sce | //ex13.4
V_IN1=3;
V_IN2=1;
V_IN3=8;
//all resistors are of equal value so weight of each input is 1
V_OUT=-(V_IN1+V_IN2+V_IN3);
disp(V_OUT,'output voltage in volts') |
c643f2fea80449c8bb3d656921c26640c7efdc43 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/tdcs/tdinit.sci | 4d967574526295935fd6d6ea51439f93c87429ba | [
"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 | 2,879 | sci | tdinit.sci |
//[]=tdinit()
tit=["bioreactor model initialisation";
"competition model initialisation";
"system with limit cycle ";
"linear system ";
"quadratic model ";
"linear system with a feedback ";
"pray predator model initialisation"]
ii=x_choose(tit," Systems Initialisation ");
k=0;
debit=0;
x2in=0;
ppr=0;
ppa=0;
pps=... |
558d7f846228de71b8498b82fbee4374e49ea401 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH4/EX4.3/EX4_3.sce | 93e14b03ad3d99193adfcd49bacddf5be0b02ab3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,179 | sce | EX4_3.sce | clc
//code uses userdefined function complexstring
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
//induction machine parameters in ohms
r1=0.39 //pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.