blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses sequencelengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 7 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 6
values | visit_date timestamp[us]date 2016-08-04 21:00:17 2023-09-04 18:06:17 | revision_date timestamp[us]date 2006-11-21 14:53:12 2023-08-28 19:50:26 | committer_date timestamp[us]date 2006-11-21 14:53:12 2023-08-28 19:50:26 | github_id int64 955k 471M ⌀ | star_events_count int64 0 907 | fork_events_count int64 0 379 | gha_license_id stringclasses 5
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-08-16 20:49:37 ⌀ | gha_created_at timestamp[us]date 2012-08-01 11:36:17 2021-07-30 17:53:14 ⌀ | gha_language stringclasses 13
values | src_encoding stringclasses 10
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 10 7.66M | extension stringclasses 1
value | filename stringlengths 5 96 | content stringlengths 10 7.66M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
147120be5dee7265cfdb0f4301f014c9e724d2f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH12/EX12.2/Ex12_2.sce | bd7a36d5d8100dc240b4f31ea1be85e7edcac6e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,115 | sce | Ex12_2.sce | // chapter 12
// example 12.2
// fig. 12.8
// Determine resonant frequency, maximum operating frequency,Peak thyristor current, average thyristor current, rms thyristor current, rms load current and average supply current
// page-760-762
clear;
clc;
// given
C1=4; // in uF
C2=4; // in uF
Lr=40; // in uH
R=2; // in ohm
... |
4553ddfff9ca13c06f12cda03c1826b45928b941 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH12/EX12.7/Ex12_7.sce | 13059d1b93aa03cc9fb0b8b2ffd54c661e07be4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | Ex12_7.sce | // Initilization of variables
A= 50 // cm^2 // area of the shaded portion
J_A=22.5*10^2 // cm^4 // polar moment of inertia of the shaded portion
d=6 // cm
// Calculations
J_c=J_A-(A*d^2)
// substuting the value of I_x from eq'n 2 in eq'n 1 we get,
I_y=J_c/3 // cm^4 // M.O.I about Y-axis
// Now from eq'n 2,
I_... |
ff2b2f0212d404e54b094ecb52814db0c88ef06b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH4/EX4.3/Ex4_3.sce | 3f143509db81db406f426aa1d9ff7dc51bfa77d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,246 | sce | Ex4_3.sce | //Example 4.3, Page Number 158
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
clc;
d=0.2*(10**-3) //Chip Diameter in meter
d1=1 //Distance in Meter
l=550*(10**-9 ) //Wavelength in Meter
q=0.001 //External Quantum Efficiency
i=50*(10**-3) //Operational Current
... |
bba581d482483adf1aac3470846152ac65a73005 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH3/EX3.7/Example3_7.sce | 081047e80d4e0cdfff01e7d7c1ea2f7520995f32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | Example3_7.sce | //Example 3.7
//Program to estimate rms pulse broadening per kilometer for the fiber
clear;
clc ;
close ;
//Given data
lambda=0.85*10^(-6); //metre - WAVELENGTH
L=1; //km - DISTANCE
MD=0.025;//MATERIAL DISPERSION = mod(lamda^2*[del^2(n1)/del(lamda)^2)
c=2.998*10^8; //m/s - ... |
d7cd385a2ace5b07e56046ddd7b1c526047a180b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH14/EX14.5/14_5.sce | ee69c21d49d40a139f1ef83d1bf54904adcaed4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | 14_5.sce | clc
//initialisation of variables
d1=0.67//ft
h1=2.00//ft
h2=4.04//ft
hv1=0.062//ft
hv2=0.254//ft
d=0.19//ft
h=0.2//ft
h1=0.04//ft
q=0.644//ft
q1=0.65//ft
v=0.92//ft
d2=6.5//ft
v1=3.69//ft
d3=0.542//ft
hv3=0.21//ft
delv=0.15//ft
d4=0.02//ft
//CALCULATIONS
H=d1+hv1//ft
H1=d1+hv2//ft
he=h*d//ft
hi=... |
6861bacb671cfa6dfe6db8039f1b19103726b8a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH42/EX42.3/Example42_3.sce | 963a9d4a9bcb69eb4d5d371aec65c235c702df84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | Example42_3.sce | //Given that
E = 7 //in ev
V = 2*10^-9 //in m^3
density = 2*10^28 //in m^3/ev
deltaE = 3*10^-3 //in ev
//Sample Problem 42-3a
printf("**Sample Problem 42-3a**\n")
n = density*V
printf("The number of states are equal to %1.2e per ev\n", n)
//Sample Problem 42-3b
printf("\n**Sample Problem 42-3b**\n")
... |
1b7a48afe6f0657c305f7c8eb4db799c9fbc0b87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH10/EX10.6/Ex10_6.sce | b1b9776b89e3f9b69f7262fb9c2db29dd7551e62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Ex10_6.sce | //Ex10_6
clc
x='110';
disp("Octal number="+string(x))// octal value
str=oct2dec(x)//octal to decimal
disp("Eqivalent Decimal number="+string(str))
|
780ab8fa1e903eedf5b8ceaedf5dc96c5ef1cff4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH6/EX6.2/6_2.sce | e956e8573ad4bab294636e8d1ac639b2a1e29679 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | 6_2.sce | clc
//initialisation of variables
W= -10 //KN/m
Yac= 7 //m
xad= -7.5 //m
xac= -15 //m
xcb= 10 //m
//CALCULATIONS
k= Yac/((xac)^2)
yb= k*(xcb)^2
hb= Yac-yb
yd= k*(xad)^2
hd= Yac-yd
A=[(xcb-xac),(hb);(xcb),(-yb)]
b=[-W*(-xac)*(-xad);0]
c= A\b
Rbv= c(1,1)
Rbh= c(2,1)
Rah= Rbh
Rav= -Rbv-W*(-xac)
dybydx=... |
23b79b4e7c237c7d5cba33a025a23088e924c985 | ac4e0c7ecf872bf33401feeb94567319345f1d91 | /Culvert_design.sce | 75eb59470e8de6eec9941be54295d13d9424bd2f | [] | no_license | namanmaheshwari97/Circular-Culvert-Design-Analysis | 91a47220ca8ff7c3c3dc04b598aa1b2532b07304 | 260c00fa43a36915c3de352da2bf30929a6cb81e | refs/heads/master | 2021-01-20T20:56:56.559000 | 2016-07-08T17:53:43 | 2016-07-08T17:53:43 | 62,906,453 | 0 | 1 | null | 2020-10-05T08:15:54 | 2016-07-08T17:43:39 | Scilab | UTF-8 | Scilab | false | false | 7,417 | sce | Culvert_design.sce | disp("15CS101L");
disp("Programming Laboratory");
disp("Internet Programming lab");
disp("Culvert Design and Analysis");
disp("Mr. M. Mohamed Rabik");
disp("Aryaman Dhanda , RA1511003010481");
disp("Naman Maheshwari , RA1511003010471");
disp("Sidharth Suresh , RA1511003010477");
disp("Select Pipe material and i... |
eea1ab22592932b9f7e53374732d900a3f1b84c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.37/3_37.sce | 23d8550868b67d75999bd4309559c4be1693fe44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,247 | sce | 3_37.sce | clc;
clear;
//Example 3.37
k=0.03 //W/(m.K)
Npr=0.697 //Prandtl number
v=2.076*10^-6 //m^2/s
Beta=0.002915 //K^-1
D=25 ; //[Diameter in cm]
D=D/100 //[m]
Tf=343 //Film temperature in [K]
A=%pi*(D/2)^2 //Area in [m^2]
P=%pi*D //Perimeter [m]
T1=293 //[K]
T2=393 //[K]
g=9.81 //[m/s^2]
//C... |
073122559c1d3581b7fd7ae1227eb3825648d64f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH2/EX2.20/Ex2_20.sce | bbcac8e1564a44052e36c711970f15631a3d95f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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 | Ex2_20.sce | //exa 2.20
clc;clear;close;
format('v',6);
//F1=0.004*P1^2+2*P1+80;//Rs./hr
//F2=0.006*P2^2+1.5*P2+100;//Rs./hr
P=250;//MW
P1=poly(0,'P1');P2=poly(0,'P2');
dF1bydP1=2*0.004*P1+2;
dF2bydP2=2*0.006*P2+1.5;
//Let loads are P1 & P-P1
//Economical loading lambda1=lambda2
eqn=2*0.004*P1+2-2*0.006*(P-P1)-1.5;
P1=r... |
291700e7b1e6453af5951fc921c2306d16374f06 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH9/EX9.3/Ex9_3.sce | abec6d1f4d24d8043eddbae9d54cd2deaef85fa7 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781000 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | Ex9_3.sce | //Chapter 9 : Eigenvalues and Eigenvectors
//Example 9.3
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[-3 1 -1;-7 5 -1;-6 6 -2];
disp(A,'A=')
eig=spec(A)
disp(eig,'eigen values are:')
e4=A-4*eye(3,3)
mprintf('\n(A-4I3)x=')
disp('*',e4)
mprintf(' [x\n y\n z]=')
z=zeros(3,1)
disp(z)
mprintf('\nthis reduc... |
4e0371c2896fea9567f1607729a523d93993acac | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH17/EX17.02/17_02.sce | 16759b06db83566a6b2e67de9b28ceee06a50d8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | 17_02.sce | //pathname=get_absolute_file_path('17.02.sce')
//filename=pathname+filesep()+'17.02-data.sci'
//exec(filename)
//Indicator diagram area & length(in m^2 & m):
A=40*10^(-4)
l=0.08
//Bore(in m):
D=0.15
//Stroke(in m):
L=0.20
//Rpm of motor:
N=100
//Spring constant(in Pa/m):
k=1.5*10^8
//Mep(in Pa):
mep=A*k/... |
0fded5ba01cadcba38a6419a7427c9cf12a67c52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH6/EX6.12/Ch06Exa12.sce | c5d2891ff977176c01ac829277d84480b3330718 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 810 | sce | Ch06Exa12.sce | // Scilab code Exa6.12: : Page-244(2011)
clc; clear;
h_kt = 1.05457e-34; // Reduced planck's constant, joule sec
c = 3e+08; // velocity of light, metre per sec
m_e = 9.1e-31; // Mass of the electron, Kg
ft_O = 3162.28; // Comparative half life for oxygen
ft_n = 1174.90; // Com... |
ceb1ee947f561cb5b4db392a8418709f5f8af3bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH9/EX9.9/Ex9_9.sce | 13b06996a69a0bcad720b77a959e622d74ea638e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | Ex9_9.sce | //chapter-9 page 412 example 9.9
//==============================================================================
clc;
clear;
//For an IMPATT diode
Lp=0.5*10^(-9);//Inductance in Henry
Cj=0.5*10^(-12);//Capacitance in Farad
Ip=0.8;//RF peak current in A
Rl=2;//Load Resistance in ohms
Vbd=100;//Breakdown Volt... |
dd95a6cb281dfe990dee8c1a63d04d50fb7310bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH14/EX14.2/EX14_2.sce | df7fb91ddc54f9b4759beb52958ddc286c56723c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,446 | sce | EX14_2.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 14 ; Example 14.2
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
MVAtr1=40; //MVA FOA rating of transformer 1
MVAtr2=40... |
d134852d495e34f3223ec0024f8bffd9e90d9dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH6/EX6.3/Ex6_3.sce | 34a47fcc2e091ed37aff3adced9a59e4c8583f48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Ex6_3.sce | //==========================================================================
// chapter 6 example 3
clc;
clear;
//input data
t1 = 20; // temperature in °C
alpha = 5*10^-3; //average temperature coefficient at 20°C
R1 = 8; //resistance in ohm
R... |
cc33f671cc87fec1a12d3a2ec959bbaefed414ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH7/EX7.5.1/Ex7_5.sce | ff9d8119b034a3b0668d3e15ad06a724bbef4e43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Ex7_5.sce | clc
clear
Vc=5*(10^-4);
D=0.15;
L=0.2;
Vs=(22/7)*D*D*L*(1/4);
r=(Vc+Vs)/Vc;
G=1.4;
Ea=[1-(1/(r^(G-1)))];
Eith=0.3;
Erel=Eith/Ea;
printf('Erel= %3.2f Percent',Erel*100);
printf('\n');
Pm=500; //in kPa
n=1000/2;
IP=(Pm*Vs*n)/60;
printf('IP= %3.2f kW',IP);
printf('\n');
|
c36897c296fed0095d35f74bf5e6b96feb5fb9f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH6/EX6.17/6_17.sce | d9bf1bd0f6ef06ed6d7c7555cd8200707edc8d49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | 6_17.sce | clc
//initialisation of variables
f= 0.008
l= 2000 //ft
p1= 34 //ft
p2= 8 //ft
p3= 4 //ft
g= 32.2 //ft/sec^2
d= 18 //in
P= 140 //ft
l1= 9500 //ft
//CALCULATIONS
v= sqrt((p1-p2-p3)*2*g/((d/12)+(4*f*l/(d/12))))
Q= %pi*(d/12)^2*v/4
v1= sqrt(P*2*g/((d/12)+(4*f*l1/(d/12))))
Q1= %pi*(d/12)^2*v1/4
//RESULTS
... |
206a90ea8a95b78d3380390a9293293aa3b37b87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH1/EX1.8/1_8.sce | bb2bb3e3682eff83e064972a8af8bd07c6fe3f34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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 | 1_8.sce | //difference in 3 significant figures
//example 1.8
//page 11
clc;clear;close;
X1=sqrt(6.37);
X2=sqrt(6.36);
d=X1-X2;//difference between two numbers
printf('the differencecorrected to 3 significant figures is %0.3g',d);
|
364d495cd6ae5537c05baebf024616054636a0d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH2/EX2.10/ex2_10.sce | 031ba3f42b699296e7abfa5cd745ebca0ef438ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sce | ex2_10.sce | //Ex2.10
//let input wave be V_in=V_p_in*sin(2*%pi*f*t)
f=1; //Frequency is 1Hz
T=1/f;
R_1=100; //Resistances in ohms
R_L=1000; //Load
V_p_in=10; //Peak input voltage
V_th=0.7; //knee voltage of diode
clf();
V_p_out=V_p_in*(R_L/(R_L+R_1)); //peak output voltage
disp(V_p_out,'peak output vol... |
6fe780c4d843bf673636f81d796a3743c02e6296 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH4/EX4.5/example4_5.sce | 972bcf1b4e4d1be663dc2c02ba3445b2b10e88b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | example4_5.sce | //clc()
V = 250;//L
T = 300;//K
V1 = 1000;//L
P1 = 100;//kPa
T1 = 310;//K
P = T * P1 * V1 /(T1 * V);
disp("kPa",P,"Original pressure in the cylinder = ") |
84aadb739e4c2d9ce5108e1aeef3a1bc3f90736d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH15/EX15.2/Ex15_2.sce | da2f42dbdf1d8ba8f7d6c8cc61f3eb4d28ef84ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | Ex15_2.sce | clc
// initialization of variables
clear
d=250 //mm
c=30 //mm
t=25 //mm
// part (a)
a=5 //mm
lambda=a/(2*c)
f1l=1.22 //from the tble
f2l=1.02
//We don't know P yet so say P=1
P=1
Sfl=P/(t*2*c)*f1l+3*280*P*f2l/(2*t*c^2)
K_IC=59*sqrt(1000)
P=K_IC/(Sfl*sqrt(a*%pi))
printf('part (a)')
printf('\n P = %.1f ... |
76d419cb99d60785cc1f67d7ddbdf9d6938cf79a | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH1/EX1.6.4/exa1_6_4.sce | c18a9026b3190b58c0a15d60d6c37dc038c6fba8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | exa1_6_4.sce | //Caption:solution_of_differential_equation
// example 1.6.4
//page 10
//after taking laplace transform and applying given condition, we get :
//Y(s)=(6*s+6)/((s-1)*(s+2)*(s+3))
s=%s;
syms t
[A]=pfss((6*s+6)/((s-1)*(s+2)*(s+3)))
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
F3 = ilaplace(A(3),s,t)
F=F1+F2+... |
ebf2ad31e4de3ba900b6b852f76a31af7548d80b | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.28/28.sce | 9e9f9002c072d89dae426611a2b658f42f3db664 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | 28.sce | clc
p1=1.02*10^5; //Pa
T1=295; //K
V1=0.015; //m^3
p2=6.8*10^5; //Pa
y=1.4;
disp("(i) Final temperature")
T2=T1*(p2/p1)^((y-1)/y);
t2=T2-273;
disp("t2=")
disp(t2)
disp("°C")
disp("(ii) Final volume :")
V2=V1*(p1/p2)^(1/y);
disp("V2=")
disp(V2)
disp("m^3")
disp("(iii)Work done")
R=287;
m=... |
66de03264c0f8ffabef559e24d4a5d9bf0e3b95c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH6/EX6.9/Ex6_9.sce | 0269cc49188e9219784cf70a039cdf25382a5500 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | Ex6_9.sce | //chapter 6
//example 6.9
//Calculate average drift velocity of electrons
//page 149
clear;
clc;
//given
I=4; // in A (current in the conductor)
e=1.6E-19; // in C (charge of electron)
A=1E-6; // in m^2 (cross-sectional area)
N_A=6.02E23; // in atoms/gram-atom (Avogadro's number)
p=8.9; // in g/cm^3 (density... |
4e20eaa2ca5f8972ae11899943961c72727bb475 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.14/example_7_14.sce | 3a71f7bb82c47d4d579097072eb3c830557d61e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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 | example_7_14.sce | s=%s;
T=20/(s+10)
syms t s;
y=ilaplace(T,s,t);
T1=20/((s+10)*s)
c1=ilaplace(T1,s,t)
T2=20/((s+10)*s^2)
c2=ilaplace(T2,s,t)
|
6ceb8f69f67278800830eda199094f088b9276d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH11/EX11.8/EX11_8.sce | f94436d4346641d6815985f377217140a76f0da3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,790 | sce | EX11_8.sce | //Example11.8 // determine the feed back current If and analog output voltage
clc;
clear;
close;
Vref = 5 ;
BI = 101 ; BI = 011 ; BI = 100 ; BI = 001 ;
Rf = 25*10^3 ;
R = 0.2*Rf ;
// The output current of given R-2R ladder D/A converter is defined as
// If = -(Vref/2*R)*(2^0*b0+2^-1*b1+2^-2*b2) ;... |
dcfa9b9bde4e3329d07e6ec9501f5cdd2b24b894 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH21/EX21.10/21_10.sce | 7ddf8131b509f7d302131ce08207cfa674b70e68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | 21_10.sce | //Chapter 21, Problem 10
clc;
f=50; //frequency
n1=25; //primary turns
n2=300; //secondary turns
A=300e-4; //cross-sectional area of the core
v1=250; //primary voltage
phim=v1/(4.44*f*n1); //flux
Bm=phim/... |
b564374d1271f38a80413df2f44acb5c13b2451e | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.04/11_04.sce | af55ee893eb6e87fa056827b36a4e45bde9347bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 889 | sce | 11_04.sce | //pathname=get_absolute_file_path('11.04.sce')
//filename=pathname+filesep()+'11.04-data.sci'
//exec(filename)
//Height of chimney(in m):
H=60
//Ambient air temperature(in K):
Ta=17+273
//Temperature of burnt gases(in K):
Tg=300+273
//Temperature of the artificial burnt gases(in K):
Tga=150+273
//Mass per kg... |
71c90007065f65adadd62b0c1d8c1b91c795c2fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH1/EX1.10/Ex1_10.sce | b34a720bfe240f28c7d6ba15e3d140a28d42384c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Ex1_10.sce | //Ex1.10
clc
B = 2*10^-6 //magnetic flux density
V = 4*10^6 //electron velocity
e= 1.6*10^-19//elcetron charge
disp("B ="+string(B)+"ax wb/m.sq")
disp("V ="+string(V)+"az m/s")
disp("e = "+string(e)+ "C")
disp("F = e[VxB] ="+string(e*V*B)+"ay N")//force
|
9364c0ec23a8e183a3faea2b8f2a05802f5b857d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH9/EX9.4/9_4.sce | 4160b792f41ce7f0720492a4ffabbadf4b1f8931 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 9_4.sce | clc
//initialisation of variables
M1= 208.3 //gms
g= 2.69 //gms
R= 0.08205 //l-atm mole^-1 deg^-1
T= 250 //C
P= 1 //atm
V= 1 //lit
//CALCULATIONS
M2= g*R*(273.1+T)/(P*V)
a= (M1-M2)/M2
Kp= a^2*P/(1-a^2)
//RESULTS
printf ('Kp= %.2f ',Kp)
|
7a8add09b650a5fd23cc08f3178bf11c134b743d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH7/EX7.7.u1/Ex7_7_u1.sce | 33c3700a103cc2dd18d76a7dacd94174ffed6b00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex7_7_u1.sce | //Example 7_7_u1
clc();
clear;
//To calculate the fiber length
alpha=0.5 //units in db/KM
it=2*10^-6 //units in W
i0=1.5*10^-3 //units in W
l=-1*(10/alpha)*log10(it/i0) //units in KM
printf("The length of the fiber is L=%.1f KM",l)
|
49e809d35930124ed70bc2540bae7057abb4623c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH6/EX6.4.c/EX6_4_C.sce | 1f3fa7788fac4f134b21e4fd60567cdb997342d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | EX6_4_C.sce | //example 6.4.C
//check the signal is periodic or not
clc ;
n=-15:0.01:15;
y =(1+cos(2*(%pi)*n/8)/2);
xlabel('n')
ylabel('x(n)')
plot(n,y);
disp ( 'Plot shows that given signal is periodic of fundamental period=4 samples' ) ;
|
c4e7b1829ff05a11989d74b65e49f1fc2a7baa9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.42/Ex4_42.sce | 9fc9b0cd8a963bc151cc258e3f13c76d01316e7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Ex4_42.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
Long=30.0;//longitude in degrees
GAT=13+15.0/60+10.0/3600;//GAT in hr
ET=6.0/60+15.35/3600+0.3/360... |
a4ce57e5d45d8a3115e282d76206538297d28049 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rssq/rssq1.sce | a44db63105f04aa12e1202a143b18c34d547f67b | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535000 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | rssq1.sce | //check o/p when the i/p is a cosine value
t = 0:0.001:1-0.001;
X = cos(2*%pi*100*t);
r = rssq(X);
disp(r);
//output
// 22.36068
|
b18e7706d3e8d8deb7bfebc3fe415ee2b0f99ed1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH8/EX8.1/ex8_1.sce | 995376682b5a018183d653c0b272da1d25add3c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | ex8_1.sce | // Exa 8.1
clc;
clear;
close;
// Given data
C= 85;// in %
H= 12.5;// in %
H1 = 35000;// heat liberated by carbon in kJ
H2 = 143000;// heat liberated by hydrogen in kJ
HCV = (C*H1+H*H2)/100;// Higher calorific value in kJ/kg
disp(HCV,"Higher calorific value in kJ/kg is");
ms = 9;
LCV= HCV -(ms*H*2442)/100 ;/... |
fa1e68d98aa8d8965109a5a9c39ef88b145e4c2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH3/EX3.2/ex3_2.sce | ce2081795c04d73210d1ecd07b0f6fba10fa1ca8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | ex3_2.sce | // Exa 3.2
clc;
clear;
close;
format('v',7)
// Given data
Im = 141.4;// in A
t = 3;// in ms
t = t * 10^-3;// in sec
disp(Im,"The maximum value of current in A is");
omega = 314;// in rad/sec
// omega = 2*%pi*f;
f = round(omega/(2*%pi));// in Hz
disp(f,"The frequency in Hz is");
T = 1/f;// in sec
disp(T,"... |
df74f1eb59251b915a4e719678c837aa9629e576 | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH3/EX3.5/ch_3_eg_5.sce | 9c10e1c204ee61d6628e352a767819be25f8fcea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,125 | sce | ch_3_eg_5.sce | clc
disp("the soln of eg 3.5-->Flash calc. using Modified Raoult law");
a12=292.66*4.18, a21=1445.26*4.18, v1=74.05*10^-6, v2=18.07*10^-6, R=8.314
t=100,z1=.3,
z2=1-z1
a1=14.39155, a2=16.262, b1=2795.82, b2=3799.89, c1=230.002, c2=226.35
e1=1,e2=1,e3=1,e4=1,e5=1,e6=1,vnew=0
... |
0b4dc2dcb724d5caa04bbba04223a91c9f30b327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH12/EX12.2/Example12_2.sce | 0ef0b12dd00c33a4e1280a5a7951d3e472d9d4a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | Example12_2.sce | //chapter-12,Example12_2,pg 383
fc=10^6//carrier frequency
m=0.4//modulation index
fs=100//signal frequency
V=2//(+/-)2V range
delfc1=m*fc//frequency deviation for FS(full scale)
//(+/-) 2V corresponds to delfc Hz deviation assuming linear shift, for (+/-)1V
delfc2=delfc1/V//frequency deviation for... |
6964f90401f8b34c4a7d5eb50a88773058828968 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH4/EX4.2.2/Ex4_2_2.sce | 2097e2fe470d27c833b55730a8780e64518d4e80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ex4_2_2.sce |
clc
//initialization of variables
d = 10 //cm
s = 3 // km
v = 500 //cm/sec
nu = 0.15 // cm^2/sec
//Calculations
E = 0.5*d*v // cm^2/sec
c1 = 1000 // m/km
c2 = 1/100 // m/cm
z = sqrt(4*E*c1*c2*s/v)
percent = z*100/(s*c1)
//Results
printf(" The percent of pipe containing mixed gases is %.1f percent",percent... |
0a7dd69bd34bec7a0f74bdbfb8de12bb1e3156d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH18/EX18.13/example18_13.sce | eb8a2cabf6018cd3f4123eb7f7fb96b7864af2c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | example18_13.sce | clc
// Given that
N = 6.5e25 // no. of atom per m^3
T = 300 // room temperature in K
mu_ = 4 * %pi * 1e-7 // magnetic permittivity of space
k = 1.38e-23 // Boltzmann's constant in J/K
m = 9.1e-31 // mass of electron in kg
e = 1.6e-19 // charge in an electron in C
h = 6.62e-34 // Planck constant in J sec
// Sample Pro... |
8de029f7d99477ed78c3ffbca7eaa5253bdfbb12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.21/21.sce | 111430afcc187bfd10ed53277a811c546af9ae8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | 21.sce | clc
// Given that
lambda = 6000 // wavelength of light in angstrom
N = 200 // Grating element
n = 3 // order
d = 0.025 // diameter of wire in mm
// Sample Problem 21 on page no. 165
printf("\n # PROBLEM 21 # \n")
printf(" Standard formula used \n")
printf(" n*lambda= sin(theta)/N \n")
theta = 180/%pi*asin(N*... |
7dfce70ef876bed495e928687b0ec789073379ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.48/EX20_48.sce | 4f7027e525678e8f4a76cf887d6d1b85f78769d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,903 | sce | EX20_48.sce | clc;funcprot(0);//EXAMPLE 20.48
// Initialisation of Variables
rp=4;........//Stagnation pressure ratio
etaisen=0.85;.....//Stagnation isentropic efficiency
p1=1;.............//Inlet stagnation pressure in bar
t1=300;...........//Inlet stagnation temperature in K
Rd=0.5;............//Degree of reaction
Cu=180;..... |
4900d58f73bba5b428f59f76d700c7a36f0c99ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH2/EX2.6/2_6.sce | 4126099f397e071d463f27ddb9a175edd6d38150 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | 2_6.sce | clc
clear
//Initialization of variables
gam=62.4
x1=4 //ft
x2=6 //ft
y1=6 //ft
z=8 //ft
dy=1 //ft
angle=60 //degrees
//calculations
A1=x1*x2
A2=1/2 *y1^2
yc = (A1*(x1+x2+dy) + A2*(x1+x2))/(A1+A2)
hc=yc*sind(angle)
F=hc*gam*(A1+A2)
ic1=1/12 *x1*y1^3
ic2=1/36*y1*x2^3
ad1=A1*(x1+x2+dy-yc)^2
ad2=A2*(x1+... |
a01999cd5e35ae3407ffa7795c48265415339436 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /Bilinear_trans_using_butterworth.sce | 0c2b967545c6149576294b3026543c9fafdf46e7 | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236000 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sce | Bilinear_trans_using_butterworth.sce | clc;
F1=input("Enter the pass band edge (Hz)=");
F2=input("Enter the stop band edge (Hz)=");
kp=input("Enter the pass band attenuation (-dB)=");
ks=input("Enter the stop band attenuation (-dB)=");
Fs=input("Enter the sampling rate (Hz)=");
w1=2*%pi*F1*1/Fs;
w2=2*%pi*F2*1/Fs;
o1=2*Fs*tan(w1/2);
o2=2*Fs*tan(w2/2);
num=lo... |
5f05c21d78e65afcd8faa263c9c0da6cdb6b4309 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.23/ex4_23.sce | 56d82aa21193a958df308357f16b763f6c761741 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | ex4_23.sce | // Exa 4.23
clc;
clear;
close;
format('v',6)
// Given data
V=230;// in V
f= 50;// in Hz
Z1= 10*expm(-30*%i*%pi/180);// in ohm
Z2= 20*expm(60*%i*%pi/180);// in ohm
Z3= 40*expm(0*%i*%pi/180);// in ohm
Y1= 1/Z1;// in S
Y2= 1/Z2;// in S
Y3= 1/Z3;// in S
Y= Y1+Y2+Y3;// in S
phi= atand(imag(Y),real(Y));// in °... |
cb1315e1acf1fabacc94e04514cbded7d47f6b26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH24/EX24.14/ex_24_14.sce | 1ca9da8cb805d1da6c5f6573b21d322730207d6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | ex_24_14.sce | //find..
clc
//solution
//given
P=15000//W
N=900//rpm
n=4
R=0.15//m
u=0.25
//let m be the mass
w=2*%pi*N/60//rad/s
w1=(3/4)*w//rad/s
r=0.12//m
//Pc=m*w^2*r=1066*m//N
//Ps=m*w1^2*r=600m//N
T=P*60/(2*%pi*N)//N-m
//T=u*(Pc-Ps)*R*n=70m
m=T/70//kg
printf("mass of shoes is,%f kg\n",m)
a=%pi/3
l=R*a*1000//... |
33047c0153624020c0db34d1fd6e9064924ec0b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH9/EX9.12/c9_12.sce | bd0679c9ec2bc5e2d22a80fa675eae27bfe88b26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,249 | sce | c9_12.sce | //(9.12) Air enters a turbojet engine at 0.8 bar, 240K, and an inlet velocity of 1000 km/h (278 m/s). The pressure ratio across the compressor is 8. The turbine inlet temperature is 1200K and the pressure at the nozzle exit is 0.8 bar. The work developed by the turbine equals the compressor work input. The diffuser,... |
e6be3abeefb0737c0c00e2664504c39f8c3915f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH7/EX7.15/Example7_15.sce | 68584c633bda08faafc864d2d6b0cb195f6dd8bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Example7_15.sce | ////Example 7.15
clc;
clear;
close;
format('v',6);
//Given data :
g=9.81;//gravity constant
D1=50/1000;//meter
D2=100/1000;//meter
l1=100;l2=100;//meter
hf1=10;//meter(level difference)
f=0.008;//coeff. of friction
Q2BYQ1=sqrt((l1/l2)*(D2/D1)^5);//as hf1=hf2
Q1=sqrt(hf1/f/l1*(3.0257*D1^5));//m^3/sec
Q2=Q2... |
c21977d99074045cb5c20ce45a9b6afa2225a994 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.20/ex1_20.sce | e9ab6f732e8629fe0887063df8d9a4df73cf917e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | ex1_20.sce | clc;
p=200; //power in Watt
v=12; //voltage in volt
i=p/v; //calculating current in Ampere
I=p/6; //calculating
disp(i,"Current in Ampere = "); //displaying
disp(I,"Current in Ampere if voltage were 6V = "); //displaying result |
b464a20cb3150de1266184dfcc709566e4057454 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH4/EX4.9/Ex4_9.sce | 71d2696cbbd2ca8822a1e2b6c4b5288f7e3ab6e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,551 | sce | Ex4_9.sce | // Problem no 4.4.9,Page No.99
clc;clear;
close;
M_C=40 //KNM //Moment at Pt C
w=20 //KNm //u.d.l on L_AD
L=10 //m //Length of beam
L_CB=5 //m //Length of CB
L_DC=1 //m //Length of DC
L_AD=4 //m //Length of AD
//Calculations
//Let R_A & R_B be the reactions at A & B
//R_A+R_B=80
//Taking Moment at A
//M_A=0=R_B*L-M... |
75f89fd75cab350ac75b271a11c9b9c16955a9c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH5/EX5.1/Example5_1.sce | 6605ed6a4c994e5fa6982158d2ee813896e3991f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | Example5_1.sce | //Example 5.1
//Program to Calculate Collector and Base Currents
clear;
clc ;
close ;
//Given Circuit Data
alpha=0.98; //alpha(dc)
Ico=1*10^(-6); //Ampere
Ie=1*10^(-3); //Ampere
//Calculation
Ic=alpha*Ie+Ico; //Collector Current
Ib=Ie-Ic; //Base Current
//Displaying The Results in Command Window
printf("\... |
f0419efb110b2039ef1e682411b3c5a3deb9b526 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.3/Example11_3.sce | c87c3830bdf2137ccc81b736c0f07615c6803d5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | Example11_3.sce | //Example 11.3
clc;
clear;
close;
format('v',9);
//Given data :
l=2;//meter
d0=0;//meter
d1=0.3;//meter
d2=1.0;//meter
d3=1.2;//meter
d4=1.6;//meter
d5=2.0;//meter
d6=1.4;//meter
d7=1.0;//meter
d8=0.4;//meter
d9=0.3;//meter
d10=0.2;//meter
V0=0;//meter
V1=0.5;//meter
V2=0.7;//meter
V3=0.8;//meter
... |
7c60b0891c0012538e5e95dd888b419b7fb8ad9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.12/Ex3_12.sce | 498e170cefe44f3678549637c71e288e2a0226eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | Ex3_12.sce | //EX3_12 PG-3.39
clc
Rl=5e3;
N1toN2=2;//transformer turns ratio
Ep=460;//rms value of primary voltage
Es=Ep/N1toN2;
Esm=sqrt(2)*Es;//peak value of the secondary voltage
Im=Esm/Rl;//We neglect forward diode resistance
Idc=2*Im/%pi;
printf("\n Therefore DC load current is %f A \n",Idc)
Edc=Idc*Rl;
printf("\n ... |
02d79903aed34eee323d806c0b6a8946e01e82d8 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/B8_Salva_Dados.sce | 4b0be306c31fc2e32c47771d2fea838434a5cfbb | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339000 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,182 | sce | B8_Salva_Dados.sce | Arquivo = uiputfile(["*.dinam","Arquivos de Análise Dinâmica"], ...
fileparts(pwd()),"Salvar dados da análise");
if ~isempty(Arquivo) then
[Path,Name,Extension] = fileparts(Arquivo);
Arquivo = Path + Name + ".dinam"
EditBoxData = []
Campos = {MaterialData SectionDat... |
5339f60f7ed9a444ea1abfab1e86821092f24754 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH11/EX11.1.e/E11_1.sce | 68195150d98657422881f261b8b2ecc0eb60a072 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | E11_1.sce | clc
//Initialization of variables
S=[10 20 40 80 120 180 300]
v=[0.32 0.58 0.9 1.22 1.42 1.58 1.74]
//calculations
bys=1000/S
byv=1/v
n=size(S)
x=bys
y=byv
disp("From graph,")
m=26.17
c=0.476
//Sx =sum(x);
//Sxx =sum(x.*x);
//Sy =sum(y);
//Syy =sum(y.*y);
//Sxy =sum(x.*y);
//m =(n*Sxy-(Sx*Sy))/(n*Sxx-... |
93d6ee64777cfad107046ff6d8871919d5469680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.18/M_Ex_3_18.sce | 4279b01a7fdb308e1c5330bec26eca76efe0744b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | M_Ex_3_18.sce | clc
//Chapter3: Modulation
//Example3.18, page no 172
//Given
deltaF=1e6// max freq deviation
fm=10e3//modulating freq
mf=(2*deltaF)/fm// modulation coefficient
BW=mf*fm// bandwidth
mprintf('The approximate bandwidth is: %d MHz',BW/1e6)
|
4f62ac48898f867be73af51096a8f40c12458719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH6/EX6.27.b/example627b.sce | 580c868503b7f48ac8fde4cdf8252bcdecc493d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | example627b.sce | //Example 6.27b
//x(t)=(cos(3t))^3
clc;
syms t;
x=(cos(3*t))^3;
X=laplace(x); |
f69c340853016af21b55ad40e188a876d7bc0fa6 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/vpw-pole-position/edit-me.sce | d834508e6b8dda8b6946d4d232fc334577f5a428 | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493000 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | edit-me.sce | function [rs] = solve(ns,ds)
// Reken de startpositie uit van de wagens
rs = ns
a = length(ns)
b = max(ns)
for i = 1:a
for u = 1:b
if ds(1,i) == u then
x = rs(1,i)
rs(1,i) = rs(1,i+u)
rs(1,i+u) = x
end
... |
0b6ba3d5cec9fce4344a6538e51cdf80a34ef8ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.20/Chapter4_Example20.sce | 14c57c54e3f9a8ef1a3ef0fca979a61afff51460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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 | Chapter4_Example20.sce | clc
clear
//INPUT
k=5.64*10^-14;//kinetic energy of the hydrogen molecule ergs
t=273;//temperature of the oxygen molecule in K
r=8.32*10^7;//universal gas constant in ergs
//CALCULATIONS
N=(3/2)*(r*t/k);//avagadro number
//OUTPUT
mprintf('the avagadro number is %3.2f',N)
|
767f2a8c0d5d416b23cd0fe61004c6eab7083197 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH5/EX5.16/Ex5_16.sce | 4a16c64b6d407f0991d614b42ecc5b335da1c0e2 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200000 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex5_16.sce | errcatch(-1,"stop");mode(2);//Example 5_16
;
;
//To calculate the distane between (110) planes
a=0.38 //units in nm
h=1
k=1
l=0
d=a/sqrt(h^2+k^2+l^2)
printf("Distance between (110) planes d = %.2f nm",d)
exit();
|
a63c7f89ffcb35999d2020dad0d022556bf2333d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH10/EX10.5/Example105.sce | 07f74858c716f58eb4f8ae1e4aac31b94619ff02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,139 | sce | Example105.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat transfer, Seventh Edition, Frank Kreith, Raj M Manglik and Mark S Bohn, Chapter 10, Example 5")
//Acceleration due to gravity in m/s^2
g=9.81;
//Length of the tube in meters
L=1.5;
//Temperatu... |
ca27a4ab017038c3ca46c0f1b206a13d0ec57797 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH2/EX2.9/Chapter29.sce | 1fdf9084994deffdb3da55d99c88ea5d44c1da43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,067 | sce | Chapter29.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 2, Example 09")
//A thin walled copper tube of outside metal radius r=0.01m carries steam at temprature, T1=400K.It is inside a room where the surrounding air tempr... |
79c1a1daf074dc886260d3f0fa17051ed2df2ea9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH9/EX9.5/Ex9_5.sce | 8f4de96bc4c94e490d23ef1f9bf27f3b7256075e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Ex9_5.sce | //=========================================================================
// chapter 9 example 5
clc;
clear;
// Variable declaration
dr = 12.8 // original diameter of steel wire in mm
df = 10.7; // diameter at fracture in mm
// Calculations
percent_red = (((%pi*dr*dr) - (%pi*df*df))/(%pi*... |
2c418d1b531e5b5ee18bfda5cd9113b157b340f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH3/EX3.8/Ex3_8.sce | 6858826b3595e66491b5255bee14f5eb1cddb6d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | Ex3_8.sce | clc;
clear all;
//chapter 3
//page no 90
//example 3.8
mprintf('(a) The RF burst frequency is 500 MHz\n');
mprintf(' (b) The pulse repetition rate is 1 MHz\n');
f0=10*10^6; //Zero crossing frequency in Hz
tau=1/f0; //in second
mprintf(' (c) The pulse width is %.1f micro second\n',tau*10^6);
|
5d3f13a6edfb6439baa87aa3bdb1ded07b4260e5 | 59ca8642f974b397e1747edc1015fce8b8e6c59f | /puntofijo.sce | 313644e08136b4051d973102f6ace4525370b36f | [] | no_license | mcortex/scilab-code | c6a367b216e531d0ebe3cda5d4a84156b23d2085 | 2709299d60d9e72294b274773bdadb4126a25ba9 | refs/heads/master | 2020-05-26T05:49:42.441000 | 2019-12-06T02:06:49 | 2019-12-06T02:06:49 | 188,126,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 751 | sce | puntofijo.sce | function y=g(x)
//y=x^4+2*x^2-x-3;
//y=(-2*x^2+x+3)^(1/4);
//y=2 ./(3*x)+(2/3)*x; // Si pongo 2/x oscila y no termina ojo!
//y=%pi+0.5*sin(x/2);
//y=3/(x^3-3)
//y=(x+((3*x+3)/x^3))/2
//y=(x+1)./x^2;
//y=(3*x+3)^(1/4)
//y=(4*x+1)^(1/4)
//y=(3+x-2*x^2)^(1/4)
y=((3*x^2.+3)/x)^(1... |
d6cd551b7e00312db434549eca43fc249069f3c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH6/EX6.10/Ex6_10.sce | c50ed2574dac480649f0f6aaf368020398f2e871 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | Ex6_10.sce | clc;
eff_C=0.85; // Isentropic efficiency of the compressor
rp=4; // Pressure ratio
r=1.4; // specific heat ratio
eff_pc=(((r-1)/r)*log (rp))/log (((rp^((r-1)/r)-1)/eff_C)+1);
disp ("%",eff_pc*100,"Polytropic efficiency = ");
disp ("variation of compressor efficiency with compression ratio is shown in window1");
... |
9d91aa709773672508556bb9140678391a18f641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH27/EX27.1/Example_27_1.sce | 856e8ce70ce1c6fd17a123466b2e05959051e350 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 780 | sce | Example_27_1.sce | //clear//
clear;
clc;
//Example 27.1
//Given
T = 60; //[F]
wA = 0.30; //[MgSO4]
wB = 0.70; //[H2O]
//Solution
//From Fig. 27.3 it is noted that the crystals are MgSO4.7H2O
//and that the concentration of the mother liquid is
xA = 0.245; //[anhydrous MgSO4]
xB = 0.755; //[H2O]
//Bases:
F_in = 1000; //... |
b579feaf69a9e78d38df53a0887d0e2c8cef95b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH5/EX5.2.a/ex5_2a.sce | fa459c101f6f1334cda543f598084985836891e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | ex5_2a.sce | //Ex 5.2a
clc;
syms T;
disp('x(t)=1+cos(20%pi*t)');
w=20*%pi;
f=w/(2*%pi);
T=1/(2*f);
disp(T,'minimun sampling interval'); |
5bb51dec62ee1bd3f7f60d6473829abd0234186a | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/DEPENDENCIES/ztransfer.sce | 87a5dc9c1c0a2486237df87d00d78ceb562f005d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | ztransfer.sce | //function//
function [Ztransfer]=ztransfer(sequence)
z = poly(0, 'z', 'r')
Ztransfer=sequence*(1/z)^[0:(length(sequence)-1)]'
endfunction
|
406991da88ce00f3161b39320dcbe481952c2b89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH5/EX5.9/Exa5_9.sce | 859a3a7c09a903cfa8a46a9014b6d70aa3d92adc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | Exa5_9.sce | //Exa 5.9
clc;
clear;
close;
//Given data :
A=200;//gain without feedback(unitless)
Ri=2;//in kOhm
Ro=12;//in kOhm
Beta=0.02;//feedbak ratio(unitless)
//Part (i) :
Af=A/(1+A*Beta);//gain with feedback(unitless)
disp(Af,"(i) Gain with Negative Feedback :");
//Part (ii) :
Rif=Ri*(1+A*Beta);//in kOhm
disp(Ri... |
d285afeaa0ba026f61e6dbf5c80892a662cd380e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH8/EX8.7/Ex8_7.sce | 3b2e0f1ed043a89980d2d182007ab16f353281aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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 | Ex8_7.sce | clc;clear;
//Example 8.7
//given data
P1=1000;
V=200;
T1=300;
T0=T1;
P0=100;
//constants used
R=0.287;//in kPa m^3/kg K
//calculations
m1=P1*V/(R*T1);
O1=R*T0*(P0/P1-1)+R*T0*log(P1/P0);// O refers to exergy
X1=m1*O1/1000;//factor of 1000 for converting kJ into MJ
X1=round(X1);
disp(X1,'work obtaine... |
e7070ae68aa093f2bf1957a7c8a6aae1733d8339 | 41b430ed87baf53ab2b4470a5e52b2bf9c644716 | /main.sce | fd67c7da808796cc3ead78e8c6b3051bc86c3a81 | [] | no_license | Julestevez/Quadrotor-simulator | 85db4260a2a3fcb95fcf79e72c4e53a806cb8aac | a775a00fa72fe6e9b0587522b0a09e0e7fd42042 | refs/heads/master | 2023-07-21T07:30:41.954000 | 2023-07-19T16:09:18 | 2023-07-19T16:09:18 | 251,404,243 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 25,393 | sce | main.sce | clc; clear();close();
exec("catenaria3.sce");
exec("quadrotor.sce");
exec("descenso.sce");
exec("TensVerticales.sci");
exec("quadrotor_izq.sce");
exec("quadrotor_izqmov.sce");
exec("quadrotor_dcha2.sce");
exec("seguidores.sce");
Circuito_x=linspace(0,500,600);
Circuito_y=zeros(1,400);
Circuito_y(1:150)=l... |
8bcafc5164fa9a0db75258d05c5ab7de462f91eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH3/EX3.14/exa_3_14.sce | 09e5fe2c3322fd390f11dbd1dd0786ae295ef248 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | exa_3_14.sce | // Exa 3.14
clc;
clear;
close;
// Given data
bita=100;
hFE= 100;
VCEsat= 0.2;// in V
VBEsat= 0.8;// in V
VBEactive= 0.7;// in V
VBB= 5;// in V
VCC= 10;// in V
R_C= 3;// in kΩ
R_C=R_C*10^3;// in Ω
R_B= 50;// in kΩ
R_B=R_B*10^3;// in Ω
// Formula VCC= ICsat*R_C+VCEsat
ICsat= (VCC-VCEsat)/R_C;//A
disp(I... |
924bb9625d30be28e24373a6c17a0afcbdf0240b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH9/EX9.12.9/Ex9_9.sce | 50130ecbaf56fb1a5983358f93f1c25f0c115cfd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | Ex9_9.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 9 Basic Voltage and Power Amplifiers
clc
clear
Vorms=2//Vorms=rms output voltage in the midband region of an amplifier
Pa=42//Pa=power gain in dB
Pol=0.4//Pol=power output in W at the lower cut-off frequency 100Hz
Ri=10^3//Ri=input resistance in ohms
VOrms=... |
084a8491f091ffdd50105a8a604a0a768aef3647 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH6/EX6.12/Ex6_12.sce | 7e6810fcc424e4457ea8615aff7417e2adcc357d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,322 | sce | Ex6_12.sce | clc
m1=1000 //mass of wet steam in kg
vg1=0.06663
vf1=0.0012163
V=(2*m1)/((1/vf1)+(1/vg1))
P1=3*10^5
mprintf("V=%fmetre-cube\n",V)//ans vary due to roundoff error\n
mf=V/(2*vf1)
mg=V/(2*vg1)
mprintf("mass of liquid=%fkg\n",mf)//ans vary due to roundoff erorr
mprintf("mass of steam=%fkg\n",mg)//ans vary due t... |
0505bf51d1048709ece6c4ff708f08d70dc97a20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH6/EX6.3.1/6_3_1.sce | 8708d737964b30cdb636a19f9e615f8d24067234 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | 6_3_1.sce | clc
//initialisation of variables
p= 60 //lbf/in^2
w= 62.4 //lbf/ft^3
l= 1 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
i= p*144/(w*l)
a= i*g
//RESULTS
printf ('accelaration of fluid = %.f ft/sec^2',a)
|
d5a0d6b61c0e17e4874831843c1f8f3a40186640 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.7/1_7.sce | d1ef873aa256deff19880b95c249d104cb8454a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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 | 1_7.sce | // To determine circuit impedance and current in a parallel connection of a resistor and capacitor.
clc;
clear;
R=4700;
V=240;
f=60;
w=2*%pi*f;
C=2*(10^-6);
Xc=-(1/(C*w))*%i;// Reactance in polar form
Ir=V/R;
Ic=V/Xc;
I=Ir+Ic;// Total current
Z=V/I;
theta=atand(imag(Z)/real(Z));
mprintf('Imp... |
30306b91fdca304817812d453fb11bf97bd0aa85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH5/EX5.12/Exa5_12.sce | 6c7651f4126081c99f63c2b228fd06d30bfc12c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | Exa5_12.sce | //Exa 5.12
clc;
clear;
close;
//Given Data :
format('v',8);
R=2;//in ohm
X=3;//in ohm
VR=10*1000;//in volt
P=1000*10^3;//in watt(power delivered)
cos_fir=0.8;//unitless
I=P/(VR*cos_fir);//in Ampere
Vs=sqrt((VR*cos_fir+I*R)^2+(VR*sqrt(1-cos_fir^2)+I*X)^2);//in volt
Reg=(Vs-VR)*100/VR;//in %
disp(Reg,"% Reg... |
f29756631dd04343469b7ad4458bb22ef62c8e22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH11/EX11.10/11Ex10.sce | 29047e6d9dce5c66efb0acbbdd43e6034627fcad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | 11Ex10.sce | //Ex 10
clc;
clear;
close;
n1=6;c=10;
n2=4;s=6;
n=double(lcm(int32([4,6]))); //Number of bananas
cp=(c/n1)*n;
sp=(s/n2)*n;
lossPercent=(cp-sp)/cp*100;
printf("The loss is %d percent",lossPercent);
|
315bd84043c6b6bb578897f271fdf88d1bdcca63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.10/Ex11_10.sce | d43f2bc55df3940ad80affb4141ea71d67f4ab35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | Ex11_10.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.10\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.10 (page no. 566)
// Solution
//A bare steel pipe
ro=90; //Outside diameter //Unit:mm
ri=75; //inside diameter //Unit:mm
Ti=110; //Inside temperature //Unit:Celcius
To=40; //Outside temperat... |
f131963beb4acb31a8df91940dcc425a53e7d32c | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH14/EX14.2/ex14_2.sce | 9ea9a089ac4aaf7bb154f1bbb9637b132fad5b66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | ex14_2.sce | //Example 14.2
//Install Symbolic toolbox
//Find the Laplace transform
syms t s
clc
z=integ(2*exp(-s*t),t,3,%inf)
//The second term will result in zero
disp(z,'F(s)=') |
4672559cd318de1dda7bd6dbafaf5a51d412460e | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testcolorbar.sce | 26421b3e9b8f1f85f2ec6cc84518bb6028d7528a | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068000 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | testcolorbar.sce | // define a grid
x=[-1:0.1:1];y=x;
// surface computation
[X,Y]=meshgrid(x,y);
Z=X.^2-Y.^2;
//surface display
clf;
F=gcf();F.color_map=jetcolormap(64);
surf(x,y,Z)
colorbar(min(Z),max(Z))
|
507cbc216be31b77d0bbbb1005e48d872e729ce1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH1/EX1.9/1_9.sce | e6ffcf941ffab6a2c64323ad53c70a7130e06c58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | 1_9.sce | clear;
clc;
//Example - 1.9
//Page number - 26
printf("Example - 1.9 and Page number - 26\n\n");
//Given
//Antoine equation for water ln(Psat)=16.262-(3799.89/(T_sat + 226.35))
P = 2;//[atm] - Pressure
P = (2*101325)/1000;//[kPa]
P_sat = P;// Saturation pressure
T_sat = (3799.89/(16.262-log(P_sat)))-2... |
64eec65cf32a7eebfe97520adb3817aac3b1e29c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1865/CH3/EX3.5/prob_5.sce | ff690addafcf37ff3035daf60595183bc17ab7b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | prob_5.sce |
//Problem 5
//calculate the glancing angle for third order reflection
clear
clc
w=0.842*(10)^(-10)//wavelength in m
x=8.5833//glancing angle(in degrees) for the first order reflection
a=1,b=3//a=1 for 1st order b=3 for 3rd order reflection
d=(a*w)/(2*sind(x))//inerplanar spacing for first order reflection
y=a... |
01f49c3a1affd06f9c6a721b6892f3c80c207a6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.19/ex12_19.sce | 2b5671f045138cd6fae8cc4fb502dac9caa856ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | ex12_19.sce | //Chapter-12, Example 12.19, Page 367
//=============================================================================
clc
clear
//INPUT DATA
Rh=200;//Hall-coefficient in cubiccentimeter/C
a=10;//conductivity in s/m
//CALCULATIONS
un=a*Rh;//electron mobility in cm^2/V-s
mprintf("electron mobility is %d cm^2/V-s... |
42b02caa2fa0f20f285e05a39b9307119fb6359c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.2/ex18_2.sce | 069ecb4019a8a35b9b90be8d0dcb358d85fd9b69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | ex18_2.sce | // Example 18.2, page no-460
clear
clc
r=0.12*10^-9//m
eps=8.854*10^-12
alf=4*%pi*eps*r^3
printf("The electronic polarisability of an isolated Se is %.4f * 10^-40 F m^2",alf*10^40)
|
978fc08fd78a2d130de08169029b592eba49e549 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH4/EX4.15.2/Example_4_15_2.sce | dcce8401bdeda4a113cc72a193b7bd4db7a15f51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sce | Example_4_15_2.sce | // Example 4.15.2 page 4.36
clc;
clear;
L=10; //fiber length in km
Pin=100d-6; //input power
Pout=5d-6; //output power
len=12; //length of optical link
interval=1; //splices after interval of 1 km
l=0.5; //loss due to 1 splice
attenuation=-10*log10(Pin/Pout); //compu... |
9be2406e79f85cacd71471fc71016053977b031c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH4/EX4.4/example_4_4.sce | f69d151a050fbff4cc0ee24b99f1f34c58221643 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | example_4_4.sce | //Scilab Code for Example 4.4 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
//X(f)=A*T/1+j*2*pi*f*T
syms f w;
A=1;
T=1;
X=(A^2*T^2)/(1+4*%pi^2*f^2*T^2)
disp('Putting f = tan @');
disp('Total Energy:');
Ex=integrate('(A^2*T)/(2*%pi)','w',-%pi/2,%pi/2)
disp('Energy Contained in the Output Signal')... |
11b5df2d6822d996da50790c87c27cab3dc0033a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_M._R._Srinivasan_3411.zip/Engineering_Physics_M._R._Srinivasan_3411/CH7/EX7.2.u1/Ex7_2_u1.sce | b27e602778d52e4cf502b297e00a0053f5ac31c4 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200000 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | Ex7_2_u1.sce | errcatch(-1,"stop");mode(2);//Example 7_2_u1
;
;
//To find the fraction of initial intensity
alpha=-2.2 //units in db/Kilo meters
//When l=2 Kilo meters
l=2 //units in Kilo meters
//Case (a) when L=2 Kilo meters
It_I0=10^(alpha*l/10)
printf("The fraction of initial intensity left when L=2 It/I0=%... |
0385f3ebf5b2c9e8801cdef5a2c527b992e0da26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.8/EX17_8.sce | b6c2ae4a00f21433391f6a0353862b4f03d1fa39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | EX17_8.sce | clc;funcprot(0);//EXAMPLE 17.8
// Initialisation of Variables
T=175;.......................//Torque due to brake load in Nm
N=500;.........................//Engine speed in rpm
//calcuations
BP=(2*%pi*N*T)/(60*1000);.......................//Brake power developed by engine in kW
disp(BP,"Brake power developed by e... |
c62468a313db1a6f4a2ec193bd4f74ddcd53644f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH15/EX15.16/15_16.sce | 05d55968dd8429d20fdd7cf3e49818b17d5e6234 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | 15_16.sce | clear; clc; close;
Vo = 1.25*(1+ (1.8*10^3/240)) + (100*10^(-6))*(1.8*10^3);
disp(Vo,'Regulated Output voltage = ');
|
fd21533a07c14bfd6eea3d76212e1e4b63441896 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH4/EX4.5/exa4_5.sce | 8edc219cbfee9a6c84e3cd63dbae7ae8fe051013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | exa4_5.sce | //Example 4-5//
//Reduce a given expression//
clc
//clears the window//
clear
//clears all existing variables//
//the given expression is as follows//
disp(' Given Expression- ((AB''+ABC)''+A(B+AB''))'' ')
disp('factorise')
disp(' ((A(B''+BC))''+A(B+AB''))'' ')
//reduce using laws 18 and 20//
disp(' ((A(B''+... |
e11de9cbe941ffdc3dfe6cb21d8cc5c6a2a02b7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.11/7_11.sce | 67d09cc49c5fb44ab05c4ab1cef5423d80ebc72a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,243 | sce | 7_11.sce | clear;
clc;
printf("\t\t\tExample Number 7.11 \n\n\n");
// reduction of convection in ar gap
// Example 7.11 (page no.-347)
// solution
Tm = 300;// [K] mean temperature of air
dT = 20;// [degree celsius] temperature difference
R = 287;// [] universal gas constant
g = 9.81;// [m/s^(2)] acceleration due to gr... |
831e6bbeb2c1c1518fb906d021985714d2de4ae0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.3/10_3.sce | cc27ccb042db964194d1c8f759473a6e6d45297c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | 10_3.sce | //Example 10.3
//Taylor Method
//Page no. 304
clc;clear;close;
deff('y=f1(x,y)','y=1')
deff('y=f2(x,y)','y=x*y')
deff('y=f3(x,y)','y=x*f1(x,y)+y')
deff('y=f4(x,y)','y=x*f2(x,y)+2*f1(x,y)')
deff('y=f5(x,y)','y=x*f3(x,y)+3*f2(x,y)')
h=0.5;y=0;
x=[0.5,1]
for i=1:2
if i==1 then
k=... |
e581c781fedcd7ef1332bb4a101f0b8e2bb9436e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH2/EX2.12/Exa2_12.sce | 079a148226b8203875a3ea9bfbc897e3b7797874 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | Exa2_12.sce | //Exa 2.12
clc;
clear;
close;
//Given Data :
format('v',8);
//Vcon=V;//in volt
//pf=cosfi;//unitless
//Rcon=R;//in ohm
//Part (i) : single phase system
disp("Single phase system :");
P1=5*10^6;//in watt
//I1=P1/(V*cosfi);//in Ampere
disp("Line current,I1="+string(P1)+"/V*cosfi");
//W1=2*I1^2*R;//in Wats(L... |
90f8831c5e51cab4becff3cf1e3690e93f02db5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.33/ex3_33.sce | d8f34f1e4cd18fcd0fc8ce3bdf33248e23c7a9ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499000 | 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,296 | sce | ex3_33.sce | //Caption:In a transformer find all day efficiency
//Exam:3.33
clc;
clear;
close;
KVA=15;//Rating of the transformer(in KVA)
E_f=0.98;//Efficiency of the transformer
P_F=1;//for unity power factor
O_P=KVA*P_F;//Output of the transformer at unity power factor(in KW)
I_P=O_P/E_f;//Input to the transformer(in KW)... |
20fb914c2c0f6686f89db81172da0eb14b3cd20c | d7245f1541674d166d966fddabad26a985a0bbd9 | /doc/qpsk_modulation.sce | 34ec2de95b6b16ccaf639de780b8276c98980613 | [] | no_license | ivan-khavantsev/radio | 2c30bd6d659a629dc0ff257241cc55410d5e0d6b | 16ea8061070d2f13e7f95ddf62d495d4439f5b23 | refs/heads/master | 2021-01-16T01:02:07.097000 | 2014-01-19T13:59:36 | 2014-01-19T13:59:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,007 | sce | qpsk_modulation.sce | clc
clear
close
b=[0 1 1 0 1 1 1 0]
one=ones(1,100)
zero=-ones(1,100)
//generation of bodd signal
bodd=[]
for i=1:2:length(b)
if(b(i)==1)
bodd=[bodd one]
bodd=[bodd one]
else
bodd=[bodd zero]
bodd=[bodd zero]
end
end
//generation of beven signal
beven=[]
for i=2:2:lengt... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 4