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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d210b55b729dbb961e71ec3c9650a16054ac08e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH2/EX2.2/example2.sce | a894a743b2fbab9458fdcdb88a72018e73ead7f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | example2.sce | clear;
clc;
printf("\n Example 2.2\n");
// String insertion.
s="auto";...............//1st string or character array.
x="mobile";...............//2nd string or character array.
z=s+x;..........//concatenation of 2 strings.
printf("\tstring s=");
disp(s);
printf("\tstring x=");
disp(x);
printf("\tconcatenated... |
9aeac2bc27a80aa2d251f4699bee5c4cbca4ae74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH2/EX2.6/Ex2_6.sce | e97510d41eafe5a96f4620ec6ae6af6fb2dfc007 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Ex2_6.sce | clear
//
//
//
//Variable declaration
N=6.02*10**26 //Avagadro Number
n=8 //number of atoms
a=5.62*10**-10 //lattice constant(m)
M=72.59 //atomic weight(amu)
//Calculation
rho=n*M/(a**3*N) //density(kg/m**3)
//Result
|
639d01e5ffc6eb7f54db6dfa96050c9b9f47cad0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH2/EX2.1/ex_2_1.sce | cc514fbbeb2ff78d0462b624eb1656c9a6f8d445 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_2_1.sce | //Example 2.1 // NA ,angles and pulse broadning
clc;
clear;
close;
format('v',9 )
disp("part (a)")
n1=1.5;//core refrative index
n2=1.48;//claddin refractive index
a=100/2;//radius in micro meter
na=1;//air refrative index
NA=sqrt(n1^2-n2^2);//numerical aperture
disp(NA,"numerical aperture is")
disp("part (b)")
am=(asi... |
91358dbf64ec1cdb190aee670eb1d798c49f6c06 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oi_vrt_col_d/~BivLCM-SR-bfas_oi_vrt_col_d-PLin-VLin.tst | 094b52bc5b0ae9870abad99c9c8ca92933694d6a | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,909 | tst | ~BivLCM-SR-bfas_oi_vrt_col_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.268492D+00
2 -0.147873D-02 0.211473D-02
3 -0.489459D-02 -0.85511... |
708739733483e09a58ad9bcabd2829fc0c51acf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH27/EX5.5.2/U5_C5_2.sce | 5e712bd2665e81b1e04b2b814be7ed7f0b595a0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,498 | sce | U5_C5_2.sce | //function for calculating the energy level
function[energy]=F(j)
energy=a*j*(j+1);
endfunction
//variable initialization
m=1.6738*10^-27; //mass of hydrogen atom (kg)
r=0.74*10^-10; ... |
2406fbe357cad1b074c9236b260c9c54b65ba81d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH9/EX9.11/Ch09Ex11.sce | d40a165f1a51c6e2aa136f102a240bca25357761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Ch09Ex11.sce | // Scilab Code Ex9.11: Page-468 (2011)
clc;clear;
alpha = 3.5;....// Attenuation of the optical fibre, dB/km
Pi = 0.5;....// Input power of optical fibre, mW
L = 4;.... // Distance through the optical wave transmits through the fibre, km
// As alpha = 10/L*log10(Pi/Po), solving for Po
Po = Pi/exp(alpha*L*2.302... |
54dc3eb4e2f4e3a5e53a0af8a4116e71021a1028 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH11/EX11.19/Example_11_19.sci | a78fb62cc8c84ef837474e112ba9d1bd59e6394b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sci | Example_11_19.sci | clear all;
clc;
printf("\n Example 11.19");
//Data from fig. 11.42
a = [0 0.02 0.04 0.06 0.08 0.1 0.2 0.4 0.6 0.8 1.0];
b = [0.75 0.62 0.60 0.57 0.55 0.52 0.45 0.30 0.18 0.09 0];
//a = (R-Rm)/(R+1)
//b = [(n+1)-(nm+1)]/(n+2)
R = [0.92 1.08 1.25 1.75 2.5 3.5 5.0 7.0 9.0];
n = [28.6 22.8 16.9 13.5 11.7 10.5 9.8 ... |
308e97f5dfa79778cb07bd758e1c3977228a8084 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/scilab_shallowwater/runshallowwater.sce | cc716d1f89f04dbdfe90efd635c5d70fab937b5d | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,333 | sce | runshallowwater.sce | //Steven McHale
//Tsunami Model
//Shallow-Water Wave Equation
//Crank-Nicholson Discretization
clear;
//clf;
clc;
// Constants
g = 9.81;
u0 = 0;
v0 = 0;
b = 0;
h0 = 5030;
// Define the x domain
//ni = 151;
... |
269b5525b393a8263d324c67830eae464620f22e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH12/EX4.15/Ex12_15.sce | e4519b55aec390dff23f8eec26cc0104c6a4009c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Ex12_15.sce | //Part B Chapter 4 Example 15
clc;
clear;
close;
l=3;//m
d1=85;//mm
d2=65;//mm
A=1*0.5;//m^2
Pw=2200;//N/mm^2
LG=Pw*A//N(Total Wind load at G)
M=LG*(3+0.25)//Nm(Max BM on pipe)
T=LG*(0.5+0.5);//Nm
I=%pi/64*(d1^4-d2^4);//mm^4
Z=I/42.5;//mm^3
Zp=2*Z;//mm^3
sigma_b=M*1000/Z;//N/mm^2
tau_s=T*1000/Zp;//N/mm^... |
1c79e14394f2dc56858d6cb5dac108ab6c39b9ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH3/EX3.4/Ex3_4.sce | dacf05a5f62ef2fac5bdfb39d2dcd40da636a1c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,756 | sce | Ex3_4.sce | //Example 3.4
//Frequency response
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//(a) Frequency response of 1/(s+k)
k=1;
fmin=1e-2;
fmax=1e2;
// Transfer function
s=poly(0,'s');
sysH=syslin('c',1/(s+k))
//Frequency response ... |
ad1cad0371c261428ecd3dd3638b7d88ab058bdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH9/EX9.01/9_01.sci | b18a252373077bdcb7a98ab88423fd5f1ad0c3de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sci | 9_01.sci | //calculates//
s=%s;
G=syslin('c',20/(s*(s+4)))
H=0.35;
y=G*H;
S=1/(1+y);
disp(S,"1/(1+G(s)*H(s))")
//given w=1.2
w=1.2
s=%i*w
S=horner(S,s) //calculates value of S at s
a=abs(S)
disp(a,"sensitivity of open loop")
F=-y/(1+y)
disp(F,"(-G(s)*H(s))/(1+G(s)*H(s))")
S=horner(F,s) //calculates value of ... |
d3dba93d8e69b442a8409d7930e43b9d7a2c479d | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/scilab_shallowwater/paramscollabtest1.sce | 7ec898f57768fb28078bbd3851700a947404ff52 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | paramscollabtest1.sce |
// Camera parameters
vfrom = [25 25 21];
vto = [23 25 0];
vup = [0.2 0.8 0.6];
fcamwidth = 47;
istep = 1;
sname='testsim3';
cam=struct('camfrom',vfrom,'camto',vto,'camup',vup,'camwidth',fcamwidth);
settings=struct('step',istep,'name',sname);
metadata.author='MikeG';
metadata.sdate=date();... |
0fb591b8f99700ddddaadfba0db08bf48ac4ac3a | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH3/EX3.4/Ex3_4.sce | a219aa50989469aec850335b64bee64827ac1d4f | [] | 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 | 293 | sce | Ex3_4.sce | //Variable declaration
n1 = 4 // Total operators
n2 = 3 // Total Machines
n3 = 8 // Test specimens for each pair
//Calculation
Total_pairs = n1*n2
Total_specimens = n1*n2*n3
//Results
printf ( "Total Pairs : %.f ",Total_pairs)
printf ( "Total Test specimens : %.f",Total_specimens)
|
7ad257cfbf0df469e2cf4981407a510e9b3bc5be | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/isminphase.sci | d86f76f11f0081ee11f1c347911a2ee5e1eb672c | [] | 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 | 3,073 | sci | isminphase.sci | <<<<<<< HEAD
//isminphase Determine whether filter is minimum phase or not
// Description : It determines whether the given system function is minimum phase system or not . Minimum phase system means all zeros of transfer function will be inside the unit circle in z-plane , also poles mustbe within unit circle for sta... |
c92f362529f7ff8ab69a398de6f00af7e8dc19cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.12/EX_5_12.sce | d03e8601d9ca9f203fd58c95971cd64ce839fc65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,027 | sce | EX_5_12.sce | // Example 5.12:corner frequency and maximum GAIN
clc;
clear;
close;
Vcc=10;// Colector voltage in volts
Beta= 100;
Rc=1;// Collector resistance in killo ohms
Rs=600;//SERIES RESISTANCE IN OHMS
Re=0.2;// in kilo ohms
R1= 50;// in kilo ohms
R2= 10;// in kilo ohms
Vbe=0.7;// Base to emitter voltage in volts
C1=1;//capaci... |
a1ed3d1a5ff35caa3937fb029e1225d71ea3bbb3 | a4bbc60bcc82ee6212825ce21fc9e4fa7b04e870 | /Bioinformatics_3k/3uzd/tests/1AXC.tst | df229dd1bbc0d125423d334cc0e6c3af9d7b1879 | [] | no_license | Luksys5/LT_programos | 3a7cabb6c5e8a23a856983c1938d2d492cddf916 | 959ab74029df334767fcad84adc46ae36cf7cdf1 | refs/heads/master | 2021-01-19T19:33:11.505596 | 2017-03-12T18:08:14 | 2017-03-12T18:08:14 | 16,478,166 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | tst | 1AXC.tst | #$Id: pdbboxes 232 2015-05-04 12:44:10Z Lukas_Tutkus $
93.962 97.136 44.179 inputs/1AXC.pdb
|
350d4b496b693118d3b87a002e6bc72487cfcea3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3788/CH6/EX6.2.1/Ex6_2_1.sce | eee07265cac6b9d1b1ec8f1ab310f0f3b932b1b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,190 | sce | Ex6_2_1.sce | //example 6.2.1
//calculate power level at op of transponder
//variables
clc
clear
pearth = 500
gain = 105
backoff = 3
outputpower = 40
BWStA = 15
BWStB = 10
BWStC = 5
Pt = 20
EIRPa = 3.0
EIRPb = 4.8
EIRPc = 7.8
PtindB=10*log10(outputpower) - backoff
printf("Power of tansponder is %fdBW \n",PtindB)
... |
426755f13c5661dcd9bf85b0562a2b407b0f7c4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH2/EX2.7/Ex2_7.sce | 517b72418ac847acbe70377872c96a43ebb2325e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | sce | Ex2_7.sce | //Example 2.7//
a=sqrt(3);// Given //By formula
b=1;//Given
r=a-b
disp(r)
|
639134c7603671bc703a40dbf3f74c2f596c96d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH3/EX3.8.b/3_8_soln.sce | 48bb04d8ab769c7e82ef4c68bddae30ab02bfe05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sce | 3_8_soln.sce | clc;
pathname=get_absolute_file_path('3_8_soln.sce')
filename=pathname+filesep()+'3_8_data.sci'
exec(filename)
// Solution:
// The required piston area,
A=round(F_load/p); //in^2
// The necessary pump flow rate,
Q=((A/144)*S)/t; //ft^3/s
Q_gpm=Q*449; //gpm
// The Hydraulic Horsepower delivered to cylinder,
HHP=(p*Q_gp... |
bbc166241d19268648c5fb9ce01a02190cca35d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH16/EX16.7.2/Ex16_2.sce | 8970b928bd5e4365afc7679b6e6b06c74bc4f46d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_2.sce |
clear all
clc
close
iload=5*1e-3;//Load current in A
//Capacitances of Cockcroft-Waltobn type voltage tripler in F
C1=0.01*1e-6;
C2=0.05*1e-6;
C3=0.10*1e-6;
f=50;//frequency in Hz
Vs=100*1e3//Supply voltage in V
//Ripple voltage in V
dv=iload/f*(2/C1+1/C3)
printf('Ripple voltage in V %f',dv)
//... |
00e7bd32565afc9f38d20b5a1608c340df92c902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH2/EX2.11.b/2_11b.sce | df914cde944c3fea0c34e58690e98a92198d3021 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_11b.sce | clc
clear
//Initialization of variables
Co=0.1
Co2=14.1
Cb=0.646
//calculations
Q2=Co/(Co+Co2) *Cb*10160
//results
printf("Heat loss = %d Btu per lb of fuel",Q2)
|
3a637f7d9b91f3af619ea1ebc3ad95f01496fd3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.12/Ex24_12.sce | aff2f15651361788d3ddc8c355987683dc57b8cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,168 | sce | Ex24_12.sce | // Example 24_12
clc;funcprot(0);
//Given data
P=10;// Power plant capacity in MW
T_1=300;// K
T_4=960;// K
e=0.7;// The effectiveness of regenerator
n_c=0.8;// Isentropic efficiency of compressor
n_t=0.90;// Isentropic efficiency of turbine
n_com=0.96;// Combustion efficiency
n_m=0.95;// Mechanical efficien... |
dbe1f7973270529f96057dc96cdddbba2d618cfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH16/EX16.1/16_01.sce | 5d218f8398c04b5fc8666e687eb24a8b5e4267ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | 16_01.sce | clear
clc
Co=1;k=1;t=1;//given
//Scheme A
//For mixed flow reactor
//t=(Co-C1)/KC1^2
C1=(-1+sqrt(1-4*t*(-Co)))/2*t;
//For the plug flow reactor
//t=1/k(1/C2-1/C1)
C2=C1/(1+k*t*C1);
printf("\n Conversion for flow scheme A is %f",C2)
//Scheme B
//For plug flow
C3=Co/(1+k*t*Co);
//For mixed flow reactor
C4=... |
d30e3c07ccbd4be8888e26938c62f9de90492ae5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH7/EX7.5/7_5.sci | 454acf80b7471da7d686a6eac3399a54862e09dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 674 | sci | 7_5.sci | clc();
clear;
//To calculate the pitch of the helix and radius of trajectory
v=2*10^6; //speed in m/s
teta=30; //angle at which proton enters at the origin of coordinate system
B=0.3; //magnetic field in iT
vp=v*sind(teta); //v(perp... |
043d99c0d36b1d2ec93163f4793fc8af18545aef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH15/EX15.11/15_11.sce | 833becc7bc6351f369cf71d629facf432cb189e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | 15_11.sce | clc
//initialisation
de=5.52*10^-21//j
k=1.38*10^-23
//CALCULATIONS
t=de/(2*k)
//results
printf(' \n temperature of system= % 1f k',t)
|
36353af2381d6b35c3442a25fda037086ba231e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH2/EX2.9.u1/Ex2_9_u1.sce | b6346b298cd6f882ef40ddc6c1e4ce7c562d6561 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Ex2_9_u1.sce | //Example 2_9_u1
clc();
clear;
//To calculate resolving power in second order
//We have e*sin(theta)=k*lamda
//We have e*0.2=k*lamda ->1
//And e*0.3=(k+1)*lamda ->2
//Subtracting one and two 3*0.1=lamda
lamda=5000 //units in armstrongs
lamda=lamda*10^-8 //units in cm
e=lamda/0.1 //u... |
5b7820be262fde3799ea63add2feb2676d29ea2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH9/EX9.7/Ex9_7.sce | 2e9cf9898466e1eee578620641e94f8a9a836e55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 967 | sce | Ex9_7.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex9_7.sce.
clc;
clear;
//input data are taken from example 9.5
V=1+%i*0;
Xd=1.0;
Xq=0.6;
pf=0.8;
theta=acosd(pf);
Ia1=pf-%i*sind(acosd(pf));
Ia=1.0; ... |
a08bd87abb720a6a257a5d6efc53a31d3188e985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH15/EX15.7/ex15_7.sce | dbd4a505e27c342c4f9e1b3caebbd37c19aa50fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | ex15_7.sce | clear;
//clc();
// Example 15.7
// Page: 405
printf("Example-15.7 Page no.-405\n\n");
//***Data***//
printf(" Our system consists of Au and H2O.\n");
// So
N = 2;// Number of the species
// If there is no chemical reaction, then
Q = 0;
//So
C = N - Q;// Number of the components
printf(" If no com... |
397cc7f1d47d676c9a8935e64b5a2fbeacca94f2 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Thetadegree.sci | c6ceff89d0bcbe6e74a681794b95883fb86ebee9 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | sci | Thetadegree.sci | // 08.07.11
function Ang=Thetadegree()
global THETA;
Ang=THETA*180/%pi;
endfunction
|
13a8319c9f8a94ed9868a725d9696356159991ff | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_R._H._F._Pao_2066.zip/Fluid_Mechanics_R._H._F._Pao_2066/CH8/EX8.2/8_2.sce | b8add2077ba1675bce2c4507a969461dc7f81b00 | [] | 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 | 192 | sce | 8_2.sce | errcatch(-1,"stop");mode(2);
//Initialization of variables
ratio=0.99
E=3.19e5 //lb/in^2
//calculations
pd=-E*log(ratio)
//ersults
printf("Pressure difference = %d psi",pd)
exit();
|
883807c7d10c81bbe951f1fcd7d64195a00143d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.5/Example39_5.sce | 5fc531d9c8674f6af1a3f76997c560394fb8c2fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,704 | sce | Example39_5.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.5 :
// Page number 682
clear ; clc ; close ; // Clear the work s... |
38592b350e1aa4caea3a81fbb9c4a2c145f7a6a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH2/EX2.8/2_8.sce | b566d3685322b918fbdee4f46f946a5028e5f710 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | 2_8.sce | // Conversion to current source and nodal analysis
clc;
clear;
// Nodal Equations
// 1.5*Va-0.5*Vb+0*Vc=5
// 0.5*Va-1.5*Vb+0.5*Vc=0
// 0*Va-0.5*Vb+1*Vc=0
Y=[1.5 -0.5 0;0.5 -1.5 0.5; 0 -0.5 1]; // Admittance matrix
I=[5;0;0];
V=inv(Y)*I;
Va=V(1);
Vb=V(2);
Vc=V(3);
Vab=Va-Vb;
disp('V',Va,'Voltag... |
4893869aa2ec4efe42cf71fb782fdfb2dbf311ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.23.i/exa12_23_i.sce | a6d124d503937b667a50e5715e65775f92da875b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | exa12_23_i.sce | //caption:stability_using_Nyquist_criterion
//example 12_23_i
//page 535
clf();
s=%s;
s1=-s;
disp("for K=0.1")
g=(0.1*(s+10)*(s+40))/(s*(s+1)*(s+4));
g1=(0.1*(s1+10)*(s1+40))/(s1*(s1+1)*(s1+4));
GH=syslin('c',g);
GH1=syslin('c',g1);
nyquist(GH);
nyquist(GH1);
//mtlb_axis([-1.5 0.2 -0.3 0.3]);
xtitle('Nyquist plot of (0... |
1a7f4e2ef95a08ab08b3aab633d58c9170c3a6a5 | 06c050d87b5b6b7e42f2d24889ec60b0f5fdd998 | /secante.sce | 9e1210182b0c8229ffa5338ffa0c910c23044ee8 | [] | no_license | jaimedantas/Numerical-Computation-Scilab | 06958d436ee9724daa7c03f2ea14f195e5fbb596 | 66bf163bdbc0d9453cafff0369bbd5cd2fce78f3 | refs/heads/master | 2021-01-11T15:18:52.809391 | 2017-01-29T03:47:50 | 2017-01-29T03:47:50 | 80,327,110 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | secante.sce | clc
//metodo de newton
//funcao juros compostor
function y = modelo(x)
y=0.04+(x)/(1-x)*sqrt(2*3.5/(2+x));
endfunction
//funcao principal
function x = newton(x0, prec, cont_max)
cont=0;
x=x0;
e=1;//maior erro
x_old=x0;
while (e>=10^(-prec) & cont<=cont_max)
x_antes=x_old;
x_old=x;
x=x_old - (mod... |
8ef7f61bf1864605ab8e5b28c7773a3bc0386e2d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BVA5.prev.tst | cccee87bce3241540ad82de2909a03990d68f6ef | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | tst | BVA5.prev.tst | BigVectorArray.parseRecurrence("a(n) +(-2*n+1)*a(n-1) +2*(-n+1)*a(n-2)=0")
vname=a_0, k=0, kmax=0, kmin=0, poly=a_0 + a_1 + 2*a_2 - 2*a_1*n - 2*a_2*n
vname=a_1, k=-1, kmax=0, kmin=-1, poly=a_0 + a_1 + 2*a_2 - 2*a_1*n - 2*a_2*n
vname=a_2, k=-2, kmax=0, kmin=-2, poly=a_0 + a_1 + 2*a_2 - 2*a_1*n - 2*a_2*n
shift by 0
... |
cd54801612cbb498c4587be7b27557f471a73f75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH5/EX5.6/5_06.sce | 2a35eb2ee520bcdef183ccd6e3601b629ae94950 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 76 | sce | 5_06.sce | clear
clc
//This is a theorotical Qn
printf("Its a theorotical Question") |
cd63770ef34e403075dec49c33c1826a60c99ea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH1/EX1.1/example1_1.sce | a85c92b90a78ea7c105daccfbe8c284f49d95325 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | example1_1.sce |
// Example 1-1 in page 8
// Given data
clc;
phi=500*10^-8;// one maxwell=10^-8 Wb, phi=total flux
Area=(2.54*10^-2)^2;// area in m^2, cross section is one inch and 1inch=2.54cm
// Calculation
B=phi/Area; //flux density(B) in tesla
printf("total flux density=%.2f mT",B*1000);
// Result
// the toatal flux density is 7.7... |
4986a10b5d7b63bf4973cfab4bd7de6729920f87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH2/EX1.2.2/Ex1_2_2.sce | 5f0087b0de320dbeac51104c6f5718d12d5ff343 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex1_2_2.sce | //Section-1,Example-2,Page no.-AC.163
//To find the weight of air actually supplied per m^3 of the gas.
clc;
M_w=28.97
V=300*(100/21)*(150/100) //Volume of air reqd. for 1m^3 of gas using 50% excess air(L)
W=V*(1/22.4)*M_w
disp(W,'weight of air actually supplied per m^3 of the gas.(gm)')
|
fd90aadee3411f05d9640de31cdd8d1357e3710d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3517/CH6/EX6.5/Ex6_5.sce | bcf40151760b8864dc65f3678ff103e7863da18d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Ex6_5.sce | //Caption:Design Schmitt circuit components R1,R2,R3,R4 and R5
//Ex6.5
clc;
clear;
close;
u=3//Upper trigger voltage(in volts)
Ib=500//Max base current(in nA)
Vf=0.7//Forward diode voltage(in volts)
Vk1=-2//Voltage(in volts)
Vcc=15//Collector voltage(in volts)
Vk2=-Vk1
i=Ib*0.1
R2=u*1000/i
I=u/R2
Vo=Vcc-1... |
2e210e99249f58cef1a860b12933aaed531c82fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.29/ex2_29.sci | a295ba145f73953a39974eab704fc146632e3852 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sci | ex2_29.sci | //Chapter 2,Ex2.29,Pg 2.33
clc;
disp("Refer to the figure shown in the diagram")
A=[1 0 0;-1 3 -1;-2 -5 10]
B=[60;12;24]
V=A\B
printf("\n Voltage across the 100 ohms resistor=%.2f V\n",V(3))
|
01399f8f0325ded23688c653970cffd7cb9ed380 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH16/EX16.7/EXP16_7.sce | 8e8f90c945f90bcf7692d9947005d2ff0e4c5767 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | EXP16_7.sce | clc;funcprot(0);//EXAMPLE 16.7
// Initialisation of Variables
M=56;.........//Molecular Weight of Polyethylene
P=0.88;........//Measured density of PolyethyleneInitial
P1=0.915;........//Measured density of Polyethylene Final
Pa=0.87;........//Density of Amorphous Polyethylene
//Caluculations
Pc=M/(7.42*4.... |
5b5cc660c61f3d9a398663a7b39576c2149780ce | 0e52518c6fe37e683dc04d785f174ce30408f8e7 | /derivacao.sci | 6b3bcc29ac68d5d899689dc75c5620b8ee40ee98 | [] | no_license | thiago-franco/metodos-numericos | c3a7a10d00376c9b238825e9ff049635cc153a92 | 95ed4e0b1e05b10c7d0ef9cbc23f9c98d2cf8a65 | refs/heads/master | 2021-07-06T00:19:31.512668 | 2017-09-30T01:25:29 | 2017-09-30T01:25:29 | 104,950,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sci | derivacao.sci | function y = f(x)
// Função cuja derivada deseja ser estimada
y = exp(x) + sin(x)
endfunction
// Derivada recuada com dois pontos
function D = recuada(x, h)
D = (f(x)-f(x-h))/h
endfunction
function D = avancada(x,h)
D = (f(x+h)-f(x))/h
endfunction
function D = centrada(x,h)
D = (f... |
72e99e63755959265e1026b326d55b5988a1c862 | 52bc9d4a4a76ae754ef5ed1e1bfaa3734778e40b | /lab6/lab6.sce | ad88a5be91396b08cc3318242c720245847c279a | [] | no_license | DavidShagabaev/mathmod-labs | 4850686841cac662c49350dad6fd1a3e2a02d4a7 | 8832962a354e40b0860e45c440d962727ad53871 | refs/heads/main | 2023-08-30T19:20:26.965258 | 2021-11-14T17:02:40 | 2021-11-14T17:02:40 | 427,987,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | lab6.sce | a=0.01;
b=0.02;
N=8124;
I0=124;
R0=30;
S0=N-I0-R0;
t=0:0.01:200;
x0y0=[S0;I0;R0];
function dxdy=x_der(t,x)
dxdy(1)=0;
dxdy(2)=-b*x(2);
dxdy(3)=b*x(2);
endfunction
x=ode(x0y0, 0, t, x_der);
function dxdy=y_der(t,x)
dxdy(1)=-a*x(1);
dxdy(2)=a*x(1)-b*x(2);
dxdy(3)=b*x(2);
endfunction
y=ode(x0y... |
ed82fbcdae4e55de798127979fb5392ac9e513e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH26/EX26.8/ex_26_8.sce | bc9bfb77a73628f307407b8f78b8b4d8f9f414b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | ex_26_8.sce | //find
clc
//solution
//given
D=150//mm
R=75//mm
d=50//mm
r=25//mm
p=0.8//N/mm^2
N=100//rpm
u=0.015
W=p*%pi*[R^2-r^2]//N
printf("load to be supported is,%f N\n",W)
T=(2/3)*u*W*[(R^3-r^3)/(R^2-r^2)]//N-mm
P=2*%pi*N*T/60000
printf("power loast in friction is,%f W\n",P) |
79960798fbc7d1e02b32722855b08237604ca024 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/gausspivotingsebagian/egauss.sci | 26d752992d620642174d77b415783d7b51098040 | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 871 | sci | egauss.sci |
function egauss(A,b)
M=[A b];
[n m]=size(M);
j=2;
for j=1:n
kolom=abs(M(:,j));
[nilai,ind]=max(kolom(j:n));
indeks=ind+j-1;
if kolom(j) < nilai then
M=tukar(M,indeks,j);
end,
for i=j+1:n
M(i,:)=-M(i,j)/M(j,j)*M(j,:)+M(... |
320767c3457d1b9a4e75d5bb98451809d5cd4ab8 | 85744a910858b3185731e57d7d39dac2b5b17982 | /PRE & DE Emphasis.sce | d520c9d3ce9e0d81712e5c18c8185eb381b81263 | [] | no_license | shashwat2811/Analog-Digital-Communication | b53aac1ae75d53df90e0b938ef8fdc38caaf3084 | edd1ba5b0abad34aa74bed3441fddb26497f91db | refs/heads/main | 2023-06-05T04:33:21.979126 | 2021-06-12T13:41:56 | 2021-06-12T13:41:56 | 376,288,206 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | PRE & DE Emphasis.sce | clc ;
clear ;
xdel ( winsid () ) ;//xdel(0)//xdel()
R=2000;
r=200;
j=sqrt(-1);
C=0.1*10^-6;
for i=1:100000
k(i)=log10(i)
f=i;
w=2*3.1414*f;
w1=1/(r*C);
pre_emp(i)=(R/r)*20*log10(sqrt(1+(w/w1)^2))
de_emp(i)=-20*log10(sqrt(1+(w/w1)^2))
end
subplot(211)
plot(k,pre_emp);
title("P... |
f1d530b8bcb89a7c97b39e3530a247cd5bd474b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH9/EX9.7/EX9_7.sce | bae8d8c67106492a7307e5a5e9a532dfb69e00c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 958 | sce | EX9_7.sce | //Example9.7 // determine the lock range of the FSK demodulator
clc;
clear;
close;
Vcc = 12 ;
Fvco = 0.25*Vcc ;
f = 200*10^3 ; // KHz
// the total time period of VCO
t = 1/f ;
disp('The total time period of VCO is = '+string(t)+ ' sec ');
// In VCO the capacitor charging and discharging time period ar... |
404d88d1807706ac0d15c71d3b4d0724d7c07844 | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Exercise 1/Exercise 1.sce | d39237b546ce9476d84932bafb8f34826642dbae | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,861 | sce | Exercise 1.sce | //======================================
// Exercise 1: the surface Ekman layer
//======================================
//Author: Jochen Kaempf, 2015 (update)
f = gcf(); scf(0); f.figure_size = [400,400];
in = read("uvprof1.dat",-1,3); // read data file
nz = 500; z = in(1:nz,1); u = in(1:nz,2); v = in(1:nz,3)... |
34250bfb9747d26a042102f33f75573f1ab6ea69 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/LIR10.prev.tst | bf2f040c2b4ef95da2c5c6ce317b095e5ed682bd | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | tst | LIR10.prev.tst | # A000000 generated by Sequence
# Table of n, a(n) for n = 0..9
0 1
1 9
2 3
3 15
4 6
5 78
6 24
7 132
8 51
9 699
|
8ec1e06a96fb2ef0d452a92209ed1c8441c781e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH12/EX12.5/Example12_5.sce | 71b843d2b4fcc2ab8cd5b0b0c619fa272d9bf561 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,204 | sce | Example12_5.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 5: MECHANICAL DESIGN OF OVERHEAD LINES
// EXAMPLE : 5.5 :
// Page number 199
clear ; clc ; close ; // Clear the work spa... |
7c262e7b13b9782e76bc2edc7fb7c3221075999c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/m2sci.sci | c7fb48c21ef2eb0f50bbb138cb50a683d5035204 | [
"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 | 4,745 | sci | m2sci.sci | function [txt,trad]=m2sci(lst,nam,Imode,Recmode)
// translate matlab syntax to scilab
//%Parameters
// lst : list, represents the interpreted code of the matlab function given by macr2lst
// nam : nam of the scilab function to generate
// txt : character string column vector: the text of resulting scilab function... |
3692cb1023e7d322dd4fe80631e3c1aa68430640 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.28/Ex2_28.sce | 0328a8c7076c9a726c9105dfc0be08996dd33894 | [] | 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 | 324 | sce | Ex2_28.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the value of resistance
//Exa:2.28
;
;
V=220;//in volts
R_a=0.1;//in ohms
N_1=800;//in rpm
N_2=520;//in rpm
I_a1=20;//in ampers
E_1=V-(I_a1*R_a);//in volts
E_2=N_2*E_1/N_1;//in volts
R_A=-(E_2-V+I_a1*R_a)/20;
disp(R_A,'Additional resistance(in ohms)=');
exit... |
757c027653269ffc0ff6aed8ee1102e4af6f4541 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/trzeros.man.tst | 631317d8d19b8fe852ba959bb57e6b5d2e03b030 | [
"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 | 409 | tst | trzeros.man.tst | clear;lines(0);
W1=ssrand(2,2,5);trzeros(W1) //call trzeros
roots(det(systmat(W1))) //roots of det(system matrix)
s=poly(0,'s');W=[1/(s+1);1/(s-2)];W2=(s-3)*W*W';[nt,dt,rk]=trzeros(W2);
St=systmat(tf2ss(W2));[Q,Z,Qd,Zd,numbeps,numbeta]=kroneck(St);
St1=Q*St*Z;rowf=(Qd(1)+Qd(2)+1):(Qd(1)+Qd(2)+Qd(3));
colf=(Z... |
7569d5da1f6a40f84c543c735ca7d670b86d95b7 | 458def2f7b4bd44cdf75f29a4c0cabed2e6ca516 | /Assignment4_SDL.sce | 44342d13e152ef3a2a96775b5ff138f4f9925241 | [] | no_license | SoanKim/Presentation_Software | 1a03bfc9e22bd2a874c5787ca89faa0947c09e67 | 382c84878496fce1e790386a4ff6c03741eb4974 | refs/heads/master | 2022-12-09T03:50:22.916992 | 2020-09-10T10:55:45 | 2020-09-10T10:55:45 | 294,382,441 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | Assignment4_SDL.sce | #SDL
scenario = "GetInput";
pcl_file = "GetInputPCL.pcl";
begin;
picture {
text {caption = " ";}t_Info1; x=0; y = 100;
text {caption = " ";}t_Info2; x=0; y = 0;
} p_Info;
|
0739536550dc1108c0cc31f07f04377ba3cc9363 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.10/2_10.sce | 5a636fd2f24c4299624d25b5862b38f1b4e5b65e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | 2_10.sce | //Chapter-2,Example 2_10,Page 2-34
clc()
//Given Data:
lam=6*10^-7 //Wavelength of light
a=0.02*10^-2 //width of slit (a=d)
f=2 //distance between screen and slit
//Calculations:
//We know, a*sin(theta)=m*lam, here m=1
theta=asin(lam/a)*180*60/%pi //angular pos... |
891649afff8f1dc673974e59df5b4fe2a96edd74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.5.2/Ch04Exa4_5_2.sci | c193c29daf149a5279f0bc6a0b0e8bfc1b86fd26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sci | Ch04Exa4_5_2.sci | // Scilab code Exa4.5.2: To calculate Q-value for the reaction : Page 183 (2011)
M_Cf = 252.081621; // Mass of califronium, amu
M_Cm = 248.072343; // Mass of curium, amu
M_He = 4.002603; // Mass of alpha particle, amu
Q = [M_Cf-M_Cm-M_He]*931.49; // Q-value, MeV
printf("\nThe Q-value for the reaction : %4.2f MeV",... |
0084c632732426ae40ff37274704816007299022 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH2/EX2.3f/eg2_3f.sce | c4d597b976320094764ea0dbae83edffda26a06d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg2_3f.sce | A = [ 3 4 6 7 10];
B= [-20 5 15 24];
disp(variance(A), "The sample variance of A is")
disp(variance(B), "The sample variance of B is") |
a5ef4d529571746d98b7b964e062735d7ff40eb4 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/3/tests/test10.tst | 5488f09740733bfcc58ddce221361a2941327006 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | tst | test10.tst | const const1 = 11;
type t1 = array 20 of int;
var v2 : t1;
void sym1 () {
const const1 = 33;
PRINT SYMBOL TABLE
}
|
40489985f8a8010bc233efee2015c3debae7cbec | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.22.sce | 9d6d195a13002c1f54b9c9070988d07bfc356973 | [] | 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 | 176 | sce | Ch_6_Eg_6.22.sce | // A program to directly writing and reading a matrix to/from a file.
A = rand (4,3);
fprintfMat ("MatrixA.txt", A, "%lg");
B = fscanfMat ("MatrixA.txt", "%lg");
disp(B);
|
e562fc8cc11b932396b5b2a2e03b45de3ce88b69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH13/EX13.15/Ex13_15.sce | 91bffdd711fcf2c44e1fc5970c8290806ab47629 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | Ex13_15.sce | clc;
//page 718
//problem 13.15
//Bit interval T = 1/10^6 = 10^-6 sec
T = 10^-6
//White Noise Power Spectral Density n/2 = 10^-9 W/Hz
n = 2*10^-9
//Power required Ps = Eb/T, where Eb = energy per bit
//For information system feedback system Eb = n
Ps = n/T
disp('power required for information syste... |
1842ad6664e4e47a8a008061321d5589c3f0b8f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH7/EX7.10.3/EX7_10_3.sce | ea8b903e3ce968a53e9543ba9e83aab41feb42e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | EX7_10_3.sce | //Example No. 7.10.3
clc;
clear;
close;
format('v',6);
N=25;//no. of turns
Vrms=150;//µV(emf induced)
f=500;//kHz(tuned frequency)
A=0.5^2;//m²(Area of loop)
theta=0;//degree(angle)
c=3*10^8;//m/s////Speed of light
lambda=c/(f*10^3);//m(Wavelength)
Erms=lambda/(2*%pi*A*N*cosd(theta))*Vrms*10^-6;//V/m(maximu... |
08212a512b8a85615ca02b6fd916b01e67ade75f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.31/Ex34_31.sce | 88f296ea68b3ed20d6a9a5de97372fe61a11c25e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 988 | sce | Ex34_31.sce | // Example 34_31
clc;funcprot(0);
//Given data
P=2500;// kW
MD=1600;// Maximum load in kW
F_l=0.48;// Load factor
CC_s=15000;// Initial cost of
Ic=18000;// Installation cost in Rs./kW
I=15/100;// Interest on capital
Mc=200000;// Maintainence cost in Rs./year
Tlo=850000;// Total labour and other consumables i... |
adcd296b0099c3cd7b237ec9b309fe37cf69c8e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH14/EX14.5/145.sce | 1a87f13a32cc53c41aa856e42a9e39860b6c10e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 145.sce | clc;
//Exampkle 14.5
//page no 157
printf("Example 14.5 page no 157\n\n");
//air is transported through a circular conduit
MW=28.9//molecular weight of air
R=10.73//gas constant
T=500//temperature
P=14.75//pressure,psia
//applying ideal gas law for density
rho=P*MW/(R*T)//density
rho=0.08//after round off... |
30c279cad5bc466be4fe30c6557827eaff9e56f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/DEPENDENCIES/insertion_sort.sci | d6b5f5d32212cb49eb75eb1b5f9b8d29e92a5ec0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sci | insertion_sort.sci | function A = insertion_sort(A)
n = length(A);
for(i = 2:n)
t = A(i);
j = i;
while((j > 1) & (A(j-1) > t))
A(j) = A(j-1);
j = j-1;
end
A(j) = t;
end
endfunction |
e5efdb64de80112bf56bca49098462434a83030f | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH4/EX4.3/c4_3.sce | 1783cedd4bda8ae9d45fa6f338b37c8a707fbda5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,135 | sce | c4_3.sce | // (4.3) Steam enters a converging–diverging nozzle operating at steady state with p1 = 40 bar, T1= 400C, and a velocity of 10 m/s. The steam flows through the nozzle with negligible heat transfer and no significant change in potential energy. At the exit, p2 = 15 bar, and the velocity is 665 m/s. The mass flow ... |
854cffc46440e5ec7e506fa2419989729a9b42bc | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 4/Q2.sce | abff1b54fdfe7d63024dcb98bd2e498fdf1dc30a | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,008 | sce | Q2.sce | clc; clear;
//-----------------
// Question 2
// Part a
s = poly(0, 's');
G = 10 / (s* (s+2) * (s+4));
Gs = syslin('c', G);
K = 10;
Cs = K * Gs /. syslin('c', 1, 1);
disp("Transfer function for K = 10");
disp(Cs);
disp("==================================================");
// Part b
K = 0:0.1:100;
scf();
for i=1:size(... |
8f6802714917e4bb68b101f07b0c95163f955809 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH16/EX16.16/Ex16_16.sce | 2372f6b0bf71f814e18af39f5e2a5afc0b690523 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Ex16_16.sce | // chapter 16
// example 16.16
// What will be the firing angle and output power available
// page-1051
clear;
clc;
// given
f=50; // in Hz
neta=60; // in %
T=0.24; // in s (repition period)
// calculate
// part (i) can not be solved
// since T=0.24 s represents 12 cycles at 50 Hz or T=24 half cycles, therefore
T=24;... |
ffbb15461fec5ae161712090d43b47f4e1f129f5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.20_14.tst | 719d901caecd8cc82904717bb23b1dbf9683f07a | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,583 | tst | bow.20_14.tst | 20 1:0.03636363636363636 3:0.5 5:1.0 8:0.4 11:0.125 15:0.25 17:0.058823529411764705 20:2.0 36:0.5 37:0.09090909090909091 56:1.0 63:2.0 83:1.0 165:0.5 224:1.0 254:1.0 390:1.0 527:1.0 819:0.5 1126:1.0 1199:1.0
20 5:1.0 8:0.4 17:0.23529411764705882 20:1.0 36:0.5 40:0.16666666666666666 56:2.0 83:2.0 224:2.0 227:0.333333333... |
c7523a5baaee57b04b2daadb7d4c936023aea847 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.21/ex_2_21.sce | db41eb78dacb67bee456bbafc05e798303e4eb16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | ex_2_21.sce | //Example 2.21://consumer monthly bill ,power factor and average cost per unit
clc;
clear;
close;
format('v',9)
kwh=125000;//
kvarh=100000;//
kvah=sqrt(kwh^2+kvarh^2);//kVAh
kw=180;//
kvar=125;//
mkva=sqrt(kw^2+kvar^2);//kVA
pkva=15;//rupees
pkvah=0.1;//reupees
tmb=pkva*mkva+pkvah*kvah;//in Rs
disp(tmb,"total monthly b... |
729f0c09c9bb7cd511769b260652af9b01a008ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH1/EX1.5/Example1_5.sce | 3dea37215335cfe49e051dbe2f7a437c77e2e90d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | Example1_5.sce | //chapter1,Example1_5,pg 482
//with input voltage exceding 2Vd,diodes conduct and the voltage divider circuit with diodes can allow only a Vi given by Vi=2Vd
printf("\ninput voltage to amplifier\n")
printf("\nVi=2Vd")
|
b86123ce7dc74b6a925f5f21c2cd82025bc67915 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH9/EX9.11/Example9_11.sce | 8c30b517a638cb3019d9b96a1c330a0de8f874d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 710 | sce | Example9_11.sce | //Example 9.11.refer fig.9.55
clc
format(6)
VCC=10
RB=470*10^3
RE=3.3*10^3
beta=100
RS=1*10^3
RL=50
re=22.4
VBE=0.7
IB = (VCC-VBE) / (RB + ((1+beta)*RE))
x1=IB*10^6
disp(x1,"From fig.9.55, IB(uA) = (VCC-VBE) / (RB + (1+beta)*RE)")
format(5)
IE=(1+beta)*IB
x2=IE*10^3
disp(x2," IE(mA) = (1+beta)*IB =")
... |
f7cb66c0726eab374871153c2e65c413ef4d16c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH3/EX3.7.9.A/3_7_9_A.sce | 90f28839e0bc05c20880b60246b6b57703164cda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | 3_7_9_A.sce | //lubricants//
//example 3.7.9.A//
clc
wt_oil=1.55//weight f oil saponified(gms)//
blank=20//volume blank titration reading(ml)//
back=15//volume back titration reading(ml)//
volume=blank-back//volume of alcoholic KOH consumed(ml)//
normality_KOH=0.5//normality of KOH //
S=volume*normality_KOH*56/wt_oil//formul... |
65da5cdc40a69701be72d52f1737a6e2ced8b173 | 3c31145b7b0914a28b5c5c61d01c47253663df63 | /Kalman 2D/FiltroKalman.sci | cf2498dcfd4c7c511bed60761205924df684c08e | [] | no_license | APFN/INTRODUCAO-A-IDENTIFICA-O-DE-SISTEMAS | 1eb05ddc0debe5381d941715915388f7ca8af22c | d1a7afd8c8f894285aa9d4c282939538cfaa45d4 | refs/heads/master | 2021-07-21T14:50:25.870205 | 2017-10-30T19:31:48 | 2017-10-30T19:31:48 | 108,897,789 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,838 | sci | FiltroKalman.sci | clc
clear
cd='C:\Users\Álvaro\Google Drive\0 mestrado mecatronica\2017.2\INTRODUÇÃO À IDENTIFICAÇÃO DE SISTEMAS\2 unidade trabalho\Kalman 2D';
FILE='dados_sensor_GPS.txt';
data = read(FILE, -1, 3);
total_points = size(data,"r");
t = data(1:total_points,1);
x = data(1:total_points,2);
y = data(1:total_points,3);
tempo... |
b48ba7b21a4bd135a3ac91a3daf156e913a42192 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 6/Teste2.sce | 6ea3c4cf85434533109ecdba0685b3a77737c479 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | sce | Teste2.sce | x=[1321, 246544, 312134]
y=[1320, 246545, 312100]
disp(norm(x-y, 1))
disp(norm(x-y, 2))
disp(norm(x-y, %inf))
|
d10cc85503db2f6a170951bc170663e8fc93b44a | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH14/EX14.6/c14_6.sce | e6ddad0eb356bb56d2d1e3e27f7c0db6f1ed7d30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,179 | sce | c14_6.sce | //(14.6) Carbon monoxide at 25C, 1 atm enters a well-insulated reactor and reacts with the theoretical amount of air entering at the same temperature and pressure. An equilibrium mixture of CO2, CO, O2, and N2 exits the reactor at a pressure of 1 atm. For steady-state operation and negligible effects of kinetic and p... |
5935bba4f24d6b7b1e3870b85f882c34a6f572ec | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.4/Ex12_4.sce | 05c9413a7075e9ad82680bafefb1637efa2f493c | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | Ex12_4.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 1.5
//6*6 matrix in which aij is given by
//(1) least common multiple of i and j
A=[1 2 3 4 5 6;2 2 6 4 10 6;3 6 3 12 15 6;4 4 12 4 20 12;5 10 15 20 5 30;6 6 6 12 30 6];
mprintf('6*6 matrix in which aij is giv... |
9f0d3ed8164af41c7f0db3cc8e808cc676b54cb6 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_menu.SCI | cfd96b2b84c2c3aeabce0d5cea151d56250f8556 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 3,326 | sci | _menu.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_logo.sci");
createvar(menu);
JoystickUseForNavigation(false);
function startup()
{
sf=T_scene_create;
sf=root.SC.Universe;
sss=T_getscene;
myviewport=T_getviewport;
myviewport.CameraPos=point(0,0,1);
myviewport.Cam... |
1b80ef0ab76bbbb310bbf1142d82c3d44763946a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH5/EX5.23/Ex5_23.sce | 067acca6db09723481705589bca7b83c93c37838 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Ex5_23.sce | //Example 5.23
clc;clear;close;
format('v',7);
Z=1.5+%i*2.5;//ohm
V=11;//kV
P=20;//MW
pf=0.8;//power factor
theta=acosd(pf);
I=P*1000/sqrt(3)/V/pf;//
I=I*expm(%i*-theta*%pi/180);//A
Vdrop=I*Z;//V
Vboost=Vdrop;//V
disp(Vboost,"Voltage boost needed at station A(V)");
|
f088cef8d8e7d37f3cdd0a41e2f2299139e500d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.40/Example8_40.sce | 682f7fae31c312e33af1d89731a46e4dea64aa56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 931 | sce | Example8_40.sce | //Example 8.40
clc
disp("Excitation table")
disp("Present State Next State Flip-flop Inputs")
disp(" QC QB A+ B+ J_A K_A J_B K_B")
disp(" 0 0 1 1 1 X 1 X")
disp(" 0 1 0 0 0 X X 1")
disp(" ... |
54ef5ae22d26d3244d9e8930d49e8395c78321e5 | a7c04c776e8211aa5ddbfcbc697255f346211eb7 | /script.sce | 24e11a83e43773c3acf25d70fa176bb5a1939f9c | [] | no_license | jvmr1/Multiagentes | 67644821261296f12d0f5519057b0ca7b8da14cb | 22f6242427a0d795b42e3d8cf70b580006ee8048 | refs/heads/master | 2021-07-25T12:59:04.734825 | 2020-04-11T00:10:43 | 2020-04-11T00:10:43 | 144,584,612 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | script.sce | figure;
plot2d3(x1)
a=gca() ;//get the current axes
a.box="on";
a.data_bounds=[0,0;720,26];
const=m1*ones(1,720);
plot(const)
figure;
plot2d3(x2)
a=gca() ;//get the current axes
a.box="on";
a.data_bounds=[0,0;720,26];
const=m2*ones(1,720);
plot(const)
|
9eafb6ceabd5201bab842424bb49eca840ea19e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH3/EX3.2/3_2_Chip_Operating_Temperature.sce | efa8e416588282363658199f89a4532f85e90293 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | 3_2_Chip_Operating_Temperature.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 3.2 Page 107 \n'); //Example 3.2
// Chip Operating Temperature
Tf = 25+273; //[K] - Temperature of Fluid Flow
L=.008; //[m] - Thickness of Aluminium
k=239; // [W/m.K] Effective Thermal Conduc... |
4ad032c5a11885e0ae0854cd2e72739717b5f33f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH19/EX19.4/Ex19_4.sce | 0fd234072f74061749cb4fe1ddd5d8d5252859ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex19_4.sce | //Variable declaration:
k = 0.022 //Thermal conductivity of glass wool (Btu/h.ft. F)
T1 = 400 //Inside wall temperature ( F)
T2 = 25 //Outside wall temperature ( C)
L = 3/12 //Length of insulation cover (ft)
//Calculation:
T_2 ... |
bd4c71958544a56d2bc3b44380e4294fc371a34f | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH13/EX13.28/example13_28.sce | 8872b7415e0b9530501e2b7bee3b5e0fadae4935 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | example13_28.sce | //Chapter 13
//Example 13_28
//Page 343
clear;clc;
v1=250;
v2=250;
l1=35;
l2=20;
r1=v1^2/l1/1000;
r2=v2^2/l2/1000;
I=(v1+v2)/(r1+r2);
V1=I*r1;
V2=I*r2;
printf("Resistance of load on the +ve side = %.3f ohm \n\n", r1);
printf("Resistance of load on the -ve side = %.3f ohm \n\n", r2);
printf("Circuit current = %.2f ... |
43e0b94caf360a24ebab87234e921b9482f0911c | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH18/EX18.4/18_04.sce | 30b7da7f6a5bf3cfc7ef3c293ab93b9125b63c85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | 18_04.sce | clear
clc
XA=0.35;
FAo=2000;//mol/hr
eA=3;k=96;
CAo=0.1;
W=((1+eA)*log(1/(1-XA))-eA*XA)*(FAo/(k*CAo));
printf("\n The amount of catalyst(kg) needed in a packed bed reactor is %f",W)
|
7f413f23ff9af8496e2fe7414495daf9728fb6af | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/bset.instr.tst | caae714efd44dd22023514418c94d17322a64369 | [] | 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 | 456 | tst | bset.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x0000000e vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000042 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x78 0x94 sei
0x2: 0x08 0x94 sec
0x4... |
205a01bbb04f727efb35cb8f091974b4bf97ce55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH7/EX7.9/ex7_9.sce | d7403351c2610f3a094417125db5d5ed4cb1266b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 807 | sce | ex7_9.sce | clc;
p1=1; // Pressure of air at inlet of compressor in bar
T1=30; // Temperature of air at inlet of compressor in degree celcius
p2=12; // Delivery pressure of air in bar
T2=400; // Temperature of air at inlet of compressor in degree celcius
V2=90; // Velocity of air at exit in m/s
w=3740; // Power input to comp... |
5aac2f6e1eb83476b622caf648ad74ce49a92c07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH8/EX8.2/Ex8_2.sce | fe7f98b25ae811d3236b54701016c4150044bfbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | Ex8_2.sce | // exa 8.2 Pg 228
clc;clear;close;
// Given Data
Fmin=60;// N
Fmax=140;// N
d=3;// mm
Dm=18;// mm
Sut=1430;// MPa
C=Dm/d;// spring index
Kw=(4*C-1)/(4*C-4)+0.615/C;// Wahl's correction factor
Ks=1+0.5/C;// Shear Stress factor
Fm=(Fmax+Fmin)/2;// N
Fa=(Fmax-Fmin)/2;// N
tau_m=Ks*(8*Fm*C)/(%pi*d**2);// MPa
tau_a=Kw*(8*... |
b668529e829197561b5946952b2d7be8273510b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH2/EX2.9/Ex2_9.sce | 39f3a49c85d282fdd50bdcc36ff324a3a7265f0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Ex2_9.sce | //Example 2_9
clc();
clear;
//To calculate the resolving power and grating element
sintheta1=0.3
sintheta2=0.2
lamda=5000 //units in A
e=(lamda/(sintheta1-sintheta2))*10^-8 //units in cm
width=2.5 //units in cm
n=width/e //units in cm
resolvingpower=2*n
printf("Grating element is e=%.5f cm\n",e)
printf... |
1fcee54879169083eb52b47b4d76d57450d065ce | a7dfe06f9734fdfe218ee36d144ffbba420d82a0 | /modules/unit_test/reports/tst-scheddownasup_service.tst | 015cdb62fac32e68f9151811aeef8ec2f2ff11e5 | [
"BSD-3-Clause"
] | permissive | transitiv/ninja | 1f7e114cedf86ee15c9d4e4876f69c0fec540390 | 3a0f0f37b33fe5e8030bb524499950a811c2c4bc | HEAD | 2016-08-05T05:42:14.097421 | 2011-06-20T15:47:02 | 2011-06-20T15:47:02 | 1,924,342 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,121 | tst | tst-scheddownasup_service.tst | description = count scheduled service downtime as uptime
logfile = scheddownasup_service.log
global_vars {
include_soft_states = 0
}
scheduled service downtime as uptime {
start_time = 1202684400
end_time = 1202770800
host_name = testhost
service_description = PING
scheduled_downtime_as_uptime = 1
correct {
T... |
be5b39c573144e78a669d60032999a9d6641bad1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.23/ex2_23.sce | 6080ed19c85ae190ef281c316c77a045d9af8eed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | ex2_23.sce | //Chapter 23,Ex 2.23,Pg2.29
clc;
disp("Refer to the diagram given in the question")
A=[4 -2;-2 3]
B=[5;4]
V=A\B
printf("\n Va=%.2f V\n",V(1))
printf("\n Vb=%.2f V\n",V(2))
|
5a30c4b878081ef8a121c12d38b05263ff9bd8fc | f5bb8d58446077a551e4d9a6461a55255db523fe | /integracao_numerica/questao2.sce | 7f4377a0dd165dfbb21382c788fb21e9083cc2cd | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | questao2.sce | function y=v(r)
y = 3.*(1 - r./4).^(1./7)
endfunction
function y=Q(r)
vr = 3.*(1 - r./4).^(1./7)
y = 2.*(%pi).*r.*vr
endfunction
a = 0
b = 4
//h = (b-a)./m
h = 0.025
x1 = a
x2 = x1 + h
x3 = b
//R = (h./3).*(Q(x1) + 4.*Q(x2) + Q(x3))
R = h.*(Q(a) + 4.*Q((a+b)./2) + Q(b))
disp(R)
|
dfd8e6d59b353803538efccde25e5fd97e8f2659 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH4/EX4.23.a/Ex_4_23_a.sce | bfc7391ba5658f2072b8449be4d92965d9a80227 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | Ex_4_23_a.sce | // Example 4.23.a;//TOTAL RMS Pulse broadning
clc;
clear;
close;
M=250;//dispersion parametr picosecond per nano meter per kilometer
Sa=50;//spectral width in nm
NA=0.3;//nUMERICAL aPERTURE
n1=1.45;// Core refractibve index
C=2.998*10^8;//Speed of light in m/s
L=1;//length in Km
Sm=M*L*Sa*10^-3;//rms pulse b... |
59296160072bd97a8ea3b832c4637c3bfdd2a462 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH7/EX7.10/P10_angular_displacement_of_flywheel.sce | 6782edb496ae49688a001d8094a485c230577d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,210 | sce | P10_angular_displacement_of_flywheel.sce | clc
//Example 7.10
//Angular displacement of flywheel
//------------------------------------------------------------------------------
//Given data
//Moment of Inertia
J=0.125 //kg-m^2
//Torsional stiffness
Kt=1.176 // N-m/rad
//Torque
To=0.6 //N-m
//frequency
w=4 //rad/s
//Damping couple
Ct=0.4 //N-... |
fd18fcd886a9335a570bc3c50a855e39ddb25941 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH24/EX24.3/exa24_3.sce | 26691996fb175f035d0b14b63d835de5dbda8be3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | exa24_3.sce | clc;
//Example 24.3
//Page No 988
disp("Given: Noise bandwidth is 10MHz");
//solution
f=10*10^6;
disp("Substituting in equation 24-16 yields, ");
N=-174+(10*log10(f));
disp('dBm',N,"N = ");
disp("If the minimum C/N requirement for a receiver ");
Cmin=24+N;
disp('dBm',Cmin,"N = ");
disp("For a system gain of 1... |
97431adfa94cceb8766a3d7b874908717bc18158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.39/Ex5_39.sce | 6330be210b0b3e8f3ee8922745311dab23faa538 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_39.sce | clc
fc = 55000 // fixed cost in Rs
vc = 45 // variable cost per piece in Rs
sp = 100 // selling price per piece in Rs
p = (vc/sp)*100 // percentage of variable cost to
pm = 100 - p // profit margin
bep = ((55000/55)*100)/100 // Break even point
printf("\n Break even point = %d pieces" , bep)
|
f8dd534e72e775e2911b073bdc30a90f180dfa37 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamUtilities/SxP_InteViewer/SxP_InteViewer_v1.51.sce | ec2699a06c9bd367f89f617c5af582acc9f26ce3 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,777 | sce | SxP_InteViewer_v1.51.sce | // ====================== S-params Converter ====================
//
// (Semi)Intelligent Differential S-param Viewer
//
// (c)2014 L. Rayzman
//
//
//
//
// GUI interface based on UICONTROL2 GUI demo
//
// Created : 02/25/2014
// Last Update : 03/18/2014 - Added user interaction in case can'... |
1256eb4812f898498279a0a7428e80648062471b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.41/3_41.sce | 418b14a145726e550ad4174de513217b4fd50fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | 3_41.sce | //Network Theorem 1
//page no-3.47
//example3.41
//calculation of Vth
disp("Removing the variable resistor RL from the network:");
disp("I2-I1=4");....//equation 1
disp("Applying KVL at the outerpath:");
disp("-6*I1-5*I2=2");....//equation 2
A=[-1 1;-6 -5];
B=[4 2]'
X=inv(A)*B;
disp(X);
disp("I1 = -2 A");
... |
d64996671e023a0ede6e2389c7ff925940000993 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/hystdiff_c.sci | 18df6c2ea57ca1f8bcae130baba488cf0090e0da | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sci | hystdiff_c.sci | function block=hystdiff_c(block,flag)
if flag==1
in_out_num = block.ipar(1); //Vectorized
row_vec_io = 1:in_out_num; // Row vector for input & output
block.outptr(1)(row_vec_io)=block.x(row_vec_io); //Output
elseif flag==0
//variables and ODE
block.xd(row_vec_io)= block... |
9122fc133942417adea5ba9332c0cfc770e5a507 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH5/EX5.4/Example_5_4.sce | 09b563c1f60427337eb51e47bcbc9e94f76838b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Example_5_4.sce | //Diffusion Coefficient Determination
clear;
clc;
printf("\tExample 5.4\n");
T=550+273; //in K
D0=1.2*10^-4; //Temperature independent preexponential in m^2/s
Qd=131000; //Activation energy in J/mol-K
R=8.31; //Universal Gas constt
D=D0*exp(-Qd/(R*T));
printf("\nD... |
e34f7f0c2944c3e6a3d76e15412cdd33dc7d09ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH43/EX43.3/Example43_3.sce | b34a37915f8dfc7074506686a7038047c9ec7872 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,223 | sce | Example43_3.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 5: ELECTRIC TRACTION-SPEED TIME CURVES AND MECHANICS OF TRAIN MOVEMENT
// EXAMPLE : 5.3 :
// Page number 778-779
clear ; clc ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.