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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8f2dd36cba4052729cf1590332d78014f95c2173 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH8/EX8.9/8_9.sce | 99fa7551332bd9f3fecf01b1eac112aea7de26d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 8_9.sce | //clc();
clear;
//To calculate refrative index of core
delta=0.14; //fractional index change
n2=1.3; //refractive index of cladding
n1=n2/(1-delta);
printf("refractive index of core is %f",n1);
|
558cbcdedd9a036944b4fd6baf412bf205669b5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH9/EX9.5/Ex9_5.sce | 771ec4fa03c3721cf2693af6291269a0d648c4d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ex9_5.sce | clear;
clc;
l = 5;// feet
b = 5/2;// inches
d = 5/2;// inches
h = 1/4;// inches
n = 3;// factor of safety
A = 1.19;// in^2
k = 0.49;// minimum radius of gyration
f_c = 21;// lb/in^2
a = 1/7500;
P = f_c*A/(1+(a/2)*((l*12)^2)/k^2);// tons
P_safe = P/n;// tons
printf('The safe axial load = %.2f tons',P_safe);... |
e99f84123be78f0948707e61bb1131c7e1fe9d30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH22/EX22.5/22_5.sce | 610f478c3b985ed89b2fd4f7396a7ce6ed72741c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | 22_5.sce |
clc
//initialisation of variables
th1=24*%pi/180//rad
th2=48*%pi/180//rad
th3=23*%pi/180//rad
H=280//ft
d=4.5//ft
b=4//ft
g=32.2
//CALCULATIONS
V=sqrt(2*g*H)
Vf=V*sin(th1)
Vw=V*cos(th1)
v=Vw-(Vf/(tan(th2)))
v1=v
n=v*60/(%pi*d)
Vr=Vf/sin(th2)
Vr1=Vr
Vw1=v1-(Vr1*cos(th3))
w=(Vw/g)-(Vw1*v1/g)
Q=b... |
94de770b5d82312948eb15c763736d171130be59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.5.1/Ex4_5.sce | 8b8dc9b62a909165c83e1110e3df36db45fb9d28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | Ex4_5.sce | clc
clear
x=0.9; //Dryness Fraction
m=1.5; //mass in kg
Cps=2.1;
//Condition at 10 bars
P=10;
Tsat=179.9; //in Celcius
T=250; //in Celcius
Hg=2778.1; //in kJ/kg
Vg=0.194; //in m^3/kg
Cps=2.1;
H1=Hg+(Cps*(T-Tsat));
Vsup=((T+273)/(Tsat+273))*Vg;
U1=H1-(P*100*Vsup);
Sf=2.... |
808f5592c778e88519bb8226cfed763b11cda18a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH25/EX25.6/Example25_6.sce | e8d6e7dc72e881fb0bd6e93ec8f2a40598df6bdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,155 | sce | Example25_6.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 18: POWER DISTRIBUTION SYSTEMS
// EXAMPLE : 18.6 :
// Page number 440-441
clear ; clc ; close ; // Clear the work space ... |
a9cd96efeded9cbab69c63d290166248a3e16eaa | 6285663d2259fa331b87bfb8ab368f892ee94351 | /04/Divide.tst | 7a4d0167c5e33073543189976e0411cc3f976c23 | [] | no_license | Ellonet/nand-ex1 | 1ed60786aef5386321519d23b1d2328930e0700d | 19eee2248c24c9912ca72b61ce0d1869dc885d71 | refs/heads/master | 2020-04-01T10:07:53.274194 | 2019-01-06T18:07:23 | 2019-01-06T18:07:23 | 153,103,996 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,148 | tst | Divide.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/mult/Mult.tst
load Divide.asm,
output-file Divide.out,
compare-to Divide.cmp,
output-list RAM[13]%D2.8.2 RAM[14]%D2.8.2 RAM[15]%D2.8.2;
set RAM[13] 4, // Set... |
2470b021033590abbeea33b1380dac16a16b16e2 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH10/EX10.5/10_5.sce | 02f6291322509b67c6bcca7d672388d83305ca38 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | 10_5.sce | clc;
h1=2846;
h2=2682;
x2=0.98;
vg=0.6057;
v2=x2*vg;
C2=[2*(h1-h2)*10^3]^0.5;
m=0.1;
A2=m*v2*10^6/C2;
disp("mm^2",A2,"Exit area is:");
//part II
p1=7;
p2=3;
k=1.3;
v1=0.3001;
vr=v1*[(p1/p2)^(1/k)];
y=1.3;
Cr=[2*(y*10^5)/(y-1)*{(p1*v1)-(p2*vr)}]^0.5;
A2=m*vr*10^6/Cr;
disp("mm^2",A2,"Exit area in supersaurated case is:"... |
01c6688a3b6c7fe866d40cfe6bd2d83513834205 | 9994781ccefddde3bccac7eaa9dcd1ea429678bb | /Questão01/questao01.sce | a19cdb4bdee7244e66b6220cf9887a45e0ddb3d8 | [
"MIT"
] | permissive | andressagomes26/ELM_and_GeneticAlgorithms | 4a4e6e5505ce553ae9aacb14ee367be1fa36d17f | 99cb586fdbce506562127c221b83da06c69c1a1f | refs/heads/main | 2022-12-31T13:38:57.914910 | 2020-10-18T21:52:38 | 2020-10-18T21:52:38 | 304,743,153 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,497 | sce | questao01.sce | /* Andressa Gomes Moreira
Questão 01 - Inteligência Computacional
*/
clear;
clc;
// Carregando a base de dados
data = fscanfMat("two_classes.dat");
entrada = data(:, 1:2)' // Dados de entrada: 1° e 2° coluna
rotulos = data(:, 3)' // Rótulos: 3° coluna
// Variáveis necessárias
p = 2; ... |
b09af70bed04c21897e372edecd3ce64f3a093a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.19/5_19.sce | 60f796ac935b51bcf9d58566366e95ffb0707cd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | 5_19.sce | //Example 5.19
//Horner Method
//Page no. 177
clc;clear;close;
deff('y=f(x,a1,a2,a3,a4)','y=a1*x^3+a2*x^2+a3*x+a4')
k=1;m=2;
a=[4;-13;-31;-275];
for i=1:10
s=1;
si=f(s,a(1),a(2),a(3),a(4))*abs(1/f(s,a(1),a(2),a(3),a(4)))
while 1
a1=f(s,a(1),a(2),a(3),a(4))*abs(1/f(s,a(1),a(2),a(3),a(4))... |
8a55dbde635e5a42c2f604ac909cdb99479cbf55 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.4_19.tst | c8edad4a6d018d66fe2f9a85f55ead9a1051c197 | [] | 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 | 684,576 | tst | 5.4_19.tst | 4 529:1 565:1 773:1 795:1 1037:1 1329:1 1457:1 1465:1 1551:1 1623:1 1660:1 1976:1 2058:1 2169:1 2212:1 2975:1 3130:1 3325:1 3437:1 3465:1 3566:1 3662:1 3728:1 4149:1 4195:1 4319:1 4338:1 4665:1 4708:1 4888:1 4915:1 5511:1 5635:1 5661:1 5671:2 5688:1 5694:1 5716:1 6255:1 6434:1 6912:1 6976:1 6997:1 7032:1 7545:1 7991:1 ... |
ede957f6f64f856212f6b71a7a7dbdebfa501231 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Dump/Development backup/Development/Visualisation/Demo2.sce | 8a4a317f8cce84db94b302400789658fe12aadde | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Demo2.sce | // Macro for visualisation -- Scialb GSOC
clear();
getd('.')
getd('../Algorithms/Linear Regression')
// Data preparation
M = csvRead('Summary of Weather.csv')
x = M(1:2000, 6);
y = M(1:2000, 5);
x = x';
y = y';
[a, b] = linearRegressionTrain(x, y)
pred = a*x + b;
plot = visualizeFit(x, y, pred) |
64fa235c5b11bbc1e163619b3188956acbd74408 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH4/EX4.15.7/ex_4_15_7.sce | 6c089465ad96c153382e48d1204e5251f57815b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | ex_4_15_7.sce | //Chapter-4,Example4_15_7,pg 4-30
l=20 //length of room
b=15 //bredth of room
h=5 //height of room
V=l*b*h //volume of room
S=2*(l*b+b*h+h*l) //s... |
2fdb82e09d5c26c1fb5cab0776dee68520885317 | 5fc4181162e1a080cefa5fe401fb6e861eed6aba | /mytrain/sole1.tst | eb0375a5ca007f35af39e4429e34c69673a0058e | [] | no_license | chengchaos/watchlist | 1e49feeddecf724bd32b6c59e9120c18e6956689 | 104db2bc1755112683d4e0bb08bff66c697a25e4 | refs/heads/master | 2023-03-05T04:35:54.628236 | 2021-02-15T09:54:19 | 2021-02-15T09:54:19 | 312,576,954 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | tst | sole1.tst | ## sole1.tst: test data for the sole function
0 0 0
0100 0
##
0100100 |
fd992d779de57dc6c23b3af89ecc0d94438fe0fd | c908c5ec283c57c29da044966fce0fee1f659873 | /codes/Algoritmo da Segunda Regra de Simpson.sce | 4a7afc9bf31876f428f0d4228bba2b453e58ce95 | [] | no_license | marialago/numerical-computation | 3ca0e95c637c1d4d3ea79789d1bda0b84ca29ca5 | c88c0ddc6f7501ed115556f72f5f5db3a8610f6b | refs/heads/master | 2022-10-30T01:42:21.032196 | 2020-06-14T18:33:45 | 2020-06-14T18:33:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Algoritmo da Segunda Regra de Simpson.sce | function y=f(x)
y=x.*cos(x)
endfunction
function I=simpson2(a,b,n)
h=(b-a)/n
x=a:h:b
y=f(x)
I=y(1)
for i=2:n
if modulo(i,3)==1
I=I+2*y(i)
else
I=I+3*y(i)
end
end
I=(3*h/8)*(I+y(n+1))
endfunction
|
4d7e321273e97c63989723c161ee745b1487f45c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.12/Ex7_12.sce | 688eca08fe85f8367a4ef942cc313ff4918c9d33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,198 | sce | Ex7_12.sce |
clc
clear
//Input data
p1=15//Pressure in bar
T1=300+273//Temperature in K
p2=10//Pressure in bar
nn=95//Nozzle efficiency in percent
a=20//Nozzle angle in degrees
x=5//The blade exit angle is 5 degrees less than the inlet angle
f=0.9//Friction factor
m=1350//Steam flow rate in kg/h
//Calculations
h1=303... |
dc8c5a372b8d9244fa13c9cfac1eb528fefefdaf | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH4/EX4.10/4_10.sce | a7f52af0102a194ab69a1d6f71e21b9acfdab525 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | 4_10.sce | clc;
x1=0.96;
sf1=1.992;
sfg1=4.717;
s1=sf1+x1*sfg1;
hf1=697;
hfg1=2067;
h1=hf1+x1*hfg1;
h2=h1;
hf2=584;
hfg2=2148;
x2=(h2-hf2)/hfg2;
sf2=1.727;
sfg2=5.214;
s2=sf2+x2*sfg2;
disp("increasi in entropy is:");
disp("kJ/kg K",s2-s1)
|
557a952087559c14181b6857150dfabecf761aa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH3/EX3.10/3_10.sce | 307ad30c6c55046e923124e9c85654ae1e396c4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_10.sce | Ta = 100 ; // Torque in N-m at A
Tb = 150; // Torque in N-m at B
L = 1.6 ; // Length of shaft in meter
G = 80e09 ; // Modulus of elasticity
Ip = 79.52e-09; // polar moment of inertia in m4
Ua = ((Ta^2)*L)/(2*G*Ip) // Strain energy at A
disp("joule",Ua,"Torque acting at free end")
Ub = ((Tb^2)*L)/(4*G*Ip) // Str... |
d4546f940a965177e1d2f3489a5bab8a0cf4219e | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH2/EX2.2/eg2_2.sce | 9bd3bb039e07df4525c4bfe2e9bb4c0c54cd89f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | eg2_2.sce | kBT = 26*10^-3; //in eV
m0 = 0.91 * 10^-30; //in kg
me = 0.067*m0;
q = 1.6*10^-19;
h = 1.05457*10^-34; //in J.s
N = 2*(me*q*kBT/2/%pi/h^2)^1.5;
disp(N*10^-6, "The effective density of states (in per cm cube) is")
disp("In silicon, the density of states mass is to be used in the effective density of states, which... |
70b08b80588ee9049a4046b57e5298062398e382 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH2/EX2.11/2_11.sce | b7c27dca562f3e1d6b08e12e40c350d3acad10b4 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | 2_11.sce | clc;
R_=8314.5;
m_=26;//kg/k mole
y=1.26;
R=R_/m_;
cv=R/[(y-1)*1000];
cp=y*cv;
T1=315+273;//K
p2=1.5;//bar
p1=3;//bar
T2=T1*p2/p1;
Q=cv*(T2-T1);
disp("heat rejected in part a:");
disp("kJ/kg",-Q);
T2=20;//K
T1=280;//K
m_=1;
Q=m_*cp*(T2-T1);
disp("heat rejected in part b");
disp("kW",-Q);
|
f4dc9f2695f1bedf1a8e8f62cae2c1b0d6a87d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH1/EX1.9/ex9.sce | 9de4ee683fb63784ce385319f580048e62c4259f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | ex9.sce | //ques9
//Effect of piston weight on Pressure of Cylinder
clear
clc
Patm=0.97;//Atmospheric pressure in bar
m=60;//mass in kg
g=9.81;//acc due to gravity in m/s^2
A=0.04;//area in m^2
P=Patm+m*g/A/10^5;//net pressure after considering the effect in Bar
//divided by 10^5 to convert it into bars
printf("Pressur... |
b9414169727f4ff9b2ad4514ea359a408f79f50b | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH32/EX32.01/32_01.sce | de9fd92158cfe1a704a065fd2f0699ce92733e30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,690 | sce | 32_01.sce | //Problem 32.01:A.c. sources of 100/_0° V and internal resistance 25 ohm and 50/_90° V and internal resistance 10 ohm, are connected in parallel across a 20 ohm load. Determine using the superposition theorem, the current in the 20 ohm load and the current in each voltage source
//initializing the variables:
rv1 = ... |
a9fbf1dfc1aae1cfa22437a7952c35bdd264faff | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/ex13.sci | 71ec775774def666280e69dba195e4edb40f614e | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sci | ex13.sci | clf
m=1;g=9.8;r=0.1;
function[y]=zf(x,u)
y(1)=u(2);
y(2)=g-(r/m)*u(2);
endfunction
function[y]=xf(x,u)
y(1)=u(2);
y(2)=-(r/m)*u(2);
endfunction
plot2d(x(1,:),z(1,:),2)
teta=linspace(0,90,11)*(%pi/180);
clf
x0=0;
z0=0;
xmin=0 ;xmax=20 ;N=101;
t=linspace(xmin,xmax,11);
M=11;
distance=zeros(1,M);
for i... |
f0262fb24a43661a36290e82381f0dbb906c5d50 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV9.prev.tst | 731d2d87691ef57cad05908b93f45ef92e3da4a6 | [
"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 | 147 | tst | BV9.prev.tst | [7,8] / [1,2,-5] =
initial: [7,8] / [1,2,-5], rem1=[7,8], div2=[1,2,-5], lenq=0, len1=2, len2=3
[0], remainder = [7,8]
, original = [7,8]
|
e9333281beec0f6baab5234cf2f6f1af2d3ddf38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.76/ex_76.sce | 757d086351a074634b7a8cb9c1e903ffb851d8a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | ex_76.sce | R1=2; //Assigning values to parameters
R2=4;
R3=1;
R4=5;
R5=8;
V=50;
Ra=(R1*R2)/(R1+R2+R4); //Converting Delta to Star
Rb=(R1*R4)/(R1+R2+R4);
Rc=(R2*R4)/(R1+R2+R4);
Rm=R3+Ra;
Rn=Rb+R5;
Rth=Rc+((Rm*Rn)/(Rm+Rn)); //Calculating Thevenin resistance
Rl=Rth;
Rp=R2+R4;
Rq=R3+R5;
Rr=(Rp*Rq)... |
aec1c42c3e95275f0dcb9f9671e0a2b87da542f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH3/EX3.07/3_07.sce | af863f35e5717f4b383f250ec52a775c46ee29a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | 3_07.sce | //Problem 3.07:
//initializing the variables:
qs = 1000; // in acfm
A = 1; // in ft2
P = 1; // in atm
Ts = 70; // in °F
Ta = 300; // in °F
//calculation:
qa = qs*(Ta + 460)/(Ts + 460)
v = qa/P
printf("\n\nResult\n\n")
printf("\n velocity of the gas is %.0f ft/min",v) |
b7648c87cceb0d83e9de03ed04f3760b8902cfe2 | a8447bb190e75c3452a418bcdffbb356b7f3ec43 | /LTP RAP 3.0napls/r3hvAm.sce | c7bbde2ad3e98539e71852dd9eaadacaee499ff3 | [] | no_license | br-bieegl/napls3-erpTasks | d7014b2716bced6d1b70af760b8f0508f02724be | 5d3297776af95b2ba8981fe5ebbb8672831061a0 | refs/heads/master | 2021-01-22T09:58:19.920934 | 2015-02-18T21:10:10 | 2015-02-18T21:10:10 | 25,929,348 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18,480 | sce | r3hvAm.sce | #######################################################################
########### SCENARIO HEADER ###########
#######################################################################
#*The scenario header defines all the parameters needed for the scenario
#and resets any of the default ... |
961a863d6bc2d23e1c982f6ce5a2980c47cf40ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.46/ch8_46.sci | 3dfdf2fa9016dd55dd5cb275b117eeb76cf78840 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | ch8_46.sci | //to find exciting emf neglecting saliency and accounting saliency
clc;
j=sqrt(-1);
Xd=.12/3;
Xq=.075/3;
disp('neglecting saliency');
Xs=Xd;
V=440;
pf=.8;
phi=acosd(pf);
Vt=V/sqrt(3);
Ia=1000;
Ef=Vt+j*Xs*Ia*complex(cosd(-phi),sind(-phi));
disp(abs(Ef)*sqrt(3),'excitation emf(line)(V)');
disp('accounti... |
ac17fc664dd261df1703410d235e257c2734383c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH2/EX2.2/Ex2_2.sce | a2138c7fe02e99e87cf78ad0318a9288d565cf2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_2.sce | //fiber optic communications by joseph c. palais
//example 2.2
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
n1=-1//refractive index of air
n2=1.5//refractive index of glass medium
theta_i_1=0//angle of incidence case 1 in degree
theta_i_2=15//angle of incidence case 2 in degree
//to find
... |
218099de0dfe4c9c7941ca8b3104dee0613e96d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH9/EX9.9/9_9.sce | 1d4bf9271053749d5a3a25c5790a36eea3cd352e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | 9_9.sce | //effect of addition of zeroes
s=%s;
sys1=syslin('c',1/(s*(s+1)*(2*s+1)))//taking T1=1,T2=2
nyquist(sys1)
show_margins(sys1,'nyquist')
sys2=syslin('c',(3*s+1)/(s*(s+1)*(2*s+1)))//Td=3
//nyquist(sys2)
//show_margins(sys2,'nyquist')
printf("these two plots show that addition of poles increases stability") |
3fa3e3f1823de287a6a17d78cf5d36c8600f1bb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH4/EX4.1/Ex4_1.sce | 9948ba2c112e6f8d78a36271a8d0740aad2e79b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | Ex4_1.sce | //Ex:4.1
clc;
clear;
close;
V_m=20;//in volts
f=50;//in Hz
t1=2.5*10^-3;
t2=15*10^-3;
V1=V_m*sin(2*%pi*f*t1);
V2=V_m*sin(2*%pi*f*t2);
printf("Voltage at 2.5ms = %f V",V1);
printf("\n Voltage at 15ms = %f V",V2); |
8c3b052cc14aec56891e98e8f47fe9825e7bae6f | 4c8d23c985173e2d61690fc050e23047a1296c6f | /desktop/org/mathpiper/mpreduce/packages/regressions/sep-1-2011-safe-fp.tst | eebcae5d79fd08cfa4a8ca0723bf3af731bd9a16 | [] | no_license | JMCC-123/geogebra | 727ac505e9b4410539e3d16caf0db3fda635366c | 09909307501e75326ac016caf0886e909d24e622 | refs/heads/master | 2023-03-15T10:11:50.915102 | 2013-03-01T14:32:50 | 2013-03-01T14:32:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,334 | tst | sep-1-2011-safe-fp.tst | on rounded;
% This is part of ongoing work... the main Reduce sources in arith/rounded.red
% define safe!_fp!-plus etc but both CSL and PSL defined their own
% "better" versions. The CSL one in cslbase/arith08.c and the PSL one
% is packages/support/psl.red.
% As at least a temporary measure the CSL code has been adj... |
cf7cf6c3892e125af08d0ce2d913530239006df9 | c068642ae813a82e2c0e569674cb0750383d307b | /Pair.tst | 5e8663d036ea609fa21f349735e09198892fceb3 | [] | no_license | nithinreddykoncha/Automation-of-Abstract-Data-Type-Tester | e2fa12091ecafe858f024835c839149479f20eed | affeadd905e3bdceab022230ce1861d5ca19ef3b | refs/heads/master | 2021-05-10T08:09:57.422308 | 2018-01-25T08:19:39 | 2018-01-25T08:19:39 | 118,879,994 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | tst | Pair.tst | #include <iostream>
#include <string>
#include "Pair.h"
using namespace std;
int m = 0;
int n = 6;
Pair P(m,n);
States
Pair
global(P):
P.GetFirst() == m, P.GetSecond() == n
A(P):
global(P)
B(P):
global(P)
C(P):
global(P)
EndStates
A(P) {P.SetFirst(m)} B(P) && P.GetFirst() == m
B(P) ... |
a3f8fe9bbfb323b56802b1a9a5d265a32f0887f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH3/EX3.2/Ex3_2.sce | de48616278c97d3ddaaff3be0b06d6cdafb43734 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | Ex3_2.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 3-Hydrostatic Forces on surfaces
// Problem 3.2
//Data given in the Problem
d=1.5
g=9.81
dens=1000
h=3
//Calculations
A=%pi*d*d/4
F=dens*g*A*h
mprintf("The Total Pressure on the circular plate is %f N\n",F)
//Position of ... |
e634364975d1edf3904c9d59c5b4903b4c3d2720 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH13/EX13.11/13_11.sce | babdc9817564015a56d46fd8cd3f80fa09f28125 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | 13_11.sce | clc
//initialisation of variables
F= -51108 //cal
f= 96500 //coloumbs
n= 2 //moles
//CALCULATIONS
E= -F*4.184/(n*f)
//RESULTS
printf (' value of E = %.3f v',E)
|
a052e979df1f42c4f0cf0e4d47e9846cd60bf011 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/IsentropicVortex16_P3.tst | c8a1a2484022dc2ba254f4956c7d9791f4cbc6f3 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,020 | tst | IsentropicVortex16_P3.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler Isentropic Vortex P=3</description>
<executable>CompressibleFlowSolver</executable>
<parameters>IsentropicVortex16_P3.xml</parameters>
<files>
<file description="Session File">IsentropicVortex16_P3.xml</file>
</files>
<metr... |
22dd8825ff92fc23334b24864b55f1914fa2fa8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH18/EX18.9/Ex18_9.sce | 98d6e618445e692a160411d24a96b2b76d986596 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Ex18_9.sce | // Ex18_9 Page:360 (2014)
clc;clear;
m_N12 = 12.018613; // Mass N-12 nucleus, MeV
m_C12 = 12; // Mass C-12 nucleus, MeV
m_e = 0.000549; // Mass of the electron, MeV
E_gamma = 4.43; // Energy of the emitted gamma ray. MeV
Q = (m_N12 - m_C12 - 2*m_e)*931.5; // Q value for the reaction, MeV
E_max = ... |
8cbef1861caba11f80c6c6fa5dc65a2ad2050c0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.25/8_25.sce | 45237aef3e0eb2b8a690cb86554794593c1158c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_25.sce | clc;
//page no 8-64
//Example 8.25
fi=450;//in kHz
Q=65;
disp("For incoming frequency of 1200kHz");
fs=1200;//in kHz
fsi=fs+(2*fi);
disp(+'kHz',fsi,'Image frequency is');
P=(fsi/fs)-(fs/fsi);
P1=1.178;
alpha=sqrt(1+(Q^2*P^2));
disp(alpha,'Image frequency rejection ratio is');
//Answer given in book was wro... |
688ef1cdae65ce12270b88ecf94b8af4e6b5d9e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH9/EX9.1/Ex9_1.txt | 6264a42b686fb59e10e317d7dcea3e751108efe1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | txt | Ex9_1.txt | //Caption:Find the dimensions of D and L
//Exa:9.1
clc;
clear;
close;
P=15000//Power of shunt motor(in watt)
V=440//Supplied voltage to motor(in volts)
n=1500//Speed of motor(in r.p.m)
e=88//Efficiency(in %)
B=0.65//Average flux density(in webers/m^2)
q=30000//Specific electric loading(ampere conductors/m)
p... |
cb2c441f812f539fc77367a1c93e7776cd44a35e | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH13/EX13.7/c13_7.sce | 2901f45f0277468f40d4282184b419223b873559 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,477 | sce | c13_7.sce | //(13.7) Calculate the enthalpy of combustion of gaseous methane, in kJ per kg of fuel, (a) at 25C, 1 atm with liquid water in the products, (b) at 25C, 1 atm with water vapor in the products. (c) Repeat part (b) at 1000 K, 1 atm.
//solution
//The combustion equation is
//CH4 + 2O2 + 7.52N2 ----> CO2 + 2... |
63d1bf51e5b08619ef65e4c01da1eb63e76fb004 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH26/EX26.1/Example26_1.sce | 2f33f1b6873a155d8c228d1c519e278b67b603de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Example26_1.sce | exec('electrostatics.sci', -1)
//Given that
C = 55*10^-15 //in F
V = 5.3 //in V
//Sample Problem 26-1
printf("**Sample Problem 26-1**\n")
Q = C*V
n = Q/e
printf("The number of excess electron is equal to %e", n) |
b90e2aa5e0d867d30bdf698c75e5f28c51bd4dfc | fb36c751dc01e1bdbbed3e2a4438aa6fd1a0d833 | /ap186_act9_with_envelope.sce | 1b1dca18c12daf6a560f9cf3b74409b1ef1602ce | [] | no_license | jbadelino/Applied-Physics-186-Activity-9 | 6ced1c6d11f5f6dc25bf4ec03b4c28827d13d7a2 | 9816153edd62ec24e584bccf334072cddd9c7b00 | refs/heads/master | 2020-08-03T13:27:33.582105 | 2019-09-30T03:28:10 | 2019-09-30T03:28:10 | 211,767,631 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,119 | sce | ap186_act9_with_envelope.sce | chdir("C:\Users\Asus\Documents\Applied Physics 186\act 9");
music_sheet = imread("cropped.jpg");
music_sheet = im2bw(music_sheet, 0.2);;
scf(); imwrite(music_sheet, "thresholded.png");
music_sheet = imcomplement(music_sheet);
scf(); imwrite(music_sheet, "inverted_ms.png");
//morphological operation
se1 = Cre... |
442aa19740fff55a2cb6dd1eb234c7ba4ba2daa6 | c2da59e1c98d5a0b6e7f945143d7ec2eab1dd09a | /FFT/fft.sce | 1495d6aac9315bca7965159f4e3cfb2c6bb73780 | [
"Apache-2.0"
] | permissive | moueza/velo-piste-countdown-Scilab-sound-track-Matlab | 8890368c9080bacc3191d8479646a5a8b357c9e2 | 434e3f720a337fd46fc1bc812dc43b400accd07f | refs/heads/main | 2023-06-04T05:30:03.985232 | 2021-06-27T06:24:54 | 2021-06-27T06:24:54 | 347,073,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | fft.sce | //f= A 440
freq=440
ech=44100
X=1:44100
XX=1:(2*44100)
//y=cos(2*%pi*freq*(t/44100)) ;
function yy=f(frequencc,tt)
yy=cos(2*%pi*frequencc*(tt/44100))
endfunction
//playsnd(y)
//playsnd(f(440,X))
//sleep(500)
//playsnd(f(880,X))
//sleep(500)
//playsnd(f(440+880,X))
//sleep(500)
//playsnd(f(2*880,X))
//sleep(50... |
e72a4c91e35e9f79d4d726b61c19ed950eb0079d | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH9/EX9.8/c9_8.sce | 8b643144a1cd438eab49cf6efe8318cf12a8dc69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,877 | sce | c9_8.sce | //(9.8) Consider a modification of the cycle of Example 9.4 involving reheat and regeneration. Air enters the compressor at 100 kPa, 300 K and is compressed to 1000 kPa. The temperature at the inlet to the first turbine stage is 1400 K. The expansion takes place isentropically in two stages, with reheat to 1400 K betw... |
b8e7b7bf8bc9b3b67160c814c8c6759a25a3b431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH2/EX2.15/ex2_15.sce | feae2b0ae8b2b8aeb8b92a4955afec0a062da0f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | ex2_15.sce | // Example 2.15 page no-71
clear
clc
mup=500
mun=1500
n=1.6*10^10
e=1.6*10^-19 //c
sigma=(mun+mup)*e*n
printf("\nconductivity, sigma=%.2f *10^-6\nResistivity, rho= %d Ohm-cm",sigma*10^6,1/sigma)
|
4863eae23470dc5b57180d66df3e659d4e0564b0 | d56141249002a5da7c4a2641dbdfc609809046a8 | /Abinit/ab_pawpdos_plot.sce | 610949a16e181f23cf2efcab2d1d5975a53f4677 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,500 | sce | ab_pawpdos_plot.sce | // This program plot the PAW PDOS calculated by abinit
// To use this code, the parameters in abinit must be:
//prtdos 3 # calculate projected dos
//prtdosm 0 # print pdos to m-component
//pawprtdos 0/1 # calculate three contributions respectively
clear; clc; exec(PiLib); xdel(winsid())
// Par... |
798652f3a1051fcbff8731a33cdbde360faa9ada | 637fcd60a4e2a98ebbeaaa9551554a13e1ebfdba | /quad/ctrl/paparazzi/sw/airborne/booz/test/plot_test_vg_ref.sce | b3a5215839c09afd95dea7d96003547c85b2938b | [] | no_license | zoomx/lxyppc-tetrix | b7079c07aee9b85a34207245f526e1613fdb0498 | 884027f37594f9f006f88d634c4392a60c482491 | refs/heads/master | 2021-01-10T21:04:54.219013 | 2015-05-10T08:45:33 | 2015-05-10T08:45:33 | 35,362,463 | 12 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,628 | sce | plot_test_vg_ref.sce | ///
// $Id$
//
// Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com>
//
// This file is part of paparazzi.
//
// paparazzi is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2... |
bc0e8a929f0584b2849577d47b2103f03269d768 | e806e966b06a53388fb300d89534354b222c2cad | /macros/imresize.sci | 657000533360a4b345f6c9c7c5ee37a2eeed4f49 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sci | imresize.sci | function [out]=imresize(image,alpha,beta)
image1=mattolist(image);
a=opencv_imresize(image1,alpha,beta);
dimension=size(a)
for i = 1:dimension
out(:,:,i)=a(i);
end
endfunction;
|
3980f753bef8ff663fbc6ea11efb00a1ab7e6f06 | 7e09a0e515857ebcb02f3ca06d10c043ac4ad007 | /Soft-Computing/Expt-1/Expt15.sce | f4312a5999a699b55665795d2e56554b7d91d0d0 | [] | no_license | kiner-shah/Programs | 80ee61b1272bf32c82cf46d8cd65b5802428833c | 322bc02108e8a96a02333920d9607e280ae16f7a | refs/heads/master | 2021-07-25T04:38:41.802607 | 2020-06-09T10:15:03 | 2020-06-09T10:15:03 | 48,437,635 | 5 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | Expt15.sce | x = [0 1 2 3 4 5 6 7 8 9]
a = sum(x)/10;
b = sum((x - a).^2)/10;
y = []
for i=1:10
y(i) = exp(-0.5 * ((x(i) - a)/b)^2)
end
plot2d(x,y)
|
b3f015de82a66476caeb37d1cda351fca5e07ce2 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummax/cummax12.sce | efa268a85ec67a7b6bfa045f130d66a2f656ba32 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | cummax12.sce | //check o/p when i/p vector contains elements of type char
v=['a' 'char' 'a'];
m=cummax(v);
disp(m);
//output
//!--error 53
//cummax: Wrong type for argument #1 (A); Real or complex entries expected
//at line 70 of function cummax called by :
//m=cummax(v);
|
38699d134bc5e5351c27d39cf0cbbd5da9a1676e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.24/5_24.sce | 72aa0071d7106201b79e89397c2731022f1ce68b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,099 | sce | 5_24.sce | clc,clear
printf('Example 5.24\n\n')
V_L=13500
R_a=1.5 , X_s=30 //armature resistance and synchronous reactance
V_ph=V_L/sqrt(3)
//CASE 1
phi1=acos(0.8)
P_out=1280*10^3
I_L= P_out/ (sqrt(3)*V_L*cos(phi1) ) //because P_out=sqrt(3)*V_L*I_L*cos(phi)
I_a=I_L
E_ph=sqrt((V_ph*cos(phi1)+I_a*R_a)^2+(V_ph*sin... |
420c25fb00cd284ca8469b78d5b17f82a0d4b598 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH8/EX8.1/Ex8_1.sce | 14c92e66ddcd9a753ed9af37f143b2ace9a57817 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_1.sce | //Example 8.1
clc
clear
function [f] = dydt(t,y)
f = t+y;
endfunction
y0 = 0;
t0 = 1;
t = 1.2;
h = 0.1;
n = (t-t0)/h;
tt = t0;
y = y0;
den = [1 2 6 24 120];
for i = 1:n
d2ydt = 1 + dydt(tt,y);
d3ydt = d2ydt;
d4ydt = d3ydt;
d5ydt = d4ydt;
dy = [dydt(tt,y) d2ydt d3ydt d4... |
787ad24bc953b85beb3a14bbe7eb8392772c5b0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH19/EX19.19/Ex19_19.sce | 6de6a1abfc45b7a83650e810839018c3fe629d0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,290 | sce | Ex19_19.sce | clc
// Given that
N = 264 // Speed in RPS
sigma = 0.91 // Slip factor
d = 0.482 // Impeller diameter in m
D = 0.306 // Impeller eye diameter
D_ = 0.153 // Impeller root eye diameter in m
vf = 138 // Uniform axial inlet velocity in m/s
V = 1.2 // Volume flow rate of free air in m^3/s
m = 9.1 // Air mass flow ra... |
b9f8c5331a761eaaab93cbde1577eaf252fd0b17 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ap_vrt_col/~BivLCM-SR-bfas_ap_vrt_col-PLin-VLin.tst | f4de68b7c7aab527d182afd67886c332a590f93d | [] | 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,974 | tst | ~BivLCM-SR-bfas_ap_vrt_col-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.262144D+00
... |
6d7ffb4dd8956ef88a91ed070fd65b371b3e21ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH1/EX1.5/example_1_5.sce | 5afcf5d8f336b9ea5316438bdcc60328a34222b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,007 | sce | example_1_5.sce | //Chapter 1
//Example 1.2
//page 6
clear;clc;
c1_md_6pm=5; c1_d_7pm=3; c1_lf=0.2;
c2_md_11am=5; c2_d_7pm=2; c2_avg_load=1.2;
c3_md_7pm=3; c3_avg_load=1;
md_system=c1_d_7pm + c2_d_7pm + c3_md_7pm;
sum_mds=c1_md_6pm + c2_md_11am + c3_md_7pm;
df=sum_mds/md_system;
printf('Maximum demand ... |
089fb33f1e572714c5bdf4ed420e3c8af7fc6b34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH17/EX17.4/17_4.sce | f8077109ff535f7d1ce1660256e3fc46f6e5217d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | 17_4.sce | clc;
//page no 627
//prob no. 17.4
//Determination of phase velo.with given 5GHz freq
f=5*10^9;c=3*10^8;fc=3.75*10^9;//Cut-off freq refering eg.17.1
vp=c/sqrt(1-(fc/f)^2);//Calculation of phase velo.
disp('m/s',vp,'The phase velo is'); |
f8bc7c47668b76b8a8585a9c9f6c58f5da2d6b5c | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PiLab_runner.sci | d32cf92d9167aef67c3a7e26dc0e0dc770e15b9d | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sci | PiLab_runner.sci | // Scilab command ====================================
function PiLab_runner(run)
run.project_folder=PIL_dir_path(run.project_folder);
cd(run.project_folder);
PiLab(run.project_name,run.task_name,run.task_action)
if run.force_exit=='on'
exit
end
endfunction
|
1e1e41d383ac5bc074d94ad99511f6392cd69ad6 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /JustMonika's Apex Trainer.sce | 5aaec7f444dabfbe02b69669d2a4f11b98bad7b7 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173,809 | sce | JustMonika's Apex Trainer.sce | Name=JustMonika's Apex Trainer
PlayerCharacters=Ascended Tracking
BotCharacters=moni1.bot;moni2.bot;moni3.bot;moni4.bot
IsChallenge=true
Timelimit=90.0
PlayerProfile=Ascended Tracking
AddedBots=moni1.bot;moni2.bot;moni3.bot;moni4.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;0
MapName=ascendedstr... |
39fe1543b639f585ee89ab09c5d41e09233c5583 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_reals1.tst | 2282d75c4a7376b2cb66dcfe067ec99e29f77054 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 94 | tst | err_reals1.tst | ; Reals theory
(set-logic QF_LRA)
(declare-fun x () Real)
(assert (= x 1.0))
(assert (= x 1))
|
b879e64bbda88b1cb13a703146386a39cc09d2e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH13/EX13.2/Ex13_2.sce | 59a556e8a57b079b0253b6ce4b1e195a2848b3c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,067 | sce | Ex13_2.sce |
// Variable Declaration
MVA_base = 100.0 //Base MVA
x1 = 0.15 //Reactance b/w F & B(p.u) . (Refer textbook diagram for marking)
x2 = 0.1 //Reactance b/w F & B(p.u)
x3 = 0.18 //Reactance b/w B & C(p.u)
x4 = 0.1 //Reactance b/w B & F(p.u)
x5 = 0.05 //Reactance b/w F... |
bf77c56be7837a43b4e11c6395ede9a2353e17c4 | 61da6be21995bc4b23f268b03fc13d0a33d818f3 | /test/dedup.tst | 52a54b2f82f996edbac02d22e13cdf35549fbfe5 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | warmchang/reposurgeon | 657fe5f63fdd0db560b46ccff11478c73c69b150 | 43e553d9ff0ad4a9c39f4c94b58856f2e5c99297 | refs/heads/master | 2020-12-08T19:41:16.920673 | 2020-01-10T14:58:55 | 2020-01-10T14:58:55 | 233,076,382 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | tst | dedup.tst | ## test the dedup function
read <dedup.fi
dedup
write -
|
d939a8bda89807a374bdf563f66b7e183892f160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH7/EX7.5/Ex7_5.sce | da76ed5b1e6f01e95e9e9ed90a35726395b3e6bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | Ex7_5.sce | //chapter 7
//example 7.5
//Calculate the electronic polarisability of sulphur
//page 189
clear;
clc;
//given
Er=3.75; // di-elecrtic constant of sulphur at 27 degree Celcius
gama=1/3; // internal field constant
p=2050; // in Kg/m^3 (density)
M_A=32; // in amu (atomic weight of sulphur)
Eo=8.85E-12; // in F/... |
56c0d163774c6e7a9ab26432fcb6fc216e13e716 | c96d4e20b2a630fe96ea0c70f104465a0d1b2789 | /Taxa_de_erro_de_um_sinal_com_ruido.sce | b9d939173094ac3ac4617b5f193f41a79f9424ab | [] | no_license | elanodonascimento/codigosMatematica | 824c096516330d51d02ba5c2a7b318a239ebfa2a | 0d23ddfc34170035cc5c5f54ffce35b043e81713 | refs/heads/master | 2021-05-16T06:35:51.279535 | 2017-09-14T11:32:45 | 2017-09-14T11:32:45 | 103,524,110 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Taxa_de_erro_de_um_sinal_com_ruido.sce | N=1e5; // Cria 100000
b=rand(1,N,'n'); //
b=sign(b);
b=0.5*(b+1);
n=rand(1,N,'n');
n=n-mean(n); // n é o ru[ido
n=sqrt(0.1)*n; //
bn=b+n; // soma o ruido ao sinal
erro=0;
bd=0*b; //cria um vetor com o numero de posicoes de b
for k=1:N //
if bn(k)>0.5 then bd(k)=1; end; /... |
5e1ee34922bf87eb4d77345433d5fa0cb2d5c727 | ab22d4279b901859bb1520c9d82e24dbc2f5a76d | /tests/libs/hdf5/test-env-variables/1_8/FORTRAN/H5T/testfiles/h5ex_t_enum_F03.tst | 173b70193a4ad6012f3c6d031d86e3eacdad4eb1 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4"
] | permissive | jcsiadal/ohpc | a9394d01c8467a2a5d37eb8005ab3234bfb8909e | fa72cea0a0b86c890e2d0e005fe59b2285f4a8ec | refs/heads/2.x | 2023-08-07T15:14:15.877252 | 2023-06-20T10:00:46 | 2023-06-20T10:18:51 | 192,586,835 | 1 | 0 | Apache-2.0 | 2020-03-22T23:18:31 | 2019-06-18T17:43:11 | C | UTF-8 | Scilab | false | false | 277 | tst | h5ex_t_enum_F03.tst | DS1:
[ SOLID SOLID SOLID SOLID SOLID SOLID SOLID ]
[ SOLID LIQUID GAS PLASMA SOLID LIQUID GAS ]
[ SOLID GAS SOLID GAS SOLID GAS SOLID ]
[ SOLID PLASMA GAS LIQUID SOLID PLASMA GAS ]
|
55f49680734051231dee17ef7b3640dab3259ac5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH2/EX2.1/Ex2_1.sce | 1cd12006f398fb5c0fb2775e6e1d14723139543d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Ex2_1.sce | r1=1
y=20*log10(r1/(2*r1))
Delc1=round(y)//change in recieved signal strengths
printf('\ndel when r2=2r1 = %.d dB',Delc1)
Delc2=20*log10(r1/(10*r1))////change in recieved signal strengths
printf('\ndel when r2=10r1 = %.f dB',Delc2)
|
be2afedf69ecca46ba8b0c3b4b137e28c5d1bd05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH2/EX2.17/17.sce | db005ab5bf4202335aa54a00dc2f93d92d7b8513 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,461 | sce | 17.sce | clc
clear
//Input data
Po=20 //Stagnation pressure in kPa
To=1000 //Stagnation temperature in K
P2=3 //exit pressure in bar
A2=100 //Exit area in cm^2
k=1.4 //Adiabatic Constant
R=287 //Specific gas constant in J/kg-K
Cp=1005 //Specific heat capacity at constant pressure in J/kg-K
//Calculations
p1=P2/P... |
fdbe6ded34e8db239af573d6edc0a634d77f9c4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH9/EX9.2/9q2.sce | e602f34d16a044aab677d75b9f4e2316af4da009 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | 9q2.sce | clc
//initialisation of variables
h= 20 //ft
g= 120 //kg/ft^3
h1= 12 //ft
w= 62.4 //kg/ft^3
//calculations
H= h-(h1*w/g)
//results
printf ('maximu depth that can be made in clay = % 2f ft ',H)
|
27ab8f2420d825e6de92c081408b3924e0520087 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.17/Ex7_17.sce | 422c184464645b992bccd399866b07e58b4cb591 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex7_17.sce | clc
//to calculate time required for the atomic system
//delE=h*c*dellambda/lambda^2 -----eq(1)
//delE*delt=h/2*%pi----------eq(2)
dellambda=10^-14
c=3*10^8
lambda=6*10^-7
//from eq(1)and eq(2),we get
delt=(lambda^2)/(2*%pi*c*dellambda)
disp("time required for the atomic system to retain rotational energy is ... |
723f907a8500862626fa41d9b78b635ecf1c3938 | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH1/EX1.9.c/example19c.sce | e3860395d4bb3b52aff152c239a527bdae2681be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | example19c.sce | //Example 1.9c
clc;
for n=1:100
x(n)=3*exp(%i*2*n);
end
P=0;
for n=1:100
P=P+(abs(x(n)^2))/100;
end
if P<%inf then
disp(P,'The given signal is power signal with power =');
else
disp('The given signal is not power signal');
end |
9d69c63dc32cfb1c1337591b92dcea62b97a4edd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH11/EX11.3/11_3.sce | 5d3bcecb9b83e60d94b477d742832e26e82bd596 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | 11_3.sce | clc
//initialization of variables
Pt1=100 //lb/in^2
Tt1=960 //RP2=15 //lb/in^2
wdot=1.13 //lbm/sec
gamma=1.4
//calculations
Pstar=Pt1*(2/(1+gamma))^(gamma/(gamma-1))
Tstar=Tt1*(2/(1+gamma))
Vstar=sqrt(gamma*32.2*53.3*Tstar)
vstar=53.3*Tstar/(144*Pstar)
Astar=wdot*vstar*144/Vstar
//results
printf("Ideal thr... |
fe7f9e6671e6a7a6f04b9b5bbc7d47186f7cffa2 | 111e385f01dcdb641cbc64f8eb2d84c5f0eb1aee | /02/IsZero.tst | 42ee22183b459e13cf78f01402a04713c41f8792 | [] | no_license | pipt/nand2tetris | 7eaae88086f717291d78972af3997f2749bf5054 | 86dc57c94a1ddb5cf4bba9dc8c67c22b89d20d49 | refs/heads/master | 2020-03-28T02:35:08.533781 | 2018-10-02T20:55:11 | 2018-10-02T20:55:11 | 147,581,307 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | tst | IsZero.tst | load IsZero.hdl,
output-file IsZero.out,
compare-to IsZero.cmp,
output-list in%B1.16.1 out;
set in %B0000000000000000,
eval,
output;
set in %B1010101010101010,
eval,
output;
|
3e70d2a1c3670954427fbfa52e700b80b006f5c8 | b412360a5393e117e74453519c55968117ef7c7e | /REGRESSIONTESTS/superguards.tst | 2ade98f407d62d300043b3fa942c352fe6e53c14 | [] | no_license | thomas-maeder/popeye | 36be3f54f8a7eea15b52a30cf23e455ed6ff44f8 | 732b721df67295b2c6a1c2ca00e87979f39cc0c9 | refs/heads/develop | 2023-09-05T13:06:45.846081 | 2023-08-31T02:59:55 | 2023-08-31T02:59:55 | 38,768,803 | 38 | 23 | null | 2023-09-14T18:35:27 | 2015-07-08T17:21:43 | C | UTF-8 | Scilab | false | false | 1,372 | tst | superguards.tst |
a) capturing the rook is illegal and capturing the bishop is not check
+---a---b---c---d---e---f---g---h---+
| |
8 . . . . . . . . 8
| |
7 . . . . . . . . 7
| |
6 . . . . ... |
d467b577a8ad3c3cf56e6b700f4c058e663b09b8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/robust/h_inf_st.sci | 21774a69de33a743b4694fa764ad1d70d5e40683 | [
"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 | 909 | sci | h_inf_st.sci | function [Kopt,gamaopt]=h_inf_st(D,r)
//compute a matrix K such that largest singular value of
// Fl(D,r,K)=D11+D12 K inv(I-D22 K) D21
//is minimal (Static H-infinity four blocks problem)
//
//[Kopt,gamaopt]=h_inf_st(D,r)
//
// D partionned as [D11 D12
// D21 D22]
//where size(D22)=r=[r1 r... |
93287cc29f4409d363904368661a1421386b631b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH12/EX12.19/Ex12_19.sce | 9915adb01cdcfd461e5292e06ee40bbe7b0dfb65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | Ex12_19.sce |
//Variable declaration
//For uplink
Ps=-67.5 //Saturation flux density(dB)
A0=-37 //Antenna aperture at 6GHz(dB)
IBO=-11 //Input Backoff(dB)
GTRs=-11.6 //Satellite saturation G/T (dB)
k=-228.6 //Value of k(dB)
//For Downlink
EIRP=26.6 //Satellite EIRP(dB)
OBO=-6 //output Backoff(dB)
FSL=-196.7 //Free ... |
d23412e0f80cf720af3050165b5eb20bccadbc89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH5/EX5.16/example_16.sce | 1ff974f78f5c167db6091a77f196a00b993f80bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | example_16.sce | clc
clear
printf("example 5.16 page number 208\n\n")
//to find the amount of liquid and vapor leaving and outlet concentration
//we have two linear equations in L and V so we will write them in form of a matrix and then solve using principles of linear algebra
b1 = 6000*125.79+3187.56*2691.5-3187.56*461.30; ... |
0f94735907d7ec3161b65d80a0234076d506151c | 71981ad15b910c47511d7a7cb64b900cc682d344 | /TPs/tp4_fonctions.sci | 9c02301f00849d46df1bb410ab539b0173f930b0 | [] | no_license | ktzanev/m66lille1 | 935b70be57b4451280cf3b2ce1f20a3e91d6574b | 37c964cf57f820c94c613ae0f570dc49ecf2a980 | refs/heads/master | 2016-09-05T20:40:22.329914 | 2015-04-13T14:26:08 | 2015-04-13T14:26:08 | 29,192,464 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,413 | sci | tp4_fonctions.sci | //============================================
//
// TP4 : Fonctions
//
// Ce fichier contient les procédures pour le TP4
//
//============================================
// *********************************
// Méthodes explicites
// *********************************
// Runge-Kutta
// ====================
// - L'é... |
16d7945f1cdcf1078dd1608f46183f77fce33314 | 26e0446118d01de6f6a471afb39d81406908c736 | /QualiteRepresentationIndividu.sci | 457a7de20b7d0d919a2fbd0bf788f1eaafc37130 | [] | no_license | Eruliuce/Projet_Modelisation_ACP | 79d1b84aa9d742e552e6c6d8b9acba979631dbaf | 5a6b330f0fe0dd89b1efb56638a253f26d194f6e | refs/heads/master | 2021-01-18T18:32:09.133376 | 2015-02-28T10:28:32 | 2015-02-28T10:28:32 | 31,441,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sci | QualiteRepresentationIndividu.sci | function qualite = QualiteRepresentationIndividu(Base,Z, comp1, comp2)
nbIndividu = size(Z,"r");
nbAxe = size(Base,"c");
Q2 = zeros(nbIndividu,2);
for i = 1 : nbIndividu
scal = ((Z(i,:)')'*(Base(:,comp1)));
norme = norm(Z(i,:));
Q2(i,1) = (scal*scal/(norme*norme));
... |
79a0fafc2caff36c75610d165cef83ee1d245d1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.23/7_23.sce | b5b241b7137e06404d86a922e87e7a8cd446eafb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,086 | sce | 7_23.sce | clear;
clc;
//Example - 7.23
//Page number - 257
printf("Example - 7.23 and Page number - 257\n\n");
// Given
T = 300 + 273.15;//[K]
P = 4;//[MPa]
Cp_0 = 7.7 + 0.04594*10^(-2)*T + 0.2521*10^(-5)*T^(2) - 0.8587*10^(-9)*T^(3);//[cal/mol-K]
Cp_0 = (Cp_0*4.186)/18.015;//[kJ/kg-K]
// Cp(T,P) = Cp_0(T,P=0)... |
2ea311cac44b9b730c815d3c65762717e81b6bb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH7/EX7.3/Ex7_3.sce | 47a8ea230d97acaae2e9b97fca51f2357b496534 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex7_3.sce | clc
clear
printf("Example 7.3 | Page number 185 \n\n");
//This is a theoritical question. Refer textbook for solution
printf("This is a theoritical question. Refer textbook for solution.");
|
f2e2d542a79f61f21ed81166cfab6c812b7de4db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH13/EX13.3/13_3.sce | 41399c36edf5a679b5ab5b83f930c94ddd982771 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | 13_3.sce | clc
//Intitalisation of variables
clear
l= 5.6 //cm
F= 96500 //coloumbs
A= 0.1142 //cm^2
t= 2130 //sec
i= 0.005893 //amp
m= 10^-4 //gms
//CALCULATIONS
t= 1-(l*A*F*m/(i*t))
//RESULTS
printf ('Transference number = %.3f ',t)
|
784905da471f4f94d123a6b3e723d2796971f55d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.26/15_26.sce | d2c699293e4a0b9bab1eba09b312ef3b8e0d7d99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,701 | sce | 15_26.sce | //Example 15.26
//Multi Valued Method
//Page no. 553
clc;clear;close;
deff('y=f1(x,y)','y=2*x^2-y')
h=0.1;x=0;y=-1;
deff('y=f2(x,y)','y=4*x-f1(x,y)')
deff('y=f3(x,y)','y=4-f2(x,y)')
B=[1,1,1,1;0,1,2,3;0,0,1,3;0,0,0,1];
y0=[y;h*f1(x,y);h^2*f2(x,y)/2;h^3*f3(x,y)/6]
y01=y0;
r=[0;1;3/4;1/6]
disp(r,'If r = '... |
37d7732b3c90ee1f33bab8ce42eec5e7736afd08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH6/EX6.8/8.sce | 69cefbca9eaba201af6e31c43c13726cd7f5e0b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | 8.sce | clc
m=5; //kg
T1=550; //K
p1=4*10^5; //Pa
T2=290; //K
T0=T2;
p2=1*10^5; //Pa
p0=p2;
cp=1.005; //kJ/kg K
cv=0.718; //kJ/kg K
R=0.287; //kJ/kg K
disp("(i) Availability of the system :")
ds=cp*log(T1/T0) - R*log(p1/p0);
Availability=m*[cv*(T1-T0) - T0*ds];
disp("Availability of the system =")
disp(Availab... |
8e2d556460f029000b0614c5819b78d8255cfc0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH13/EX13.7/ex_13_7.sce | ca745d9c62a93810cadd2e1733bd2229d345c565 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_13_7.sce | ////Ex 13.7
clc;
clear;
close;
format('v',6);
RL=1:10;//ohm
R1=5;//ohm
Vref=5;//V
IL=1;//A
IQ=0;//A
Iref=IL;//A
R1=Vref/Iref;//ohm
disp(R1,"Value of resistor R1(ohm)");
|
c099c8238ae6f7e26fbe8e3db3c1f7448c585742 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/ahclustering.sci | e4a97fefa694c5451420b24cfbfce4862fd40ea7 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,709 | sci | ahclustering.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: Feb. 2010
// Description: agglomerative hierarchical clustering
//
// Copyright (C) 2009 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// m... |
0ad0d2a5fdf3cc1eb34926dc439644536b7d9b01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH11/EX11.2/Ex11_2.sce | ec8b8db210abfc35a5284162552eba9fca26a22f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ex11_2.sce | //Example 11.2
clc
clear
delx = 0.2;
delt = 0.2;
x = 0:delx:1;
t = 0:delt:0.8;
m = length(x);
n = length(t);
u =zeros(n,m);
u(1,:) = x^2;
u(:,m) = 1+t';
N = 1/delx;
r = delt/delx;
for j = 2:n
for i = 2:m-1
if j == 2 then
u(j,i) = (2*(1-r^2)*u(j-1,i) + r^2*(u(j-1,i-1) + u(j... |
188eec0b01a50ba66ffd3ff99b1fbe3ed6034756 | 31c6b1437c7dc52b977bf6790b1b24eff7f7b5f5 | /plot_se_files_and_ref_conflict-20150909-153702.sci | 4d1bb4cafcf37595b88d5d56a356718addfbabea | [] | no_license | RobinEccleston/Scilab-Snippets | 4744c071ef891cc4905cbecc000a1f5bf667a8f7 | 7886058a25ec4821cfeba6d8e148a0a2aced330c | refs/heads/master | 2021-01-26T00:48:02.042794 | 2020-02-26T11:35:49 | 2020-02-26T11:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,473 | sci | plot_se_files_and_ref_conflict-20150909-153702.sci | ModuleName="plot_se_files_and_reference";
Version="0.01";
DateModified="03-Jul-2015";
DateOfCreation="03-Jul-2015";
Author="Rob Eccleston";
Description="Function to plot both parts from SE development spectrometer against reference data.";
mprintf("Loading " + ModuleName + " V" + Version + ", Last Modified: " ... |
6d5f50627e20b30064cdd5c2579707565ca219d0 | e176c804d3e82d065a9c9635dad92da21c1483a9 | /libs/histeq.sci | 08830e118dd5696215ae384ad8f26a51375ce778 | [
"MIT"
] | permissive | Exia-Aix-2016/ExoLife | 38f7d5e54a1fd26333f19d99a8b63f0d64cc4c4c | a88d4bc3b852f8a85b6c8cc0979ced29fb28b751 | refs/heads/master | 2021-09-07T01:47:04.742247 | 2018-02-15T11:57:47 | 2018-02-15T11:57:47 | 120,471,380 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sci | histeq.sci | function img = histeq(imsource)
xmax = size(imsource,1);
ymax = size(imsource,2);
hist = zeros(1,256);
hc = zeros(1,256);
for x=1:xmax
for y=1:ymax
hist(double(imsource(x,y))+1) = hist(double(imsource(x,y))+1)+1;
end
end
hc(1) = hist(1)
... |
b8416b7c5626e3abef9574fd41e57b0b13f4d85a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH1/EX1.3/Ex1_3.sce | 0c512659b95bdb8eb460e1d244d94924cc501797 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sce | Ex1_3.sce | //Ex1_3 Pg-44
clc
disp("The specification of the resistor from the color coding table is as follows")
disp(" 1st_Band 2nd_Band 3rd_Band 4th_Band")
printf(" Gray Blue Gold Silver")
disp(" 8 6 10^(-1) (+/-)10%")
gray=8 //gray value
blu=6 //blue value
gld=... |
58c174705d95d4716de13d0321e63c5fd0edab73 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH8/EX8.2/ex_8_2.sce | 8da55666c44227c229426481517ee1265b3b4fe1 | [] | 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 | 269 | sce | ex_8_2.sce | //find inside diameter of pipe and wall thickness
clc
//solution
//given
Q=40//m^3/min
p=1.4//N/mm^2
v=1800//m/min
f=40//N/mm^2
D=1.13*sqrt(40/1800)//m
t=(p*D)/(2*f)+0.003//m
printf("the inside diameter is,%f m\n ",D)
printf("the wall thickness is,%f m",t)
|
622d555276a1939c659d2dc39a5eba25c5c99029 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH3/EX3.5/Chapter3_Ex5.sce | 6e81ca290eab0306473791a941d31303ab8c4c7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,807 | sce | Chapter3_Ex5.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc.,USA,pp 436.
//Chapter-3 Ex3.5 Pg No. 104
//Title: Rate Equation to fit Initial Rate data
//==========================================================================================================
clear
clc
clf()
//INPUT (Ex3.5.1)
//Initi... |
c85ebaa6600607f226a588f045456f1dbe9e3953 | d5e7ddddbabe94183774d145a4b984d6eb3cba25 | /lab2_ct.sce | 717ff47d34052649a194d59ee98a0ee607a6dd05 | [
"MIT"
] | permissive | s-kostyuk/labs_ct | 71d01035a7e4bfa1f2ce3102bff3cd81fbf0f1a2 | af843ba36eca6c0f79cbd4f4dcae3d35e648767b | refs/heads/master | 2021-01-10T03:54:40.865469 | 2015-11-14T21:34:41 | 2015-11-14T21:34:41 | 45,732,875 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,172 | sce | lab2_ct.sce | clear;
mode( -1 );
clc;
// ----------------------------- Формулы из методички ---------------------------------- //
function omega=getOmega(f)
omega=2 * %pi * f;
endfunction
function rad=deg2rad(deg)
rad = deg * %pi / 180;
endfunction
function deg=rad2deg(rad)
deg = rad * 180 / %pi;
endfunction
function Z=f#... |
10c839a1a30feefa39fedbd79f7cd91fd2db2aa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH9/EX9.3/exp_9_3.sce | e1157047fc84d31cf144d4b9881f2399360ad9b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,298 | sce | exp_9_3.sce | clear;
clc;
function fault3faze (Zbus,nfbuses,loc,elemz,col,locs,Zf);
for n=1:nfbuses
p=input('number of bus to be faulted');
Vf=input('fault bus voltage');
If=Vf/(Zbus(p,p)+Zf);
mprintf("Bus no. Fault current\n");
mprintf("%2i\",p);
mprintf(" ... |
032eafd44d8f2b6f0f5b1d26efcb51a8a219c20f | 09c6f35aaa2b1c14371feb87fc39e358f776e08c | /02062019whatever.tst | 35654c7906593d05344ab2aaadb897d60154301f | [
"Apache-2.0"
] | permissive | cs-fullstack-2019-spring/project1-portfolio-clyde5649 | e25556082706a71f9d80d7789ab5dff8a3c35455 | b07a823911a9ee8413102c66fe5fb38665f255b5 | refs/heads/master | 2020-04-22T11:33:42.687152 | 2019-02-19T03:52:19 | 2019-02-19T03:52:19 | 170,345,012 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | tst | 02062019whatever.tst | i am going to do a one page file and i am thinking bout combining my skills and education.
i plan to use a couple of different pictures and different boxes.
i plan to unload my web cerficate from coursera using a link
|
a8253a979c91e478c8d84bc2255ad67850a5dc82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH4/EX4.7/Ex4_7.sce | b349e7f65e222bda5c79da6dc3ba65e91049f3b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | Ex4_7.sce | clc
// initialization of variables
x=0.7 // quality of steam
P1=200 // initial pressure in kPa
P2=800 // final pressure in kPa
V=2 // volume in m^3
//The values are taken from TABLE C.2
vf1=0.0010 //specific volume of saturated liquid at 200 kPa
vg1=0.8857 //specific volume of saturated gas at 200 kPa
uf1=504.... |
588584c890607a1edac01f8339663856c15a64b6 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Ripper-C/results/Ripper-C.flare-10-1tra/result8s0.tst | 8b30baf9c9e1c717c3b283ddd3b36dc135497eaf | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | tst | result8s0.tst | @relation flare
@attribute LargestSpotSize{A,R,S,X,K,H}
@attribute SpotDistribution{X,O,I,C}
@attribute Activity{1,2}
@attribute Evolution{1,2,3}
@attribute Prev24Hour{1,2,3}
@attribute HistComplex{1,2}
@attribute BecomeHist{1,2}
@attribute Area{1,2}
@attribute C-class{0,1,2,3,4,5,6,7,8}
@attribute M-class{0,1,2,3,4,5... |
9fe5dc1a922b9657d2b34fdcd37ee4d817462344 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH7/EX7.16/ex7_16.sce | bf5b849e749859214daeff76268c6039f3624828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 912 | sce | ex7_16.sce | // Exa 7.16
clc;
clear;
close;
format('v',6)
// GIven data
g_m = 2*10^-3;// in A/V
r_d = 10;// in k ohm
r_d = r_d * 10^3;// in ohm
R_D = 50;// in k ohm
R_D = R_D * 10^3;// in ohm
R_L = 50;// in k ohm
R_L = R_L * 10^3;// in ohm
f = 1;// in kHz
f = f * 10^3;// in Hz
C = 2;// in nF
C = C * 10^-9;// in F
o... |
3784b1c40354f47b680e48ccd25dadc323d2c4b9 | d03450e9645c09cb7389514ec5d4d8d9c06bdf4d | /Unconstrained Optimatization/hess.sci | f0de9470bf51b705896b7caf40853851c75d03a1 | [] | no_license | amiedemmel/Optimization-Projects | 29f3d11950c19f89aa2295d316888e4c6fa36ab4 | bc574f4311d6fc1534e7c4892dbadb52f5e4213f | refs/heads/master | 2021-01-01T05:47:41.682448 | 2015-05-08T15:56:59 | 2015-05-08T15:56:59 | 35,288,132 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sci | hess.sci | //Hessian of
function [y]=hess(x)
y=zeros(2,2);
y(1,1)=-400*(x(2)-x(1)^2)-400*x(1)*(-2*x(1))+2;
y(1,2)=-40*x(1);
y(2,1)=y(1,2);
y(2,2)=20;
endfunction
|
3fd90f7ed97cedaf58f3e32aa7f04b81036f84ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH26/EX26.10/Ex26_10.sce | 338d36e3bbd895bd8d95672e697b72ce0fe19c09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Ex26_10.sce | // 1 APPENDIX. Ex no 10. Page no 647
// Initilization of variables
// Points as matrices
O=[-2,3,5]
P=[1,-2,4]
Q=[5,2,3]
F=[4,4,-1] // Force vector
// Calculations
// Positon vector ( we will solve only by using r_1 as r_2 also gives the same answer)
r_1=[P(1)-O(1),P(2)-O(2),P(3)-O(3)]
// Moment
// Calculati... |
1ea244214baf78290148194f24c856ac2161a459 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.11/Ex_6_11.sce | 0926c2e069afceb3fdd3ad498c1ba22c718cd98e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Ex_6_11.sce | //Example 6.11
clc;clear;close;
N=8;A=1/4;
n=0:N-1;
x=A^n;
//Calculation of DFT
X=fft(x,-1);
X=clean(X);
disp(x,'Given Sequence is x(n): ');
disp(N,'N=')
disp(X,'N-point DFT of the Sequence is X(k): '); |
a8e1da229b5cf31da9cadcd7311bd5c843184fd0 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG32IE.prev.tst | 2218e6b01912c920107b3e2a16686b0194d18f79 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,632 | tst | PG32IE.prev.tst | [[-1,2,-1,0,0],[1,2,-1,1,0],[2,-2,1,-1,0],[2,-1,2,0,0]] [-1,9,-6,8] [-4,25,-22,17] [-2,41,-17,40]*2 [-3,19,-18,10]*3 [-3,115,-34,114]*3 [-16,111,-108,47] [-6,41,-33,32]*6 [-12,167,-86,159]*3 [-4,249,-57,248]*4 [-25,193,-190,68] [-5,461,-86,460]*5 [-12,103,-102,31]*3 [-50,309,-285,184]*2 [-48,349,-268,285]*3 [-12,145,-8... |
02c6f4840a0be3927a0dc7c88bf3353d26162700 | 6373fc463d246d62439b191e765f698ba0f4c2d4 | /exercises/Ex1/question1.sci | 1eaa3dd3890cf2ada10035748ea6b9a56fbcaf4b | [] | no_license | gabrielgaava/Numerical-Calculus-Laboratory | 50a1daa4ef1b5c7e1186078a87d8a89e90d5fd3e | 48874bde79b713488d9e03bd5b5ac22278e3d8c6 | refs/heads/main | 2023-01-12T21:07:58.741065 | 2020-11-09T23:43:00 | 2020-11-09T23:43:00 | 303,496,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 938 | sci | question1.sci | // Converte parte Inteira
function [result] = intBase10ToBase2(n)
result = ""
while n > 0
if modulo(n,2) == 1 then
result = "1" + result
else
result = "0" + result
end
n = int(n / 2);
end
endfunction
// Converte parte Decimal
function [result] = decBase10ToBase2(n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.