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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c370d4037a3899d2b2ef51397e9da49149d4aec7 | eca77d5c83eb4c2e49f6ea245043104ffd14ad86 | /Second order/second_order_with_damping_factor_003.sce | 92a2cdc167b277a8b68b546cdc000cbd678eeb2b | [] | no_license | yashvarshney003/Control-System | 6ab69cb11db5f8806858dbffcee3c9b082802c20 | 3ae154e41bbb028cbb250161496e7b7ed0a0e66e | refs/heads/main | 2023-04-02T08:47:30.936576 | 2021-03-22T13:19:07 | 2021-03-22T13:19:07 | 350,291,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | second_order_with_damping_factor_003.sce |
s = %s
sysl = syslin('c',1,(s*s+0.3*2*s+1));
xtitle( 'Second order step response with damping factor 0.3', 'X axis', 'Y axis' ) ;
t =0:0.1:10;
y = csim('step',t,sysl)
plot(t,y)
|
c7ba4b3e4183522c0f3771d32d9a655359929e96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH2/EX2.5/Ex2_5.sce | 18e1d2e3241ba3ee441e214d41505835119559e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Ex2_5.sce | ////Given
W=3 //ev
h=6.63*10**-34
e=1.6*10**-19
lembda=3.0*10**-7 //m
c=3*10**8 //m/s
//Calculation
v0=(W*e)/h
v=c/lembda
E=h*(v-v0)
E1=(h*(v-v0))/(1.6*10**-19)
V0=E/e
//Result
printf("\n (a) Threshold frequency %0.2f... |
f02c203aeea681f533608783b153369f6579c570 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/xdess/contourf.sci | 7a9492fcdd1450e52685e1cc65cbdced71673610 | [
"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 | 2,673 | sci | contourf.sci | function contourf(x,y,z,nv,style,strf,leg,rect,nax)
[nout,nin]=argn(0);
if nin==0,
s_mat=['t=-%pi:0.1:%pi;m=sin(t)''*cos(t);contourf(t,t,m);'];
write(%io(2),s_mat);execstr(s_mat);
return;
end;
if nin <= 8 then nax=[1,10,1,10];end
if nin <= 7 then rect=[0,0,1,1];end
if nin <= 6 then leg=" ";end
if nin <= 5 the... |
38ae0aa218cd92790ab089d50dfdcfa219e2ebc3 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH3/EX3.6/Ex3_6.sce | a5306ec446a69d34498d416648fb07cc0a9f17ee | [] | 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 | 414 | sce | Ex3_6.sce | //Chapter 3 : Systems of Linear Equations
//Example 3.6
//Scilab 6.0.1
//Windows 10
clear;
clc;
lambda=3 //assume lambda to be 3
P=[1 lambda 0;0 1 0;0 0 1];
A=[1 3;5 7;9 11]; //let A be any 4*2 matrix
disp(P,'P:')
disp(A,'A:')
disp(lambda,'lambda:')
PA=P*A;
disp(PA,'PA')
mprintf('the effect of mul... |
4f1a5417ab9e260c3d7b273abe3794ce855bdbfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH7/EX7.7/Ex7_7.sce | b614da60969af488591422ccb9f92b83e5859e4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | Ex7_7.sce | //Example number 7.7, Page number 148
clc;clear;
close;
//Variable declaration
epsilonr=1.0000684; //dielectric constant
Na=2.7*10**25; //number of atoms
x=1/(9*10**9);
E=10**6; //electric field(V/m)
e=1.6*10**-19; //charge(c)
Z=2; //atomic number
//Calculation
r0=((epsilonr-1)/(4*%pi*Na))**(1/3); ... |
ba6ddd8fe148e3b00b0a2c912f31e4fc1ed467cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH10/EX10.3/10_3.sce | 6c6ba17c2e497239add1a5cb62cbb52c810403ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | 10_3.sce | clc;
clear;
y=5;//ft
angle=40;//degree
l=12;//ft
rate=1.4;//ft per 1000 ft of length
K=1.49;
A=(l*y)+(y*y/tan(angle*%pi/180));//ft
P=(l+(2*y/sin(angle*%pi/180)));//ft
Rh=A/P;
S0=rate/1000;
x=K*(A)*(Rh^(2/3))*(S0^0.5);//where Rh=Q*n
n=0.012;
Q=x/n;//cfs
disp("cfs",Q,"The flowrate=")
V=Q/A;//ft/sec
Fr=V/(... |
a73605b1734752cab53a55339dc972906635faa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH8/EX8.6/ex_8_6.sce | 9a1124b08b4ecbc7fd37b50a0d6a7c99371b9b4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | ex_8_6.sce | //Example 8.6 //current
clc;
clear;
close;
V=220;// in volts
I=60;// in amperes
rpm=728;//turns
Ts=150;//shaft torque in N-m
nc=80;//commercial efficiency in percentge
I=((Ts*2*%pi*rpm*746)/(60*746*(nc/100)*V));// CURRENT TAKEN IN AMPERES
disp(round(I),"current taken in amperes is")
|
46a09f627850748359c8e805c98be530308e3c04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.53/53.sce | ab3be111f80be8c2d0675bbf3fd4b51ee510c6b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | 53.sce | clc
m=1; //kg
p=8; //bar
s1=6.55; //kJ/kg.K
T=200; //0C
s_f1=2.0457; //kJ/kg.K
s_fg1=4.6139; //kJ/kg.K
h_f1=720.9; //kJ/kg
h_fg1=2046.5; //kJ/kg
h2=2839.3; //kJ/kg
x1=(s1-s_f1)/s_fg1;
h1=h_f1+x1*h_fg1;
Q=h2-h1;
disp("Heat supplied=")
disp(Q)
disp("kJ/kg")
// For T-s diagram
s=0:0.01:10;
T=(-(s-5... |
5999c6b1930233b7d08b6cc4ae5d69d60fca1552 | 7aa77691bc0b5d9ee58a4a4f0de52da13ffda85d | /projet/test/positionnement_noeud/test3.sce | d3fc44812e15bd5b897f64352f49f00087b0288a | [] | no_license | hadjiszs/Visu_algo | 17be65bd17953697500800aed1d35443ee3836a7 | f550b4597a2de310c699c509fbddf7ab4971206f | refs/heads/master | 2020-12-24T08:24:01.127475 | 2018-11-19T22:48:24 | 2018-11-19T22:48:24 | 37,379,266 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,906 | sce | test3.sce | // Test avec la matrice suivante :
K3 = [
5 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
0 8 0 -1 0 0 0 0 0 0 0 0 0 -1 -1 0 0 0 0 0 -1 -1 0 0 0 -1 -1... |
7aff708e16dded1df5cde7e56b5c414471b2b6b5 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/scilab/class/runme.sci | 1303e1d01805530fcab7b8bc41f2c309f1ecaec3 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:e4f17a20b437ad0380615d976dc9fed8d520706e9de201f324064117bb37ef11
size 1142
|
c33416473138872be841d6704fa6dd68007819ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH10/EX10.1.2.a/10_1_2_a.sce | 6f077d20de67489af859ca089d558cb9bf5a6b2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | 10_1_2_a.sce | //CAPTION: Linear_Magnetron
//chapter_no.-10, page_no.-459
//Example_no.10-1-2a
clc;
//(a) Calculate_the_electron_velocity_at_the_hub_surface
em=1.759*(10^11);//em=e/m
Bo=.015;//Magnetic_flux_density
d=5*(10^-2);//Distance_between_cathode_and_anode
h=2.77*(10^-2);//hub_thickness
V=em*Bo*h;
disp(V,'the_... |
38a9d60e0707e0286385ecadcd91f26e27722da1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH23/EX23.7/ex23_7.sce | 4fe1a8bc0ee7e36ddc73e65d6c298122865f89bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex23_7.sce | //23.3
p=30//in cm
f=10//in cm
x=(1/f)-(1/p)
q=1/x
M=-(q/p)
disp("part a")
disp(q,"The position of final image in cm=")
disp(M,"The magnification=")
p=5//in cm
f=10//in cm
x=(1/f)-(1/p)
q=1/x
M=-(q/p)
disp("part b")
disp(q,"The position of final image in cm=")
disp(M,"The magnification=")
|
cee720df41bf49262b8701be46dade539749993d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH5/EX5.21/Chapter5_Example21.sce | 3ec882135de958a9fc22f0117894477e47cf4762 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | Chapter5_Example21.sce | clc
clear
//Input data
n=1.66*10^-4;//The viscosity of the gas in dynes/cm^2
C=4.5*10^4;//The R.M.S velocity of the molecules in cm/s
d=1.25*10^-3;//The density of the gas in g/cc
N=6.023*10^23;//The Avogadro number
V=22400;//The volume of a gas at N.T.P in cc
pi=3.142;//The mathematical constant of pi
... |
9df190ceaec7c719aae5eb8d73b2f4eb51450a9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH7/EX7.1/Example7_1.sce | a63cde4e40f0d70dd8daa0aeabda1820c4ce4083 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example7_1.sce | //Euler's Method
clc;
clear;
close();
format('v',8);
funcprot(0);
deff('[g]=f(x,y)','g= -y^2/(1+x)');
y = 1;
x = 0;
h = 0.05;
while x<0.2
y = y - 0.05*y^2/(1+x);
x = x + h;
disp(y,x,'Value of y at x :');
end
disp(y,'The calculated value of y(0.2):');
x = 0.2;
act = 1/(1+log(1+x));
disp(act... |
115988c570aea7f7ae0558b9f1e1c3b4226de78c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH7/EX7.11/Exa7_11.sce | 1a08627cb9ce7dcdcf1b9fefcc2c5893a33b673a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | Exa7_11.sce | //Exa 7.11
clc;
clear;
close;
//Given data :
format('v',7);
l=600;//in meter
VA=440;//in volt
VB=400;//in volt
R=0.01;//in ohm/100m
RAC=(R/100)*300;//in ohm
RCD=(R/100)*300;//in ohm
RDE=(R/100)*100;//in ohm
REF=(R/100)*200;//in ohm
RFB=(R/100)*300;//in ohm
//VA-VB=VAC+VCD+VDE+VEF+VFB;//in volt
IA=(VA-V... |
9f9417641e7281e6b97160d9086b0ae0b2466f0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.1/example1_1.sce | 4aec05f4418491538e6e7b2c8ec05f3cb3f675a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | example1_1.sce | clc
// Given that
lambda = 6.6e-7 // wavelength of light in meter
L = 1.32e-5 // coherence length in meter
// Sample Problem 1 on page no. 1.40
printf("\n # PROBLEM 1 # \n")
printf("\n Standard formulae used \n delta_L = c * delta_t \n")
coherence_time = L / (3 * 10 ^ 8)//calculation for coherence time
printf("\n Cohe... |
89817059b61a61a07a02d66bc003e5d2f6caf0b6 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH9/EX9.10/Ex9_10.sce | 9d3ddd12acb3a6c2d585760c32de0dc2cddcc9b9 | [] | 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 | 369 | sce | Ex9_10.sce | //Chapter 9 : Eigenvalues and Eigenvectors
//Example 9.11
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[2 1;1 0]
disp(A,'A=')
eig=spec(A)
disp(eig,'eigen values are')
P=[1 1;-eig(1) -eig(2)]
disp(P,'P=')
pap=inv(P)*A*P
pap(1,2)=round(pap(1,2))
pap(2,1)=round(pap(2,1))
disp(pap,'P^-1AP=')
invp=(1/(2*sqr... |
11c39e3bb06d43c5e9b6368d3be6e546afbb565b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH3/EX3.5/Example_5.sce | 589cf1fdd399a6da2a649df298008cff52cae2c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Example_5.sce | //Chapter-3,Example 5,Page 57
clc;
close;
//Part (a)
t_half= 1620 //half life of radium
lamda= 0.693/t_half
//as radium lose one centigram mass
N_0=100 // in centigram
N_1=N_0-1
t_1=log10(N_0/N_1)/(lamda*log10(%e))
printf('Part (a)---total number of years required are %.2f years ',t_1)
//... |
a14b933c80d06be664f7ca0aeae494beb40c5891 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH1/EX1.3.i/I1_3.sce | b4aea7716127eff82057765e84959dcdf3bcfab1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | I1_3.sce | clc
//Initialzation of variables
T1=298//K
T2=273//K
//Calculations
factor=sqrt(T2/T1)
percentage=(1-factor)*100
//Results
printf('Percentage loss of speed of air molecules = %.2f',percentage)
|
1c240acb42e11f3aaf61d90cea077d963dadebfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.11/example11.sce | fdcfda70d374530c9ae8d7a80da2232f98fd195a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,639 | sce | example11.sce | clc
clear
//input data
N=3600//Running speed of blower in rpm
Dt=0.2//The rotor tip diameter in m
Dh=0.125//The rotor hub diameter in m
P1=1.013//The atmospheric pressure in bar
T1=298//The atmospheric temperature in K
m=0.5//Mass flow rate of air in kg/s
db=20//The turning angle of the rotor in degree
b1=55... |
9df3472bc2ea6ebc9f537510fff50ddd6d92f7cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX6.19/Ex6_19.sce | 126f637d0c2161d7f6114b8f18fdc21204a5d3b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,101 | sce | Ex6_19.sce | //Example 6.19
//PID compensation design for spacecraft attitude control.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function
s=poly(0,'s');
G1=(0.9/s^2);
G2=(2/(s+2));
G=G1*G2;
Gs=syslin('c',G);
// PID controller para... |
800042158c96c00c4676ea4eb2cf0aa6d8cc9785 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH8/EX8.1/P8_1.sce | 32ff051a384403be805796167b9fd4a90bb3d926 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | P8_1.sce | //EXAMPLE 8.1
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS EXAMPLE
//Digital filter structure
clear;
clc;
syms W1 W2 W3 X Y a d B y E z;
//Equations obtained are as follows:
W1 = X - a*W3/z;
W2 = W1 - d*W2/z;
W3 = W2/z + E*W2;
Y = B*W1 +y*W3/z;
//Solving the above equations:
Hz=(B + (B*d+y*E)/z + y/(z^2))/(1 + (d+a*E)/z ... |
8b201350e7e09dbbd3c5511bda69af44ea0a8b26 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_B._Kumar_And_S._B._Jain_135.zip/Electronic_Devices_And_Circuits_B._Kumar_And_S._B._Jain_135/CH5/EX5.16/EX16.sce | e8e8f40f753dd2777af0ba7ef4b152cee9a6cc20 | [] | 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 | 258 | sce | EX16.sce | errcatch(-1,"stop");mode(2);// Example 5.16: Io
,
bta=100;
VBE=0.7; // in volts
// From Fig. 5.30
// Writing KVL for the indicated loop
I_ref=(10-VBE)/10; // in mili-amperes
Io=bta*I_ref/(2*(1+bta)); // in mili-amperes
disp(Io,"Io (mA) =");
exit();
|
2a7b33974dfcda17922c2f22445bf35630bcc69b | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH10/EX10.1/ch_10_eg_1.sce | 077dfb5689c4b13a3c8be0596dd698f1cd9740ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 937 | sce | ch_10_eg_1.sce | clc
disp("the soln of eg 10.1-->2-D steady heat conduction-Gauss Seidel method ");
for i=1:9,tnew(i)=101,e(i)=1 //assumed values
end
t=1e-6
//since all the nodes are interior nodes so discretized eqn used is eqn 10.10
while e(1)>t&e(2)>t&e(3)>t&e(4)>t&e(5)>t &e(6)>t& e(7)>t& e(8)>t & e(9)>t ... |
40333a45470c906123a1f3d1677a22e4cb4184e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.54/Ex4_54.sce | 9b83a4ecc7900e59abd2c75c522b99b50a15b5a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,067 | sce | Ex4_54.sce | clc;
v=230; // rated voltage of dc shunt motor
n=1000; // rated speed of motor
rf=115; // field resistance
ra=0.5; // armature resistance
ia=4; // no load armature current
k=(v-ia*ra)/(2*%pi*n/60); // constant term in formula of back EMF
disp('case a');
t=80; // load torque
ia2=t/k; // armature load current
E... |
c8a71319e0edcaa6d488e95eb55f2d6328170209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH6/EX6.21.3/Example_6_21_3.sce | a9d19a02ac314aac981c0a5f6b34b6d5d7d15335 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 904 | sce | Example_6_21_3.sce | // Example 6.21.3 page 6.60
clc;
clear;
tr=50; //radiative recombination lifetime
tnr=110; //non-radiative recombination lifetime
h=6.624d-34; //plank's constant
c=3d8; //speed of light
q=1.6d-19; //charge of electron
i=40d-3; //current
lamda=0.87d-6; //wavelength
t=tr*tnr/(tr+t... |
8b16e97352cb0165d29a601a3d5f79022a82fd52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH3/EX3.7/Ex3_7.sce | 3672376faf4457a5b761fc7834cce1a49b6ceb9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 947 | sce | Ex3_7.sce | clc;
//page 185
//problem 3.7
//Given input inmedance of matching networkis R1 = 10 ohm & output impedance of matching networ is R2 = 50 ohm & carrier frequency is fc = 500 KHz
R1 = 10
R2 = 50
fc = 500000
//Wc = 2*pi*fc
Wc = 2*%pi*fc
//AS R1 = R2*(X2^2)/[(R2^2)+(X2^2)], X2 = 25ohm
X2 = 25
//AS X1 = (... |
96a27c561a25189c3b71738c4fc81d9ec17111b0 | 18bf68cdf766092ccdcba8d231e8140063833a5a | /DistortionCT.sce | a46054608ab139a07f7b3fcb6a0e2dd7d820ac3d | [] | no_license | goodengineer/Scilab-Exercises | b51cc9a4c938f0289a32875d2d21eb9061d0e68e | 3c268211fe48e7e4d0002e44757ea8b50cda10f9 | refs/heads/master | 2022-12-24T23:30:12.875423 | 2020-10-05T06:27:20 | 2020-10-05T06:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,100 | sce | DistortionCT.sce | // (Distortion in CT system)
// Exercise 5
clear;
clf;
dt = 1/10000;
t = -0.01:dt:0.01;
x1 = sin(2*%pi*100*t)
subplot(231)
plot(t,x1,'y');
title("x1 vs time","fontsize",3)
x2 = sin(2*%pi*200*t)
subplot(232)
plot(t,x2,'r');
title("x2 vs time","fontsize",3)
x = x1 + x2; // input signal
subplot(233)
plot(t,x,'m')
ti... |
00164bffedc151d917de556ea9cc4f81dc960d0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH12/EX12.2/Example12_2.sce | f16521be4ef338c1eee4d411b396e4fb37beb302 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | Example12_2.sce | //Example 12.2
//Program to determine the required electrical and optical SNR
clear;
clc ;
close ;
//Given data
BER=10^(-9); //BIT ERROR RATE
//Optical SNR
SNR_op=(erfinv(1-2*BER))*2*sqrt(2); //erfc(x)=1-erf(x)
//Electrical SNR
SNR_el=((erfinv(1-2*BER))*2*sqrt(2))^2; //erfc(x)=1-erf(x)
... |
baa815e3472ba11bcdaf74ff35013cd0a57d4593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.41.1/Ex4_41.sce | 33d5a42ef62b874ad1e777054e9c2f89a5bb4f99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | Ex4_41.sce | clc
clear
//At 7 bar pressure
P1=7; //in bar
P2=1; //in bar
n=1.1;
//Now according to law of expansion P(V)^1.1= Constant
Vg1=0.273; //in m^3/kg
V1=Vg1;
V2=((P1/P2)^(1/n))*V1;
W=((P1*100*V1)-(P2*100*V2))/(n-1);
printf('Work Done: %3.1f kJ/kg',W);
printf('\n');
H... |
31d670c725759a8b8813350de8b32fd040816fba | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH4/EX4.14/Chap4_Ex14_R1.sce | 6193e71341f88cc1fb1cca702ab7f6d201459248 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,729 | sce | Chap4_Ex14_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 14,Page 113
//Title:Final state and mass of steam that entered the tank
//================================================================================================================
clear
clc
/... |
47374c2ad47f795275e41958e00590de931c8d04 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/tagdelete.tst | c562aa2cd554e5770ab1269ede6629196bdf0213 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 95 | tst | tagdelete.tst | ## Test of tag deletion by regexp
set echo
read <snarl.svn
tag /INITIAL_IMPORT/ delete
write -
|
051b470b198b05b47625f8fbbc3827b10da0d51a | aff46b76a63ef72594e71ad416ae8874689839ba | /aa.sce | c8fcff2ca63ac49e4865a93974c5a6f715475adf | [] | no_license | bitz1119/scilab_code | 1ad6d800661d50975219325083f1dad6232ce51b | fa8501bc0f9527e776510fc2ecf04b351f4c067f | refs/heads/master | 2021-05-09T19:15:18.261766 | 2018-04-13T19:03:00 | 2018-04-13T19:03:00 | 118,636,227 | 0 | 1 | null | 2020-09-30T19:32:49 | 2018-01-23T16:21:04 | Scilab | UTF-8 | Scilab | false | false | 386 | sce | aa.sce | clc;
m = input('enter row');
n = input('enter col');
a = zeros(m,n);
b = zeros(m,n);
c = zeros(m,n);
disp('enter elements');
for i = 1:m
for j = 1:n
a(i,j) = input('');
end
end
disp('enter elements');
for i = 1:m
for j = 1:n
b(i,j) = input('');
end
end
for i = 1:n
for j = 1:m
... |
ccc44ac9ed621cf223d2d49208067477a39315b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH13/EX13.10/ch13_10.sce | a77a96176654fac12ef42a70df5b805b9c393b8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch13_10.sce | // To determine the short circuit capacity of each station
clear
clc;
X=1200*100/800;// percent reactance of other generating station
Xc=.5*1200/(11*11);
Sc=1200*100/86.59;// short circuit MVA of the bus
Xf=119.84;// equivalent fault impedence between F and neutral bus
MVA=1200*100/Xf;
mprintf("short circuit ... |
ebdcb14a07ccc0b800942cc21d9901e14f932502 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH11/EX11.6/C11P6.sce | 7948007c40f85be932e8724aa53da73ab2884006 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | C11P6.sce |
clear
clc
//to find kinetic energy
// GIVEN::
//distance travelled by neutron
d = 6.2//in meters
//time for neutron travel
t = 160//in micrometers
//mass of neutron
m = 1.67e-27//in kg
// SOLUTION:
//speed of neutron
v = d/(t*10^-6)//in m/s
//applying formula for kinetic energy
//kinetic energy... |
2bc58a43e206656be37cfa70471de014f76d99ca | c59576b9f96a7b26dc5bc0d52998ad818380b8cf | /test/FM10.prev.tst | cfccf3aea814b6a336c670e556059105764e649c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/checkdig | 0588535521d9106a5c777a809e50d64a9204fa3c | 3570d246efd0d102f1a2652dfe752884b5d346d8 | refs/heads/master | 2022-02-14T07:41:43.949901 | 2022-01-28T15:00:07 | 2022-01-28T15:00:07 | 30,117,975 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | tst | FM10.prev.tst | DE7901234567890 !OK
DE3400000001588 !OK
WR31CIS ?NOK
AT6101234567890 ?NOK
BE68123456789 ?NOK
FR9212345678 ?NOK
FR9112345678901 ?NOK
FR90123456789 ?NOK
FR2812345678901234 ?NOK
HU15A09450512 ?NOK
HU47E10011922T201 ?NOK
FI2212345678 ?NOK
IT36A1B2C ?NOK
IE84123456 ?NOK
LU270123456789 ?NOK
NL360123456789 ?NOK
PL180123456789... |
22726a3625c509b6cf6ed8f5e1349e49c4ad0f79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.5.6/CH04Exa4_5_6.sci | cb5ff786f8e81c07403dad6f704713d9a3a6b926 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,148 | sci | CH04Exa4_5_6.sci | // Scilab code Exa 4.5.5 : Checking whether the reaction is spontaneous or exoergic : page no. 185 (2011)
// Cf-252 > Zr-98 +Ce-145 + 9*n-1 is the given reaction
M_Cf = 252.081621; // Atomic mass of Cf, amu
M_Zr = 97.912735; // Atomic mass of Zr, amu
M_Ce = 144.917230; // Atomic mass of Ce, amu
M_n = 3.0160294; ... |
66b01d1afbd6c6c1e9a30421dce037b6d4cce578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.22/EX5_22.sce | aa15e3aec57745efb1fb61da6c13762e4c24564a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | EX5_22.sce | // Exa 5.22
format('v',6)
clc;
clear;
close;
// Given data
V_T = 1;// in V
k = 160*10^-6;// in A/V^2
I_DQ = 160*10^-6;// in A
V_GS = V_T + sqrt(I_DQ/k);// in V
V_DD = 5;// in V
V_DSQ = 3;// in V
R_D = (V_DD - V_DSQ)/(I_DQ);// in ohm
R_D = R_D * 10^-3;// in k ohm
disp(R_D,"The value of R_D in k ohm is");
|
2f53e6d10dca3ebbaebade1dbfe23e9a3fab588c | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH24/EX24.2/example24_2.sce | 8810f19977a96ddefdcaff8ec6a955275035ecc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | example24_2.sce | l=30*10^(-3);
r=200;
v=10;
f=1000;
disp("Part a");
x_l=2*%pi*f*l;
z=sqrt(r^2+x_l^2);
disp("the impedance (in Ω) of the circuit is"); disp(z);
disp("Part b");
i=v/z;
disp("the current (in A) in the circuit is"); disp(i);
disp("Part c");
deg=atan(x_l/r)*180/%pi;
disp("the phase angle (in deg) between applied... |
b42cb83fb5782699899d20247979a3b349f009a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH9/EX9.31/ex9_31.sce | ffcaea6e86250217ca6618e53707baca460ad2ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 831 | sce | ex9_31.sce | // Exa 9.31
clc;
clear;
close;
// Given data
V_DD = 5;// in V
V_T= 1;// in V
k= 1;// in mA/V^2
R1 = 1;// in M ohm
R2 = 1;// in M ohm
R_S= 2;// in k ohm
R_D= 2;// in k ohm
I1 = V_DD/(R1+R2);// in A
disp(I1,"The value of I1 in µA is : ")
V_A = (R2/(R2+R1))*V_DD;// in V
disp(V_A,"The value of V_A and V_G in... |
a9b61b22fa208d07f35d3e7ca89f73b0111ca363 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH3/EX3.9/Ex3_9.sce | 8aacb78f16305e19061263314c4786e2c56be01b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex3_9.sce | clear
//
//Given
//Variable declaration
sigma1=100 //Major principal stress in N/sq.mm
sigma2=-40 //Minor principal stress in N/sq.mm
theta=90-60 //Angle of inclination in degrees
//Calculation
sigman=((sigma1+sigma2)/2)+(((sigma1-sigma2)/2)*cos((%pi/180)*(2*theta)))
sigmat=((sigma1-sigma2)/2*(sin... |
d1a856736fe39669ff5673c1c7033b3bbad89968 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH12/EX12.4/Ex12_4.sce | 31488a79e0dfa160e6b9f102fceea422496f130f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,435 | sce | Ex12_4.sce | // Example 12_4
clc;funcprot(0);
// Given data
X_O_2=0.2095;// The mole fraction for oxygen
p_m=0.1013;// MN/m^2
d=100;// m
M_O_2=32.00;// The molecular mass of oxygen
M_He=4.003;// The molecular mass of helium
R=8.3143;// kJ/(kgmole.K)
// Calculation
// (a)
p_O_2=X_O_2*p_m;// MN/m^2
p_m=1.08;// MN/m^2
X... |
5d84289970376b3b50eb932d606f8dca82bc5b25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH7/EX7.2/ex_7_2.sce | fc90686d994f9a0ba056889de1222bd2c130ca88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | ex_7_2.sce | //Example 7.2: Diffusion potential
clc;
clear;
close;
format('v',6)
//given data :
Na=5*10^23;// in m^-3
Nd=5*10^21;// in m^-3
T=300;// in K
e=1.6*10^-19;// in J
k=1.38*10^-23;// in JK^-1
V=(k*T)/e;
ni=2.2*10^12;// in m^-3
Vd=V*log((Na*Nd)/ni^2);
disp(Vd,"Diffusion potential,Vd(V) = ")
|
585ed8860a3219f5f48a7807a9c7537ecceb62d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH8/EX8.3/example8_3.sce | 411795964b2a741524341b988a13780a17b3e95c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | example8_3.sce | // Calculate width of Gating pulse
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 8-3 in page 377
clear; clc; close;
// Given Data
Il=4*10^-3; // Latching current of SCR in A
V=100; // DC voltage of the circuit in V
L=0.1; // Inductance of th... |
0692efc95604cfc8860af67464176cfcd98e3457 | 918e8207504f36c7eaf613b62c71e91ad3a33a8a | /2017/educrace_by_lulu/EducRace/DATA/Scenario/EndRaceGrid.sce | 93d2e7cbfc92a73b4965b9efcbd26cb22fea7bea | [] | no_license | lazarusccr/GraphicsContest | b1299eeb74449b8714f126deeb64dc02da285260 | 8dec398588970e958c7f08ab7be32af760acbbd6 | refs/heads/master | 2021-04-29T07:29:46.122593 | 2017-12-28T16:26:51 | 2017-12-28T16:26:51 | 77,950,829 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sce | EndRaceGrid.sce | Tint 0 0 0 0
TintAlphaChange 100 1 Linear
Wait 1
TintAlphaChange 0 1 Linear
Wait 1
Loop
|
0c720ca645dd5f3ca0307e82f863c3062dadb7fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH9/EX9.4.2/Example_9_4_2.sce | fbada78733654edbea770f620a24c7ce34f04ff9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Example_9_4_2.sce | // Example 9.4.2 page 9.12
clc;
clear;
output=3; //laser output
sensitivity=-54; //APD sensitivity
coupling_loss=17.5;
L=6; //length in km
sl=1.1; //loss correspond to one splice in dB
n=3; //number of splices
fl=5; //fiber loss in dB/km
connector_loss=0.8;
allowed_loss=output-sensitiv... |
f89b9fcffedf37a98c85ad4a4cf1961b6ca71f4f | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/na_k/nak_ti.tst | fd963898af93ecc19beabfe7dcdbac2f32b67f8a | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | nwchemgit/nwchem | c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda | c5a8125298a6ea7d6eb27b07c196ea8041aa7198 | refs/heads/master | 2023-09-05T17:18:34.513866 | 2023-09-02T02:56:47 | 2023-09-02T02:56:47 | 111,318,191 | 425 | 164 | NOASSERTION | 2023-09-11T16:34:14 | 2017-11-19T17:48:21 | Fortran | UTF-8 | Scilab | false | false | 630 | tst | nak_ti.tst | Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = 0.000E+00
Itera... |
f5084ae6ada3c13f9db7cd82aec005b25c7e4435 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH3/EX3.13/3_13.sce | 2a1812b76d3266b3d83cc861e932e8441a59bf3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_13.sce |
clc
//initialisation of variables
d= 10 //in
h= 3.5 //in
g= 32.2 //ft/sec^2
//CALCULATIONS
A= (%pi/4)*(d^2/144)
V= sqrt(2*g*(h/12))
vm= (2/3)*V
Q= vm*A*60
//RESULTS
printf (' Quantity flowing per minute = %.1f ft^3 ',Q)
|
429adc6cf3edef0b112cd800b528dbea8e409071 | 87360573182abe5b7599c94070b5a1dbc97aa9ca | /Fehoesp/RDMAKE/sigafin.tst | bdb798dcc70522019dd94d6bfca3f23d545a532f | [] | no_license | eddy-desenv/sindicato | 257b7d0390803e9a48c6a2de9e24c20fd5c1a819 | 0edd50d25cfe76d00fd5e0160bf1320f561b459b | refs/heads/master | 2021-01-18T19:40:11.610788 | 2016-09-22T18:18:31 | 2016-09-22T18:18:31 | 68,938,756 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 74,448 | tst | sigafin.tst | <ApMenu>
<DocumentProperties>
<Module>SIGAFIN</Module>
<Version>7.10</Version>
</DocumentProperties>
<Menu Status="Enable">
<Title lang="pt">Atualizacoes</Title>
<Title lang="es">Actualizaciones</Title>
<Title lang="en">Updates</Title>
<Menu Status="Enable">
<Title lang="pt">Cadastros</Tit... |
80aa34e2c41884682f7f6343af709d55b524107d | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH12/EX12.03/12_03.sce | 69e9983cf99cacc088450de00ca9e7350df2dc05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | 12_03.sce | //pathname=get_absolute_file_path('12.03.sce')
//filename=pathname+filesep()+'12.03-data.sci'
//exec(filename)
//Diameter of the bore(in m):
d=0.3
//Length of the stroke(in m):
L=0.6
//Occerance od cut-off:
r1=0.4
//Pressure at which steam enters(in bar):
p1=7.5
//Pressure at exhaust(in bar):
p3=0.1
//Rpm ... |
b4a27f0c4952e803147348795ec2240f90ba89c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH32/EX32.5/ex_32_5.sce | 90757a4b0c8dd025cb1167d3d1895505f8be7eca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | ex_32_5.sce | //find
clc
//solution
//given
BP=5000//W
N=1200//rpm
n=N/2
pm=0.35//N/mm^2
effm=0.8
//let D bebore dia
IP=BP/effm//W
//IP=pm*l*A*n/60
//A=%pi*D^2/4,l=1.5D
//IP=4.12*10^-3 *D^3
D=(IP*1000/4.12)^(1/3)//mm
printf("dia of bore dis,%f mm\n",D)
l=1.5*D
L=1.15*l
ft=42
printf("stroke length is,%f mm\n",L)
p=9*pm
C=0.1
th=D*sqr... |
fe0fd186df9848eaaecf26610687a21df45f8fdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.39/Example9_39.sce | 88e23762ae098d377e2b42589ecbd54b0f08f18c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | Example9_39.sce | //Example 9.39
clc
disp("From equation(3) we get")
qe=(4.095/(4095*2))*10^3
format(4)
disp(qe,"Q_E(in mV) = 4.095 / (4096-1)*2 =")
|
0dcf5d704f2a0b682cbca1fcb38f9cea9d213ba3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH5/EX5.5/5_5.sce | dab166f1f17be67f7b6e02106a493ea7ecb8568e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | 5_5.sce | clc;
clear;
m=68.1;//kg
v=40;//m/s
t=10;//s
g=9.8;//m/s^2
function y=f(c)
y=g*m*(1-exp(-c*t/m))/c - v;
endfunction
x1=12;
x2=16;
xt=14.7802;//true value
e=input("enter the tolerable true percent error=")
xr=x1-(f(x1)*(x2-x1))/(f(x2)-f(x1));
etemp=abs(xr-xt)/xt*100;//error
while etemp>e
if f(x1)*... |
52bc1eb4d7670dc48976a75ae161c8b1c922a13e | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_bv.tst | 4fc6091bdf003c0be22b2af2a9e2570555d8b6f5 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 363 | tst | err_bv.tst | ; checks bit vector sorts
(set-logic QF_BV)
(declare-fun x () (_ BitVec 4))
(declare-fun y () (_ BitVec 1))
(declare-fun z () (_ BitVec 4))
(declare-fun k () (_ BitVec 0))
(declare-fun k () (_ BitVecx 0))
(declare-fun k () (_ BitVec -1))
(declare-fun k () (_ BitVec))
(declare-fun k () (_ BitVec 1 2))
(assert (= x #b010... |
8d3f344b12d0f7cb8f969af8bcfebf18391b2a0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH11/EX11.25/25.sce | 5234e1e934797e7a54482923447d8d15664c579d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | 25.sce | clc
// C_aH_bO_cN_dS_e
a=60/12;
b=20;
c=5/16;
d=10/14;
e=5/32;
// C_5 H_20 O_0.3125 N_0.7143 S_0.1562 + x O2 + x*(79/21)N2 → p CO2 + q H2O + r SO2 + s N2
p=5;
q=20/2;
r=0.1562;
x=(2*p+q+2*r-0.3125)/2;
s=(0.7143+2*x*79/21)/2;
air=(9.92*32+x*79/21*28)/100;
disp("Stoichiometric air required =")
disp(a... |
0f6f402b3d6804dc7f4a29472372441ea930b765 | 570467692d23b92a27e2aa232daa99a437118636 | /Exercise_18.sce | b8159ebe6bf782691babeb4751c124554dfcc969 | [] | no_license | Gotcha17/CompFin_Sheet6 | e90508b7f7a1bc435fc1365fd4c75805d19ee962 | d2d068a120c2c80da6cbac207d54008d8cf9c2ba | refs/heads/master | 2021-01-02T23:01:11.494195 | 2017-08-21T20:12:05 | 2017-08-21T20:12:05 | 99,440,638 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,845 | sce | Exercise_18.sce | clc; clear; //clears the console and all previously stored variables
function V0 = BS_EuCall_FFT (S0, r, sigma, T, K, R, N, M)
//defining initial parameters
delta=M/N;
m=1:N;
kappa_1=0;
//f_tilde_0 for European Call for K=e^kappa
function y = f_tilde(z)
y = 1/ (z*(z-1)); ... |
539904929691154759957f2a9b7ee661738527d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH8/EX8.9/Ex8_9.sce | 653273f19b43252e30cf2fdb0a37446994166e68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | Ex8_9.sce | //Ex8_9
clc
Ai = -60
Ri = 2.0*10^3
RL = 15*10^3
disp("Ai = "+string(Ai))//current gain
disp("Ri = "+string(Ri)+"ohm")//input resistance
disp("RL = "+string(RL)+"ohm")//load resistance
Av = Ai*RL/Ri
disp("Av = Ai*RL/Ri = "+string(Av))//voltage gain
//note : in textbook,
// author notify LOAD RESISTANC... |
3fdf3af6e17ad51a3a49cc1d4b98fbb6c8456281 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testmacrovar.sce | 9fd71d169b8dde577cb97514fd6902f83f5f40e5 | [] | 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 | 273 | sce | testmacrovar.sce | function [a,b]=foo(x,y)
u=x+y // u is a local variable
v=x*y // v is a local variable
a=u+c // c is an external variable
b=u*exp(v) // exp is an external functions
endfunction
L=macrovar(foo) // L=list(in,out,nolocal,called,local)
|
167e0d90de493bc3a330e820a97941e7232838f9 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Baptiste Distance FS Dodge.sce | 59c942df09ce5d9aaf00b12e17835ad282ed5d9c | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32,972 | sce | Baptiste Distance FS Dodge.sce | Name=Baptiste Distance FS Dodge
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Hard.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Hard.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=Dodgingg.map
MapScale=5.3
BlockProjectilePredictors=true
BlockCheats=true
Invincible... |
69386bc123370af83d4a97b7723dbe0da4557d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.20/ch2_ex_20.sce | 79c18d21911e67dafb031088553da526808337c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,149 | sce | ch2_ex_20.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 20 // read it as example 19 in the book on page 2.72
disp("CHAPTER 2");
disp("EXAMPLE 20");
//VARIABLE INITIALIZATION
L=0.5 //in Henry
C=5 //in mf, multiply by 10^-6 to convert to f
R=25 ... |
e3a409abe9d360285c071c3f6fbf20a0d4e090a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.15/exa_2_15.sce | 0f7ed4d8f17a1f685e43cdb37b266ab1788a4c67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | exa_2_15.sce | // Exa 2.15
clc;
clear;
close;
// Given data
miu_n= 1300;// in cm^2/Vs
q=1.6*10^-19;// in C
ni= 4.3*10^-6;// in /cm^3
V= 1;// in volt
L=8;// in cm
A=0.8*0.8;// in cm^2
I=4*10^-3;// in A
// R= rho*L/A = V/I
R= V/I;// in Ω
sigma= L/(R*A);// in (Ωcm)^-1
// sigma= q*n*miu_n
n= sigma/(q*miu_n);
N_D= n;
dis... |
f381d7b87df3ec4af7dce6c33fb6e20112a70f7e | 89fe42f1d4907c16ae1152649fc53a6d7910387c | /HT2/AND1250918.tst | c438c459d6b925c3f5f59548653e2e8b3ec63af1 | [] | no_license | MarlonRoches/Arqui1 | f83545b06761f1bd6c48d26221f8dfc486c57f43 | 5bc55296e70c979a4f75f8243923f778be833efa | refs/heads/main | 2023-07-09T15:37:11.432356 | 2021-08-14T03:56:41 | 2021-08-14T03:56:41 | 355,042,852 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | tst | AND1250918.tst | load AND1250918.hdl;
output-file AND1250918.out;
output-list a b out;
set a %B1011001011101001 , set b %B1011111010110010, eval , output;
set a %B1101001101100101 , set b %B1011011001011010, eval , output;
set a %B1011001101011010 , set b %B1011011010100010, eval , output;
set a %B0101101100101110 , set b %B1011011101... |
e1777bd56b504c7b5a3dd3cbc94fe7df8ee0629d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH19/EX19.3/ex_19_3.sce | 00dc575db1ec0c10c3ed3577da05e80c8917f8cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | ex_19_3.sce | //Example 19.3 // position of fermi level
clc;
clear;
//given data :
Eo=.3;// initial position in eV
T=300;//initially temperature in kelvin
T1=330;// final temperature in kelvin
E=Eo*T1/T;// (formula to calculate) final position in eV
disp(E,"new position of fermi level in eV")
|
1aa193eb8f1f1b1e87bfa29473776c0c2ce2c809 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.17/Ex1_17.sce | 3d0aa0dc46ab4956863b3b08cbd154de5eb99828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | Ex1_17.sce | clear;
clc;
N = 2640;//rigidity modulus in tons/in^2
d = 3/8;//diameter of the rod in inches
P = 1/2;//axial pull in tons
del_d = 0.000078;//change in diameter in inches
A = 0.25*%pi*d^2;//section area in in^2
p = P/A ;//stress tons/in^2
LS = del_d/d;//lateral strain
m = p/(LS*2*N) - 1;
E = 2*N*(1 + 1/m);//mo... |
0b6fd011727e981ef95f86ad5194573b55f191cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH5/EX5.a.12/A_Ex5_12.sce | 882807a08d700362b7e9778b2ceba23b47f3c779 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | A_Ex5_12.sce | // Chapter 5 additional Example 12
//==============================================================================
clc;
clear;
//input data
h = 1; // miller indice
k = 1; // miller indice
l = 0; // miller indice
d = 2.86*10^-10 // interplanar dista... |
c885f6a8626f5db721f9839d93cb432fb4902c5e | 1b9a3a103c4fc50d51f2d14b1216b479e3ec5b7e | /tilesets/tset123.tst | a4b21fa6fbaf4ce0dfadd27a04dd199ec29e7187 | [] | no_license | habeascorpse/Luawar | e5a1c3cf686ebea4d6d102d3d9380f4a9edfc785 | 09c3c995b4873f08e48bda148b8443706711aeb0 | refs/heads/master | 2021-01-01T16:05:56.174549 | 2012-05-21T15:01:59 | 2012-05-21T15:01:59 | 4,394,437 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | tst | tset123.tst | I=../images/tilesets/tileset.png;
0,0,0,1,0,1,2,1;
0,0,3,0,0,0,2,2;
3,1,1,1,2,0,0,4;
1,3,1,0,3,1,2,0;
1,1,1,3,2,1,1,0;
2,0,0,17,2,2,2,3;
0,0,0,1,2,0,1,1;
0,2,2,2,0,0,0,1;
1,1,0,2,0,0,0,4;
0,0,1,2,0,0,1,2;
0,2,1,0,0,0,0,3;
1,0,0,0,0,0,0,1;
3,2,0,2,0,0,0,2;
2,0,0,0,1,2,2,3;
1,1,1,0,0,0,0,1;
|
43ad314d7d9da74ab1aa1012b6b84cb110e7dd49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.24/24.sce | e3b2ce16f2688011e060bda7540fdb5c6dd6b7c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | 24.sce | clc
clear
//Input data
C=800*(5/18) //Velocity in m/s
Po=105 //Stagnation pressure in kPa
To=35+273 //Stagnation temperature in K
Cp=1005 //Specific heat capacity at constant pressure in J/kg-K
k=1.4 //Adiabatic Constant
R=287 //Specific gas constant in J/kg-k
//Calculation
T=To-(C^2/(2*Cp)) //Static temp... |
aa8cf122741ccb875d0bf60caed0f49346964748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH3/EX3.7/Ex3_7.sce | 8a28756c626618b9888a5ff12bc06f737f11ea46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | Ex3_7.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 91
clear;
clc;
//Given Data
Rl=200;//Load resistance in ohms
esf=50;//Input signal frequncy in hertz
RF=5/100;//Ripple Factor
//Solution
C=1/(esf*Rl*2*RF)*10^6;//Capacitance in micro faraday;
prin... |
9e3888e9a29f8c2bd1d4ac12aec7c327383fea45 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SI4.prev.tst | 6ee1f38a9c21d726daad746f8c72e9c22c3110c6 | [
"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 | 60 | tst | SI4.prev.tst | ( - a^2 - 2*a*b - b^2 + x^2).getIsolatedSignature() = null
|
04016201ac5c8a058b9ebaeee7a016c7e4f7b1d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH1/EX1.7/Ex1_7.sce | db4a9b50701ed59b74f1b9cbcc842ffcc6dc9b34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,834 | sce | Ex1_7.sce | clc
// Example 1.7.py
// A flat plate with a chord length of 3 ft and an infinite span(perpendicular to
// the page in fig 1.5) is immersed in a Mach 2 flow at standard sea level
// conditions at an angle of attack of 10 degrees. The pressure distribution
// over the plate is as follows: upper surface, p2=constant=1132... |
ec9cc82bdd89bbfdc8cea81286d40fcd4638c680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.21/Example_5_21.sce | 2fec1e7109a379924ce9b8088c33962bb5ad9426 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,673 | sce | Example_5_21.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 21
clear;
clc;
//Given:
P2 = 2800; //pressure of superheated steam (kPa)
P1 = 275; //pressure of withdrawn steam (kPa)
V = 1.070*10^-3; //specific volume of saturated liquid at 27... |
e9784c315b7dda200b1f73df4c9597bcd8230e8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH3/EX3.6/Ex3_6.sce | 44b25086a5ebd3bebc9897ab097e9d58385dc0b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Ex3_6.sce | clear
//
//
//
//Variable declaration
d=0.4086*10^-10; //lattice spacing(m)
theta=65; //glancing angle(degree)
h=6.6*10^-34; //plank's constant(Js)
m=9.1*10^-31; //mass(kg)
n=1;
//Calculation
theta=theta*%pi/180; //angle(radian)
lamda=2*d*sin(theta)/n; //debroglie wavelength(m)
v=h/(m*... |
298102da0510ab238f201e9f9e0d8bb06f7587d6 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/16.tst | 3cc133c608c7dcdc039136a4df0d96e04569e3bd | [] | 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 | WINDOWS-1251 | Scilab | false | false | 31 | tst | 16.tst | float a[][]; /* ошибка */ |
b495adc7def470b83f0041786c57ebdbf531996f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.13/Ex3_13.sce | c76ab75c4145e0e22a68fb572c13e03cfe171dcb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | Ex3_13.sce | //===========================================================================
//chapter 3 example 13
clc;clear all;
//variable declaration
R1 = 1000; //resistance in Ω
R2 = 500; //resistance in Ω
eR1 = 1; //error resistance
eR2 = 1; //error resistance
//calcula... |
1ca7eef84ec42105894080f998e1caa542ad95ce | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/Z-trans/scilab/aconv1.sce | 8c6749bfbe2f5fbbaa668d6a213f3453c5f305fc | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | aconv1.sce | // Updated(18-7-07)
// 4.1
a = 0.9;
n = -10:20;
y = zeros(1,size(n,'*'));
for i = 1:length(n)
if n(i)>=0,
y(i) = a^n(i);
end
end
stem(n,y)
label('u1',4,'Time(n)','0.9^n1(n)',4)
|
8792ccb6add65afbf51caa0ad6bae5962ba739e1 | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem01/lab03/q01.sce | 2ad54b69e0ccc8970956616ab619c5fa2d90bfe9 | [] | 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 | 221 | sce | q01.sce | //trace asteroid
clc;
clear;
x=[-5:0.01:5];
a=4;
y1=(a^(2/3) - (x.^2).^(1/3)).^(3/2); //for some odd reason, x^(2/3) != (x^2)^(1/3)
y2=-y1;
plot2d(x,y1);
plot2d(x,y2);
xlabel("X-Axis")
ylabel("Y-Axis")
title("Asteroid")
|
0ab58eee997e977fcaeda76a58901eac457267d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.25/25.sce | 7a151dd01aeb7763d542715d647d84b3606add55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | 25.sce | clc
clear
//INPUT DATA
r1=0.1258*10^-9//atomic radii of the iron atom in BCC structure in m
r2=0.1292*10^-9//atomic radii of the iron atom in FCC structure in m
T=910//metallic iron changes from BCC to FCC in centigrade
//CALCULATION
a1=((4*r1)/sqrt(3))//lattice constant of BCC structure in m
v1=((a1*a1*a1)/2... |
4942456cbc6eedb400e35a9b2d3f3863b5e28479 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH9/EX9.03/9_03.sce | f936284e9041b22dd2e00f6dce57674efe3fdc6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | sce | 9_03.sce | //Problem 9.03: A conductor moves with a velocity of 15 m/s at an angle of (a) 90°, (b) 60° and (c) 30° to a magnetic field produced between two square-faced poles of side length 2 cm. If the flux leaving a pole face is 5 μWb, find the magnitude of the induced e.m.f. in each case.
//initializing the variables:
l = ... |
4c44409a7c090b92c4edb99344fc6b3cf3db23d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH4/EX4.3/Ex4_3.sce | cd7a019a3dc26ce5963027b372a6d16582107ad6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | Ex4_3.sce | // Scilab Code Ex4.3: Page-234 (2008)
clc; clear;
c = 3e+008; // Speed of light in vacuum, m/s
v = [c c/sqrt(2) sqrt(3)/2*c c/2 0.8*c]; // Different speeds of metre rod, m/s
L0 = 100; // Actual length of the rod, cm
for i = 1:1:5
L = L0*sqrt(1-v(i)^2/c^2); // Apparent length of rod from Lorentz tr... |
1a71ae0d8bd017a231d9c362b91b0f6b2f5738d1 | 553ab8beccf53972c634384ee6f6f0c010f4733e | /scilab/disp_kf.sce | ca6762b00421b6c71a629448ed38d121be42b250 | [] | no_license | ganlubbq/sdrGPS_fork | bf00134ce5f5cdbf8b54bc7113a2c3d70b619f95 | a06a0091ad923b7ddee659653ea4855b3732183b | refs/heads/master | 2020-04-18T10:31:37.161233 | 2019-01-20T05:39:28 | 2019-01-20T05:39:28 | 167,469,911 | 1 | 0 | null | 2019-01-25T02:13:28 | 2019-01-25T02:13:27 | null | UTF-8 | Scilab | false | false | 2,106 | sce | disp_kf.sce | res_log=read('../data/gps_kalman_log.m',-1,16);
[r_n,c_n]=size(res_log);
idx=[1:r_n];
// First plot KF state
//xset('color',3);
//xset('background', 1);
xbasc();
xset('window',0);
// plot pos_x result
subplot(511);
plot2d(res_log(:,2));
xtitle("ECEF_x",'100ms','m');
xset('background', 4);
// plot pos_y result
subplo... |
0d360ec3779eb69b0887db8238fb448e9db7ff40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH4/EX4.17/Example4_17.sce | 041b65d6311e07b4298751c501f319aad9bde82e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example4_17.sce | //Example 4.17.
clc
format(6)
Io1=7.5*10^-6
T1=27
T2=127
disp("The saturation current at 400 K is,")
disp("Io2 = Io1 * 2^((T2-T1)/10)")
disp(" = 7.5*10^-6 * 2^(127-27/10)")
Io2=Io1*(2^((T2-T1)/10))
I=Io2*10^3
disp(I,"Io2(mA) = ") |
0a731ff7b2dac48530e9d06b379e50a456df7895 | 80e9b7e2c503a7a3287b23b40bfcace1181ebf7f | /Empathy-paradigm-wave-2/EP.sce | a3f0261f36a445c6869f48cdae8e376ee89dcad2 | [
"MIT"
] | permissive | GNilsonne/Stimulus-presentation-code-Oxazepam-and-emotion | fc339e60846adad70ac27c97dd51023ada77b980 | f53ff90084f192fdae47c7a909063e0ac38fec16 | refs/heads/master | 2020-05-20T05:22:49.851254 | 2015-07-21T14:54:33 | 2015-07-21T14:54:33 | 28,912,550 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,054 | sce | EP.sce | #define your files
scenario = "EP";
pcl_file = "EP.pcl";
#standard settings
scenario_type = trials;
active_buttons = 5;
button_codes = 1,2,3,4,5;
response_logging = log_active; #log only if response is expected
response_matching = simple_matching;
default_output_port = 1; #parallel port
response_port_out... |
61b67ea1ed3817efbcb7b70f0807654df9fc9e65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH1/EX1.7/EX1_7.sce | 9d6d66200bf39982837182a8cf58979ca9f43c14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | EX1_7.sce | //Chapter 1, Example 1.7
clc
//Initialisation
v1=10 //voltage
v2=0 //voltage
r1=200 //resistance in ohm
r2=300 //resistance in ohm
//Calculation
v=v1*(r2/(r1+r2)) ... |
bebd2c50bd5862309899f842f6c41a49cf60cd99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH9/EX9.9/Ex9_9.sce | 2f37284a5156916e1978ba3e849a44bb4300ede0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex9_9.sce | //Caption: Entropy
//Example 9.9
//page no 398
//Find Entropy,Amount of information
clc;
clear;
px1=0.4;
px2=0.3;
px3=0.2;
px4=0.1;
HX=-px1*log2(px1)-px2*log2(px2)-px3*log2(px3)-px4*log2(px4);
printf(" \n Entropy \n \n\t i) H(X) = %.2f bits/symbol,\n",HX);
Px1x2x1x3=px1*px2*px1*px3;
Ix1x2x1x3=-log2(Px1x2... |
146a01fb8dba0de33f7c69f3aab531f3adc61611 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.7/ex_3_7.sce | e01150b2d53d42963f06ea137d10f373de3b77c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | ex_3_7.sce | //Example 3.7 // total resistance
clc;
clear;
close;
//given data :
r1=6; // resistance in ohm
r2=10; // resistance in ohm
r3=15; // resistance in ohm
r=(1/r1)+(1/r2)+(1/r3);
R=1/r;
disp(R,"equivalent resistance,R(ohm) = ")
|
7e9bfb05a59ca18b8b01d07746807e3ecc338bf1 | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/216.sci | 2c3bf49a1b9e6ea9a24fd2dc7136d6fb2d4096de | [] | 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 | 51 | sci | 216.sci | h1=2//m
h2=0.5//m
S=0.85//specific gravity of oil |
0c1dee68aa135761469ed9b4d839277ebb43bb02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH4/EX4.20.a/Ex_4_20_a.sce | 833ccc4cc3a640b4a62091266cb2c33901d437eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Ex_4_20_a.sce | // Example 4.20.a;//delay
clc;
clear;
close;
d=0.02;// Change in refractive index
n1=1.5;//Core refrctive index
L=3*10^3;//Length in meter
C=2.998*10^8;//Speed of light in m/s
dts=round(((L*n1*d)/C)*10^9);//DELAY IN NS
disp(dts,"DELAY IN NS")
|
5d5a3c6bf805d7494b712bd9f5c36065d89f2f7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH12/EX12.3/ex_12_3.sce | e3b539ebb86286ce0819363e28a27c670e84bb75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | ex_12_3.sce | //Example 12.3;no. of subscribers
clc;
clear;
close;
pt=1;//mW
pn=-40;//dBm
pn1=10^(pn/10);//
c=0.05;//
d=0.11;//
x=((pn1)/(pt*c));//
y=((log10(x))/(log10((1-d)*(1-c))));//
n=y+1;//
disp(round(n),"no. of subscribers are")
|
a8e1da229b5cf31da9cadcd7311bd5c843184fd0 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG32IE.prev.tst | 2218e6b01912c920107b3e2a16686b0194d18f79 | [
"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 | 4,632 | tst | PG32IE.prev.tst | [[-1,2,-1,0,0],[1,2,-1,1,0],[2,-2,1,-1,0],[2,-1,2,0,0]] [-1,9,-6,8] [-4,25,-22,17] [-2,41,-17,40]*2 [-3,19,-18,10]*3 [-3,115,-34,114]*3 [-16,111,-108,47] [-6,41,-33,32]*6 [-12,167,-86,159]*3 [-4,249,-57,248]*4 [-25,193,-190,68] [-5,461,-86,460]*5 [-12,103,-102,31]*3 [-50,309,-285,184]*2 [-48,349,-268,285]*3 [-12,145,-8... |
0f0d080eb478d6e7fe1de7add52303bebf6fb542 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH8/EX8.7/8_7.sce | eaea5c70d7869e65b0257b863fac40748a398ebf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 879 | sce | 8_7.sce | //8.7
clc;
f_unity=10^6;
Av=100000;
open_loop_upper_cutoff_f=f_unity/Av;
printf("open loop upper cutoff frequency=%.0f Hz", open_loop_upper_cutoff_f)
disp('when beta=0.001')
beta=0.001;
Closed_loop_gain=Av/(1+Av*beta);
printf("\nClosed loop gain=%.1f ",Closed_loop_gain)
upper_cutoff_frequency=f_unity/Closed_l... |
e7fc90cb1664a777bb04b692a7dcf6ceee9820c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH14/EX14.6/14_6.sce | fed361c26049e09d89a5a6bb1a118d37967ce9a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | 14_6.sce | //Motor boat crossing river
//refer fig. 14.11 and 14.12
//let the motor boat start from A and reaches C
vrx=15 //kmph
//distance to be moved in x direction=1 km
//time required t is
t=4 //min
//boat will move down the stream
vy=5 //kmph
//Distance moved in downstream direction (d)
d=333.33 //m
//Let the... |
1e6e07e45a123407c0b7d070c102e7a0bd79ad12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.15/Example_5_15.sce | a6100ff66cbd501a125316498e2b0a849526f071 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | Example_5_15.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 15
clear;
clc;
//Given:
T1 = 300; //indoor temperatur (K)
T2 = 290; //outside temperature (K)
W_input = 1; //1 kW heat pump
W_output = 30; //given output (kW)
//To verify that... |
1360cf763699147c31d62d18a52001a49d862ff7 | 612d4c0ce2dea9a49d25c282dc6366d2b5cdd384 | /lab3_v8/variables.sce | 5407a5a6d10e767571696231c8258b7b31b1ea6d | [
"MIT"
] | permissive | staskond/labs_alg | 63fad55f394c400f3ad93cab86bddf127da200ea | 7dcfa8c0bdc31bf85bf7ad6e0f0c570a9f39ecee | refs/heads/master | 2021-01-18T13:28:20.685548 | 2015-12-01T15:06:10 | 2015-12-01T15:06:10 | 45,912,993 | 0 | 0 | null | 2015-11-10T13:19:51 | 2015-11-10T13:19:51 | null | UTF-8 | Scilab | false | false | 211 | sce | variables.sce | function y=f1( x )
y = 0.5^x - 3 + ( x + 1 ) ^ 2
endfunction
function y=f2( x )
y = x .* log10( x + 1 ) - 1;
endfunction
function y=f3( x )
y = x + log10( x ) - 0.5;
endfunction
density = 0.0001;
|
ff1d02fbf78a2f968f839e040a05395b82acc0b2 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_X1.sce | fbaaf0df14905e66e9e529ececfe1685bc3d5db1 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | Mission_X1.sce | // Mission X1
// Chargement de l'image au format .dat dans la mémoire
load("C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_X\Asellus Secundus.dat");
// Utilisation de l'inverse de la transformée de Fourrier
img_out = ifft(imgT);
// Affichage
figure;
display_gray(img_out);
// Sa... |
67d9d3615847729741bc3d3ea60f3da807b44ecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH9/EX9.3/Ex9_3.sce | 47a0c422f43fa60ea6229d10a1458a53f0cd3c50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,066 | sce | Ex9_3.sce | // Chapter 9 example 3
//------------------------------------------------------------------------------
clc;
clear;
// Given Data
f = 10*10^9; // radar Tx frequency
PRF = 2000; // Pulse repetitive frequency in Hz
Vr = 0.5; // radial vel in Mach
c = 3*10^8; // vel... |
b83299511052fce5fa2d9d6563beb4380502d50d | a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f | /Sem2_Mathe/random nice shit/FallschirmspringerDGL.sci | 79eef17110f94b467673f0c1dc6a0adf16b551b2 | [] | no_license | DonnyAwesome/UNI | 99580eabc0ff200eeecb72d866313b89cd28d0cb | c028434b672ae1962c2074fc249012d68a63db2b | refs/heads/master | 2020-04-02T13:05:02.067280 | 2019-02-14T02:14:06 | 2019-02-14T02:14:06 | 154,466,384 | 0 | 0 | null | 2018-10-24T08:33:10 | 2018-10-24T08:33:10 | null | UTF-8 | Scilab | false | false | 210 | sci | FallschirmspringerDGL.sci | function zp = FallschirmspringerDGL(t, z)
g = 9,81;
m = 100;
cw = 1,4;
p = 1,2;
r = 5;
zp = [z(2);
-g*m + 0,5*cw*p*%pi*r^2*z(2).^2/m];
endfunction
|
ee8f5e0570e65b42e0e5f5d85ffb03abcb2a4455 | dabaa151dd30205dd92a6844c0cd61cf046fb8fe | /FPMUL/MantissaMUL.tst | f98df29bc7d2a1fcc9793c9391a814cb73b9f3fa | [] | no_license | hakesh729/Project_hack | 627ef8260f81dbc971bb5371839523daac4a2646 | a1ea76fa612bbe4515863495922167bb4c65c418 | refs/heads/main | 2023-01-13T13:37:09.828021 | 2020-11-27T06:05:39 | 2020-11-27T06:05:39 | 316,411,714 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | tst | MantissaMUL.tst | load MantissaMUL.hdl,
output-file MantissaMUL.out,
output-list a%B1.8.1 a%D1.8.1 b%D1.8.1 b%B1.8.1 out%B1.16.1 out%D1.16.1;
//170(10101010) * 187(10111011) = 31,790(01111100 00101110)
set a %B10101010 , set b %B10111011 ,
eval,
output;
//139(10001011) * 138(10001010) = 19182(01001010 11101110)
set a %B10001011 , set... |
6b342b2c1e948ccd844b0d1794a2487dce61dffd | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab4/q2.sce | 44bbd50ef99eed7de8aef26181fd02c75140ecad | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | q2.sce | s = poly(0,'s');
G = 10/(s*(s+2)*(s+4));
// PART A
k = 4; // any arbitrary value chosen
H = k*G/(1+k*G);
disp(H);
// PART B
k_range = .1:.1:100.1; // excluding k =0 case
// for each k we get 3 poles since denominator of H is cubic
poles = zeros(3,length(k... |
c3baf62e69b6be8b089241cd49e505458aee5b4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH20/EX20.1/20_1.sce | a06908ba3b7edd90391c7e7b2b75dc7f660c3bd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 20_1.sce | //Find fracture strength and ratio
//Ex:20.1
clc;
clear;
close;
l=1.5*10^-6;//crack length in m
e=70*10^9;//Young's modulous in N/m^2
y_e=1.05;//specific surface energy in j/m^2
a_f=sqrt((2*y_e*e)/(3.14*l));
a_f1=a_f*10^-6;//in MPa
disp(a_f1,"Fracture strength (in MPa) = ");
r=a_f/e;//ratio
disp(r,"Ratio of... |
dfeef7c30325251972b14761061eabcc17bfa3f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH10/EX10.1.1/examplesec10_1_1.sce | 0b99486d49ae6ace2892a9ba7164ab82dc5164c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | examplesec10_1_1.sce | //Example sec 10.1.1
//mass, dashpot, spring arrangement.
clear;clc;
xdel(winsid());
M=1
K=2
F=2
A=[0 1;-2 -2]
C=eye(A)
s=%s
D=s*C-A
X=inv(D)*[1;1]
//taking the laplace transform of X
disp("X(t)=sqrt(5)*sin(t+inv(tan 0.5));sqrt(10)*sin(t+inv(tan -1/3))")
disp("The system is asymptotically stable")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.