blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
488d00fc95eacc07bcf96766d10391ca283a7d21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH2/EX2.14/example2_14.sce | 587863ba633962519c61e25f5dc6907ab1ffc225 | [] | 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 | example2_14.sce | clear;
clc;
// Stoichiometry
// Chapter 2
// Basic Chemical Calculations
// Example 2.14
// Page 24
printf("Example 2.14, Page 24 \n \n");
// solution
m = 100 //[kg] Lye (basis)
m1 = 73 //[kg] NaOH
M1 = 40 // NaOH
M2 = 62 // Na2O
p = (M2*m1)/(2*M1)
printf("percentage of Na2O in the solution is "... |
05495f94f7dff6d0dfe69fcbec416411d3cba96e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH1/EX1.4/Ex1_4.sce | f23f858f56a4cccc152902f4040c0647464954bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 988 | sce | Ex1_4.sce | //Calculations on four stroke petrol engine
clc,clear
//Given:
bp=35 //Brake power in kW
eta_m=80 //Mechanical efficiency in percent
bsfc=0.4 //Brake specific fuel consumption in kg/kWh
A_F=14/1 //Air-fuel ratio
CV=43000 //Calorific value in kJ/kg
//Solution:
//(a)
ip=bp*100/eta_m //Indicated power in kW
//(... |
f9b8c4344eaafd9cc2882d6fba2596bdb5b9e9eb | 7e1b0b7ceda8e9c25d67d330a7bb5e562a01f27a | /ProbInverses/TP1/exo4.sci | 10afa848c7fe40e048e493d24729892d4c69ead5 | [] | no_license | sebherv/master2 | 59b8232e62bef140636bfad8c986bbd10e7d7beb | b8cd8bcde1ae3ae7a5bca58183804faa21456dd8 | refs/heads/master | 2021-09-13T19:33:50.766722 | 2018-02-09T15:09:24 | 2018-02-09T15:09:24 | 103,376,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sci | exo4.sci | // Exo 4: plotting and projecting confidence regions
// Gen data et gen modèle
// Our model is m2 (with 3 parameters), our Cm is inv(G2'*G2)
exec('/Users/sebh/Desktop/MasterII/repos_master2/ProbInverses/TP1/01genTestDistribs.sce',-1);
exec('/Users/sebh/Desktop/MasterII/repos_master2/ProbInverses/TP1/02leastsquares.sce... |
7b5f70ccfd014ab3528fe071d25d01fd869ce32f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH8/EX8.20/Ex8_20.sce | cd74e2d4ed8c942ccdb5e693087e62a01798572f | [] | 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 | 237 | sce | Ex8_20.sce | clear
//Given
e=1.6*10**-19
f=6.8*10**15
r=0.51*10**-10
u=4*3.14*10**-7 //T/A m
//Calculation
//
I=e*f
B=(u*I)/(2*r)
M=1*I*%pi*r**2
//Result
printf("\n The effective dipole moment is %0.0f *10**-24 Am**2",M*10**24)
|
e4284e46c588ef86828a44e7e0a587a4c897aa1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.11/Exa2_11.sce | 53ba1384474e2a1a32b4e34dc66ba139d64841a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Exa2_11.sce | //Exa 2.11
clc;
clear;
close;
//Given data
IES=10^-14;//in A
alfaF=1;//unitless
alfaR=0.1;//unitless
//Formula : alfaF*IES=alfaR*ICS
ICS=(alfaF/alfaR)*IES;//in Ampere
disp(ICS,"Collector base junction saturation current in Ampere : ");
RelativeSize=ICS/IES;//unitless
disp("Collector is "+string(RelativeSize... |
24b639cc56147bda5f0b80c1237c8340c2938777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH9/EX9.13/Ex9_13.sce | 54dba7c119390e44ddce34f4e62be49d2f341dd3 | [] | 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 | 6,617 | sce | Ex9_13.sce | // Given:-
Wnetdot = 45.00 // in MW
T1 = 300.00 // in kelvin
p1 = 100.00 // in kpa
etac = 0.84 ... |
d0012b25088c568ed780ba8f4b78f4eafc8b4015 | 8fd5474ab7779b552e5f198a3ce4afc4d82cb47f | /SCAN_16010-4002-001_NEW.sce | 9dc1158ddd2241a84f6b96f8206ec29918b8898f | [] | no_license | 2-BiAs/UCASI_ALIGNMENT_SCAN | 807353741517c084007cdf978b149f34f8a13dae | 85b8d79f50e23051cbf365385b49e05293827941 | refs/heads/master | 2020-06-21T10:26:29.419281 | 2017-05-19T02:01:27 | 2017-05-19T02:01:27 | 74,790,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18,168 | sce | SCAN_16010-4002-001_NEW.sce | clear
clc
clf(1); clf(2); clf(3); clf(4)
format('v', 10)
csvDefault("eol", "windows")
csvDefault("blank", "on")
[ok, sPartNumber] = getvalue("Input Part Number", "PN", list("str", 1), ["16010-4002-001"]);
if ~ok then
abort
end
[ok, sSerialNumber] = getvalue("Input Serial Number", "SN", list("str", 1), ["default"]... |
da112274bee9321add2d81d3d07fcfa847a17822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH13/EX13.6/c13_6.sce | e6905b75cfdbc0bf0e0540bef0766b24cf1d4a33 | [] | 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,672 | sce | c13_6.sce | //(13.6) A mixture of 1 kmol of gaseous methane and 2 kmol of oxygen initially at 25C and 1 atm burns completely in a closed, rigid container. Heat transfer occurs until the products are cooled to 900 K. If the reactants and products each form ideal gas mixtures, determine (a) the amount of heat transfer, in kJ, and... |
ba7f32b87ae4f0907fdcef3afc760f59cc0c4813 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH22/EX22.05/22_05.sce | c53f41c75a4b41aa6c55f222e7ce410393c1bbab | [] | 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 | 22_05.sce | //Problem 22.05: A 3-phase, 60 Hz induction motor has 2 poles. If the slip is 2% at a certain load, determine (a) the synchronous speed, (b) the speed of the rotor and (c) the frequency of the induced e.m.f.’s in the rotor.
//initializing the variables:
p = 2/2; // number of pairs of poles
f = 60; // in Hz
s = 0.... |
fdb0397e1080095882394cc9475ba37ffa645a9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH4/EX4.6/4_6.sce | 343a5cb1738023acfc96f6cc03e90c48b0e06458 | [] | 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 | 592 | sce | 4_6.sce | //All the quantities are expressed in SI units
alpha1 = 4;
alpha2 = -1.1;
alpha3 = -4;
cl_1 = 0.55; //cl at alpha1
cl_2 = 0; //cl at alpha2
c_m_qc1 = -0.005; //c_m_qc at alpha1
c_m_qc3 = -0.0125; //c_m_qc at alpha3
//the lift slope is given by
a0 = (cl_1 ... |
57a003c1e0cf202768e592022304fc8cff293009 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/scicos/MFCLCK_f.sci | c56bc13c1598e5bf8d0cd745f11e1f47ee401812 | [
"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 | 949 | sci | MFCLCK_f.sci | function [x,y,typ]=MFCLCK_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz]=graphics(1:2)
xstringb(orig(1),orig(2),['M. freq';'clock'],sz(1),sz(2),'fill')
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standar... |
63a707693151db4b15c38ebafde1f2f56f644200 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.24/Ex1_24.sce | 42662fa683787ba5c9802d993b585373963d01e5 | [] | 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 | 987 | sce | Ex1_24.sce | // Ex 24 Page 366
clc;clear;close;
// Given
b=3;//cm
a=4.5;//cm
f=9*10**9;//Hz
v=3*10**10;//cm/s
lamda=v/f;//cm
printf("\n For TE10 mode:")
m=1;// for TE10 mode
lamda_c = 2*a/m;//cm
rho=sqrt(1-(lamda/lamda_c)**2)
lamda_g=lamda/rho;//cm
vg=rho*v;//cm/s
vp=v/rho;//cm/s
ZTE=120*%pi/rho;//ohm
printf("\n cutoff wavelengt... |
0dbd5d76c94831832425918e54ac6564e437c509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH2/EX2.9/ch2_9.sci | 1a1df4d389007f79d15df92a25f9ae121e5c49c7 | [] | 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 | 385 | sci | ch2_9.sci | // calculation of hysterisis and eddy current losses
clc;
P1=1500;
f1=50;
P2=3000;
f2=75;
A=[1 50;1 75]; //P/f=A+B*f
B=[30;40];
v=A\B;
disp('at 50Hz');
P_h=v(1)*f1;disp(P_h,'hysterisis loss(W)');
P_e=v(2)*f1^2;disp(P_e,'eddy current loss(W)');
disp('at 75Hz');
P_h=v(1)*f2;disp(P_h,'hysteri... |
5652844d571d26b50fd1b16cb2efb64ced5f5f41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH4/EX4.17/4_17.sci | 12ad94d408f6a414e1e48bc14edfde3ce7d56d46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 916 | sci | 4_17.sci | funcprot(0)
function [polar] = rect2polar(x,y) //Function to convert rectangular coordinates to polar coordinates
polar=ones(1,2)
polar(1)=sqrt((x^2)+(y^2))
polar(2)=atan(y/x)
polar(2)=(polar(2)*180)/%pi
endfunction
clc
Po=200*10^3 //Output Power
f=50 //frequency in hertz
Vl=440
n=91 //effic... |
eb5601fe2a782356f893dcc9777aaf67f309b847 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH7/EX7.17/17.sce | 576a8bd09f236ae7c9d9dd937b01b9c5f7339f2c | [] | 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 | 309 | sce | 17.sce | clc
clear
//INPUT DATA
x=6.40*10^7//electrical conductivity in mho m^-1
t=300//temperature of copper in k
L=2.44*10^-8//Lorentz number in W ohm K^-2
//CALCULATION
K=x*t*L//thermal conductivity of copper in W m^-1 K^-1
//OUTPUT
printf('The thermal conductivity of copper is %3.2f W.m^-1.K^-1',K)
|
742305388be00a754fbe35a35c679070df7eb2a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH14/EX14.7/Chapter14_example7.sce | 242dede47fc1e5fd156e08b31e140184669bae13 | [] | 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 | Chapter14_example7.sce | clc
clear
//Input data
M=2300//Magnetization in A/m
B=0.00314//Flux density in Wb/m^2
uo=(4*3.14)*10^-7//Permeability of free space in H/m
//Calculations
H=(B/uo)-M//Magnetizing force in A/m
ur=(M/H)+1//Relative permeability
//Output
printf('The magnetizing force is %3.0f A/m \n The relative permeability ... |
295e7799114ca4d86687fac801f3e5b90e78e8b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH3/EX3.9/3_9.sce | 19326b318a21071a5441b6fd2029184d93fd1b6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 3_9.sce |
clc
//initialisation of variables
g= 32.2 //ft/sec^2
d= 12 //in
h= 0.1 //m
w= 240 //r.p.m
W= 62.4 //lbft/sec^2
//CALCULATIONS
P= (%pi*(d/24)^4*W*(2*%pi*4)^2)/(4*g)
Pt= P+%pi*(d/24)^2*W*(h/12)
//RESULTS
printf (' Total pressure on bottom of cylinder = %.3f Lb ',Pt)
|
d35383f9c4e3edc6bddec25fcaa7bc7566d0abca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH2/EX2.3/Example2_3.sce | 886c3204a8905c545d302cd67e35655c00d6abaa | [] | 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 | 167 | sce | Example2_3.sce | //Chapter-2,Example2_3,pg 2_12
n=4
Vofs=15
Res=Vofs/((2^n)-1)
D=bin2dec('0110')//decimal equivalent
Vo=Res*D
printf("output voltage\n")
printf("Vo=%.2f V",Vo)
|
9a224720844c33741b816d87e8f776bad8389f7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH4/EX4.5/Ex4_5.sce | d809fa7d9a92f85b58cd65f12ea0b19c3239b8cd | [] | 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,376 | sce | Ex4_5.sce |
clc
clear
//Input data
C=83.7;//The amount of carbon present in the fuel oil according to ultimate analysis of a fuel oil in %
H=12.7;//The amount of hydrogen present in the fuel oil according to ultimate analysis of a fuel oil in %
O=1.2;//The amount of oxygen present in the fuel oil according to ultimate analys... |
40099c6edcdac13c62f2a7af422c2751be116faf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH4/EX4.15/ex4_15.sce | 76a06bc04550a9d9f92987167f33d387c8664f2e | [] | 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 | 321 | sce | ex4_15.sce | //Page Number: 4.17
//Example 4.15
clc;
//Given
//x(t)=10cos(wct+3sinwmt)
//Comparing with standard equation
B=3;
fm=1D+3; //hz
fb=2*(B+1)*fm;
//(a)fm is doubled
fma=2*fm;
fba=2*(B+1)*fma;
disp(fba,"fb with 2fm: ");
//(b)fm is one halved
fmb=fm/2;
fbb=2*(B+1)*fmb;
disp(fbb,"fb with 0.5fm: ");
... |
ef6dbf8e35aab39a9438691b564f5ac53ef3c49d | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Run and Gun.sce | 61e61933f3b37edea39535fb9d246520fb49cc08 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,044 | sce | Run and Gun.sce | Name=Run and Gun
PlayerCharacters=Player
BotCharacters=Counter-Striker Bot PEEKER.bot;Counter-Striker Bot PEEKER.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot PEEKER.bot;Counter-Striker Bot PEEKER.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=1;1... |
25543e8ec7ab575aa053ed3ee5ec150b139f42f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.16/Ex4_16.sce | 04e11d4fc3943a7a05690af36c01ff3d9afd3003 | [] | 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,278 | sce | Ex4_16.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.16
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
Out_hp = 20; // Output of the Motor in HP
eta... |
394bf77573c9e56a5d9ff57050d621bbc2d92131 | d2b4190265ddc2ddd6f63bacfdafae9504390fd0 | /SquareWaveFunc.sce | 75bb5ada4def95db2648ed537a1ed04380ec97ea | [] | no_license | santushtisharma10/AppliedMathematics_with_Scilab | 8dd80f3a36298d844a42a37619e309b53022204d | 28b4de4244768c0bb0eba1daea86d69021d89400 | refs/heads/main | 2023-05-29T04:40:42.507269 | 2021-06-04T13:25:58 | 2021-06-04T13:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | SquareWaveFunc.sce | clc;
x = [1 2 3 4 5 6 7 8 9 10 ];
y = [5 0 5 0 5 0 5 0 5 0 ];
plot2d2(x,y)
xlabel('VALUES OF x');
ylabel('VALUES OF y');
title('SQUARE WAVE FUNCTION');
|
3b5a0b9d3ffd620d225114ba6174bf8b564ec74c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH7/EX7.4/Ex7_4.sce | 9aaa28843d8c95a3b69dcf479368f24d411cf0d9 | [] | 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,548 | sce | Ex7_4.sce | // Exa 7.4
clc;
clear;
// Given data
n=2; // Second order Butterworth filter
fH=1000; // Lower cut off frequency(Hz)
// Solution
printf('Let C = 0.1 μF. \n');
C=0.1*10^-6; // Farads
// Since fH = 1/(2 * %pi * R*C);
// Therefore;
R = 1/(2*%pi*fH*C);
printf(' The calculated value of R = %.1... |
de67ef3476e744ee28e7174b34f87458fd908562 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH2/EX2.1/Example1.sce | 3e576a5d35f818dbc2e1892cee454fa8d4d3e492 | [] | 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 | 439 | sce | Example1.sce |
clear()
clc
disp('Example 1 : Display the current working shell ')
disp('***************************************************************************')
disp('Answer : ')
printf('The current Working Shell is ')
if (getos()=='Linux') then
unix_w("echo $SHELL")
el... |
c12c49a819e8c58b19373bc1008aae98c265b428 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/3_2data.sci | 0e2bb9a3d8811b268391215e91d8c8886efb1f59 | [] | 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 | 123 | sci | 3_2data.sci | a=4;//major axis,in mm
b=3;//minor axis of bar,in mm
T=100000;//applied torque,in N.mm
G=76923;//shear modulus,in N/mm^2 |
3f2111595701721f960073a5376742e2a85bd415 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.4/Ex5_4.sce | ef1229c92617be4df4650204f321155bdf7b842d | [] | 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 | 470 | sce | Ex5_4.sce | //Example 5_4
clc();
clear;
//To calculate the inter planar distance
a=0.82 //units in nm
b=0.94 //units in nm
c=0.75 //units in nm
h=1
k=2
l=3
d=1/sqrt((((h/a)^2)+((k/b)^2)+((l/c)^2))) //units in nm
printf("The Distance between (1,2,3) planes and (2,4,6) planes is d123=%.2fnm and d24... |
a464f4793b4bf1ad5742916aa3826cc1e1688bdd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153.zip/Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153/CH3/EX3.16/ex_3_16.sce | 092ae57ace9e43ea86bb913081cb1ff1123f6de3 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | ex_3_16.sce | errcatch(-1,"stop");mode(2);//Example 3.16 : volume
;
;
format('v',7)
//given data :
a=0.2665; // in mm
c=0.4947;// in mm
V=(3*sqrt(3)*a^2*c)/2;
disp(V,"volume,V(mm^3) = ")
exit();
|
1d82650f03135832adc04bb64708e6a0dc4f7acf | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH3/EX3.2/Ch03Ex02.sce | b931523ccd5b989e5070df449cc6f6d7c50b6de6 | [] | 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 | 324 | sce | Ch03Ex02.sce | // Scilab code Ex3.2: Pg.125 (2008)
clc; clear;
T = 5800; // Temperature of sun, K
b = 2.898e-003; // Wein's constant, m-K
lamda_m = b/T; // Peak wavelength of solar spectrum, m
printf("\nPeak wavelength of solar spectrum = %5.1f nm", lamda_m/1e-009);
// Result
// Peak wavelength of solar spectrum = 499.... |
9164b55c6bad81fdcd06cfe9abd3987ede936052 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanFlow_3DH1D_Parallel_mode1.tst | 0d0af7bcb5a6ae41ef8a7d839f80c7fb42db05b4 | [
"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,074 | tst | ChanFlow_3DH1D_Parallel_mode1.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D homogeneous 1D Channel Flow, SEM parallelisation (2 proc)</description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChanFlow_3DH1D_Parallel_mode1.xml</parameters>
<processes>2</processes>
<files>
<file description="... |
859eae77413c0a7528d66e3e2f966c1a681a3fd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.8/Ex2_8.sce | 4be56a1d435bfe54d32d3d02817e21f3f2cc0a3e | [] | 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 | 147 | sce | Ex2_8.sce | //Example 2-8, Page No- 38
clear
clc
gain_dB = 40
pout_W= 100
pin_W = pout_W/10^4
printf('The input power is %.2f watt',pin_W);
|
c518b8f34e6280ff10ddf54856dc81227398b2c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH2/EX2.8/Example28.sce | 5e0e23e5a5ef4678d3de3a2d4c86ede87efcab91 | [] | 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 | 696 | sce | Example28.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 2, Example 8")
//D2 is siameter in meter, N is rpm, Cr2 in m/s and Cw2=U2 in m/s , V velocity of flow in m/s
D2 = 0.6;
N = 550;
Cr2 =... |
d75394cb1e656cb463c56c91ef329d4fbae5488f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PO2.prev.tst | 79dc5d3598f0374957285e8afc4d83ebfdf75899 | [
"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 | 1,113 | tst | PO2.prev.tst | a^4*m11^2 - 2*a^2*b^2*m11^2 + b^4*m11^2 + 4*a^3*b*m11*m12 - 4*a*b^3*m11*m12 + 4*a^2*b^2*m12^2 + 2*a^4*m11*m13 - 2*b^4*m11*m13 + 4*a^3*b*m12*m13 + 4*a*b^3*m12*m13 + a^4*m13^2 + 2*a^2*b^2*m13^2 + b^4*m13^2 + a^4*m21^2 - 2*a^2*b^2*m21^2 + b^4*m21^2 + 4*a^3*b*m21*m22 - 4*a*b^3*m21*m22 + 4*a^2*b^2*m22^2 + 2*a^4*m21*m23 - 2*... |
1bf406adc760fd400cfadf0fb8b7a54b2713ca18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH3/EX3.8/exa_3_8.sce | c9bf1dd35abe1b0145df0fa6d2e771f418823403 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | exa_3_8.sce | // Exa 3.8
clc;
clear;
close;
// Given data
V_BE= 0.7;// in V
V_CE= 3;// in V
I_C= 1;// in mA
I_C=I_C*10^-3;// in A
bita= 100;
I_B= I_C/bita;// in A
// V_CE= V_BE+V_CB and V_CB= I_B*R_B
R_B= (V_CE-V_BE)/I_B;// in Ω
disp(R_B*10^-3,"The value of R_B in kΩ is : ")
|
015ea3a25185099d3bf576d844d6ffa9da219c5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH2/EX2.10/Ex2_10.sce | cbbd7800fe7729cf2b1df38d514f02896119f37d | [] | 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,238 | sce | Ex2_10.sce | //Exa_2.10
// TO find ABS/BH(average busy season per busy hour) calling rates, design cell capacity for the switch and design Erlangs.
clc;
clear all;
Rlines=15000;//Residential lines
Blines=80000;//Business lines
PWElines=5000;//PBX, WATS, and Foreign Exchange (FX) lines
CR_R=2;//Call rates for Rlines
CR_... |
d05bbb2f6c785c4a62aebe50d96f75a8ae838350 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH2/EX2.8/Ex2_8.sce | 6f0d373be249616fb13a66a0b9fb3e6a42891144 | [] | 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 | 640 | sce | Ex2_8.sce | clear
//
//variable declaration
P1=20.0
P2=30.0
P3=20.0
theta3=60.0*%pi/180.0
//Taking horizontal direction towards left as x axis and the vertical downward direction as y axis.
////sum of vertical Fy & sum of horizontal forces Fx is zero
//Assume direction of Fx is right
//Assume direction of Fy is up
Fx=20.0*cos... |
cc1db132d60c62c0c94f34575c8f3c9c59422900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /296/CH4/EX4.5/eg4_5.sce | 6fcf323559e1535b1f07ccf475e33f74b3358a88 | [] | 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 | 512 | sce | eg4_5.sce | A = 0.5;
Na = 10^17;
p0 = Na;
ni = 1.5*10^10;
dp = 5*10^16;
x = 10^-5;
up = 500;
Tp = 10^-10;
kT = 0.0259;
q0 = 1;
q = 1.6*10^-19;
Dp = kT*up/q0;
Lp = sqrt(Dp*Tp);
p = p0 + dp*exp(-x/Lp);
E = kT*log(p/ni);
E0 = 1.1/2 + E;
Ip = q*A*Dp*dp*exp(-x/Lp)/Lp;
Qp = q*A*dp*Lp;
Qp0 = Qp*10^6;
disp(E0,"steady st... |
3d8b48a3155c5ce473034f4bfc1f73bae14d44e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH6/EX6.12/12.sce | f7221fe8acadc96d2cd9168a66555e5cc32bf007 | [] | 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 | 358 | sce | 12.sce | clc
// Given that
P_in = 100 // power of input signal in mW
P_out = 50 // power of output signal in mW
// Sample Problem 12 on page no. 280
printf("\n # PROBLEM 12 # \n")
alpha = (10 * log10(P_in / P_out))//calculation for absorption coefficient
printf("\n Standard formula used \n alpha=10/L*log(Pi/Po).\n")
printf("\n... |
0f0f9293937b46f7aa75c64cfb92a9b48e253458 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Ordem da Equação.sce | 0c8fa7660c39d4fafc74eff7db0ea48166befb87 | [] | 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 | 321 | sce | Ordem da Equação.sce | clc
clear
close
deff('y2dot=f(ydot,y)','y2dot=-4*y-0.8*ydot');
y(1)=5e-3;
ydot(1)=0;
y2dot(1)=f(ydot(1),y(1));
dt=.05;
t=0:dt:10;
for i=2:length(t)
ydot(i)=ydot(i-1)+dt*y2dot(i-1);
y(i)=y(i-1)+dt*ydot(i-1);
y2dot(i)=f(ydot(i),y(i));
end
Y=[y ydot y2dot]; // [azul,verde,vermelho]
X=[t' t' t'];
plot(X,Y)
... |
c20d19a8c83cc59449aa663d28c56ca83e4dc531 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH16/EX16.14/Ex16_14.sce | be3dced6397be14d68b93fbbff32a4f949d3e418 | [] | 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 | 220 | sce | Ex16_14.sce | clc
clear
//Initialization of variables
dH=-2369859 //Btu
r=1.986 //Gas constant
dn=5.5 //Change in number of moles
T=536.7 //R
//calculations
dQ=dH+dn*r*T
//results
printf("Higher heating value = %d Btu",dQ)
|
589ea8771cbc23099cf0fea5724fe2f6eea8ad64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.21/example6_21.sce | 4a21ae9885659dbac8904d40fdb06a2c2bff0bd5 | [] | 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 | 335 | sce | example6_21.sce | syms R1 R2 R3 C1 C2 C3 L1 L2 s;
T1=1/(R3*(R1+s*L1)*(R2+s*L2)*C1*C2*C3*s^3)
L1=-1/(s*(R1+s*L1)*C1);
L2=-1/(s*(R2+s*L2)*C1);
L3=1/(-(s*L2+R2)*s*C2);
L4=1/(-s*R3*C2)
L5=-1/(s*R3*C3)
delta=1-(L1+L2+L3+L4+L5)+(L1*L3 + L1*L4 + L1*L5 + L2*L4 + L2*L5 + L3*L5)-(L1*L3*L5)
del1=1;
TF=(T1*del1)/delta ;
disp(TF,"V... |
27422cc95e0f36bd7b38109d21572a33608d36ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH5/EX5.11/Example5_11.sce | 08b45cba542b21e3ebe94acaf206a5fefd0d9723 | [] | 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 | 392 | sce | Example5_11.sce |
clear;
clc;
printf("\t Example 5.11\n");
Q=14; //steady heat transfer,W
D=0.06; //diameter of heat source,m
l=0.3;; // length of source below surface ,m
T=308; //temperature of heat source,K
T1=294; //temperature of surface,K
k=(Q/(T-T1))*(1-(D/2)/(D*10))/(4*3.14*D/2)+0.025; // thermal conductivity of s... |
4126d812cb234332b7a903f38eb762f9ff556279 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH13/EX13.11w/13_11w.sce | 2418e15d26054c8c02eb3bc80b42f270466149cb | [] | 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 | 885 | sce | 13_11w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 13.11w
//calculation of the velocity of the water coming out of the opening
//given data
AA=.5//area(in m^2) of the tank
AB=1*10^-4//area(in m^2) of the cross section at the bottom
m=20//mass(in kg) of the load
h=5... |
8d66ee230b637fbb8bf781b9ca467c910327c6a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH2/EX2.7/Ch02Ex7.sci | 5fe8c5b684eeeabace77362db0088bd92351b404 | [] | 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,011 | sci | Ch02Ex7.sci | // Scilab Code Ex2.7 Bond formation Energy for K+ and Cl- ion pair: Page-70 (2010)
eps_0 = 8.854D-12; // Absolute electrical permittivity of free space, coulomb sqaure per newton per metre square
e = 1.6D-19; // Electronic charge, C
IP_K = 4.1; // Ionization potential of potassium, electron-volt
EA_Cl = 3.6; // El... |
2b8c8a10249ffcd9a59fae9807d3cf38e905929a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH3/EX3.12/ex3_12.sce | a244ab5195956e605602f06877000e4f4dc2ae0a | [] | 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 | 178 | sce | ex3_12.sce | // Exa 3.12
clc;
clear;
close;
// Given data
N_A = 2*10^16;// in /cm^3
N_D = 10^16;// in /cm^3
C = N_A-N_D;// in /cm^3
disp(C,"Carrier concentration in holes/cm^3 is");
|
bb362ed6f0b318097a9e353f5d64ec1495da8917 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH3/EX3.12/ex_3_12.sce | 4599b1c2375c216afb29ad57d154dca41aa4832d | [] | 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 | 686 | sce | ex_3_12.sce | //example no. 3.12
//solve system by decomposition method
A=[1 1 -1;2 2 5;3 2 -3]
b=[2;-3;6]
// hence we can observe that LU decomposition method fails to solve this system since the pivot L(2,2)=0;
//we note that the coefficient matrix is not a positive definite matrix an... |
460d89028eea2873da82eb2e050f788f8f3795db | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.32/Ex4_32.sce | 8f3532ec8b320ad0d4ccb9c9279433709cd0086d | [] | 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 | 837 | sce | Ex4_32.sce | clc;
Vt=230;//Supply voltage
P=4;//No of poles
A=2;//No of parallel paths for armature conductors
Z=500;//No of armature conductors
Ra=0.2;//armature circuit resistance in ohm
Rs=0.1;//field resistance in ohm
Il=40;//line current
N=1000;//rated speed in rpm
Ia1=40;//armature current for dc series motor at 40 A... |
173052b7b03d22c6c8ccf41bda825d3474dd4dd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH9/EX9.1.1/9_1_1.sce | 2b808164db077e35f93495e53b3f6a5fbefbaaa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 9_1_1.sce | clc
//initialisation of variables
d= 1.6 //lb/ft^3
vk= 6.2*10^-6 //ft^2/sec
R= 1.8 //lbf
v= 100 //ft/sec
d1= 64 //lb/ft^3
vk1= 1.7*10^-5 //ft62/sec
l= 10 //ft
//CALCULATIONS
u= v*vk1/(vk*l)
u1= v*vk1/(vk*l*1.98)
r= d1*l^2*(u/100)^2/d
F= r*R
//RESULTS
printf (' resistance= %.f lbf ',F)
|
828fa65879974029a215e7d12d51416fae96c9ca | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/ex16.sci | 9a30a18a29ba2c7dc4eeeb26f4c44680cbd1536d | [] | 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 | 344 | sci | ex16.sci | clf;
c=3.986e+5;
function[y]=f16(x,u)
y(1)=u(2);
y(2)=-c*u(1)/((u(1)^2+u(3)^2)^(3/2));
y(3)=u(4);
y(4)=-c*u(3)/((u(1)^2+u(3)^2)^(3/2));
endfunction
T=2*24*60*60;
//Q1
teta=linspace(0,2*%pi,1001);
r=6400;
plot2d(r*cos(teta),r*sin(teta),2);
y0=[6400+35786;0;0;3.07];
t=linspace(0,T,5001);
y=ode(y0,0,t,f16... |
972523c3b824081519842635c15e7a07727b8d81 | 61da6be21995bc4b23f268b03fc13d0a33d818f3 | /test/split.tst | fe3192f7df6919c592ac81dc884be4869bdd6c10 | [
"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 | 114 | tst | split.tst | ## Test the split command
set echo
set interactive
set quiet
read <mergeinfo.svn
:6 split at 2
prefer git
inspect
|
13960ca86d797f3bdd974ed0eab783f27c1521c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH2/EX2.2/Ex2_2.sce | a8d0fcdda732d14c342df03cb7599427751033ac | [] | 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 | 165 | sce | Ex2_2.sce | //Example 2.2, page 49
clc
h=6.63*10^-34//Joule-sec
vo=5.6*10^14
w=h*vo
printf("\npower is %e per sec",w)
ev=(1/(1.6*10^-19))
wo=w*ev
printf("\nEnergy is %f ev",wo)
|
c8cddf3f374e7f1b4e1dcddd39d6f237a1d9ca7c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_-_1_T._Singh_704.zip/Electrical_Machines_-_1_T._Singh_704/CH2/EX2.37/ex2_37.sce | 07235aca9174fbf7256395ebbca540036fef048e | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 877 | sce | ex2_37.sce | errcatch(-1,"stop");mode(2);//Caption:In a dc machine calculate speed at which the induced emf will be 250 Volts and also calculate the increase in main flux of field in percentage for induced emf of 250 Volts and speed 700 rpm
//Exam:2.37
;
;
E_1=220;//Primary emf(in Volts)
N_1=750;//Speed of the machine at 220... |
760fca5f01aa17d0b70c8dfe7fc580d8500c587f | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH5/EX5.14/EX5_14.sce | fa7e73ea51d8c88dd09a15ea2d57b2b2109ac7b7 | [] | 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 | 709 | sce | EX5_14.sce | //chapter 5
//example 5.14
//page 443
clear;
clc;
disp("example 5.14");
disp("star connected alternator")
printf("\n");
KVA=1500; //rating
ph=3; //3-phase
V_l=6600; //voltage
Ra=0.4 //armature resistance
Xs=6; //reactance
Ia=(KVA*1000)/(sqrt(3)*V_l);
printf("Full-l... |
3e57b8009a8f9eeac92d55b300e32d6690ba01e6 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/dsgnmtrcs.sce | 7ae14d79834df6edeab994095c7eba1a36d7b03e | [] | 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 | 16,266 | sce | dsgnmtrcs.sce | dgn=figure('figure_position',[300,300],'figure_size',[300,300],'auto_resize','on','background',[27],'figure_name','Design Metrics');
delmenu(dgn.figure_id,gettext('File'))
delmenu(dgn.figure_id,gettext('?'))
delmenu(dgn.figure_id,gettext('Tools'))
delmenu(dgn.figure_id,gettext('Edit'))
toolbar(dgn.figure_id,'off')
dgn... |
b85bcd876a6b52b71056ab297da9259f75287ec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.9/ex_3_9.sce | ef44dc42941ccfe2451f4e287ebacdc2bab0df33 | [] | 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,202 | sce | ex_3_9.sce | //Example 3.9 // resistance and current
clc;
clear;
close;
//given data :
V=240; // voltage in volts
r1=2; // resistance in ohm
r2=3; // resistance in ohm
r3=8.8; // resistance in ohm
r4=10; // resistance in ohm
r5=3; // resistance in ohm
R1=(r1*r2)/(r1+r2); // equivalent resistance of parallel branch
R2=R1+r3; // e... |
7be10b74d71c726b37c26d64c4e1d44562593182 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH11/EX11.1/ex1.sce | bae723cedbc2ece411c40dc13bc8eebc657730ba | [] | 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 | 849 | sce | ex1.sce | //Ques 1
//To determine the efficiency of Rankine cycle
clc
clear
//1-Inlet state of pump
//2-Exit state of pump
P2=2000;//Exit pressure in kPa
P1=10;//Inlet pressure in kPa
v=0.00101;//specific weight of water in m^3/kg
wp=v*(P2-P1);//work done in pipe in kJ/kg
h1=191.8;//Enthalpy in kJ/kg from table
h2=h1+... |
d6e925e6aff6c6cf4fa1ad962ddcde56dff6d9cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.23.1/Ex8_23.sce | 69c308dc51d02934ba2f602d7a63a87864f25574 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex8_23.sce | clc
clear
V1=5;
P1=1;
P2=5;
n=1.25;
Em=0.9;
IP=[n/(n-1)]*[P1*100*V1/60]*[((P2/P1)^((n-1)/n))-1];
SP=IP/Em;
printf('Shaft Power: %3.1f kW',SP);
printf('\n');
IsoP=P1*100*V1*(log(P2/P1))*(1/60);
Eo=IsoP/SP;
printf('Overall Efficiency: %3.0f Percent',Eo*100);
printf('\n');
|
b7d3de6fcc3aaa707b51438703ebe5c2488f215c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH7/EX7.9/9.sce | a69b1a4d6227a72772acf9303c8ab9544060d16e | [] | 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 | 699 | sce | 9.sce | clc
clear
//input data
u=2800 //rocket speed in m/s
Cj=1400 //effective exhaust velocity in m/s
mp=5 //propellent flow rate in kg/s
q=6500 //heat of propellent per kg of propellant mixture in kJ/kg
//calculation
s=u/Cj //effective jet speed ratio
np=(2*s)/(1+s^2) //propulsive efficiency
F=Cj*mp*10^-3 //th... |
6a0b6b8a00e0310ca29fae2fd51d803a7762506c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH2/EX2.22/ex2_22.sce | 1409854a81b8014a8a924762a67b5913a9e456da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | ex2_22.sce | // Exa 2.22
clc;
clear;
close;
format('v',7)
// Given data
V_L = 25;// in V
I_L = 200;// in mA
I_L = I_L * 10^-3;// in A
R_L = V_L/I_L;// in ohm
Gamma = 3/100;
//Gamma = 1/(6*sqrt(2)*(omega^2)*L*C);
f = 50;// in Hz
omega = 2*%pi*f;// in rad/sec
//LC = 1/( 6*sqrt(2)*(omega^2)*Gamma )
L = R_L/(3*omega);// ... |
ae47c0b6809d3f44bdf25f7ecf76bc9f1fa98a23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH7/EX7.7/7_7.sce | 416d9879a012854a2e8468347d2a2cf19d118145 | [] | 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 | 353 | sce | 7_7.sce | clc;
clear;
format('v',6);
V1=60;
V2=20;
r1=2; //in cm
r2=6; //in cm
r=4; //in cm
disp("where A and B are constants.","V=A*ln(r)+B","The potential V as a function of coordinates is ");
disp("B=85.2","A=-36.4","using the given data,we get");
V=-36.4*log(r)+85.2;
disp(V,"The pot... |
26472ec381ba76f1a3f33630c1bb72ae6c20f56e | 9e81e75d5f9cddfd3c9fe8eb932ce2e9de0fdf39 | /libs/lib_interLinear.sce | 8f78d95b242d1046b38f873d0a8571f2a4ab20c7 | [] | no_license | pimentafm/TPEAM313_ajustLinearInjuncionado | 1c2735218973cac3374cbfc951565675bc538945 | 2fcba16336844ff38f1e6089cd492c2666f68880 | refs/heads/master | 2021-08-21T21:03:17.515970 | 2017-11-29T02:46:29 | 2017-11-29T02:46:29 | 112,415,589 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,420 | sce | lib_interLinear.sce | // Topografia IV
// Allan Turini Speroto 78233
// Fernando Martins Pimenta 80018
// Gabriel Batista Freitas 82718
// Matheus Lopes Vieira 80020
// Funções para o processamento da interseção linear
function [Lb, Xa, sigma_d_xy] = getParams(Xp, Yp)
/*
Retorna os vetores Lb, Xa e sigma_d... |
d8bb97892fdc8dfc746cc91c9943415885f42182 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.15/example_3_15.sce | 883e5d92b537175788b75aaebf45fe95bdd4ed3a | [] | 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,278 | sce | example_3_15.sce | clear;
clc;
disp("--------------Example 3.15---------------")
printf("Another example of a nonperiodic composite signal is the signal received by an old-fashioned analog black-and-white TV.\n");
s=30; // screen is scanned 30 times per second
//screen resolution = 525 x 700
vl=525;
hl=700;
pixels=vl*hl; // tota... |
888640c463e5319dbc2e220abb3d1c4f5654cea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH13/EX13.5/13_5.sce | 1b588f1a614146634bcfaf6d7ab617d6a034f409 | [] | 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,131 | sce | 13_5.sce | //Example 13.5
//Stirlings Central Difference Derivatives
//Page no. 426
clc;close;clear;
printf(' x\t\t y\t\t d\t\t d2\t\t d3\n')
printf('---------------------------------------------------------------------------')
h=0.01;s=0.5;
deff('y=f1(x,s)','y=((z(x,3)+z(x-1,3))/2+s*z(x-1,4)+(z(x-1,5)+z(x-2,... |
b6164b72a1bbe0f98138dc3cdcdd2144629c6a6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.13/EX6_13.sce | 36eaf0f7002c03521939091e4a02a7c3555740cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | EX6_13.sce | //Example6.13 // Determine the time constant of the integrator
clc;
clear;
close;
Vo = 20 ;
t = 1*10^-3 ;
VI = -1 ; // at t =0 ;
// The output voltage of an integrator is define as
RC = t/10 ;
disp(' The time constant of the given filter is RC = '+string(RC)+ ' sec ');
R = 1*10^3 ; // we assume
C = R... |
de938ed91a8a5b907a667dd1d857be98e8075fab | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.18_1.tst | 29eb634bf1013aaa4c22705c52f0cd17d4b3efeb | [] | 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 | 3,867 | tst | bow.18_1.tst | 18 25:0.5 30:0.1 69:0.25 200:2.0 202:0.14285714285714285 995:1.0 1357:1.0 1388:1.0 1462:1.0
18 6:1.0 14:0.037037037037037035 54:0.1 69:0.25 121:0.16666666666666666 200:1.0 202:0.14285714285714285 409:1.0 941:1.0 995:1.0 1730:1.0
18 4:0.09090909090909091 6:1.0 14:0.037037037037037035 25:1.0 30:0.2 43:0.3333333333333333 ... |
c6dbddf54347d882b7694d3a7c1f235a8fb18bd8 | 68e53df229b123d7681a4f7fa4db43b4982d5362 | /dlyapchol.sce | a4f3ffd8f28ae0218a6005cca01969bd9e554e63 | [] | no_license | yeoleparesh/Control-system | 06c30e594d51fec7a8ffabc452a7866b38604a23 | dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b | refs/heads/master | 2021-01-17T12:38:05.661769 | 2019-01-03T12:03:53 | 2019-01-03T12:03:53 | 59,283,431 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | dlyapchol.sce | // Function dlyapchol
//lyapunov equation
a =[-0.25 0.25; 0.6 -0.4];
b=[1.5442;0];
r=dlyapchol(a,b)
//generalized lyapunov equation
a =[-0.25 0.25; 0.6 -0.4];
b=[1.5442;0];
e=[11 22 ;33 44];
r1=dlyapchol(a,b,e)
|
dc7e0c5d27150630d55507dab87efa2346f20b7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH2/EX2.16/Ex2_16.sce | 02b9652be9cfd3d45190bd14a216b288faf06903 | [] | 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,193 | sce | Ex2_16.sce | // Example No. 2.16
// To find the length of DCF so that the pulse width (FWHM) at the output of the DCF is twice the pulse width at the input of the TF
// Page No. 84
clc;
clear;
// Given data
beta2TF=-21*(10^(-12))^2; // Dispersion coefficient of transmission fiber in s^2/... |
e2aae1e1d899e19ed098b07357b8aafb69a34f74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.3/3_3.sci | e2e9da35453da6902b0743bfb3b95d58412a0bf1 | [] | 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 | 370 | sci | 3_3.sci | // Calculate the range of readings
clc;
fsd=1000;
TP=100;
Efsd=(1/100)*1000;
disp(Efsd,'magnitude of Error when specified in terms of full scale deflection (w)=')
disp('Thus the meter will read between 90W and 110W')
Etv=(1/100)*100;
disp(Etv,'magnitude of Error when specified in terms of true value (w)=')
dis... |
de58fe98917dcc0d1b05b309bbc35e4559eb7bff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH2/EX2.3/example2_3.sce | 2ab08636035d8013043837244c549063eeeff72b | [] | 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 | 547 | sce | example2_3.sce | //example2.3
clc
disp("Consider shunt generator as shown in the fig 2.29")
disp("I_a=(I_L)+(I_sh)")
disp("I_sh=(V_t)/(R_sh)")
disp("Now, V_t=250 V")
disp("and, R_sh=100 ohm")
i=250/100
disp(i,"Therefore, I_sh(in A)=")
disp("Load power=5 kW")
disp("Therefore, P=(V_t)*(I_L)")
i=(5*10^3)/250
disp(i,"I_... |
19969cadc9e99d530668031a58c367bbceb5f3c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH4/EX4.3/4_03.sce | 74c85ffca9a82dfa9266f1b22f613cc32348348d | [] | 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 | 805 | sce | 4_03.sce | //Example No. 4_03
//Pg No. 64
clear ; close ; clc ;
a = 0.1
b = 0.4
for i = 1:8
afrac(i) = floor(a*2)
a = a*2 - floor(a*2)
bfrac(i) = floor(b*2)
b = b*2 - floor(b*2)
end
afrac_s = '0' + '.' + strcat(string(afrac)) //string form binary equivalent of a i.e 0.1
bfrac_s = '0' + '.' + strcat(s... |
14a839285611c341a22add5927a9db683bd18c90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH2/EX2.8/Ex2_8.sce | 52b925862779b50b62f8029a4389f3fae8de19dc | [] | 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,070 | sce | Ex2_8.sce | clc
VLB=2400 //line to base voltage in volts
Ix=2005 //current in amperes
xda=VLB/(sqrt(3)*Ix)
mprintf("xda=%fΩ\n",xda)//ans may vary due to roundoff error
Ifv=116 //current in amperes
ma1=VLB/(sqrt(3)*Ifv)//equal to ma` in textbook
mprintf("má=V1B/Ifv=%fΩ\n",ma1)//ans may vary due to roundoff error
//from ex 2_7
V1=V... |
7613874aee970c46ea6a99a32fab9776666aeda3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.a.6/Example_a_9_6.sce | a28cb176b3148f76fbbbf21cabf30a09400fc91a | [] | 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 | 852 | sce | Example_a_9_6.sce | //Example_a_9_6 page no:406
clc;
Vl=400;
Vrnmag=400/sqrt(3);
Vrnang=0;
Vynmag=400/sqrt(3);
Vrnang=-120;
Vbnmag=400/sqrt(3);
Vrnang=-240;
R=10;
omega=314;
L=1;
C=100*10^-6;
Yph=(1/R)+(1/(%i*omega*L))+(%i*omega*C);
Iph=Vrnmag*Yph;//multiplication of Vrnmag and Yph is rounded off in text book so output line ... |
d69c7a050f58ba9011448ea6e5deaa590c907d2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH14/EX14.1/Ex14_1.sce | 965ef375040acc49bf294725de2031784941d7d5 | [] | 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 | Ex14_1.sce |
// Variable Declaration
TMS = 0.5 //Time multiplier setting
I_f = 5000.0 //Fault current(A)
CT = 500.0/5 //CT ratio
set_plug = 1.0 //Relay plug set
I_relay = 5.0 //Rated relay current(A)
// Calculation Section
PSM = I_f/(CT*set_plug*I_relay) //Plug setting multiplier
T1 = 1.0 ... |
c4599ca7afe3bbaa001be3e177001d29659305dc | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/Hex_channel_m3_srhs_par.tst | e5d68d27b8d0731db9ef381f6f90e03588800ecf | [
"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,082 | tst | Hex_channel_m3_srhs_par.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D channel flow, Hexahedral elements, P=3, Successive RHS(5), par(2)</description>
<executable>IncNavierStokesSolver</executable>
<parameters>--use-scotch Hex_channel_m3_srhs.xml</parameters>
<processes>2</processes>
<files>
<file de... |
ce851966711bb2f9985321ac9ebd69d5baa065b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH4/EX4.15/ex4_15.sce | 5f9e9a4f5c755275f6ce268f28a2a34de45c3dc0 | [] | 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 | 242 | sce | ex4_15.sce | // Example 4.15, page no-156
clear
clc
p=10000 //power fed to the antenna in W
ag=60 //Antenna gain
loss=2 //Power lossin feed system
adb=10*log10(p)
EIRP=adb+ag-loss
printf("Earth station EIRP = %ddB",EIRP)
|
30ebcff88298adf537dc0de947d301b97879202e | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/17.tst | c06783a7593331aa1af84555a6e82acfd9a6b6fe | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,260 | tst | 17.tst | 999 997
100
621 555 22
621 555 243
621 555 278
621 555 229
621 555 209
621 555 23
621 555 5
621 555 154
621 555 21
621 555 125
621 555 128
621 555 52
621 555 326
621 555 9
621 555 375
621 555 188
621 555 58
621 555 71
621 555 149
621 555 168
621 555 1
621 555 61
621 555 165
621 555 79
621 555 ... |
9ce8c719abc96fc9099ca5a9e249d6a12ce08b12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH13/EX13.2/13_2.sce | 4ad6e9965f690476f72ecf57ccc350676cea56ad | [] | 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 | 235 | sce | 13_2.sce | clc
//initialisation of variables
r= 82.4 //ohms
k= 0.002768 //ohm^-1
R1= 326 //ohm
//CALCULATIONS
K= r*k
K1= (K/R1)
//RESULTS
printf ('cell constant= %.4f cm^-1',K)
printf ('\n specific conductance= %.3e ohm^-1 cm^-1',K1)
|
d08226ec47b122e5fe466b688ded8b97fa90531f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/indentsci.sci | 138fe578c6c8e04c8a2863634183121ddd245529 | [
"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 | 103 | sci | indentsci.sci | function [txt]=indentsci(txt)
//
//!
// Copyright INRIA
bl=' '
txt=bl(ones(prod(size(txt)),1))+txt
|
44f1ead599ed24b4180aac5ea011240a1a4095ec | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH16/EX16.52/Ex16_52.sce | 55b61efdda193f36b8b5118557b04f04dbfe94c8 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Ex16_52.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
W=32.2 //lb
T=120 //lb
m=1 //slug
r=6/12 //ft
//Calculations
w=sqrt((T*(3/5)*4)/(m*r*3)) //rad/s
//Result
printf('The angular speed permissible is %f rad/s',w)
exit();
|
910cb604809fc24acf45329d24c79ba1a25a96c3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fiber_Optics_Communication_H._Kolimbiris_2855.zip/Fiber_Optics_Communication_H._Kolimbiris_2855/CH12/EX12.3/Ex12_3.sce | d50b4fd49a9793415549a05bdbe3e592e9b71af3 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex12_3.sce | errcatch(-1,"stop");mode(2);//Chapter 12
//page no 432
//given
;
all;
Pt1=-18; //in dBm for 50/125 micron fiber
Pt2=-10; //in dBm for 100/125 micron fiber
Pd=Pt1-Pt2;
printf("\n Additional Power = %0.0f dBm",Pd);
exit();
|
f53ce486f3fce0e87abc8f17548d02d60c1e8611 | de14a6897d4397228a52bacb8905b8807370ef4b | /gibbs2.sci | 1f6b19e49981bb28a76f562d35f6a60324b10e87 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sci | gibbs2.sci | function out=S2(x,p)
somme=0;
for i=0:p
somme=somme+cos((2*i+1)*x)/(2*i+1)^2;
end
out=%pi/2-somme*4/%pi;
endfunction
//pas de discontinuite, donc pas d'effet Gibbs
clf;
x=linspace(-%pi,%pi,10000);
n=100;
plot(x,S2(x,n));
title("n=100");
|
c3ea9815f9e9c7d41757a263c10e78c3a2159b39 | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /klava/kernel/tests/klaviotest/tests/vio_chsize.tst | ac426d05d1cb21605db22e2c75b3106e7ed58876 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,036 | tst | vio_chsize.tst | # vio_chsize.tst
#
# (virtual IO: operations that change file size)
#
read 0 5716 1.tmp
expect 0 5716 0
compare_file 1.tmp data1.dat
# shrink file
set_size 0x1500
expect 0
read 0x1400 0x100 1.tmp
expect 0 0x100 0
compare_file 1.tmp result13.dat
read 0x1400 0x100 1p.tmp portion
expect 0 0x100 0... |
5f4f0dc7b6be9ea83a85f62740c06d1a66057752 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/interpolasi dan polinom/interpolasi_lagrangre.sce | 82e19e4bc31dce0ff146b0cb44f978ce2bfd7f04 | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33 | sce | interpolasi_lagrangre.sce |
function lagrangre()
endfunction |
8873a1031fa695d071aa5d7e69bf8c9b1728dc9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH4/EX4.10.a/EX_4_10_a.sce | bb83ff3d44176b0e9d51917a7f390d9036d8564b | [] | 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 | 621 | sce | EX_4_10_a.sce |
//Example 4.10.a//total load of lights and fans
clc;
clear;
close;
lp=50;//no. of light points
lw=60;//wattage of light points
fp=20;//no. of fan points
fw=100;//wattage of fan points
wpp=10;//no. of wall plug points
wppw=60;//wattage of wall plug points
bp=5;//no. of bell points
bpw=40;//wattage of bell points
ppp=8;... |
10f53181dd2c252f95cf9b4b949626b66fe2d5b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH6/EX6.10/6_10.sce | ec227cc593165b32383a4d6b70277543a8244d89 | [] | 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 | 6_10.sce | //Force P required to raise the load
eta=0.70
W=2500 //N
//refer fig. 6.17
//For third order pulley
//VR=2^2-1
//For whole system
VR=3+3
P=W/(eta*VR) //N
printf("Required force p=%.2f N",P)
|
37f3860dfb1a6286edde075eb01837bd5842f679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.25/example1_25.sce | 163cc97a355adc3ab7361e75bfce73d5788f4377 | [] | 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 | 415 | sce | example1_25.sce |
//exapple 1.25
clc; funcprot(0);
// Initialization of Variable
time=4+20/60+30/3600;
accn=time*9.8565/3600;//acceleration
stime=time+accn;//sideral time
disp("local mean time in past midnight observed:");
a=modulo(stime*3600,60);
printf("seconds %.3f",a);
b=modulo(stime*3600-a,3600)/60;
printf(" minutes ... |
8108b9c6bdaf0b41bd07a1ed50b68045d024be39 | 4b1d4672fa994587ea62810e2f0c57b3a652f278 | /CSpeech_Session2_SDL.sce | 95a38d74ebe95894e5c980d348c34f7b3b2da68c | [
"Apache-2.0"
] | permissive | VCSchoots/Colour-Speech | 57305d6c20875c52e130dabaf705773404e2aec8 | df1d5f13c1bb944f918acafb3cc562e918ee3195 | refs/heads/master | 2021-07-02T00:47:58.475654 | 2019-03-04T19:51:39 | 2019-03-04T19:51:39 | 136,158,365 | 0 | 0 | Apache-2.0 | 2018-09-12T10:15:08 | 2018-06-05T10:06:37 | Scilab | UTF-8 | Scilab | false | false | 9,321 | sce | CSpeech_Session2_SDL.sce | ####### INITIATION #######
# Initiation of the scenario and the main PCL-file
scenario = "CSpeech";
scenario_type = fMRI_emulation;# set to fMRI at the scanner!
pcl_file = "CSpeech_Session1_MAIN.pcl";
pulse_code = 255;
pulses_per_scan = 1;
scan_period = 2000;
write_codes = true;
default_output_port = 1;
# !!!!!!!!!!!... |
0f1858e0a0bc344fc3331419e4b3aa6b296b3f5e | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test3-12.tst | fdafb58f9ffa0de498f763e5cec26cc6a20bf179 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | tst | test3-12.tst | main
function fibo(n);
array[10] f;
var i;
{
let f[0] <- 0;
let f[1] <- 1;
let i <- 2;
while i < 10 do
let f[i] <- f[i - 1] + f[i - 2];
let i <- i + 1
od;
return f[n]
};
{
call outputnum(call fibo(9))
}.
|
4a148327701c3a23956705a45d20ec1a93d9e1a0 | 0c5d5d2faf2e20464f1d35715b838f50a335ddf5 | /tests/remove.tst | e4e44d14bb649a07119fa033e70ecbef5efe7ba4 | [] | no_license | lmartel-school/cs244b-lab1 | cb0ed7fed5ab53c7673b7ae18cfb99e9f4c23a55 | f855aa381796cd82c40b0863e39eb41bff5ec820 | refs/heads/master | 2021-01-04T22:33:18.154316 | 2014-10-19T21:36:41 | 2014-10-19T21:36:41 | 25,385,346 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | tst | remove.tst | remove BADPATH
create /test 123
remove /test
remove /test
remove /foo
create /test abc
create /test/b def
remove /test
|
a00ec69a92f1e2912cbda6024c489b8d45978043 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/xdess/errbar.sci | b9243cb264536f4c2dbe01277da35d6f25c19d1f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 1,060 | sci | errbar.sci | //<>=errbar(x,y,em,ep)
//<>=errbar(x,y,em,ep)
// Rajoute des barres d'erreur sur un graphique 2D
// x et y decrivent les courbes (voir plot2d)
// em et ep sont deux matrices la barre d'erreur au point
// <x(i,j),y(i,j)> va de <x(i,j),y(i,j)-em(i,j)> a <x(i,j),y(i,j)+em(i,j)>
// x,y,em et ep sont donc des matrices (p,q)... |
e6de8f9324cdfd932548c143af0d16cf73438906 | 449f0d9106e35fc361bdb53d55d9563796f0d2c3 | /week8/scilab.sce | 07894bf36c160297eef4f507f4772448e515bbac | [] | no_license | aleksey-sinos/OpenEdu | 72eefffcc4ddbb45345a9bee61e534f9bf540390 | 6c3b4943a669b9398ad75e0fae44937cc6b04dc0 | refs/heads/master | 2020-06-30T13:29:27.839046 | 2019-12-04T07:47:12 | 2019-12-04T07:47:12 | 74,368,213 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,061 | sce | scilab.sce | ////////////////////////////////////////////////////////////////////////////////
//// Неделя 8.
//// Формирующий фильтр.
//// Моделирование динамики матрицы ковариаций в байесовском подходе.
//// Рекуррентный метод. Векторный случай
////////////////////////////////////////////////////////////////////////////////
clear... |
ec9f8be1432a1ac963851c41e0f38040074fce20 | 918e8207504f36c7eaf613b62c71e91ad3a33a8a | /2017/educrace_by_lulu/EducRace/DATA/Scenario/CarCrash.sce | dfbe09bf2bf0c4718f20d9740276b441fa2568b1 | [] | no_license | lazarusccr/GraphicsContest | b1299eeb74449b8714f126deeb64dc02da285260 | 8dec398588970e958c7f08ab7be32af760acbbd6 | refs/heads/master | 2021-04-29T07:29:46.122593 | 2017-12-28T16:26:51 | 2017-12-28T16:26:51 | 77,950,829 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | CarCrash.sce | Tint 255 0 0 0
Label Here1
TintAlphaChange 100 0.5 Linear
Wait 0.5
TintAlphaChange 0 0.5 Linear
Wait 0.5
Goto Here1 |
7846c5046a9bbf62b92629a56e99f16a7cfd6b57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH33/EX33.3/33_3.sce | 4f5a9ed1fb4d293dcea4cb1bc06e34f9b289888d | [] | 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 | 498 | sce | 33_3.sce | clear//
//Variables
RC = 250.0 * 10**-12 //Time constance (in seconds)
Vomax = 50.0 //Maximum output voltage (in volts)
tau = 0.05 * 10**-6 //time (in seconds)
//Calculation
alpha = Vomax / RC //alp... |
8c21ea46c6147b59ee2b5c09eb2dbfc43a55933d | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 4/Listing423.sce | 8dc0af8414d1c0e7275531f299be909e029735c0 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | sce | Listing423.sce | clc
clear
clf()
t=[0:%pi/20:2*%pi]';
z=sin(t)*cos(t');
plot3d(t,t,z)
|
71fca8adc76f73d7b66b09702db6e398484f53fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH2/EX2.30/ex2_30.sce | 83275d945e9a907bde3dce3dd892fab08736f677 | [] | 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 | 260 | sce | ex2_30.sce | // Example 2.30 page no-95
clear
clc
B=0.1 //Wb/m^2
Vh=50 //mV
I=10 //mA
rho=2*10^5 //Ohm-cm
w=3*10^-3 //m
x=B*I*10^-3/(Vh*10^-2*w)
printf("\n1/RH=%.3f",x)
y=1/(rho*10^-2)
printf("\nConductivity = %f mhos/meter\nmu=%.0f cm^2/V-sec",y,(y/x)*10^6)
|
b2c8d66cfa144e146bfa738776543f6afd115238 | 61e3e2317e065462d468e42022e5ea06c70c9c7e | /dtree/ex/monk1.tst | 120f6277af6698f074d397f69644a9a09db83207 | [] | no_license | paul-brett/borgelt | 4374959e70557717c19d73f887e4d136f1427299 | 25868b8a63a885d387ddcd9ad983b12978b7a083 | refs/heads/master | 2020-03-17T03:43:28.063793 | 2018-05-13T16:05:55 | 2018-05-13T16:05:55 | 133,247,844 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,084 | tst | monk1.tst | att1 att2 att3 att4 att5 att6 class
1 1 1 1 1 1 1
1 1 1 1 1 2 1
1 1 1 1 2 1 1
1 1 1 1 2 2 1
1 1 1 1 3 1 1
1 1 1 1 3 2 1
1 1 1 1 4 1 1
1 1 1 1 4 2 1
1 1 1 2 1 1 1
1 1 1 2 1 2 1
1 1 1 2 2 1 1
1 1 1 2 2 2 1
1 1 1 2 3 1 1
1 1 1 2 3 2 1
1 1 1 2 4 1 1
1 1 1 2 4 2 1
1 1 1 3 1 1 1
1 1 1 3 1 2 1
1 1 1 3 2 1 1
1 1 1 3 2 2 1
1 1 ... |
25b3d80cd296f57a2f9db56c00610b4012d82414 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.32/ch8_32.sci | e6c9a3af761beaa81b9fc602299e09c771c47fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sci | ch8_32.sci | //to calculate syncronising power/elec deg,pu sync torque/mech deg
clc;
j=sqrt(-1);
Xd=.8;
Xq=.5;
Vt=1;
pf=.8;
phi=acosd(pf);
Ia=1*complex(cosd(phi),sind(phi));
Ef=Vt-j*Ia*Xq;
Eff=abs(Ef);
dl=atand(imag(Ef)/real(Ef));
w=-dl+phi;
Id=abs(Ia)*sind(w);
Ef=Eff+Id*(Xd-Xq);
Psyn=abs(Ef)*Vt*cosd(dl)/Xd+Vt^... |
df41a3ba102497827ce3c5743ddf540585dd614a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH13/EX13.4/ex13_4.sce | 6eb8e596a852b4cc12a527dc69617e5429bb74c8 | [] | 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 | 263 | sce | ex13_4.sce | clc;
clear all;
u0=4*%pi*1e-7;
b=9.27*1e-24;
H=1e3;//homogeneous field
k=1.38*1e-23;//boltzmann constant
T=303;//temp in kelvin
T1 = T - 273; // Temp In Degree
x=u0*b*H/(k*T);//avg magnetic moment
disp('bohr magneton/spin',x,'avg magnetic moment is=');
|
af7d078221fa94fb887c810309c1ca6f6f6853ef | 4e9df66700bcf9688afe22df0009cdf4a17bc61f | /Scilab_Lab/examples/f2t.sci | 75fb83cf15b9aa43fd859906f9f28f686a901de1 | [] | no_license | vmebus/workspace | e18947a1f967e6a3a7dfbc5cce6f92380d8637fc | f251b8a8e6cec30a77c7ef7b4103c5ee6e6d1393 | refs/heads/master | 2021-01-09T21:53:45.183564 | 2015-10-03T06:42:23 | 2015-10-03T06:42:23 | 36,120,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sci | f2t.sci | function a=f2t(S,fs)
N=length(S);
T=1/fs*N;
t=[-(T/2):1/fs:(T/2-1/fs)];
temp1=fft(S)/T;
temp2=N*ifft(S)/T;
a(1:N/2)=temp1(N/2+1:-1:2);
a(N/2+1:N)=temp2(1:N/2);
a=a.*exp((-%i*%pi)*fs*t);
endfunction |
86b9e2a5949a0339cb9351877681a3f7a15f041d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH9/EX9.5/Ex9_5.sce | 39bd41f51208f074967f0833ec46461d5792e15a | [] | 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,262 | sce | Ex9_5.sce | //Example 9.5
m_ub=55.0;//Mass of upper body (kg)
m_box=30.0;//Mass of box (kg)
r_ub=35*10^-2;//Distance of CG of upper body from pivot (m)
r_box=50*10^-2;//Distance of CG of box from pivot (m)
r_B=8*10^-2;//Distance of force F_B from pivot (m)
g=9.80;//Acceleration due to gravity (m/s)
F_B=((r_ub*m_ub*g)+(r_box... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.