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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3a52176171c770cafd5210d5cbb22039a0526158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH12/EX12.4/sadiku_12_4.sce | 8640072c1f0e67f60940f2794070c4bfdf690c22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | sadiku_12_4.sce | clear;
clc;
a=8.636*10^-2,b=4.318*10^-2,f=4*10^9;
u=3*10^8;
fc=u/(2*a);
disp(fc*10^-9,'Cut off frquency = ');
if(f>fc) then disp('As f>fc so TE10 mode will propagate')
else disp('It will not propagate')
end
Up=u/sqrt(1-(fc/f)^2);
disp(Up*10^-6,'Phase velocity in Mm/sec = ');
Ug=u*u/Up;
disp(Ug*10^-6,'Group... |
508a2c965cb404a5c4d682e488ef05f1465b1f8c | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_e_bfa_mt_d/~BivLCM-SR-bfi_e_bfa_mt_d-PLin-VLin.tst | fbccf4eea2178fa7e630899f842d582691601a1d | [] | 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-bfi_e_bfa_mt_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.519491D+00
2 -0.729398D-02 0.420253D-02
3 0.261779D-01 0.16965... |
565fcbe33fbb768858f07cf09df8f290eaa517f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH9/EX9.3/EX3.sce | f43437d365ec26895cbb1ba1302972be66fab48a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 874 | sce | EX3.sce | // Example 9.3: Voltage gain
clc, clear
bta=150;
VA=130; // in volts
IC=100; // in micro-amperes
Rs=50; // in kilo-ohms
RC=250; // in kilo-ohms
VT=25; // Voltage equivalent to temperatue at room temperature in mili-volts
gm=IC/VT; // in mili-Siemens
ro=VA/IC; // in Megaohms
ro=ro*1e3; // in kilo-ohms
r_pi=bt... |
539f8e2f8c77c234a9787374672379eef836c17e | 4e7aac39f36916a964f4664f3198d7c87e762253 | /scilab/chis_estimater.sce | 020729f4a682a138580bcede3b72b8cb06ab177a | [] | no_license | kirillin/manipulator_dynamics | 349c01fd5aef8b42734edc497a7d48ee49aced9c | a773091ea5a62493b77885a0e2df6491282faa4c | refs/heads/master | 2021-10-22T13:15:09.489858 | 2019-03-10T23:00:56 | 2019-03-10T23:00:56 | 108,987,774 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,591 | sce | chis_estimater.sce | ////////////////////////////////////////////////////////////////////////
//////// SCRIPT FOR ESTIMATION AND PLOTING PARAMETERS ...///////////////
////////////////////////////////////////////////////////////////////////
clc();
//clear;
stacksize('max');
//////////////////////////////////////////////////////////////////... |
abd1fe98fbc50cd4b7e46f51c556db318dcb6ddb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH25/EX25.9/eg25_9.sce | 2eb630d94f49734449050e35982b72ed9cb424d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | eg25_9.sce | clear;
//clc();
tar_kwh=1.43;
flat_tar=1.83;
fixed=400;
units=fixed/(flat_tar-tar_kwh);
printf("the number of units for which the tariff is econimical is:%.0f",units);
|
8d3b16bb8f4e99544dac0097ac5affeaa057e861 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2lar/rc2lar3.sce | 91ef0b564a062b02f1b70a779985ef254db19f29 | [] | 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 | 253 | sce | rc2lar3.sce | //check o/p when i/p is of type char
k = ['s' 'a' 'a' 'a'];
g = rc2lar(k);
disp(g);
////output
// !--error 10000
//All reflection coefficients should have magnitude less than unity.
//at line 20 of function rc2lar called by :
//g = rc2lar(k);
|
9bf950b68c23a262d8b2b19d44f0a0cfb9b7647b | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_nw_usi_d/~BivLCM-SR-bfas_nw_usi_d-PLin-VLin.tst | 62532522da6d0fa0a5d4d7ee4657533132567d5b | [] | 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_nw_usi_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.443610D+00
2 -0.580258D-02 0.360484D-02
3 0.113723D-01 0.15838... |
cc89843cc2e969a38698b7532f1ee7305960e34e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.24/Example5_24.sce | 1f2f78a60c496fca593d390e796dc7f909fb111e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | Example5_24.sce | //Example 5.24
clc
disp("In this example, we use IC 74LS138, 3 : 8 decoder to implement multiple output function. The outputs of 74LS138 are active low, therefore, SOP function (function F1) can be implemented using NAND gate and POS function (function F2) can be implemented using AND gate, as shown in fig.5.50")
|
0eb7d6408375427a0cb78e60654e97fdb44258de | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH12/EX12.9/Fig12_9.sce | 2c442cac0de8a5c81c06a6faa66b2b509067da54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Fig12_9.sce | //Caption: Scilab code to perform wavelet decomposition
//Fig12.10
//Page624
clc;
close;
x = ReadImage('E:\DIP_JAYARAMAN\Chapter12\lenna.jpg');
//The image in unsigned integer or double has to be converted into normalized
//double format
x = im2double(x);
//First Level decomposition
[CA,CH,CV,CD]=dwt2(x,'db1'... |
097f382cdd75766cba313fd14c3181ae6d5afe5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH4/EX4.9/ex4_9.sce | 7e53aa4c90908f4b93bea9fd24c8d855cd388069 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_9.sce | // Example 4.9 page no-208
clear
clc
eps=12/(36*%pi*10^11) //F/cm
mup=500 // cm^2/V-Sec
Vb=(2.54/1000)^2/(2*eps*mup)
printf("VB = %.1f*10^3*W^2/rho_B",Vb/1000)
|
e29df507814243122c3bd3fca44eb49fd1bdf268 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH19/EX19.7/Ex19_7.sce | c9fc30672aca60d87bade174baabcddb7a6c567e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | Ex19_7.sce | clc;
//e.g 19.7
Vcc=-18;
Rc=4.3*10**3;
Re=1*10**3;0
RL=3*10**3;
R1=39*10**3;
R2=8.2*10**3;
beta1=200;
Vbe=-0.7;
Vth=(Vcc*R2)/(R1+R2);
disp('V',Vth*1,"Vth=");
Rth=(R1*R2)/(R1+R2);
disp('kohm',Rth*10**-3,"Rth=");
Ie=(Vth-Vbe)/(Re+(Rth/beta1));
disp('mA',Ie*10**3,"Ie=");
re1=(30*10**-3)/(-Ie);
disp('ohm',re1*1,"re1=");
re... |
7cb3cf93cbc6d65e118e086abc766c286808b24f | fc2458446e5bb95f3fdf3cec5b8b32551bd0c715 | /Scilab Files/General.sci | 3207d4908eae29afae153ef18ef8e601bcf72317 | [] | no_license | AdrianLemaigre/Barcode-TDLOG-Project | 5bb9e4e10293fbfef9bbb9fef895db7c5d9abf34 | 1eb01023b0c231390a9cfea7a33cf46faba5443a | refs/heads/master | 2021-01-13T00:45:00.380027 | 2016-02-03T22:47:08 | 2016-02-03T22:47:08 | 47,250,433 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,972 | sci | General.sci | //Puts symmetric borders with r ligns
function K = rounding(I, r)
[h, w] = size(I);
K = I
for k = 1:r
[i, j] = size(K);
K = [K(1 + k*r, :); K ; K(h - k*r, :)];
B1 = [K(1 + k*r, 1 + k*r); K([2:i+1], 1 + k*r); K(h - k*r, 1 + k*r)];
B2 = [K(1 + k*r, w - k*r); K([2:i+1], w - k*r)... |
9f9c9b0c7e9959e42843341a47f1ace575684eb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH3/EX3.5/3_5.sce | e2eedc6f2662e2efd72c57380e871d1e27ccaf6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,275 | sce | 3_5.sce | //To find the KE and braking force
clc
//Given:
m=12*1000,m1=2*1000,m2=2.5*1000 //kg
k1=0.4,d1=1.2,r1=d1/2,k2=0.6,d2=1.5,r2=d2/2,s=6 //m
v=9*1000/3600 //m/s
//Solution:
//Calculating the mass moment of inertia of the front roller
I1=m1*k1^2 //kg-m^2
//Calculating the mass moment of inertia of the rear axle tog... |
a65ed1bb0942921dde91cb830efaef8ef720785a | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH3/EX3.11/example3_11_TACC.sce | 1e4bf843cb564e19198690644247576aac6156e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | example3_11_TACC.sce | //example 3.11
clear;
clc;
disp("C2H5OH(l)+3O2(g)->2CO2(g)+3H2O(l)");
//Given:
T=298;//temperature during the reaction[K]
Hw=-285.83;//standard heat of formation of liquid water [KJ/mol]
He=-277.69;//standard heat of formation of liquid ethanol[KJ/mol]
Hco2=-393.51;//standard heat of formation of carbon dio... |
6d6c5902d2fe3ab726a94b6f6067bde1491799c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.18/Ex1_18.sce | 682906ac0eea5a2acfa90ba85ac3e17723bffa26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | Ex1_18.sce | //Example 1_18
clc;
clear;
close;
format('v',8);
//given data :
V1=10;//V
V2=3;//V
V3=6;//V
R1=3;//ohm
R2=4;//ohm
R3=14;//ohm
R4=8;//ohm
R5=12;//ohm
//Node B : (V1-VB)/R1=VB/R4+(VB-VC-V2)/R2
//VB(1/R4+1/R1+1/R2)+VC*(-1/R2)=V2/R2+V1/R1//eq(1)
A1=[(1/R4+1/R1+1/R2) (-1/R2)];//Coefficient Matrix
B1=[V2/R2+... |
8c4d5ba6718bbb27db7d95d92975d2070d2cae0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH14/EX14.2/Example_14_2.sce | 3dd420bff032ee483b770913b2af956627a5760b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_14_2.sce | //Chemical Engineering Thermodynamics
//Chapter 14
//Thermodynamics of Chemical Reactions
//Example 14.2
clear;
clc;
//Given
T1 = 25+273;//Initial temperature in K
T2 = 450+273;//Final temperature in K
//Specific heat of sulphur dioxide is given by the relation:
//Cp = 7.116+9.512*10^-3*T+(3.511*10^-6)*T^... |
f9762edd6702e70094ca3a3516dc8051aea2eed1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH8/EX8.1/ex8_1.sce | 129bb02dd8d6cdcbca3723a08f968529be51aac1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | ex8_1.sce | //Express the gain in decibel
clear;
clc;
//soltion
//given
//Powere gain of 1000
Pg1=1000;
Pgd1=10*log10(Pg1);
printf("Power gain (in dB)= %.0f dB\n",Pgd1);
//Voltage gain of 1000
Vg1=1000;
Vgd1=20*log10(Vg1);
printf("Voltage gain (in dB)= %.0f dB\n",Vgd1);
//Powere gain of 1/100
Pg2=1/100;
Pgd2=1... |
4c6b6cc13e23aa68815b7c17bb4039b51e5085a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.29/5_29.sce | b3a77347027598b5be0f2aa5baa22348930561ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | 5_29.sce | //Example 5.29
//Newton Raphson Method
//Page no. 199
clc;clear;close;
deff('x=f(x)','x=x^3+2*x^2+10*x-20')
deff('x=f1(x)','x=3*x^2+4*x+10')
printf('n\txn\t\t\f(xn)\t\tf1(xn)\t\tXn+1\t\tError\n')
printf('-----------------------------------------------------------------------------------------------------\n')
x0... |
b4d4957ad5ec31700c7522bd53337b464b048260 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH4/EX4.7/Ex4_7.sce | ce881d896baa3df0a7e56519b615cd695a576888 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Ex4_7.sce | //Ex 4.7 page 161
clc;
clear;
close;
R=3;// ohm
wL=4;//ohm
Vs=230;// V
f=50;// Hz
fi=atan(wL/R)*180/%pi;//degree
printf('\n (i) control range of firing angle = %.2f to pi',fi)
Imax=Vs/sqrt(R**2+wL**2);// A
printf('\n (ii) max rms load current = %.f A', Imax)
Pmax=Imax**2*R;//W
printf('\n (iii) max power input to lo... |
527a2f47aad832a162433557feb04bd49b4a9b88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH4/EX4.11/c4_11.sce | c08cf5837e32f3c02116e728f74b70bddb36c2cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,642 | sce | c4_11.sce | //(4.11) A tank having a volume of 0.85 m3 initially contains water as a two-phase liquid—vapor mixture at 260C and a quality of 0.7. Saturated water vapor at 260C is slowly withdrawn through a pressure-regulating valve at the top of the tank as energy is transferred by heat to maintain the pressure constant in the ... |
69af3761664f85aa9fe6b3c9b1149822986cd827 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH5/EX5.18/Ex5_18.sce | fe281ed118d28ca161776f16bec78c9a199099ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Ex5_18.sce | //Chapter-5,Example 5_18,Page 5-33
clc()
//Given Values:
delx=10^-8 //maximum uncertainity in position of electron
h=6.63*10^-34 //Planck's constant
m=9.1*10^-31 //mass of an electron
//Calculations:
//using heisenberg's uncertainity formula
delp=h/(2*%pi*delx) //minimum un... |
431c909a3288d861d0836d2295b44f537ed200cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH1/EX1.5.12/Ex1_5_12.sce | 7e016b6879940ee31a98448adce9bb4f97f88cee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Ex1_5_12.sce | clear
clc
rho1=1.21;//in gm^cm-3
rho2=1.10;//in gm^cm-3
P2=3260;//in atm
T2=298.15;//in K
P1=2450;//in atm
T1=242.15;//in K
MI=18;//molar mass of ice in gm/mol
R1=8.314;//in J
R2=0.082;//in atm dm^3
DelH_Tr=((P2-P1)*(R1/R2)*(MI/rho2-MI/rho1)*T1)/(T2-T1)
printf('DelH_Tr=%.3f J/mol',DelH_Tr)
//There is an... |
15468b15cdaa381a56993d8a47e55e79234c5bc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH13/EX13.8/Ex13_8.sce | 4e3548b1ba6324a4febb353a11c22c8712709c1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Ex13_8.sce | clc
clear
//Initialization of variables
o2=12.5 //moles of O2
h20=9 //moles of H2O
x=0.21 //Mole fraction of Oxygen in air
M=28.97 //Molar mass of air
M2=56 //molar mass of C4H8
M1=8*12+18 //molecular mass of c8h18
//calculations
air=o2/x
pound=air*M
AR=pound/M1
y1=h20/M2 *100
y2=o2*(79/21) /M2 *100
//re... |
d3dede8bfbae35a220706610afa840b01df0e8d0 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/dff.sce | df224b9e469a38795e4e7425fc704515d3891846 | [] | 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 | 1,240 | sce | dff.sce | //**************************** D flip Flop ********************************
if(blk_name.entries(bl)=='dff') then
mputl("# D Flip Flop ",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
// dff_str='.names'+' net' + string(blk(blk_objs(bl),2))+"_"+string(ss)+' tg4logic_1 tg4logic_2 tg4logic_3'+' internal_'+ ... |
80ee580d981d8a1858f2dec24eee398dd41809ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH9/EX9.08/9_08.sci | d122677fe7c4df8d57fc17c0e475eec568558bc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 831 | sci | 9_08.sci | //calculates//
s=%s;
printf( "1)zeta & Wn without Kd")
G=60*syslin('c',1/(s*(s+4)));
disp(G,"G(S)=")
CL=G/.H;
disp(CL,"C(s)/R(s)=")
y=denom(CL) //extracting the denominator of CL
z=coeff(y) //extracting the coefficients of the denominator polynomial
//Wn^2=z(1,1) ,comparing the coefficients
Wn=sqrt(z(1,1)) ... |
7497b3f64466acde7896fcd30ca25f4adbc51ec5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH13/EX13.4/Ex13_4.sce | cdc581f9d1cd33525f5302e31c59acab6423edd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | Ex13_4.sce | clear
//Given
//Variable declaration
b=120 //Width in mm
d=200 //Depth in mm
L_star=2.5 //Length in m
L=2.5*1000 //Length in mm
yB=5 //Deflection at free end in mm
E=2e5 //Youngs modulus in N/sq.mm
//Calculation
I=(b*d**3)/12 //Moment of Inertia in mm... |
3d3c671a39659dd4700032d69b83af98c245f664 | 8b9a8f57e173e7b4f3e0697bb8fa4391992830c1 | /Assignment _1/SmallDecoder/DEC24.tst | 821a493777497acaeee1ab01a6687f5613805ece | [] | no_license | AtharvaC1511/ComputerSystemDesign | 9bdcdd5178e55f21c9c23cc105feb6f1cdf47cf6 | e3d9bdcb961aa6d2f13c58532bb89908dda70d3b | refs/heads/main | 2023-06-25T19:04:51.971391 | 2021-07-19T14:24:00 | 2021-07-19T14:24:00 | 387,486,807 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | tst | DEC24.tst | load DEC24.hdl,
output-file DEC24.out,
compare-to DEC24.cmp,
output-list X1%B3.1.3 X0%B3.1.3 Y0%B3.1.3 Y1%B3.1.3 Y2%B3.1.3 Y3%B3.1.3;
set X1 0,
set X0 0,
eval,
output,
set X1 0,
set X0 1,
eval,
output,
set X1 1,
set X0 0,
eval,
output,
set X1 1,
set X0 1,
eval,
output,
|
669b2d7153462ca43e02b8b7004672ad444d3675 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH3/EX3.11/ex3_11.sce | bf62a42c9b0977ca701cf1934cf38716ac212fdb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | ex3_11.sce | // Example 3.11 page no-172
clear
clc
//(a)
vdc=30 //V
idc=0.05 //A
rl=vdc/idc
f=50 ///Hz
c=80*10^-6 //F
vm=vdc+(idc/(4*f*c))
printf("\n(a)\nRL=%.0f Ohm\nVm=%.3fV\nVrms=%.1fV",rl,vm,vm/sqrt(2))
//(b)
is=vm*2*%pi*f*c
printf("\n\n(b)\nI_diode swing/I_diode mean = %.2f",is/idc)
//(c)
gam=4*sqrt(3... |
7247589fd6e3e7362dda769abfa6252b40bda328 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/Local_Planner/distQuat.sci | 3a80f85fb7ee31e5c9f2d7c36c6e359c1359bd46 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sci | distQuat.sci | function d = distQuat(q1,q2)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Outputs the quaternion qOut = q1*q2;
//INPUT
//q1 : quaternion. Row vector
//q2 : quaternion. Row vector
//OUTPUT
//d : distance between the two quat... |
2f77143502de0fbaeb6abd6b4c018b0863d308ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH1/EX1.3/Ex1_3.sce | df7fff87e03cb72529e51796305e7a27da1fef46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,245 | sce | Ex1_3.sce | //exa 1.3
clc;clear;close;
format('v',6);
n1=600;//No. of apartments
L1=5;//kW//Each Apartment Load
n2=20;//No. of general purpose shops
L2=2;//kW//Each Shop Load
df=0.8;//demand factor
//1 Floor mill
L3=10;//kW//Load
df3=0.7;//demand factor
//1 Saw mill
L4=5;//kW//Load
df4=0.8;//demand factor
//1 Laundry... |
e7873087465ee386175cb79b5b259ba635fe6b63 | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/raízes/problema_viga.sce | 1b153164740f4ddb68f81ade7e8166bbc4108947 | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,066 | sce | problema_viga.sce | //
// As frequências de vibração de uma viga de densidade uniforme e
// de comprimento unitário, presa em uma das extremidades e livre na outra,
// satisfaz a equação:
// tan(x)*tanh(x) = −1
// sendo tanh a tangente hiperbólica.
// Use um método numérico para determinar a menor raiz positiva desta equação.
// Faça ... |
ae2d1bb21a1d0b8e11f45f47df813ded9b27ccdb | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/slidercallbk.sci | 8665a3ce84ffdedbbf4dc38d99b640ed260d608a | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,469 | sci | slidercallbk.sci | function slidercallbk(handles)
// This program 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 of the License, or
// (at your option) any later version.
//
// This program is dist... |
73101575f41f4f6f7fdf7b7d1b4442bd9c5d71b1 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/186, Субботник/test0.tst | 7494f7f7fbe88b28897300c7b2a6b9be5c469fdd | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | tst | test0.tst | 2
1 1000000000
~~~~~~~~~~~~~~~~~~~~~
999999999
|
4159bf37408020d156070a0a50aa9316eb3f80dc | 872b5ff8852c926ca1261037de07449db7ac51db | /area-03/cap11/taylor_ordem_3.sce | 4ceee4b25f2aede37427eed22962a27e2e670ac7 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,541 | sce | taylor_ordem_3.sce | clear
/************************************************
* NAO ESQUECER DE MUDAR u' E u'' *
************************************************/
/**
* t_dado, u_dado: u dado -> u(t_dado) = u_dado
* t_final: tempo final -> u(t_final)
* h: tamanho do intervalo
* com_grafico: plota grafico da funcao se... |
6b5f4f1118e29d84d4b25478bbd176e1f22cbef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.24.1/Ex6_24.sce | f4315b50a94e5fd878d4b45748ab7e2db7e3ec4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Ex6_24.sce | clc
clear
r=8;
T1=310; //in K
T3=1600; //in K
G=1.4;
Cv=0.717;
//For process 1-2
T2=T1*(r^(G-1));
//Now Heat Supplied
Qs=Cv*(T3-T2);
printf('Heat Supplied= %2.1f kJ/kg',Qs);
printf('\n');
//Efficiency of Cycle
Eff=100*[1-(1/(r^(G-1)))];
printf('Efficiency is %2.1f Percent',Eff);
print... |
33d7dbbd55c009310ad4fe6d323b4eda5645063c | 9f8a7b5dc3aa40c60a81a8fbee40b6ffe546b43c | /projects/07/TestOp/TestLt/TestLt.tst | 23381c31190e74e60b37d79f700722da0835b6ec | [] | no_license | jedp/nand2tetris | 23b55ed8f6d08d2e9903ce2b96b90ba65da52667 | 22028e3e8c5da03ba944d28beca8103b0b1fdbd4 | refs/heads/main | 2023-06-16T22:17:58.150993 | 2021-07-06T05:38:13 | 2021-07-06T05:38:13 | 378,691,278 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | tst | TestLt.tst | load TestLt.asm,
output-file TestLt.out,
compare-to TestLt.cmp,
output-list RAM[0]%D2.6.2
RAM[256]%D2.6.2 RAM[257]%D2.6.2 RAM[258]%D2.6.2;
set RAM[0] 256, // initializes the stack pointer
repeat 400 { // enough cycles to complete the execution
ticktock;
}
output;
|
3fdf25eda04edd4722872ee69101d3a4ef3c1649 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH6/EX6.3/Ex6_3.sce | e8725621559b44e6acbfd9cfe893449d0ae45761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_3.sce | // Chapter 6 example 3
//------------------------------------------------------------------------------
clc;
clear;
// Given data
L = 10*10^-6; // width of N-region
Vs = 10^5; // saturated vel. of carriers
// Calculations
fo = (3*Vs)/(4*L); // oscillation frequency
// output... |
a25b9167e7e5e57ea4646b80c829e7941fe0aaa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH11/EX11.2/Ex11_2.sce | 8756de8586d24be2d8126348540c83d83716fa3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,540 | sce | Ex11_2.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 11 : SINGLE-PHASE MOTORS
// Example : 11.2
clc;clear; // clears the console and command history
// Given data
V_t = 220 // supply voltage in V
R_1 = 6 // equivalent parameters of single phas... |
1b70db11202202d0ca0265c5b135171e42c15b69 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/sci2for/f_expm.sci | 65c6f0ec736b2e65f3ad77ae74a9504c45fbc852 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,987 | sci | f_expm.sci | function [stk,nwrk,txt,top]=f_expm(nwrk)
//!purpose
// Scilab expm function translation
//!parameters
// - stk :
// On entry stk is a global variable of type list
// entries indexed from top-1+rhs:top give the definition of the rhs
// function input variables
//
// After execution stk(1:lhs) must... |
bc241feb6749c7c349d53c03fbbe211b8f0029a2 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Função Definida.sce | 64dc06e08b9522b5eff56631c3f7c9bb5477612e | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | sce | Função Definida.sce | clc
clear
close
deff("x=s(t)",["x=2*sin(.3*t)"]);
t=0:.1:16*%pi;
fplot2d(t,s)
|
978c6f2f672e47742b5e96d1a4d731d0a009d927 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH1/EX1.14/Ex1_14.sce | 6eb3a70a004c7ac79472e22700a99072edcd4e0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_14.sce | // Formulae's from Example 1.6 are used here
// Exa 1.14
clc;
clear;
// Given
// Referring Fig. 1.50
Im = 100*10^-6; // Meter resistance in Amp
Rm = 1000; // Meter resistance in Ohms
I1 = 1; // in Amp
I2 = 0.1; // in Amp
I3 = 0.01; // in Amp
// Solution
n = I3/Im;
Rsh = Rm/(n-1);
printf(' Ra ... |
345d23cd4c84e5e7565d88419f759f15f67c9df5 | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/graficos_cabecalhos2d.sce | 21c86744aa870e139803b35e02992dfc47bf7604 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | graficos_cabecalhos2d.sce | // Cabecalhos e apresentacao
xbasc();
x=-%pi:0.1:%pi;
y1=sin(x);
y2=cos(x);
y3=x;
X=[x;x;x];
Y=[y1;y2;y3];
plot2d(X',Y',style=[-1 -2 -3],leg="caption1@caption2@caption3",...
rect=[-3,-3,3,2],nax=[2,10,2,5]);
xtitle(["General Title";"(with xtitle command)"],...
"x-axis title","y-axis title (with xtitle comman... |
11e5d965a88a5114fe014d0a493e0b10b67b04ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH2/EX2.31/2_31.sce | 7876d9fb42db8f420dc8fc55820fc64527078300 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | 2_31.sce | //method of iteration
//example 2.31
//page 62
clc;clear;close;
deff('x=f(x,y)','(3*y*x^2+7)/10');
deff('y=g(x,y)','(y^2+4)/5');
h=0.0001;
x0=0.5;y0=0.5;
f1_dx=(f(x0+h,y0)-f(x0,y0))/h;
f1_dy=(f(x0,y0+h)-f(x0,y0))/h;
g1_dx=(g(x0+h,y0)-g(x0,y0))/h;
g1_dy=(g(x0+h,y0)-g(x0,y0))/h;
if f1_dx+f1_dy<1 & g1_dx+g1_dy... |
aab4f3343395e594f8793af476c52ab6c609888f | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH14/EX14.1/example14_1.sce | d1db1b9c1b0e112d0e24d5373bfe617c225bb542 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,154 | sce | example14_1.sce | //Chapter 14
//Example 14_1
//Page 359
clear;clc;
l=300;
i1=100;
i2=200;
l1=200;
pf1=0.707;
pf2=0.8;
r=0.2;
x=0.1;
l2=l-l1;
z=r+%i*x;
Zac=z*l1/1000;
Zcb=z*l2/1000;
I2=i2*(pf2-%i*sin(acos(pf2)));
I1=i1*(pf1-%i*sin(acos(pf1)));
Icb=I2;
Iac=I1+I2;
Vcb=Icb*Zcb;
Vac=Iac*Zac;
vd=Vac+Vcb;
printf("Impedance of distributor/... |
3865fb63c64a5357331fb3e42f504d3cea919c54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.30/18_30.sce | d37a6decba0d3612018518d68b49adbf093c9fe8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | 18_30.sce | //ques-18.30
//Calculating equilibrium constant for the given reaction
clc
T=278;//temperature (in K)
S=-333.3;//entropy change (in J/K/mol)
R=8.31;// J/K/mol
h1=-110.5;//heat of formation for CO (in kJ/mol)
h2=-74.8;//heat of formation for methane (in kJ/mol)
h3=-286;//heat of formation for water (in kJ/mol)
... |
e9ca5142dff7ee91a396915a48a5022da9b9d8d2 | c49cfb0568cc47def2bab58998cf7a2745deeb75 | /steepestDescent.sce | d1bf3f3675ab8352349e90d7961554599ff6f9e1 | [] | no_license | mirgayazov/Computational-mathematics | 7be950e9c54231943912aa8cc0eba9484b8613ee | 97eb92557308d51709101ba1922ed2bb39a0e08f | refs/heads/master | 2023-05-31T18:16:04.774709 | 2021-07-08T09:18:58 | 2021-07-08T09:18:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | steepestDescent.sce | clc
_h=poly(0,'h')
//
h1=0.2272727272727273
h2=-0.00000000000000002
function n=f(x,y)
n=x^2+x*y+2*y^2-x+y
endfunction
function n=xn(x,y,_h)
n=x-_h*(2*x+y-1)
endfunction
function n=yn(x,y,_h)
n=y-_h*(x+4*y+1)
endfunction
//disp(x)
//disp(y)
//disp(f(x,y))
format('v',20)
disp('--------------')
p1=xn(0.715... |
cb53cf636944d3eff50353cdad6af3a14d4e83dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH3/EX3.17/Ex3_17.sce | 10e6b6232a9db30cf7fb28d19cfed24cf2181c9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,864 | sce | Ex3_17.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 3 : TRANSFORMERS
// EXAMPLE : 3.17
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
S = 500; // Rating of the 3-Phase transformer in ... |
cc9fe1467c9abb6fb905691f17f21643b29ea392 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH19/EX19.06/19_06.sce | a60b3a6cab607161fce1bd83d3245ce2ca053b50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,159 | sce | 19_06.sce | //pathname=get_absolute_file_path('19.06.sce')
//filename=pathname+filesep()+'19.06-data.sci'
//exec(filename)
//Calorific value(in kJ/kg):
CV=45000
//Inlet temperature(in C):
T1=1000
T4=T1
//Nozzle efficiency:
nn=0.9
//Diffuser efficiency:
nd=0.9
//Compressive efficiency:
nc=0.8
//Turbine efficiency:
nt... |
21ced86980bf3efbca47f994e6d15e6fac700430 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH5/EX5.13/ex_5_12.sce | bbbd42d73b01fb4c267a9e2eca07ea2e720bce5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | ex_5_12.sce | //find the load
clc
//refer fig 5.13
//solution
//given
f=140//N/mm^2
Ri=25//mm
Ro=50//mm
bi=19//mm
ti=3//mm
t=3//mm
h=25//mm
A=(3*22)+(3*19)//mm^2
Rn={ti*(bi-t)+t*h}/{[(bi-t)*log((Ri+t)/Ri)]+[t*log(Ro/Ri)]}//mm
R=Ri+{[(0.5*h^2*t)+(0.5*ti^2*(bi-t))]/{(h*t)+(ti*(bi-t))}}//mm
e=R-Rn//mm
x=50+R//mm
//M=W*... |
292dbfff6e01ffa61da03edb7bf3df9c2ba0d482 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_nv_usi_d/~BivLCM-SR-bfas_nv_usi_d-PLin-VLin.tst | 7bb68c5b9c882b02d70611fc9d0c98f0a4330b20 | [] | 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_nv_usi_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.481131D+00
2 -0.653633D-02 0.398696D-02
3 0.387934D-01 0.12546... |
b9afdffb3f896c29fa3f69829d1e5baf3f6aa25c | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH4/EX4.1/ex_12.sce | 647febdb966c9518b40b15eac32f5c6891138c29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_12.sce | // PG (199)
x = poly(0,"x");
p3 = 1 + x + (1/2)*x^(2) + (1/6)*x^3
deff('[y]=f(x)','y=exp(x)')
funcprot(0)
x = -1:0.01:1;
f(x) - p3
|
69145f3377d9010361fcc0a859a89e1861657784 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/00_styreneIdeal.tst | 047d08e22e832cdf12a3a11ab96023c4875c5144 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 2,919 | tst | 00_styreneIdeal.tst | units VMG
$thermo = VirtualMaterials.IdealLiquid/Ideal/HC
/ -> $thermo
/LiquidPhases = 2
/thermo + TOLUENE ETHYLBENZENE STYRENE MESITYLENE alpha-METHYLSTYRENE n-PROPYLBENZENE
#Feed
S1 = Stream.Stream_Material()
/S1.In.T = 317.75 K
/S1.In.P = 220 mmHg
/S1.In.Fraction = 0.80 51.00 47.77 0.06 0.13 0.20
... |
7501207b7615ea3506b66a19e0e355c2f4b345a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/3_17_data.sci | 214f603e8cbdb1d29cf800771d233102909e40c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sci | 3_17_data.sci | //Air fuel ratio
AF=50;
//Temperature at the beginning of compression(in K)
T1=333;
//Compression ratio
r=14;
//Calorific value of fuel used(in kJ/kg)
CV=42000;
//Specific heat at constant pressure(in kJ/kgK)
Cp=1.004;
//Specific heat at constant volue(in kJ/kgK)
Cv=0.717; |
b95ad86c77c34e9fa35cd8751a9cb0bb60016836 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH13/EX13.2/Ex13_2.sce | 6beca29b7bd669ced5f19d754a9d5f4010241b1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | Ex13_2.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-13.2 Page No.282\n');
//Normal plane pitch
Pd=16;
psi=45*%pi/180;
Pdn=Pd/cos(psi);
mprintf('\n Normal plane pitch = %f in.',Pdn);
N=24;
S=30000;
b=0.5;
Ne=N/cos(psi)^3;
Y=0.427;
Fs=S*b*Y/Pdn;
mprintf('\n Allowable force = %f lb.',Fs);
Dp=2... |
d89073b69bb6517af7a52f236636e6ede0e5f71d | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanFlow_3DH1D_Flowrate_MVM.tst | 8472c34440a064dbacffd210db5b4e6d1533ce01 | [
"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,072 | tst | ChanFlow_3DH1D_Flowrate_MVM.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Laminar Channel Flow 3DH1D, P=5, 8 Fourier modes (MVM) with flowrate control</description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChanFlow_3DH1D_Flowrate_MVM.xml</parameters>
<processes>2</processes>
<files>
<fil... |
b1b8f293b1b281a1750a3420fc8e8bd4682e7e50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH7/EX7.4/Example74.sce | 23d7d3bfc58ca48cf502f4aa8e1308404a24df3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,301 | sce | Example74.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 7 Example # 7.4 ")
//Diameter of pipe in m
D = 7.62/100;
//Diameter and length of cylinder in m
d = 0.93/100;
l = 1.17/100;
//Initial tempe... |
747588c07d7883abd31ed1d28a2a9dde21f792b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH13/EX13.3/Exa13_3.sce | d10286616c5656cd26acd74a05a0a7f9b1e17db0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Exa13_3.sce | //Exa 13.3
clc;
clear;
close;
//given data :
SP=500;//in Rs.
VC=300;//in Rs.
FC=400000;//in RS.
BEP=FC/(SP-VC);//in units
disp(BEP,"BEP in units : ");
disp("Since the demand(1500units) is less than the break even quantity, the company should buy the cabinets for its TV production.") |
aade32ad358d021ddd53afedcb8875ed9b510b1e | 1c441287d69eb026f0c59fd69b7c0793511746eb | /test/test-avto.tst | 442e261df6c18076ad74e120f965fb5bf9444208 | [] | no_license | pavel-v-masalov/fair | 34eb4feafba2b21790d780b37d014ea82aefd883 | 0225cada4f98622f5b87626833a36f6975968702 | refs/heads/main | 2023-05-26T12:36:28.124283 | 2021-06-08T20:07:59 | 2021-06-08T20:07:59 | 308,316,930 | 0 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 607 | tst | test-avto.tst | PL/SQL Developer Test script 3.0
27
begin
dm.PKG_FV_CALC.main(
date '2020-06-03'
,''
,720
,1000000
,3
,'A1'
,'Автомобильный транспорт'
,'RUB'
,'fix'
,1
... |
1e2ecb8f4e9a15690559a6e16da78eca2e56b83b | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH5/EX5.2.b/ex5_2b.sce | df74b46d30d4c4db7409144c24948bb27e1bb8c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_2b.sce | //Ex 5.2b
clc;
disp('x(t)=(1/2%pi*t)[sin(31%pi*t)-sin(29%pi*t)]');
w1=31*%pi;
f1=w1/(2*%pi);
w2=29*%pi;
f2=w2/(2*%pi);
if f1<f2 then
T=1/(2*f2);
else
T=1/(2*f1);
end
disp(T,'minimun sampling interval'); |
90bb83bb49dd0c0dcb6bbe499e2afafa640ff45c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH18/EX18.3/Ex18_3.sce | 08b4495bc39571d96803b0e9d481a64e2040bc2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,660 | sce | Ex18_3.sce | //Calculations on oil engine
clc,clear
//Given:
d=18,l=36 //Bore and stroke in cm
N=285 //Average engine speed in rpm
T=393 //Brake torque delivered in Nm
imep=7.2 //Indicated mean effective pressure in bar
m_f=3.5 //Fuel consumption in kg/hr
m_w=4.5 //Mass of cooling water used in kg/min
deltaT_w=36 //Cooling... |
461986b5757bd6c88dc97d77321083db86e2f177 | fa73b9454b1d003e901d57ef2121b7544bcdfef2 | /scenes/custom_5.sce | f7f02c1897c8296f762dc9260a22cd8b93a71851 | [] | no_license | bernielampe1/ray_tracer | ea91cf08188194f6a0d1e8c9e95baa4aea12f021 | 7fa963ccd07695be3a78acd4837af6cd439698b9 | refs/heads/master | 2021-01-02T01:16:52.595743 | 2020-03-02T12:36:03 | 2020-03-02T12:36:03 | 239,428,546 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,045 | sce | custom_5.sce | sce1.0
# camera
eyepos 750 75 150
eyedir -0.2 1.0 0.3
eyeup 0.0 0.0 1.0
wdist 20.0
fovy_deg 70
nx 640
ny 320
#options
max_recursion 10
aasample 20
# scene
ca 0.1 0.1 0.1
background 0 0 0
{
# cylinder cube frame around bottom plane
cr 0.8 0.0 0.8
cp 0.1 0.0 0.1
s... |
374a31eea5d5a383a024ec24f578b5687f19d8a9 | 009e6209a86f0838f0faca8a33b2c162e5d1a7a6 | /src/scripts/bisection.sce | 3299ecdf5d37a4893385b7dd4960ce1344b4fd77 | [] | no_license | MoisesU/MESO-MetodosNumericos | 90a62a31e3213c50dec55228ceca7ce034cfbb7c | 17fe0efa1690ac93f36799a12a9f9c99f1ab94a4 | refs/heads/main | 2023-06-02T05:51:03.641326 | 2021-06-20T03:18:17 | 2021-06-20T03:18:17 | 306,203,044 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | bisection.sce | function [table, root, err] = bisection(func, inter1, inter2, fx, maxit)
format(10)
table = []
i = 1
a = inter1
b = inter2
while(1)
table(i,1) = i-1
table(i,2) = a
table(i,4) = b
xm = (a + b)/2
table(i,3) = xm
fa = func(a)
table(i,5) = fa
... |
90a5ebf1b6c3314ad1ca634ca8bd5ddde3f2eabe | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/util/%r_clean.sci | 9c13fe867e21e953b7ad44b004843df7436bbbcd | [
"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 | 537 | sci | %r_clean.sci | function a=%r_clean(a,epsa,epsr)
//Syntax: a=%r_ clean(a,epsa,epsr)
// Given a, matrix of rationals , this function
// eliminates all the coefficients of a with absolute value < epsa
// and realtive value < epsr (relative means realive wrt norm 1 of
// the coefficients)
// Default values : epsa=1.d-10; epsr=1.d-10... |
57e0d0a7f550b9ab769b60d94744e42d12a7af95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH10/EX10.4/10_4.sce | d09eff853eed2e65556df3b402300405f3a2087c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | 10_4.sce | //Determine the value of a shunt capacitor
clc;
clear;
V=440; // Line to line voltage
f=50; // Frequency of operation
w=2*%pi*f; // Angular frequency
Vph= V/sqrt(3); // Phase voltage
I=40; // Magnitude of current
pfi=0.7; // Lagging power factor of the current
ti=acosd(0.7);
//Iv=I*(expm(%i*-1*%pi*ti/18... |
c0047afc0181cc46bdc38c80a152c7c5df210b23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH2/EX2.9/2_9.sce | b5a8aa740fdf0e37016e0531494554c31eaee081 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | 2_9.sce | clc
//initialisation of variables
v= 3.6 //cc
v1= 0.89 //cc
s= 3.146 //A
//CALCULATIONS
r= (v/v1)^(1/3)
r1 = s/(1+r)
r2 = s-r1
//RESULTS
printf (' radius of k+= %.3f A ',r1)
printf (' \n radius of cl-= %.3f A ',r2)
|
539bf5e4433e1554d98fab10929bb7f528ee055a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH14/EX14.32/example14_32.sce | 534ef8dc4b2c40653bfaec73f7fd9e430367c669 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example14_32.sce |
//example 14.32
//calculate dimension of channel if it is design on the basis of Laecy theory and Kennedy's theory
clc;funcprot(0);
//given
Q=40; //discharge
f=1; //silt factor
//Laecey's theory
V=(Q*f/140)^(1/6);
A=Q/V;
P=4.75*Q^0.5;
D=(P-(P^2-6.944*A)^0.5)/3.472;
B=P-2.236*D;
R=5*V^... |
6af4198bdf7f6971e534265da3f8e58404844a89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH20/EX20.2/Example20_2.sce | 7e0ae14251a0772160c0c77ef9a7764a021131b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | Example20_2.sce | //Calculate the Lattice energy of Sodium Chloride
//Example 20.2
clc;
clear;
n=8.4; //Integer between 8 and 12( For the repulsive term in the lattice)
NA=6.022*10^23; //Avogadro's number in mol^-1
mew=1.7476; //Madelung constant for the NaCl crystal lattice
e=1.602*10^-19; //Charge on electron in ... |
29e4f7575b3ae321d01ec4b6fc550f04ef5c8796 | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH6/EX6.4.2/6_4_2.sce | 021a948f369bd38fd77478b7955a60a20dcd5be7 | [] | 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 | 914 | sce | 6_4_2.sce | //CAPTION: Characteristics_Of_a_MOSFET
//chapter_no.-6, page_no.-262
//Example_no.6-4-2
clc;
//(a)Calculate_the_insulation_capacitance
eir=3.9;
ei=8.854*(10^-12)*eir;
d=.05*(10^-6);
Ci=ei/d;
disp(Ci,'the_insulation_capacitance(in F/m^2)');
//(b)Calculate_the_saturation_drain_current
Z=12*(10^-12);... |
7aae3b54015c4a09244e3b7a96a921df657da83b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.15/Ex2_15.sce | ae3f4e7f3ff63342ad2400eee6591e6630895c8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,397 | sce | Ex2_15.sce | //Calculations on dual combustion cycle
clc,clear
//Given:
r=15 //Compression ratio
P1=1,T1=25+273,V1=.1 //Pressure, temperature, volume at 1 in bar, K, m^3
P4=65,T4=1500+273 //Pressure and temperature at 4 in bar and K
cv=0.718 //Specific heat at constant volume in kJ/kgK
g=1.4 //Specific heat ratio(gamma)
//S... |
540d613930d7db65ad2471aa49a93599ca50a430 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH10/EX10.4/Chapter10_Example4.sce | 7faa2784226516b4e32d92bd5c0eecea2d79a13b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | Chapter10_Example4.sce | //Chapter-10, Example 10.4, Page 409
//=============================================================================
clc
clear
//INPUT DATA
S=1;//Side of a square in m
L=0.4;//Diatance between the plates in m
T1=900;//Temperature of one plate in degree C
T2=400;//Temperature of the other plate in degree C
... |
9ce4e6f75eaba8edc248f31dc0de96b33e61b3fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH5/EX5.18/Example5_18.sce | 12d40dfc1ee1d89312b61554db55b1f744a1a836 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_18.sce | //Example 5.18
//To Find out Bilinear Transformation of H(s)=(s^2+4.525)/(s^2+0.692*s+0.504)
clear;
clc ;
close ;
s=%s;
z=%z;
HS=(s^2+4.525)/(s^2+0.692*s+0.504);
T=1;
HZ=horner(HS,(2/T)*(z-1)/(z+1));
disp(HZ,'H(z) ='); |
17d645e9e2e93acf3fb59786c0e44167c8195b8c | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /armac1.sci | ab5d404f851d59843ae494e52ddb6b3b90344019 | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sci | armac1.sci | function process_ar = armac1(a,b,c,d,f,sig)
ny = 1; nu =1;
a1 = convol(convol(a,f),d);
b1 = convol(b,d);
d1 = convol(c,f);
process_ar = armac(a1,b1,d1,ny,nu,sig);
endfunction;
|
84f590e74cff603f21d78718a6429746a4fe05e2 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_getAssertions2.tst | f38cd4f0cd639341a0a3899ec4c546d0c76fcb2f | [] | 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 | 286 | tst | ok_getAssertions2.tst | ; tests whether get-assertions works correctly with push and pop
(set-option :interactive-mode true)
(set-logic QF_UF)
(declare-fun p () Bool)
(assert true)
(assert p)
(push 1)
(assert (or p p))
(assert false)
(get-assertions)
(pop 1)
(get-assertions)
(assert (not p))
(get-assertions)
|
b098f4737b7be6130a87ffd493d75301f0a73f0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH7/EX7.4/7_4.sce | eb47ef54901b4a28549e67d09ff7cf789f9ef0d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_4.sce | clc
//Initialization of variables
p=20 //psi
t=100+460 //R
R0=10.73
M=28
//calculations
rho=p/(R0/M *t)
//results
printf("density of nitrogen = %.4f lbm/ft^3",rho)
|
aacd1771a82a9b5131664822a4e3eff8d3d593e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH14/EX14.5/ex_14_5.sce | 91ccc04d7d8002b5e51a443c1717fefe51d15633 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | ex_14_5.sce |
clc
//solution
//given
M=3000*1000//N-mm
T=10000*1000//N-mm
ftu=700//N/mm^2
tu=500//N/mm^2
Fs=6
ft=ftu/Fs//N/mm^2
t=tu/Fs//N/mm^2
//let d eb dia of shaft
Te=sqrt(T^2 + M^2)//N-mm
//Te=(%pi/16)*t*d^3
d1=(Te/16.36)^(1/3)//mm
printf("the dia of axle is,%f mm\n",d1)
Me=0.5*[M+ sqrt(M^2 + T^2)]//N-mm
//Me=(%pi/32)*fb*d2^3
... |
08423533ecd54725e8ea481b91ba4a85fac41716 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1415/CH1/EX1.4.1/ex1.sce | 660d25bcbacbff43ac29cab249484b5c24cfee46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,200 | sce | ex1.sce | //Example 1 Page 96
clc
clear
function y1=Y1(t)//function for y=0.5t+8
y1=0.5*t+8
endfunction
function y2=Y2(t)//function for y=0.25+9
y2=0.25*t+9
endfunction
t=[0 2 4 6 8 10 12 14]//t values as given in question
disp(t,'Year:')//displaying t values
y=[9 9 10 11 11 12 13 13]//y values as given in... |
445c467aca5d9e4c769e236d795f0e12cf747d45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH3/EX3.15/ch3_15.sci | a141932ba3abe8480bd25bea2e4dd0d074d0fb1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sci | ch3_15.sci | // To determine voltage regulation and efficiency
clc;
r=150*1000; //rating in va
v1=2400;
v2=240;
a=v2/v1;
R_hv=.2+.002/a^2;
X_hv=.45+.0045/a^2;
I_2fl=r/v2;
pf=0.8 //lagging
phi=acosd(pf);
I_2=I_2fl*a;
vd=I_2*(R_hv*cosd(phi)+X_hv*sind(phi));
V2=v1;
vr=(vd/V2)*100; dis... |
c50a25d51704f2f868adb37ee3500fcfa768c2c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH2/EX2.2/Ex2_2.sce | cd1d21e69ddae8fcbf89c6dcba24a40b7e0bc10b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | Ex2_2.sce | //Chapter 2: Spectroscopy and Photochemistry
//Problem: 2
clc;
//Declaration of Constants
Na = 6.022 * 10 ** 23 // Mole constant,per mol
pi = 3.141 // Pi
c = 3 * 10 ** 10 // Speed of light,in cm/s
h = 6.626 * 10 ** -34 // Plank's constant,in J.sec
//De... |
85ebe075170be897c043496247a5f9984b905681 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH10/EX10.2/Ex10_2.sce | ed4e9740fa3244f76d44856733010360d23b1af7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | Ex10_2.sce |
clc
clear
//Input data
P=6000//Power in kW
h=300//Net head availabe in m
N=550//Speed in r.p.m
rd=(1/10)//Ratio of jet diameter to wheel diameter
nh=0.85//Hydraulic efficiency
Cv=0.98//Coefficient of velocity
f=0.46//Speed ratio
d=1000//Density in kg/m^3
//Calculations
V1=Cv*sqrt(2*9.81*h)//Velocity in ... |
4edf4922392aa4977941ca925a206baadbf7f85d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.51/EX2_51.sce | b0a18fafbf8664aade26d112f52b1a00a1230656 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,314 | sce | EX2_51.sce | //example 2-51 pg no-94
V=230+%i*0; //VOLTAGE
F=50; //FREQUENCY
C=10^-4; //CAPACITOR
R=10; //RESISTANCE
cos(72.56)=0.299;
XC=1/[2*%pi*F*C];
disp('i) INDUCTANCE (XC) is = '+string (XC) +' ohm ');
Z=R-%i*XC... |
ba78f30ab7444719d3d3bfc1198cb2832f7a1347 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testbarstacked.sce | b2c9121821ae2c65f4dcd8edea63bc75f2b80d54 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | testbarstacked.sce | // generate a list of random values
x=[1:10]';
n1=x;n2=11-x;n3=5*ones(x);
clf()
subplot(121) // vertical grouped bars
bar(x,[n1 n2 n3],'grouped')
subplot(122) // horizontal stacked bars
barh(x,[n1 n2 n3],0.5,'stacked')
|
b7bdd88f524910e042cb8bbb6c35a846ac115243 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.10/example2_10.sce | 14d73440f6d062fc83023c6deade7ac57420287e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example2_10.sce | clc
// Given that
lambda = 4e-7 // wavelength of light in meter
u = 0.2 // distance of object from zone plate in meter
v = 0.2 // distance of brightest image from from zone plate in meter
r = 0.01 // radius in meter
// Sample Problem 10 on page no. 2.41
printf("\n # PROBLEM 10 # \n")
f = (u * v) / (u + v) // calculat... |
1341f0e026e77de91d2ef78518960fb79fd10f46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH2/EX2.9/2_9.sce | aed1e3955fa43041ec8b14082f70b1bffe1d6152 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | 2_9.sce | clear
clc
disp('Exa-2.9');
v1x=0.6;v1y=0;v2x=0;v2y=.8;c=1; // all the velocities are taken wrt c
v21x=(v2x-v1x)/(1-(v1x*v2x/c^2)); //using lorentz velocity transformation
v21y=(v2y*(sqrt(1-(v1x*c)^2)/c^2))/(1-v1y*v2y/c^2)
printf('The velocity of rocket 2 wrt rocket 1 along x and y directions is %.2f c... |
d3e4b6b583ae6cfa462f1470d5d86d14c588f4c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH1/EX1.4/1_4.sce | 32a6fdef52c425300cd6c9092eb130f3cf1bee98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | 1_4.sce | clc
//initialisation of variables
w= 62.4 //lbf/ft^3
H= 6 //ft
W= 5 //ft
//CALCULATIONS
P= w*H^2*W/2
//RESULTS
printf (' presure on end= %.2f Lb',P)
|
b6b8de404f0fc3ada9895d20991cd259cab80552 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_3/Scilab_codes/Unstable_step_response.sce | d4c008dc00bf86bfd17f765b2a1c9d8841f46a8b | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Unstable_step_response.sce | clear
close
clc
s = poly(0,'s');
g1 = 1/(s^2 -s-6);
G1 = syslin('c', g1);
t = 0:0.05:5;
gs1 = csim('step' , t , G1);
plot2d(t,gs1)
xlabel('Time','fontsize',4)
ylabel('Amplitude','fontsize',4)
title('Step response of system with transfer function G1(s)', 'fontsize',4)
[n,d] = simp(1, s^2 - s - 6);
poles = roots(d... |
50fee5b68f9d1f9cf920bffbfbbedfdce61c8ab2 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/sampled2continuous.sci | e14f96bf534cb660b73c01c5ff449417307c81cb | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,459 | sci | sampled2continuous.sci | // Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
08972a0cf8cb8a6aec6277ab665316ad840e0258 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH4/EX4.4/exa4_4.sce | 19e46e7f11beb76a7a4d358eb98a8b3d27098657 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | sce | exa4_4.sce | // Example 4.4
// Matrix Node Analysis with source Conversion
// From figure 4.11(a), The floating 48V source with series resistance has been converted into a current source with parallel resistance
// From figure 4.11(b),
G_11=1/4+1/2+1; // Sum of conductance at node 1
G_12=1; // Equivalent conductance between no... |
b1cf43088a8a92a589fc524e9f14dff890d83769 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH2/EX2.8/Ex2_8.sce | ced8f592bbd3302c1a60ac2dc2f7d57bc752af88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,862 | sce | Ex2_8.sce | //Ex2_8 Pg-89
clc
disp("Conductivity of an intrinsic material is given by ")
disp(" sigma = e*ni*un*(1+up/un)")
sigma_i=100/60
ni=2.5*10^19 //concentration of intrinsic carrier in m^3
up_un=0.5
e=1.6*10^(-19) //electron charge
un=(sigma_i/(e*ni*(1+(up_un)))) //concentration of electrons
up=un/2 //holes ... |
c177bec43aa3657324d6fd9f771d4a866b848382 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpkshiftc/test_8.sce | b5c4b7a543bbaa273d96872e0fda32f2bc4f97c4 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | test_8.sce | // Test #8 : When output arguments are less than 5
exec('./zpkshiftc.sci',-1);
[z,p,k]=zpkshiftc(1,5.1,7,-0.5,0.79);
disp(k);
disp(p);
disp(z);
//
//Scilab Output
//k=1.104035 - 0.8154739i
//p=- 0.1201779 - 0.1549324i
//z=- 0.6129071 - 0.7901550i
//
//Matlab Output
//z=-0.6129 - 0.7902i
//p=-0.1202 - 0.1549i
//k=1.1... |
82b64372e29f9c80173f764d58f1a89fe9b3d1b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.12/Example_9_12.sce | f0c5d590ea8f4188451c25e2492dccb143f63be5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | Example_9_12.sce | clc;
clear;
printf("\n Example 9.12\n");
lambda=1e-6;//Wavelength
E_l_b=1e9; //Emissive power at given lambda
//From equation 9.108
C2=1.439e-2;
C1=3.742e-16;
T=C2/lambda/log(C1/(E_l_b*lambda^5));
printf("\n The temperature of surface = %d K",T);
//With an error of +2 per cent, the correct value is give... |
7d48f5b9fa4526b216ee67844b2be9edeceb1cb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH6/EX6.2/6_2.sce | 772198890a7f77151191f9399d6ad937c1e28be3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | 6_2.sce | disp("σ=q*(μe*n+μh*p)");
b=510; //say μe=b
c=187; //say μh=c
n=10^16;
p=2.25*10^4;
q=1.6*10^-19;
a=q*((b*n)+(c*p));
printf('\n The value of σ is %f/ohm/cm',a);
d=a*10^-2;
l=2;A=2;
R=l/(d*A);
printf('\n The value of Resistance is %fohm',R); |
1f4f11aa2dccc8002c7446ae2490519a3d56b1c2 | 86959bc0249a84ce262885ec5eae5d39bb5c778a | /tutorial/mode_4/sinking_plume/build_conds.sci | 190dea36b57a43e43f45a80744eb67cf1c727e8f | [] | no_license | exploregeoleigh/HRE4D | 0846de103d2588dc0293f91c4ef59bbd19ffbdbb | a3f17cf22afaaf1ad1a2ca24d1237d524c3e465a | refs/heads/master | 2023-03-21T03:58:44.882132 | 2021-03-17T05:50:44 | 2021-03-17T05:50:44 | 330,889,380 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,579 | sci | build_conds.sci | //This scilab script builds the conductivity file for tutorial 4.1
//in the E4D users guide.
//make sure there is sufficient memory in the stack
stacksize('max');
//___________________________READ THE MESH_____________________________________
//open the node file for writing
f1=mopen('spf.1.node','r');
//read the... |
94c2ac46a2519c1ca3e1424b8cb0b7e4214c5424 | 9182a918c195a40e939d89161585e04a97513ad9 | /wakemodel2.sce | 389ea233b55f0123ff6f8d85b995f8e04d10d8da | [] | no_license | marcellorighi/haps_optimization | 996f7fbae18e8128a4e9d55ceafe0758ea513960 | 0ac1d1053350bbed2d747a1fe1b31b75f47e69a0 | refs/heads/main | 2023-01-02T11:27:55.854626 | 2020-10-21T11:03:08 | 2020-10-21T11:03:08 | 305,994,280 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | wakemodel2.sce |
clear;
//
rho = 1.00;
mu = 1.5e-5;
nu = mu/rho;
u = 100;
L = 502649;
b = 40.;
a = %pi/8*b;
G0 = 4 * L / (%pi * rho * u * b);
x = 11*b;
z = 0.0;
ny = 50;
yy = linspace(0.0*b,2*b,ny);
for j = 1:ny;
y = yy(j);
w(j)= - G0/(4*%pi*x) * ( (y+a)./ sqrt(x^2 + (y+a).^2) - (y-a)./ sqrt(x^2 +... |
a217dddb812d6d2bef5f39efa7b98ac8ac55ed22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.26.a/data10_26.sci | 0cc132a907c7f99a967c6d20d58eb8855447fb73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sci | data10_26.sci |
//(Springs) Example 10.26
//Belleville spring is compressed completely flat when it is subjected to force P (N)
P = 4500
//Maximum compressive stress sigma (N/m2)
sigma = 1375 * 10^6
//Ratio of outer to inner diameter of the washer r1
r1 = 1.75
//Ratio of height to thickess of the washer r2
r2 = 1.5
//Modulus of elast... |
d3c14af93a01cde0473ebbdb3cc5be16504a1b7d | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /surf.sce | 68e0eb88d8295fcea186a53f00b621f9a33007c1 | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | surf.sce | //Program to plot 3D graph using surf
subplot(2,2,1)
z = rand(10,10);
surf(z)
title('surf')
subplot(2,2,2)
surf(z,'facecol','red','edgecol','blu')
title('surf function with face and edge color')
subplot(2,2,3)
surf(z,'facecol','interp')
title('surf function interpolated')
subplot(2,2,4)
x=rand(10,10);... |
4c4ae64db9974620142b3b9d7b3eddecbf3dff04 | 3f5040355af2e6769099ed204385fd22c9e10cc2 | /classifieur_sift.sce | a7127f2048d8209f5ce1c82d917debc29e21e58a | [] | no_license | pinos19/Reconnaissance_objets | 78e586e55383eefabc379d7ded5114367c67880c | f697ad28852b56299f616cb5c0b72ab1479c7d01 | refs/heads/main | 2023-08-29T11:26:50.842616 | 2021-11-06T16:59:20 | 2021-11-06T16:59:20 | 425,299,101 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | classifieur_sift.sce | exec calc_correlation.sce
function [classe] = classifieur_sift(apprentissage,Img,num_classe)
max_ligne=4062;
fobj=imdetect_SIFT(Img);
des=imextract_DescriptorSIFT(Img,fobj);
des=[des;zeros(max_ligne-length(des(:,1)),128)];
for i=1:20
temp(i) = calc_correlation(apprentissage(:,:,i),des);
... |
40ef6967e71dbbbe23b5b5893156d8091a95aa63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH5/EX5.2/Ex5_2.sce | 05fb90ab2f7634a86b9519004efd39f9870353d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex5_2.sce | // chapter 5 , Example5 2 , pg 150
a=5.43*10^-8//lattice constant(in cm)
M=28.1 //atomic weight (in g)
n=8// number of atoms/cell (for Si)
N=6.02*10^23 //Avogadro number
C=n/a^3 //atomic concentration =(number of atoms/cell)/cell volume (in atoms/cm^3)
D=(C*M)/N //Density
printf("Density of Si=")
p... |
0103112a301f05e675ba1f56c9fc9a48857ceae2 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/fiin.sce | 048705f4feb9414e81508e9469550fbe29f60f79 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,971 | sce | fiin.sce | // this is 8 vehicle
clc
clear
rokl=1
x=4
z=15
pop=10
iter=1000
mest=1000*ones(1,pop)
a=zeros(pop,z)
rag=zeros(iter)
ryg=zeros(iter)
cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20
]
tim=[0 40 1.5 39 6.8 11 16 12 36 20 27 17 51 4.5 17;
40 0 42 9.1 43 38 33 39 51 41 48 45 21 34 3... |
cb47c3a52f4f58372a353a522825b0b753b79a8f | f2068f2734a1b9080ea2db4455a5fc3581ab0a1c | /plus_tau6.sci | bfdb26d7bd8f40ba1f1ee20fdd9636eb81ad4d5b | [] | no_license | NnataKha/Conflict-models-with-attractive-interaction | 5a9bc20603f05cfefa5283db453bc377ff68ff15 | afc53eff31d1d16134b76fde0b51698abc4a9c67 | refs/heads/master | 2020-03-16T18:48:14.182188 | 2018-05-10T11:17:25 | 2018-05-10T11:17:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,143 | sci | plus_tau6.sci | //we subtract avarage grouth on Omega_+ from each M(i)
clear;
if 1==21 then
n=4
for i=1:n
T(i)=rand(100);
M(i)=rand(100);
end
end
n=6;
eps=2/(n*n);
M=[3;4;1;2;3;4];
T=[1;2;2;8;4;5];
//n=length(M);
st = sum(T);
sm = sum(M);
T = T'./st;
M = M'./sm;
check(1)=1;
time1(1)=0;
m = 400;
for k =... |
8c6adb013b8fa452b7bd4a393e65ad8f2107381e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH7/EX7.18/ex_7_18.sce | c171579835c1e606ce8569de678c58a2e516d260 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_7_18.sce | //Example 7.18.//maximum power,total energy consumption and specific energy consumption
clc;
clear;
close;
format('v',6)
//given data :
W=100;//in tonne
We=1.1*W;// in tonne
S=2.5;// distance in km
Va=50;//Average speed in kmph
Dr=(3600*S)/Va;
alfa=1;// in km/h/sec
Beta=2;// in km/h/sec
T=180;
r=40;//in N/tonne
G=1;
K=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.