blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d764f3cb435df4a83e36ef546db62cd499765f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH14/EX14.3/Ex14_3.sce | f1cd0f4775430a1088db77916389db68d9ddd9df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_3.sce | //Example 14.3, Page 514
clc
u=9.3*10^-24//in Tesla
B=1//in Tesla
Eb=u*B*6.24150934*10^18
T=300//in K
k=8.6*10^-5//ev/k
x=k*T
s=(Eb/x)*100
disp('Part a')
printf("\n The percentage is %f",s)
disp('Part b')
n=2.0*10^28///m3
k=1.38*10^-23//in J/k
uo=4*%pi*10^-7//T-m/amp
con=(uo*n*u*u)/(k*T)
printf("\n The number of unpa... |
bd6dd1f03ff0a6f701978906dbf471a8b75bc924 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH5/EX5.1/Ex5_1.sce | 939485dfc525528a8049081f1a12e42c8c0390f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Ex5_1.sce | clc
//Variable Initilisation
Ns=1500 //Speed of Squirrel Cage Induction Motor in RPM
N1=1460 //Speed of Squirrel Cage Induction Motor in RPM
N2=1350 //Speed of Squirrel Cage Induction Motor in RPM
// At 1460 rpm the speed slip is given by
S1=(Ns-N1)/Ns //Slip
I=(sqrt(1/3)*(2/3))/(sqrt(S1)*(1-S1))
// At 1350... |
bdec5ea63bee3e78d6ed7c10c257ac2441dfc792 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.34/Ex3_34.sce | b7fb55e15364704a4895a05a5795166fea030b55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Ex3_34.sce | //Example 3_34
clc;
clear;
close;
format('v',6);
//given data :
R=4;///ohm
L=0.5;//H
V=100;///V
f=50;//Hz
C=(1/2/%pi/f)^2/L*10^6;//micro F
disp(C,"(a) Capacitance at resonant Frequency(micro F)");
I0=V/R;//A
VC=I0/2/%pi/f/(C*10^-6);//V
disp(VC,"(b) Voltage across the capacitor at resonant(V)");
Q=VC/V;//... |
63774abd54587ff48b94ae7cae6d0f43a8d2ad14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH13/EX13.6/Example_13_6.sce | 90a337d5cd21dbce8d45cce87ba915bd215f0da4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_13_6.sce | syms s X1 X2 X3 U;
T=(s^2+4)/((s+1)*(s+2)*(s+3))
disp("state modle is")
A=[-1 0 0; -0 -2 0; 0 0 -3]
B=[1;1;1]*U
X=[X1;X2;X3]
C=[2.5 -8 6.5];
D=0;
disp(A*X+B,"[diff(X1);diff(X2);diff(X3)]=")
disp(C*X+D,"and Y = ") |
50efa5a84bf120d3691c68f9fff7e14909659afc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH7/EX7.5/exa_7_5.sce | c21c0b0cba69ed7851be4c3bd8f950e9fd66812c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | exa_7_5.sce | // Exa 7.5
clc;
clear;
close;
// Given data
f=1000;//in Hz
R1=1000;//in ohm
R2=1000;// in ohm
R3=2000;//in ohm
R4=2000;//in ohm
C1=1*10^-6;//in F
r1= 10;// in ohm
omega=2*%pi*f;
C2=C1*R1/R2;//in F
disp(C2*10^6,"Unknown capacitance in micro F ");
r2=(R2*(R3+r1)-R1*R4)/R1;//in ohm
del_1=omega*r1*C1;//i... |
87a931cb1560df5b24cb041771b748068ab57266 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.18/Example_9_18.sce | fd205f4ef38c5d59d5967f54b6d2d9aa53a951fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,299 | sce | Example_9_18.sce | clc;
clear;
printf("\n Example 9.18\n");
d=1; //Diameter of plate
r1=0.5;
r4=r1; //Radius of the imaginary disc sealing the hemisphere
L=r1; //The distance between the plate and the bottom of the dome
A1=%pi*d^2/4; //Area of the plate
A2=2*%pi*d^2/4; //Area of the underside of the Hemisphere
A4=%pi*r4^2/... |
a10a18aa833413b7a64f560af959f53a059c5750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH8/EX8.4.b/8_4b.sce | 12c896245bbd140ea39953ecf097fe1bbd0042c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | 8_4b.sce | clc
clear
//Initialization of variables
T1=584.6 //R
g=32.2 //ft/s^2
k=1.4
R=53.3 //ft-lb/lb R
V1=600 //ft/s
T2=519.6 //R
pa=14.7 //psi
p1=50 //psia
//calculations
Nm1=V1/(sqrt(k*g*R*T1))
Nm22= ((1+ (k-1)/2 *Nm1^2)/(T2/T1) -1)*(2/(k-1))
Nm2=sqrt(Nm22)
pr=((1+ (k-1)/2 *Nm1^2)/(1+ (k-1)/2 *Nm2^2))^(k/(k-1)... |
8624328e2aa352edbe3634dadd3180ee26cb02a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.10/ex6_10.sce | 55eb48ad0fe1e6b60e12074ebfac04ae401fcda9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | ex6_10.sce | // Exa 6.10
clc;
clear;
close;
format('v',7)
// Given data
Af = -100;// unit less
Vin = 0.06;// in V
Vout = Af*Vin;// in V
Vin = 50;// in mV
Vin = Vin * 10^-3;// in V
A = Vout/Vin;// unit less
//Af = A/(1+(A*Beta));
Beta = (abs(A)-abs(Af))/(Af*A);// unit less
disp(Beta,"The value of ß is");
Amount = 20*l... |
150a102eec93c9f604a355a5e906fc6158329703 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH2/EX2.4/Ex2_4.sce | 9032f3e43a6c5fdfa488bb0132edb746dd58d761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Ex2_4.sce | //Chapter 2 Gases
clc;
clear;
//Initialisation of Variables
P= 752 //mm
V= 0.2 //lit
T= 21 //C
R= 0.0821 //lit atm mole^-1
m= 0.980 //gms
//CALCULATIONS
M= m*R*(T+273)*760/(V*P)
//RESULTS
mprintf("Molecular Weight of Chloroform = %.1f gms per mole",M)
|
77dbefc5ec4ae482c8d321761f60e373f433a988 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH4/EX4.4/4_4.sci | 495058a3cfdfda6c0bea666e7f4727d806fb0bd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sci | 4_4.sci | // 4.4
clc;
delta=4.8;
Es=2.4;
K=delta/Es;
Es1=7.2;
delta1=K*Es1;
Es2=10;
delta2=K*Es2;
fs1=500*10^-3;
mf1=delta/fs1;
printf("\nmodulation index for Es (2.4) =%.1f",mf1)
mf2=delta1/fs1;
printf("\nmodulation index for Es(7.2)=%.1f",mf2)
mf3=delta2/fs1;
printf("\nmodulation indexfor Es(10) =%.1f",mf3)
|
7763210f800ebc16097f5521a240977820e0b720 | eec0cb8a9a3987d4e28fc22c89750a158a00ea84 | /Assignment8_team8/ComputerAdd.tst | b57e6826073569895e58e74b7e67e79c3adec545 | [] | no_license | Archaic-Mage/CS2310_LAB_Assignments | 8ac90e0123de95f5cf8db709cd7761962bf8cef2 | e922b59fc1350db3f23b07b8f5986ac54f197c8d | refs/heads/main | 2023-08-29T23:42:07.913682 | 2021-11-16T14:00:05 | 2021-11-16T14:00:05 | 401,640,543 | 1 | 1 | null | 2021-10-01T05:55:36 | 2021-08-31T09:10:15 | Scilab | UTF-8 | Scilab | false | false | 673 | tst | ComputerAdd.tst | load Computer.hdl,
output-file ComputerAdd.out,
compare-to ComputerAdd.cmp,
output-list time%S1.4.1 ARegister[0]%D1.7.1 DRegister[0]%D1.7.1 PC[]%D0.4.0 RAM16K[16]%D1.7.1 RAM16K[17]%D1.7.1 RAM16K[18]%D1.7.1 RAM16K[19]%D1.7.1;
// Load a program written in the Hack machine language.
ROM32K load add.hack,
output;
//sett... |
496fa31ff8edea9605b2f72f71ce349b36e69091 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/01/Not16.tst | 4086c1d9065b2372ed8493f5ab8be77cdee17edb | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | tst | Not16.tst | // File name: projects/01/Not16.tst
load Not16.hdl,
output-file Not16.out,
compare-to Not16.cmp,
output-list in%B1.16.1 out%B1.16.1;
set in %B0000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output;
set in %B1010101010101010,
eval,
output;
set in %B0011110011000011,
eval,
outpu... |
7b1a0eca127d4a4f232474fad8f4946cd1e9980d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH15/EX15.12/Ex15_12.sce | 9dd2475cba9f328b9579ed7228309847f9ecb046 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | Ex15_12.sce | // Problem no 15.12,Page no.359
clc;clear;
close;
D=0.038 //m //External Diameter
d=0.035 //m //Internal Diameter
d_1=0.0008 //m //Steel wire diameter
p=2*10**6 //pa //Pa //Internal Pressure
sigma_t_1=7*10**6 //Pa //Circumferential stress
//E_s=1.6*E_s
m=0.3
//Calculation
t=(D-d)*2**-1 //m Thickness
//sigma_t*2*t... |
b150669b24d076fde41dc9c7231bf74c73368db7 | e98ecd181a759a845d06627abbe4aa5fa643ce27 | /Project/hardware/export_db/master_example.cmp.sci | b3992b75744571618ae53df0dc7ce7ce5ded5f9b | [] | no_license | abdulkhan94/ASIC-Design-Lab | 3eb813a00aaf424f4d7bcdabc5a0c16675edc6e8 | ee1d8713d3a65d21a7e0e27baeb2e9db917c1b49 | refs/heads/master | 2021-06-17T11:55:03.983197 | 2017-05-23T05:24:30 | 2017-05-23T05:24:30 | 92,132,619 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 69,533 | sci | master_example.cmp.sci | <session design_hash="00000000000000000000" m_completed_compilation="false">
<stp_instance is_hdl_type="false" m4k_usage="0" m512_usage="0" mram_usage="0">
<sci_design_instance entity_name="" instance_hpath="" instance_name="auto_signaltap_0" ir_bits="0" is_auto_index="false" is_imported_from_partition="false" is... |
ffa38881f22ac3cc4f882a7148aad0cfde7b7a48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH7/EX7.3/Table7_3.sce | c6e943d1055f68b30e8b1d4899f62728c0ad51fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,071 | sce | Table7_3.sce | //clear//
//Caption:Illustrating the generation of DPSK signal
//Table7.3 Generation of Differential Phase shift keying signal
clc;
bk = [1,0,0,1,0,0,1,1];//input digital sequence
for i = 1:length(bk)
if(bk(i)==1)
bk_not(i) =~1;
else
bk_not(i)= 1;
end
end
dk_1(1) =bool2s( 1 & bk(1)); //initial value of d... |
3c9e7aa9314ece699b485f9eda388a350ee96bd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH4/EX4.2/4_2.sce | 97222aa11be9c94258c5838e1239e81c1d7f9580 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | 4_2.sce | //example 4.2
//least square curve fitting procedure
//page 129
clc;clear;close;
x=[0 2 5 7];
y=[-1 5 12 20];
for i=1:4
x_2(i)=x(i)^2;
xy(i)=x(i)*y(i);
end
printf('x\t y\t x^2\t xy\t \n\n');
S_x=0,S_y=0,S_x2=0,S_xy=0;
for i=1:4
printf('%d\t %d\t %d\t %d\t\n',x(i),y(i),x_2(i... |
6a41567ccd05067c6f1549b644bc0fb1013fec13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.23/ch8_ex_23.sce | 55b53553d2dcf6f7618eed9b2420ef109bf426e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sce | ch8_ex_23.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 23
disp("CHAPTER 8");
disp("EXAMPLE 23");
//VARIABLE INITIALIZATION
v=230; //in Volts
r_a=0.4; //in Ohms
r_f1=115; //in Ohms
I_a=20; //in Amperes
N1=800; //in... |
0eac28709d1a9135cc7a990bac98878ae4ea17db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH17/EX17.3/Ex17_3.sce | dda2253ccfc41937c717b69570b9e52e19b7a67e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | Ex17_3.sce |
P=6//no. of poles
A=P//no. of parallel paths
phi=.018//flux per pole
N=600//speed of rotation in rpm
Z=840//total no. of conductors
Eg=P*phi*N*Z/(60*A)
mprintf("Emf generated=%f V\n",Eg)
|
5ff41221fe7ef117e582cae1997233ce659a9684 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.44/EX17_44.sce | 161e9411533898d2c845a2d74fad010ab6b95b60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,912 | sce | EX17_44.sce | clc;funcprot(0);//EXAMPLE 17.44
// Initialisation of Variables
D=0.34;..............//Engine bore in m
k=0.5;...............//Four stroke engine
n=1;..................//No of cylinders
L=0.44;................//Engine stroke in m
Ne=400;................//Engine rpm
aic=465;..............//Area of indicator diagra... |
18736637881b1888d889d978e186e5d692c696b3 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/m10/pesos.sce | 270613ca9d74300bd7fc1afc3a9094481c3e0703 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | pesos.sce | /*
ex.
Sejam os nós x=[0, 0.6, 1]. Encontre os pesos A_i da quadratura
I=A_1f(x_1)+A_2f(x_2)+A_3f(x_3) tal que o erro seja o menor possível
para aproximar a integral de f no intervalo 0 a 1.
R: [8/36, 25/36, 3/36]
*/
clear
vetor_nodes = [-0.72, 0.12, 0.82]
lim_inicial = -1
lim_final = 1
len_nodes = length(vet... |
653a22322da610f4dd7fe09dc93b515886fb622e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH11/EX11.8/Chapter118.sce | 8f83095c5ceaa5c3a0a7f600d3c6ed3b974acca2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,705 | sce | Chapter118.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 11, Example 8")
//Two concentric spheres of diameters D1=0.5m and D2=1m are separated by an air space.
//The surface tempratures are T1=400K and T2=300K
T1=400;
... |
fbde805de52ec2aad3a02a4dd4f63500505b75f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH7/EX7.12/Ex7_12.sce | be66fe2efdf5009dc2e7801f0b9fa4b231273ca7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Ex7_12.sce | clc;clear;
//Example 7.12
//given data
P2=1000;
P1=100;
//from Table A-5
//At P2
v1=0.001043;
//calculations
Wrev=v1*(P2-P1);
disp(Wrev,'compressor work as saturated liquid at inlet in kJ/kg')
//from Table A-5
//at P1 as sat. vapour
h1=2675.0;
s1=7.3589;
s2=s1
//from Table A-6
//at P2 and s2
h2=... |
2a6396ad6ea2b5f2453202cee488cc27283f3438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH2/EX2.1/Ex2_1.sce | d1b13db45af715b4675ac6f6a01f7e03a463e847 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sce | Ex2_1.sce | clc
h=1.05*10^-34
disp("h = "+string(h)+"Js") //initializing value of reduced plancks constant or dirac constant or h-bar
mo = 9.1*10^-31
disp("mo = "+string(mo)+"kg") //initializing value of mass of electron
E = 0.1*1.6*10^(-19)
disp("E= "+string(E)+"J")//initializing value of Energy of electron in conduction ba... |
0ea89e4d5c5587406156ff35de446d9916faa3c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH11/EX11.5/11_5.sce | 8c4c7be78c148fbec78f0b40c6928778fe0bb0ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 924 | sce | 11_5.sce | //Example 11.5
//Inverse Power Method
//Page no. 347
clc;close;clear;
A=[7,6,-3;-12,-20,24;-6,-12,16];
e=10^-6;
X=[1;1;1];
B=0;
Y=[0;0;0]
a=0;l=0;
for i=1:2
printf('When a=%i\n',a);
C=A-a*eye();
disp(C,"C=")
C_1=inv(C);
disp(C_1,"Inverse of C=");
printf('\n\nItr lambda ... |
d68f86b633df02df1d907a7bc3621803fa64c266 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH2/EX2.14/Ex2_14.sce | ace4ca344bd7557a267f057af585458d7969ba1f | [] | 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 | 452 | sce | Ex2_14.sce | errcatch(-1,"stop");mode(2);//Example 2_14
;
;
//To find the angular separation between two wave lengths
N=6*10^5 //units in lines per meter
m=3
lemda1=500*10^-9 //units in meters
lemda2=510*10^-9 //units in meters
theta1=asin(m*N*lemda1)*180/%pi
theta2=asin(m*... |
5bac4715029fc8d02e124036f0d6cdc9a3fdef5d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_gray.sci | bf1e115f432fbb2d25fc30519157ce6dc9734a10 | [
"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 | 199 | sci | sci_gray.sci | function [stk,txt,top]=sci_gray()
// Copyright INRIA
txt=[]
if rhs<1 then
stk=list('graycolormap(32)','0','32','3','1')
else
stk=list('graycolormap('+stk(top)(1)+')','0',stk(top)(1),'3','1')
end
|
20b93de20946440f56f5fb2b101362868518961e | b62e95d0f654f9e1b04b0cefd24238e0921f9947 | /MRI/3013065.02.MRI.Encoding.v1.sce | 197c45b9d870c8f83582c52f0ed543ecc08d0183 | [] | no_license | L3onore/PresentationNeurobs | 4a19a4f4730d72fcc9e2cfe49ab1694bdc31284e | bc447434d2ca776506fd4d7121f96bc4b45a9467 | refs/heads/master | 2021-01-20T04:22:28.601020 | 2017-04-28T09:09:26 | 2017-04-28T09:09:26 | 89,682,814 | 0 | 1 | null | 2017-04-28T08:56:43 | 2017-04-28T07:59:18 | Scilab | UTF-8 | Scilab | false | false | 6,562 | sce | 3013065.02.MRI.Encoding.v1.sce | scenario = "False memory - encoding session"; # name of this scenario file
pcl_file = "3013065.02.MRI.Encoding.v1.pcl"; # direct to the correct pcl file
#default_font = "Comic Sans MS"; # can choose all types of fonts you want
default_font = "Calibri";
default_font_size = 30;
default_text_color = 235,235,235; # near... |
1ad5c6d1a94e3c26214a0a41fa413462193e093c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH1/EX1.6/Ex1_6.sce | 2b5f46d4abdcad7906e4b6ce28792db496eccae5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_6.sce | //Calculations on diesel engine
clc,clear
//Given:
bp=5 //Brake power in kW
eta_it=30 //Indicated thermal efficiency in percent
eta_m=75 //Mechanical efficiency in percent (printing error)
//Solution:
ip=bp*100/eta_m //Indicated power in kW
CV=42000 //Calorific value of diesel(fuel) in kJ/kg
m_f=ip*3600/(eta_i... |
cd4606c93f04f0354296cfa31f4b5aa2a627d848 | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/missionA3.sce | d44aba498c91517b072cb29d283e810aab79f99a | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | missionA3.sce | //
funcprot(0)
//eaux chaude sur la carte : mission A3
//load
getd('../scripts/')
//save
imgPos='../images/'
renderPos = "render/" //The folder where the render images will be saved
img=readpbm(imgPos + 'Europa_surface.pbm');
resultat = seuillage(img,250)
writepbm(resultat,renderPos+"MissionA3.pbm");
|
13a7ef51df607e7c0473388234ab180f0e48e60b | 34fe04e70c3d8cd31b1e57e0aa6ef7cc241f39ec | /medea_result/heat_expansion/600888/test/Ag_99/displaced_Ag__a.sci | 0a637a3b7248e9f5a51d51fa1d8d5ee4471c8698 | [] | no_license | daddygongon/thesis_data | 162563a27f98d97f5550c910a5b4403675e1533d | 4c9bf2caa9224c2249cfdd873452249fadd5e124 | refs/heads/master | 2020-05-21T10:34:53.619953 | 2017-03-10T08:09:30 | 2017-03-10T08:09:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,329 | sci | displaced_Ag__a.sci | @Title displaced_Ag__a_1
@Columns AsymmetricAtom
AtomicNumber int 0
Connections string {{}}
Fractional double {{0.0 0.0 0.0}}
Name string {{}}
Site int 1
WyckoffPosition int -1
@end
@data
47 {} {0.75 0.75 0.5} Ag 1 -1
47 {} {0.75 0.75 0} Ag 1 -1
47 {} {0.75 0 0.25} Ag 1 -1
47 {} {0.75 0.25 0.5} Ag ... |
0098fd332e4595f1590980f0034dc17e2f284fab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH5/EX5.9/Ex5_9.sce | 9e2ef3c9b02e617f7a788b355a389c293d6b3a9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex5_9.sce | //Initilization of variables
F1=1000 //lb
F2=1200 //lb
F3=2000 //lb
x1=1 //ft
x2=7 //ft
x4=2 //ft
x3=6 //ft
//Calculation
//Equilibrium equations
Rn=(F3*(x1+x2+x3)+F2*(x1+x2)+F1*x1)/(x1+x3+x2+x4)//Moment about point M
Rm=(F1*(x2+x3+x4)+F2*(x3+x4)+F3*x4)/(x1+x2+x3+x4)//Moment about point N
//Result
clc
pri... |
0f9701f666719c5718399a30a1812b7c54df4475 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.10/4_10.sce | 66df6020e4c3e3a3b96614758cc1d2f6c54e833b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 4_10.sce | clc
clear
//Initialization of variables
T1=673 //K
T2=293 //K
//calculations
eta=(T1-T2)/T1
//results
if eta>=0.5 then
printf("Max efficiency = %.3f and an efficiency of 0.5 is possible",eta)
else
printf("Max efficiency = %.3f and an efficiency of 0.5 is not possible",eta)
end
|
49e917da0e5f7eeff03c910b7b305ec98e09c51c | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH7/EX7.15/7_15.sce | c17b6813302a8d513a0427052c743b254228f60e | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | 7_15.sce | clc;
a=0.909;
b=0.091;
nR=1+0.5;
nP=1;
H0=-282990;
R=8.3145;
T0=298;
U0=H0-(nP-nR)*R*T0;
UR0=-7844;
UR1=9487;
UP0=-6716;
UP2=(a*281751)-(UR0-UR1)+UP0
UP2_=(a*138720)+(b*74391)+(1.709*73555);
disp("which compares with the actual,hence actual temperature of the products is slightly greater than 3200",UP2_,"and UP2 at... |
804db1c849b6023c2c83174f85c09b5acd24ea51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.28/Chapter2_Example28.sce | 7c082131431b06c7bce72e815ec89374c174adbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,039 | sce | Chapter2_Example28.sce | //Chapter-2, Example 2.28, Page 2.51
//=============================================================================
clc
clear
//INPUT DATA
Rp=1;//Percentage resistance drop in percentage
Xp=4;//Percentage reactance drop in percentage
cosQ1=0.8;//Lagging power factor
sinQ1=0.6;//Sine of Q1
cosQ2=1;//Power fa... |
e2f6e91dec4a1b27cd54eb42ff8c44a4552cf74e | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH9/EX9.1/ch_9_eg_1.sce | 0bc3f9a2fbc8b8eb6b2b7148682c02fc96f134ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,124 | sce | ch_9_eg_1.sce | clc
disp("the soln of eg 9.1-->Transient heat conduction in a Rectangular slab")
disp("the values of Temp measured from centre at the gap of .2 cm are")
alpha=10^-5, delta_t=.1, delta_x=10^-3 //given data
m=alpha*delta_t/(delta_x^2)
for i=2:4, a(i)=m //sub-diagonal
end
b(1... |
8359a1ea1caf7f3522b9fad31e8dfbb69c81a215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH1/EX1.7/Ex1_7.sce | 6cb1e76227cbd60a1dc303a0485064bb51832f8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Ex1_7.sce | // Example 1.7
clc;
clear;
close;
// Given data
format('v',6);
VEE= 5;// supply voltage in V
RC= 2*10^3;// collector resistance in Ω
RE= 4.3;// emitter resistance in kΩ
VBE= 0.7;// in V
VT= 26;// in mV
IE= (VEE-VBE)/(2*RE);//emitter current in mA
re_desh= VT/IE;//dynamic emitter resistance in Ω
Ad= RC/(2*r... |
c2eb2962069506bce0fd251c8612121a65ab82e9 | 7bf9b615fc7bd8790ccc10d5e8f07824d114a245 | /ir_predict.sci | 65b961a1c275fd684a06eb1d478f7bcd47638de2 | [] | no_license | szhilin/scirt | 91b4ea7c9f328999e8f5aa1799b0930256bcdde9 | 31ea78eb9e7fb547dd6d81fe86b89ccb9f4c761d | refs/heads/master | 2021-01-09T06:00:49.769480 | 2017-02-05T15:56:33 | 2017-02-05T15:56:33 | 80,890,335 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,378 | sci | ir_predict.sci | function [yp, betap, exitcode, active] = ir_predict(Xp, X, y, epsilon)
// Computes interval prediction for response y at the point x
// using the interval regression constructed for dataset (X,y,epsilon)
//
// TODO: Fix bugs in algorithm of active constraints detection.
//
// Inputs:
// Xtest (k x m)-matr... |
19c6f56cac37248997288bed02608aeb207105c4 | 10646794149c56eb4d1299d3d8a6cbb0a9ca3d05 | /test/notoktests/maskjmp2.tst | 6592d97f49197728fae842d40e8a363ff3354d12 | [] | no_license | pilki/FPdNaCl | 7256b5c116774ab70fc584db9a18eaf0f5ef66ac | 54ed0e63fecb82ac163d153b1ffa17695cdb987d | refs/heads/master | 2020-05-20T08:14:44.612852 | 2011-05-12T14:31:38 | 2011-05-12T14:31:38 | 1,535,615 | 1 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | tst | maskjmp2.tst | ;improperly masked indirect jump
%2 <- %2 and 0xffffffe0
ijmp %3 ; wrong register
|
5aea1b1915fd38506382b373037c4a865c02b282 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.24/1_24.sce | ab67c95da9be6ba3bad7babd126baa7ca70760de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,102 | sce | 1_24.sce | clc
clear
//Input data
P1=1;//pressure at the beginning of compression stroke in bar
T1=298;//Temperature at the beginning of compression stroke in K
P3=38;//Pressure at the end of constant volume heat addition in bar
T4=1573;//Temperature at the end of constant volume heat addition in K
r=9.5;//Compression rati... |
08f0905187ceccec795c34287d305a8e20c4a991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH10/EX10.11/ex_11.sce | afd752c23a4338f92f21900655eda24cd9017bed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | ex_11.sce | // Chapter 10_Fundamentals of the Metal Oxide Semiconductor Field Effect Transistor
//Caption_Cut off frequency
//Ex_11//page 484
mun=400 //mobility
L=4*10^-4
VT=1
VGS=3
fT=mun*(VGS-VT)/(2*%pi*L^2)*10^-6
printf('The cut off frequency of this MOSFET with constant mobility is %1.0f MHz',fT) |
f33fe0f1d49290efc9dff29769f95f8970b7a632 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.3.sce | 1b36e57b5bc7a480464bd666bf17d734fa689d40 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | Ch_6_Eg_6.3.sce | //Use of the x_choose function.
n=x_choose(['Red'; 'Green'; 'Blue'],['Choose a color by double clicking'],'Return without selection')
|
d2f44629b81583c5fa3c5b907089500080554b8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH11/EX11.2/ex11_2.sce | fa983757f649ad952dbb239d8deca1a537118256 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex11_2.sce | clc;clear;
//Example 11.2
//given data
hf=30;//half life in days
//M is intial conc.
//calcualtions
k=0.693/hf;
disp(k,'radioactive disintegration constant in 1/day');
//M/4 is left
t=-log(1/4)/k;
disp(t,'time taken for (ii) in days');
//M/8 is left
t=-log(1/8)/k;
disp(t,'time taken for (iii) in days') |
73ecea1228479422fd73d63a101aef0760a17740 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH10/EX10.14/10_14.sce | 08ed781f719469ca0754b0d62d7f0194878dab20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_14.sce | clc;
clear;
P=10^-3 //power in watt
h=6.62*10^-34 //Plancks constant in J-s
v=3*10^8 //frequncy of light in Hz
lambda=4560*10^-10 //wavelength in m
eff=0.005 //quantum efficiency
e=1.6*10^-19 //charge in C
//calculation
E=(h*v)/lambda //energy of each photon in joules
N=P/E //no of photons incident on the m... |
680ac22ad191601b56576eabf1ae61b9b118a0cc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH18/EX18.46/Ex18_46.sce | 28d9d39e4ca622b197807662dfc1b5b3dfc676c2 | [] | 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 | 235 | sce | Ex18_46.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
v=4 //m/s
m=9 //kg
s=1.5 //m
//Calculations
Io=(2/3)*(m*s^2) //kg.m
w=(m*v*s*0.5)/Io //rad/s
//Result
printf('The angular velocity of the box is %i rad/s',w)
exit();
|
0524652b939a8e6dfee66dc780f90b95673e828c | 06e74210ace33400285a034c1757ea4955aa3a0e | /libtest/tests/28_filename.tst | ea9e9265deea65334f8e8436349a6ecd29f063c8 | [
"MIT",
"SMLNJ"
] | permissive | helmwo/awklib | c2aa8c1e2366797365830cab9d1c022754090f00 | 7b19b0346ade4e89a4f26223a39af7f899630e55 | refs/heads/master | 2023-07-14T19:23:27.498998 | 2021-09-05T20:46:48 | 2021-09-05T20:46:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | tst | 28_filename.tst | # Per GAWK manual:
# Inside a BEGIN rule, the value of FILENAME is "", because there are no input
# files being processed yet.
# https://www.gnu.org/software/gawk/manual/gawk.html#Auto_002dset
BEGIN { print FILENAME }
END { print NR }
##Input
1
2
3
##Output
3
##END |
df8a433bf14765a193fb5c678dad79b649e78eda | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/probes/watch1.tst | a78c03f73e88ad5f80854da28441e1b833f7c49a | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | tst | watch1.tst | # @Harness: probes
# @Result:
# @Program: array.asm
# @Purpose: tests read watches
watch A { | | | }
main {
insert A 0x100;
}
result {
4 A.beforeRead;
4 A.afterRead;
}
|
b87341eb9467d3b55b78b6ee0b22c6c912928e0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.13/Ex5_13.sce | 4bb8846367014e0535c6a233470eda32df7a2d49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | Ex5_13.sce | //Ex:5.13
clc;
clear;
close;
Lc=100000;// coherence length in m
y=1.32*10^-6;// operating wavelength in m
dy=1.5*10^-9;// spectral width in m
BF=y^2/(Lc*dy);//model birefrigence in um
L=y/BF;// beat length in m
printf("The beat length=%f m", L); |
ee6accd3d25c76ce271ac59c47acac1782e7fa2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH10/EX10.4/10_4.sci | 463cc9bbed939ef28f749a323a424f9914982f0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sci | 10_4.sci | clc();
clear;
//To determine the uncertainity in determining the position of this electron
m=9.1*10^-31; //mass of electron
v=6*10^3; //speed of electron
p=m*v; //uncertainity in momentum in kg.m/s
h=6.626*10^-34; ... |
ec73e0ed2a4d774a4154e8c0b3cb9d89f2449488 | 68f6f3335d41b95146619ddf406414da5c1bc975 | /metodos-numericos/practicas/scilab/alpha40.sci | 711b19247f29ebf7516d23dcf565f417631c1802 | [] | no_license | nachocattoni/Ita | be52ab7f80cb0dd7d0a0ef470c72a7f997f2e75b | f7e102a2917ebe59358dbd9d5f7af81703c16fde | refs/heads/master | 2021-05-02T08:09:23.784800 | 2018-02-08T02:50:30 | 2018-02-08T02:50:30 | 120,845,736 | 0 | 0 | null | 2018-02-09T02:29:22 | 2018-02-09T02:29:21 | null | UTF-8 | Scilab | false | false | 21,384 | sci | alpha40.sci | clear; clc;
// Descomposición de Cholesky //
// //
// A: Matriz hermitiana y definida positiva //
// L: Matriz triangular inferior tal que LL* = A (L* es la conjugada... |
535b5b91abedaa2a4a4780c9cab58e7be5ce0b39 | a45f93853fdb67523e71e3e7fb88c4298eae1ef7 | /Screens/Display Options Screen.tst | e68a168603d435d451771e2e5099f9f566ee5ca3 | [] | no_license | voarsh/Disney-Treasure-Planet-Battle-at-Procyon | 68192cbfdf8b823bc8399e3ea1e62d4976b74aed | 99cbbc70701ef6e8f9d95eba1052635de992910f | refs/heads/master | 2020-04-16T01:44:03.761947 | 2016-06-08T10:25:05 | 2016-06-08T10:25:05 | 38,745,932 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,520 | tst | Display Options Screen.tst | ScreenName String 'Display Options Screen'
ImplName String 'NULL SCREEN'
ElementChunkArray Int 26
ScreenElementType Int 0
ImplName String 'Front End Screen Backdrop'
TabIndex Int 1
Selectable Bool False
Enabled Bool True
ReferenceArea Rect( 0, 113, 800, 507 ) # left,top,right,bottom
ScreenElementType Int 1
ImplName St... |
18bd974433e685a3a0927360734a3e3514414a13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH1/EX1.13/Ch01Ex13.sce | 86d75117835b5b50a2301d40e9de4eb86084556e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch01Ex13.sce | // Scilab Code Ex1.13: Page:32 (2011)
clc;clear;
c = 3e+008; // Speed of light in vacuum, m/s
E0 = 0.5; // Rest energy of the electron, MeV
v1 = 0.6*c; // Initial velocity of the electron, m/s
v2 = 0.8*c; // Final velocity of the electron, m/s
W = (1/sqrt(1-v2^2/c^2)-1/sqrt(1-v1^2/c^2))*E0; // The... |
e18cc803268a0f10a4da354740f3a2ae62eff38c | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.73/73.sci | 38f1d621d1693bd6518560f3cbd6c5f8e06fcea3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sci | 73.sci | clc;
clear all;
disp("increase in heat dissipation")
k=0.174;// W/(m*C)
r1=6.5/2;//mm
ho=8.722;// W/(m^2*K)
rc=1000*k/ho;//mm
L=1;//m
t1=60;// degree C
tair=20;// degree C
disp("mm",rc,"critical radius of insulation =")
t=rc-r1;
disp("mm",t,"minimum insulation of thickness t = ")
disp("i) without insula... |
d842c8d35d74a24efaa1b81dec5758fc4cb543da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH5/EX5.14/Ex5_14.sce | 8ac6f667e07703cd95a2608884401c6398e12453 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Ex5_14.sce | clc
//initialization of new variables
clear
n = 0.012;
S = 1;
alpha = 1;//degrees
Z = 0.00005:0.05:5;
k = (5-0.00005)/0.05 +1;
for i = 1:k
R_h(i) = S/((1/Z(i))+2*Z(i));
U_av(i) = (1/n)*(R_h(i)^(2/3))*sqrt(tan(alpha*%pi/180));
Q(i) = U_av(i)*S;
b(i) = S/Z(i);
AR(i) = Z(i)/b(i);
end
p... |
66051ef37802aaea04fa1a3a59f6190c569cccb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH5/EX5.5.1/5_5_1.sce | a3f81d89f51ec99017a1aadf062c9e24d728b172 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | 5_5_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 5
//Example 5.5-1
//Principles of Unsteady State Heat Transfer
//given data
//english units
h=39.7;
k=0.498;//thermal conductivity
Cp=3.48*1000;//specific heat
rho=1073;//density
alpha=k/(rho*Cp)//temp coefficient
w=0.203;
x1=w/2;
x=0;
n=x... |
8835fd6a67a726d62a0445cf628e803090c0c965 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/tf2zpk/tf2zpk9.sce | 87df5aa59c4433b803e022faec58b537e5e0e8e7 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | tf2zpk9.sce | a=[0 0 0 0];
b=[1 2 3 4];
z=tf2zpk(b,a);
disp(z);
//output
// !--error 10000
//Dividing by zero not allowed
//at line 46 of function eqtflength called by :
//at line 7 of function tf2zpk called by :
//z=tf2zpk(b,a);
//at line 3 of exec file called by :
//x Test/tf2zpk/tf2zpk9.sce', -1
|
710d8e814dc00c648548c63836f58e7febc27b54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.19/34_19.sce | f32e2de3c45897f67b1c4c217bd5eee0e97c9ca0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | 34_19.sce | //ques-34.19
//Calculating energy of light required to decompose 1g of ammonia
clc
w=200;//wavelength (in nm)
QE=0.14;//quantum efficiency (in molecule/photon)
m=1;//mass of ammonia given
n=m/17;//moles of ammonia given
q=(n/QE)*(2.859/w)*10^7;
q1=q*4.184;
printf("The energy of light required is %d cal or %d J... |
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... |
7de2c7b29ead2e1d21575f7ec4afec4d82a69eb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH9/EX9.5/Ex9_5.sce | 85b4ac76683b60c29a0e9c3e081c09b854b60add | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_5.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
esp=11.7
esp0=8.85*10^-14
phibe=0.67 //V
A=114 //A/K^2-cm^2
Na=10^18 //cm^-3
Nd=10^16 //cm^-3
taup0=10^-7
taun0=10^-7
Dp=10 //cm^2/s
Dn=25 //cm^2/s
Lp=1.0*10**-3 //cm
Ln=1.58*10**-3 //cm
pn0=2.25*10**4 //cm^-3
np0=2.25*10**2 //cm^-3
a=k*T
Js... |
6d310ce876498a8ec73331c19a35c7457b3dbd25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.55/ex2_55.sce | f64ff265ea6820ba5ccc49b40be5ccafe753542d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | ex2_55.sce | clc
Vr=200; //Assiging values to parameters
P=15.3;
fr=10000;
BW=1000;
R=Vr^2/P;
Q=fr/BW;
L=Q*R/(2*%pi*fr);
C=1/(4*%pi*%pi*fr*fr*L);
disp("Ohms",R,"resistance");
disp("henry",L,"inductor");
disp("Farads",C,"Capacitor"); |
67f1908ab4fd9d70c3210f50b7ebc81d2c33d074 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/rt_gen_make.sci | c429fdab1514b2c4bbdbfafd21990daf33a525ce | [] | 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 | 432 | sci | rt_gen_make.sci | //==========================================================================
// Modified for RT purposes by Roberto Bucher - RTAI Team
// roberto.bucher@supsi.ch
function Makename=rt_gen_make(name,files,libs)
Makename=rpat+'/Makefile';
T=mgetl(TARGETDIR+'/'+makfil);
T=strsubst(T,'$$MODEL$$',name);
T=strsubs... |
06e1e581f762b6b172099d17c3623b553efb81b6 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MachineLearning/SP_LogRegr-NZ-01.tst | 290e164703f396696dad809521816be116aebdde | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,296 | tst | SP_LogRegr-NZ-01.tst | ----------------------------------------------------------------------------------------
CREATE OR REPLACE VIEW tblLogRegr_vw
AS (
SELECT ObsID, VarID, Num_Val as Value
FROM tblLogRegrData);
EXEC SP_LogRegr('tblLogRegr_vw', 0.10, 25, 'Test');
-------------------------------------------------------------------------... |
4543f9e9a7227b2c2c23a2e5ac9ea58c231cff47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH7/EX7.9/Example7_9.sce | 57ee453100da475bdbf0558bbe5b76f60d6ea7c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,118 | sce | Example7_9.sce | //Example 7.9. refer fig.7.17.
clc
format(6)
KN=1*10^-3
lamda=0.01
Ri=100*10^3
IDt=4*10^-3
IDQ=1.5*10^-3
VTN=1.5
VDD=12
VDSQ=7
disp("To determine VDSi")
disp("We have,")
disp(" IDt = KN*(VGst - VTN)^2")
disp("where the subscript t indicates transition point values.")
VGSt=sqrt(IDt/KN)+VTN
disp... |
9ec11ddfd9c2b78240805d0058ff60625d24accb | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.2.1/ques2_1.sce | 694e4fdbf9f0d6aa4234f80d73b88d6fff59bdfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | ques2_1.sce | //ques1(ii)
disp('To find the laplace of given function in t ');
syms t s
f=exp(-3*t)*(2*cos(5*t)-3*sin(5*t));
disp(laplace(f,t,s)); |
b3f6b2e92f72af5a01bb52e310009526545f0d63 | d67dba56b10c0024f44ffdacf88ed2c1da0fcad7 | /.Attic/tests/wolfilter/data/lua_transaction_postgresql_configurator.UTF-8.tst | 98e1143eaa874c09800d897aee34eefd51d0ccf3 | [] | no_license | Wolframe/configurator | f7521bd149d7de26a49dbbfc0006107311b0e6ed | 11c36ef1e88035a79818935334cb9e9d76dc7d24 | refs/heads/master | 2021-01-10T14:37:28.996482 | 2013-11-22T20:15:49 | 2013-11-22T20:15:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 62,919 | tst | lua_transaction_postgresql_configurator.UTF-8.tst | **
**requires:LUA
**requires:PGSQL
**input
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE test SYSTEM 'test.simpleform'>
<test>
<pushCategoryHierarchy>
<node name="Minicomputer">
<node name="Superminicomputer"/>
<node name="Minicluster"/>
<node name="Server (Minicomputer)"/>
<node name="Works... |
8da68a6cfa33176cb3938d6f655551179f1f4bcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.4.5/Example1_13.sce | 0239c2f3f59b6321d4b527d1b17c9002a0a9ccd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Example1_13.sce | //chapter-1,Example1_4_5,pg 1-34
Dn_1=0.218 //Diameter of nth ring
Dn_2=0.451 //Diameter of (n+10)th ring
wavelength=5893*10^-8 //wavelength of light
R=90 //Radius of curvature
p=10
u=(4*p*wave... |
9395450ffca034376d93ee419d94c0fce9ade055 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH8/EX8.5/8_5.sce | b45d09e4437e76f46eb12f4630fafad4d5279676 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 908 | sce | 8_5.sce | //Calculate ENDURANCE STRESS FROM using various relations
//Ex:8.5
clc;
clear;
close;
p_min=20;//in kN
p_max=50;//in kN
l=500;//in mm
d=60;//in mm
a_u=650;//in MPa
a_y=520;;//in MPa
fos=1.8;//factor of safety
m_max=p_max*l/4;//maximum bending moment in kN mm
m_min=p_min*l/4;//minimum bending moment in kN m... |
3a1a62c9fa49e35f0d25aa57a1b11c7627a0b8be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH1/EX1.9/eg1_9.sce | 39910583ba585db502b655c54ffdaa7d3fd2f4bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | eg1_9.sce | //to calculate a).max demand on the station b).installed capacity c).energy supplied in a year
clc;
peak_l1=25; //load is in MW
peak_l2=20; //load is in MW
peak_l3=30; //load is in MW
ann_lf=0.6; //load factor is dimentionless
d_f=1.65; //diversity factor is dimention... |
f277a6b4fb0acc72eccde38873804f6a04f114d8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/projsl.man.tst | 4e9b21d7f29fdd75378916d603ee5cafd3f175fc | [
"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 | 666 | tst | projsl.man.tst | clear;lines(0);
rand('seed',0);sl=ssrand(2,2,5);[A,B,C,D]=abcd(sl);poles=spec(A)
[Q,M]=pbig(A,0,'c'); //keeping unstable poles
slred=projsl(sl,Q,M);spec(slred('A'))
sl('D')=rand(2,2); //making proper system
trzeros(sl) //zeros of sl
wi=inv(sl); //wi=inverse in state-space
[q,m]=psmall(wi('A'),2,'d'); //keeping sma... |
66d164d799be152dfffff8c1f973f781ff238c15 | 3d76fea8c13ccbbd85a72caff487d44353b3c546 | /2018-2019/Fall 2018/Object Oriented (Java)/homework1/TestTime.tst | 952c559ba4d9dddc82a1dd7a0f2663ac913a336c | [] | no_license | munoz24/schoolWork | 7b3c4b77b10d0ff449098052858dbd0470ff2507 | abfb2203a28005be129f52bed79c38d0f869a49d | refs/heads/master | 2020-04-26T02:10:35.656695 | 2019-03-01T03:33:18 | 2019-03-01T03:33:18 | 173,226,541 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | tst | TestTime.tst | 1793053674="2018/09/04"
106325153="UTC AD 2018/09/05 14:00:00"
942264642="1.0 min."
1345932452="UTC AD 2018/09/05 13:59:00"
1684156605="14:00"
|
f542e335f86a1dc3ad59c12118cbc5dc2a0ef876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH2/EX2.7/ch2_2_7.sce | 7e0d4cfc16b047887e85fa95480c5a0be4681820 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | ch2_2_7.sce | //chapter 2
//example 2.7
//page 49
clear;
clc ;
//given
trr1=10;//in ns for 1N915
trr2=3;//in ns for 1N917
//finding maximum operating frequency for 1N915
fmax1=1/(10*trr1)*10^3;//in MHz
//finding maximum operating frequency for 1N917
fmax2=1/(10*trr2)*10^3;//in MHz
printf('maximum operating frequency... |
48aa879c44b7796b40cf1b9877bcdd9658da96b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.24/example24_sce.sce | 6763ef38f3ffd72f363706c1dd6bf3344cab1f66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | example24_sce.sce | //chapter 19
//example 19.24
//page 875
printf("\n")
printf("given")
Rf=15*10^3;R1=5.6*10^3;vs=.5;Vp=2.7;Rl=8.0;
Acl=(2*Rf)/R1
Vo=Acl*vs
Po=(Vp)^2 /(2*Rl);
printf("load power dissipation is %3.2fW\n",Po) |
d835de5c53082a0cf04f1c44f282093dd1cd259f | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH2/EX2.5/eg_2_5.sce | a43c42d093151379edb6dd46b1fb87ddf68f0cf6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,720 | sce | eg_2_5.sce | clear;
clc;
//N=input("enter the no of elements in the set :");
//for i=1:1:N
// s(1,i)=input("enter the elements in the set :");
//end;
//n=input("enter the number of pairs in the relation :");
//for j=1:1:n
// for k=1:1:2
// r(j,k)=input("enter the elements in the relation :");
// end
//end... |
364ea8b340f88c77c6e337c19823b0f400a4310d | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH12/EX12.6/eg_12_6.sce | 3b1294ec37d0e20cda1aa187a977a49b02c5f20d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 52 | sce | eg_12_6.sce | s=%s
GH=syslin('c',k/(s*(s+2)*(s+10)))
nyquist(GH) |
3958c633039808b65324ee9cff44cf044c6aafb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH28/EX28.2/WWS_2.sce | 5938ef4711399bcd2cdc4ba53a50e0e2597cd2d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | WWS_2.sce | // sum 28-2
clc;
clear;
Z1=1;
Z2=52;
q=10;
m=8;
i=Z2/Z1;
CD=((m*q)+(m*Z2))/2;
lambda=atan(Z1/q);
d=q*m;
da=m*(q+2);
df=m*(q+2-(4.4*cos(lambda)));
pa=m*%pi;
D=m*Z2;
Da=m*(Z2+(4*cos(lambda))-2);
Df=m*(Z2-2-(0.4*cos(lambda)));
// printing data in scilab o/p window
printf(" i is %0.0f ",i);
pri... |
63e2e57cf43f21963244725d9d9fc50c4f3beb14 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/util/g_round.sci | 2dbe3753cf297c3c85203552d903744e01bdd1e5 | [
"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 | 87 | sci | g_round.sci | function sp=g_round(a)
// Copyright INRIA
[ij,v,mn]=spget(a)
sp=sparse(ij,round(v),mn)
|
07b2e211bd0343444f205292058b4114dd128a6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH11/EX11.1/11_1.sce | a25ac4a93d73f4296427160a4edb3423ed38c56c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | 11_1.sce | clc
//initialisation of variables
T= 25 //C
T1= 75 //C
k= 6.45 //cal per mole per degree
k1= 1.41*10^-3 //cal per mole per degree k^-1
k2= -8.1*10^-8 //cal per mole per degree k^-2
m= 14 //gms
M= 28 //gms
//CALCULATIONS
Cp= k+k1*(273+T)+k2*(273+T)^2
Cp1= k+k1*(273+T1)+k2*(273+T1)^2
cp= (Cp+Cp1)/2
H= (m/M)*... |
8a807de4c091c436c397bf23841ce22cd1e568a3 | c59576b9f96a7b26dc5bc0d52998ad818380b8cf | /test/FM09.prev.tst | 5d5fe407a42e980e96684e99db9501fb0a13369d | [
"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 | 186 | tst | FM09.prev.tst | 01 072 495 633 !FORM
02 138 097 565 !FORM
01 456 280 934 !FORM
09 736 248 057 !FORM
04 389 217 055 !FORM
03 189 570 460 !FORM
48 954 371 207 ?NOK
55 492 670 836 ?NOK
12 345 678 903 ?NOK
|
adcc6c54ea73c06567692a5d2f7f3a9fe03d799e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.a.2/Example_a_7_2.sce | 4fde979a0cb216f89e4bae9ecbbf99f8d0fb4b48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_a_7_2.sce | //Example_a_7_2 page no:270
clc;
Rab=3+(4*%i);
Rabmag=sqrt(real(Rab)^2+imag(Rab)^2);
Rabang=atand(imag(Rab)/real(Rab));
Rbc=%i*4;
Vmag=100;
Vang=-45;
Vreal=Vmag*cosd(Vang);
Vimag=Vmag*sind(Vang);
V=Vreal+(%i*Vimag);
A=[(3+(%i*8)),(-%i*4)
(-%i*4),(%i*2)];
B=[V,
0];
X=inv(A)*B;
X1mag=sqrt(real(X(1... |
2dcf1eb5f45fdab02cd8a1a52f67142a827d13cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH2/EX2.2/Ex2_2.sce | e6b124125665d2a48f227610b45c8590a893d515 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | Ex2_2.sce | //Caption:Find (a)Efficiency of transformer at half load at 0.8 power factor lagging (b)At what load will the efficiency be maximum and maximum efficiency?
//Exa:2.2
clc;
clear;
close;
P_s=25000//Power supplied(in VA)
V_1=3300//Voltage on primary side(in volts)
V_2=230//Voltage on secondary side(in volts)
f=50/... |
dde9c67772aa033469525061f27d9a90dc905c4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.25/EX5_25.sce | bf9850709efcdfa3ff60ac387e178647702bd2c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | EX5_25.sce | //EXAMPLE 5-25 PG NO-318-319
I1=4.4-%i*1.012; //Current
I2=I1*[(%i*5)/(3+%i*9)];
Z1=1;
I11=[I2/[10*%i*5]]*[%i*5/10+%i*5];
disp(' Current is in polar form = '+string(I1)+'A');
disp(' Current is in polar form = '+string(I2)+'A');
disp(' Current i... |
af8c80dcd7871f00fde5b5ffd8f99f6c3da15093 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH6/EX6.7/c6_7.sce | 1be040bb99464c430ece827b7e9ffe3ecefa28b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,619 | sce | c6_7.sce | //(6.7) An inventor claims to have developed a device requiring no energy transfer by work or heat transfer, yet able to produce hot and cold streams of air from a single stream of air at an intermediate temperature. The inventor provides steady-state test data indicating that when air enters at a temperature of 21C... |
72e167fd3902bb3adba7135e10d34220efb23e41 | b412360a5393e117e74453519c55968117ef7c7e | /REGRESSIONTESTS/battle_play.tst | 203f14a7aaeb54ff3431fe8f8a4a5f0e1c49933e | [] | no_license | thomas-maeder/popeye | 36be3f54f8a7eea15b52a30cf23e455ed6ff44f8 | 732b721df67295b2c6a1c2ca00e87979f39cc0c9 | refs/heads/develop | 2023-09-05T13:06:45.846081 | 2023-08-31T02:59:55 | 2023-08-31T02:59:55 | 38,768,803 | 38 | 23 | null | 2023-09-14T18:35:27 | 2015-07-08T17:21:43 | C | UTF-8 | Scilab | false | false | 54,503 | tst | battle_play.tst |
#1 - Black in check
+---a---b---c---d---e---f---g---h---+
| |
8 -K . . . . . . . 8
| |
7 . . S . . . . . 7
| |
6 K . . . . . . . 6
| ... |
e7bf9f2464c4b4b0c910d46741c7f99f2a1d2987 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/heun.sci | f308280b095233c7bebaec8f0e728f12c8c46b94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sci | heun.sci | function [u,t] = heun(u0,t0,tn,h,f)
//heun method solving ODE
// du/dt = f(u,t), with initial
//conditions u=u0 at t=t0. The
//solution is obtained for t = [t0:h:tn]
//and returned in u
umaxAllowed = 1e+100;
t = [t0:h:tn]; u = zeros(t); n = length(u); u(1) = u0;
for j = 1:n-1
k1=h*f(t(j),u(j));... |
b2b4bebf273221f9f98ff9691e64567100482c2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH6/EX6.12/6_12.sce | 288de4387877add360f713dda78732f88cfb1ccc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_12.sce | //Chapter 6, Problem 12
clc
id=2e-3 //drain current in ampere
vds=6 //drain to source voltage
vcc=12 //supply voltage
vs=0.1*vcc //source voltage
vgs=1.8 //gate to source... |
6288639e08478189e8ab5b1de211e8396ac5a5cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/tfvar.sci | 424624d9fea083d705d92abf0c512501367cd2de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | tfvar.sci | // Cancellation of common factors and determination of covariance
// 11.7
// function [N,dN,D,dD,yvar] = tfvar(N,dN,D,dD)
// N and D polynomials in z^{-1} form; discrete case
function [N,dN,D,dD,yvar] = tfvar(N,dN,D,dD)
[N,dN,D,dD] = l2r(N,dN,D,dD);
N = N/D(1); D = D/D(1);
LN = length(N); LD = length(D);
... |
a8ebb499b2a5e411c26a496e3200bff403a06c9b | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaq_exec_profile_show.sci | 1b38337a8a94e0400eedee59c956678f2b880d4b | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 989 | sci | mdaq_exec_profile_show.sci | function mdaq_exec_profile_show()
if isfile(TMPDIR + filesep() + "profiling_data") then
load(TMPDIR + filesep() + "profiling_data");
if isdef("dsp_exec_profile")
f=scf(4444);
f.figure_name= "MicroDAQ execution profile";
plot2d2(dsp_exec_profile.step);
... |
8f71b63d4192013df39341d5ec63083078033c1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH2/EX2.2cs/Casestudy2_2.sce | 32fd568c2d2c115d7a807550267314338cd27ad1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | Casestudy2_2.sce | // Case Study:-Chapter 2 Page no.-48
// 2.Solution of temprature in Farenheit and Celsius
F_LOW=0;
F_MAX=250;
STEP=25;
fahrenheit=F_LOW; //Initialization
printf("Fahrenheit Celsius\n\n");
while(fahrenheit < = F_MAX)
celsius=(fahrenheit-32.0)/1.8; //conversion from Farenheit to Celsiu... |
19322115e0b417d42f48d984ec15351e0251df73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH4/EX4.5/Ex4_5.sce | b9833acdf78efb9ca3fbb6795e8753e8d243bbaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex4_5.sce | //Example 4.5, Page number 4.33
clc;clear;close
// variable declaration
W=1.55 // wavelength
// Calculations
E_g=(1.24)/W // Bandgap in eV
// Result
printf("Band gap = %0.1f eV",E_g)
|
c95772387844484706ef226d1edb546d0c43e2b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH7/EX7.30/7_30.sce | 4f322ea41b2f3c6e1f4299b2ce676d1bed32230c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | 7_30.sce | Fe=0.01;//concentration of Fe3+ ions in the solution//
Ksp=3.8*10^-38;//Solubility product of Fe(OH)3//
OH=(Ksp/Fe)^0.333;//Concentration of OH- ions in the solution//
printf('Concentration of OH- ions in the solution=OH=%f=1.561*10^-12',OH);
printf('\nAt this PH,Fe(OH)3 starts precipitating and precipitation is co... |
ae2ccfa10eab6133c8f09f6ecec6815a0224c8b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH2/EX2.8/ex2_8.sce | afaf6ff06bd1ee8b1b03cdf7ea7aee5ba376e3a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | ex2_8.sce | // Example 2.8, page no-120
clear
clc
dens_water=1000
h1=125
h2=250
d2=(h1/h2)*dens_water
printf("(a)\nDensity of Liquid = %d kg/m^3",d2)
printf("\nSpecific Density of the liquid = %.1f",(h1/h2))
//(b)
printf("\n\n(b)\nIf Values of water and liquid interchanged:\n")
d3=(h2/h1)*dens_water
printf("\nDensi... |
0b1d982927b8ac9591a7317eb01734cdba4fbedc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.35/example12_35.sce | 526ec73bfe0a2eda9f073dd8f2e3b05c117219ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | example12_35.sce | clc
// Given that
n = 10^8 // no. of electron per discharge counted by GM counter
r = 500 // counting rate in counts per minutes
e = 1.6e-19 // charge on an electron in C
// Sample Problem 35 on page no. 12.46
printf("\n # PROBLEM 35 # \n")
N = r / 60
i = N * n * e
printf("Standard formula used \n i = N * n * e . \n"... |
f69bf6ee8265462462a5f0c6e4a0820b45e9f555 | a2e72048ac50778feb1244be86bb3bfc330ee855 | /res/tileset.tst | 7937a370a169b97d274e98b7700d0ed04880681d | [] | no_license | calebpalmer/topdown | b62ee73540e11051895c8892d5c6c24196ec1bd6 | 21c63ab75b2d794a4b9c3585f5e3fed4d52dfaee | refs/heads/master | 2016-08-04T19:34:41.034624 | 2013-07-26T10:39:45 | 2013-07-26T10:39:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | tst | tileset.tst | tileset_path=tileset.png
tile_count=2
tile_height=32
tile_width=32
tiles=
0,0,32,32,0
0,32,32,32,0 |
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 =")
|
0ee712f5e4add7a306f0d255fe08cf89b2555637 | 717ddeb7e700373742c617a95e25a2376565112c | /1340/CH2/EX2.26/2_26.sce | b3db06ac62f266f1c7771732108e2526fa447a83 | [] | 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 | 238 | sce | 2_26.sce | clc;
syms y y1 y2 x;
t = %pi/2;j = 0:%pi;
y = 5*cos(t);disp(y,"at x = pi/2, y =");
y1 = -5*sin(t);disp(y1,"at x = pi/2, dy/dt =");
printf("\n neglecting higher order terms");
k = y + y1*(x-%pi/2);
disp(k,"linearized y =");
|
176dc9195382d42aef6259553e869b244f3660f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH14/EX14.10/Example10.sce | 84fa605035bab5ca3ddeb462727afbcde30e3160 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,990 | sce | Example10.sce |
clear
flag=1
mode(-1)
clc
printf("Example 10 : Show the use of while loop and sleep \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\n1. Here all instructions are preloaded in the form of a ... |
c367f35c5a684761b183138691b6d8e574ab35c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH13/EX13.11/Ex13_11.sce | 6eab5485f6b09f56d887fa2100564167fbccd3c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | Ex13_11.sce | // chapter 13
// example 13.11
// Compute the values of RF filter components
// page-833
clear;
clc;
// given
R_L=120; // in ohm
f0=50; // in KHz
// calculate
f0=f0*1E3; // changing unit from KHz to Hz
L=R_L/(2*%pi*f0); // calculation of inductance
C=1/(2*%pi*R_L*f0); // calculation of capacitance
printf("... |
d26881f6cac12b072d6944105a7a363fde549a6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.2/Ch017Ex2.sce | 1384db2bc4b9fd6faf8d3e87b3a1f13a06a2c933 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Ch017Ex2.sce | // Scilab code Ex17.2 : Pg:889 (2011)
clc;clear;
amu = 931.5; // Energy equivalent of 1 amu, MeV
m_n = 1.008665; // Mass of the neutron, amu
m_p = 1.007825; // Mass of the proton, amu
M_He = 4.002870; // Mass of the heluim nucleus, amu
c = 3e+08; // Speed of light, m/s
BE = (2*m_n+2*m_p - M_He)*amu; /... |
c4b6fd9cd778ed62df95a5d93ad7d6ece177272c | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/vco.sci | 36b704c5a63cb1960c27dcec0ef494b72a92d249 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,672 | sci | vco.sci | function y = vco(x,frange,fs)
//Voltage Controlled Oscillator
//Calling Sequence
//y=vco(x,fc,fs)
//y=vco(x,[fmin fmax],fs)
//Parameters
//x
//A vector or a matrix
//fc
//Carrier frequency
//fs
//fmin
//Minimum frequency of the frequency range
//fmax
//Maximum frequency of the frequency range
//Description
//y=vco(x,fc... |
223f2bd263939a1db0110bf57691ef1399c3bf7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH1/EX1.11/chapter1_ex11.sce | 56a3fee15d3c77561352bac345c18596440809b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,546 | sce | chapter1_ex11.sce | clc
clear
//input
//AB,BC,CD,DA forms an unbalanced wheatstone's bridge
r1=2;//resistance in arm AB in ohms
r2=5;//resistance in arm BC in ohms
r3=6;//resistance in arm CD in ohms
r4=2;//resistance in arm DA in ohms
r5=10;//resistance of detector placed between the points B and D
v=4;//batterry supplying d.c... |
a9a238c4e6e1007a139b07d0a74eb3918357a4e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH3/EX3.6/3_6.sce | 51f507f56fee71218b268c3ac7d726522f78384d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | 3_6.sce | clc;
p1=1;//bar
p2=10;//bar
n=1.1;
v1=0.16;//m^3
v2=v1*(p1/p2)^(1/n);
W=(p2*v2-p1*v1)*10^5/[10^3*(n-1)];
disp("work done by the refrigerant is:");
disp("kJ",W);
hg1=174.2;
u1=hg1-(p1*10^5*v1/10^3);
hg2=203.8;//kJ/kg
vg2=0.018;//m^3
v=0.02;//m^3
h=224;//kJ/kg
h2=hg2+(v2-vg2)*(h-hg2)/(v-vg2);
u2=h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.