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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
074d85897302b605d575575b035d9c971e27677f | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/3_12_data.sci | 86121de5a711de598e9fa0474ea7a7f8ab28e8a0 | [] | 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 | 166 | sci | 3_12_data.sci | //Bore of the engine(in cm)
d=25;
//Stroke length(in cm)
L=37.5;
//Clearance volume(in cc)
Vc=1500;
//Cutoff percent
x=0.05;
//Ratio of specific heats
y=1.4; |
ca8a5ddbbbcb29ad0cb137d6ee89834be6d7251f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/P18.prev.tst | e32f821f01ac72ddfcb346201749ad7ece07d1a2 | [
"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 | 153 | tst | P18.prev.tst | 90*a + 108*a^2 + 81*b + 162*a*b + 81*b^2 - 121*d + 28
getVariablePowers(9)=0
groupBy(9)=
+ 1*(90*a + 108*a^2 + 81*b + 162*a*b + 81*b^2 - 121*d + 28)
|
ad7ecad610be30f65e6e17a8be150968deeee0f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH2/EX2.4/S_2_4.sce | 5776956b97c57bf7843da9267dc7967ec0d5f4e0 | [] | 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 | 609 | sce | S_2_4.sce | clc;
W=8000; // N weight of automobile
alpha=2;//degree
// TAB and TAC are tensions in cable AB and cable AC respectively
A=90+30;// degree , Angle between vector T1 and resultant
B=alpha;// degree , Angle between vector T2 and resultant
C=180-(A+B);// degree , Angle between vector T1 and T2
// conversi... |
1914cbfcd9c2d3fc02371c0211b56acc21452f53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH17/EX17.1.1/17_1_1.sce | 864c6006698b41141febb510d242308ce386f793 | [] | 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 | 444 | sce | 17_1_1.sce | clc;
//page no 641
//problem no 17.1.1
//a)Determination of max gain1
FTL=50;M=12;
NFL=2*FTL;NFLG=(NFL-M);
G_max1=NFLG/2;
disp('dB',G_max1,'a)The max gain is');
//b)Determination of max gain2
IL=3;RLW=20;RLE=40;
NL=(4*IL)+RLW+RLE;
NLG=(NL-M);
G_max2=NLG/2;
disp('dB',G_max2,'The max gain is');
//c)Determin... |
59ae7adb5447bf7b30788bac5dfdb64fdb412e8f | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/assoc_array_perf.tst | 8485835686cb1c252d23624bfa5087776c82a520 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,624 | tst | assoc_array_perf.tst | SET SERVEROUTPUT ON FORMAT WRAPPED
CREATE OR REPLACE PROCEDURE assoc_array_index_test (
iterations_in IN PLS_INTEGER DEFAULT 10000
, length_in IN PLS_INTEGER DEFAULT 100
)
IS
TYPE tab_bynum_tabtype IS TABLE OF employees%ROWTYPE
INDEX BY PLS_INTEGER;
TYPE tab_byvc_tabtype IS TABLE OF employ... |
b9eec02939cac26c2b6a95ae98d81a5c44bf52e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3460/CH4/EX4.4/Ex4_4.sce | 1233bb4d4948a315fe951401cb42c5f1a883953e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Ex4_4.sce | clc;
clear all;
X=10; //volt
t =5*1e-6; //second
f=98*1e6; //Hz
//part-a: find x for thita= +90; //degree
thita=90;
x=X*sin(((3.14159/180)*62.8*f*t)+thita); //volt
disp(+'volt',x,"for part-a x=");
//part-b: find x for thita= -45; //degree
thita=-45;
x=X*sin(((3.14/180)*6.28*f*t)-45); //volt
disp(+'v... |
20a09433384b5d71d6f7ce8597fbc818fe4cc8b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH2/EX2.3/2_3.sce | ffe4f88c5e59f236d8906da6305d74795fe062ab | [] | 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 | 381 | sce | 2_3.sce | //Example 2_3
//Find the convolution of two continuous time signal
clc;
t=-8:1/100:8;
for i=1:length (t)
x(i)=exp(-abs(t(i)));
if t(i)>=1 then
h(i)=exp(-2*t(i));
else
h(i)=0;
end
end
t1=t;
y= convol (x,h)
figure
plot2d(t1,h);
title('Impul seresponce');
figure
plot2d(t,x);
title('Input signal');
figu... |
4b03286f6d774a6de8160d293c3cbdc3d1a6ead3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH28/EX28.01/28_01.sce | ee2c3f6f23608115376159d7f2eba278fd32a3b8 | [] | 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 | 607 | sce | 28_01.sce | //Problem 28.01: A coil having a resistance of 10 ohm and an inductance of 75 mH is connected in series with a 40 μF capacitor across a 200 V a.c. supply. Determine at what frequency resonance occurs, and (b) the current flowing at resonance.
//initializing the variables:
R = 10; // in ohms
C = 40e-6; // IN fARAD... |
002826c20307a9afec319e611ca298e9609159c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH13/EX13.1/ex13_1.sce | ba7d00a58022f81fd77e465d4e71b1d65751d9ec | [] | 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 | 369 | sce | ex13_1.sce | clc;clear;
//Example 13.1
//given data
m1=7.0183;//mass of 3Li7 in a.m.u
m2=4.0040;//mass of 2He4 in a.m.u
m3=1.0082;//mass of 1H1 in a.m.u
Na=6.02*10^26;//Avgraodo no. in 1/kg mole
//rxn = 3Li7 + 1H1 = 2He4 + 2He4
//calculations
dm=m1+m3-(2*m2);
E=dm*931;
n=0.1*Na/7;//no of atoms in 100 gm of lithium
... |
06a0a3299ec40acf0f80db8aa07ccce4beb3fa79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3407/CH8/EX8.6/Ex8_6.sce | 35e8dbd753537ba1bd3c54a024a07fe039a263ff | [] | 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,791 | sce | Ex8_6.sce | clear;
clc;
funcprot(0);
//given data
Z = 12;//number of vanes
delW = 230;//in kW
T01 = 1050;//stagnation temperature in K
mdot = 1;//flow rate in kg/s
eff_ts = 0.81;//total-to-static efficiency
Cp = 1.1502;//in kJ/(kg.K)
gamma = 1.333;
R = 287;//gas constant
cm3_U2 = 0.25;
nu = 0.4;
r3s_r2 = 0.7;
w3av... |
74afee53ba7489c3392e87b43565c46a437b62b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH5/EX5.2/ex5_2.sce | fb11d12806dfd743b0c9f442143d1852480d5250 | [] | 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,182 | sce | ex5_2.sce | //define problem parameters
Z0=50; //characteristic line impedance
ZG=50; //source impedance
ZL=50; //load impedance
//series RLC filter parameters
R=10;
L=50e-9;
C=0.47e-12;
VG=5; //generator voltage
//compute series resonance frequency
w0=1/sqrt(L*C);
f0=w0/(2*%pi);
//define a frequency range
d... |
9a6eea069766dfe4a45fde9f28feb46aa35e907c | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/bin/gl_disp_environment.sci | 3faaabf4244028b56c6324e8d044a75d8026427e | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,860 | sci | gl_disp_environment.sci |
// display biomass production, size of organ, number....
//%%%%%%%% curve of biomass repartition between organs QO(id,p,J) %%%%%%%
//if Flag_demo==0 then
// x_message('the information will be shown in the workspace of SCILAB');
//end
f = scf() ;
f.figure_name='Environement condition';
[index_env] = f... |
6c979c41bebbdcb1b15bc178532560a26b96b3b5 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/utils/utils.sci | f292821ddf05a0bbff5e53df38f7df00905833ff | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sci | utils.sci | //###################################
// ScicosLab pack functions
//###################################
function EE_debug_printf(msg, flag)
//% This function prints a message only if flag > 0.
[lhs , rhs] = argn(0);
if (rhs == 1)
flag = 0;
end
if (flag > 0)
mfprintf(flag, msg);
mfprintf(flag, "... |
279b18e2ec6afd3693340b6b80877d6c0383002b | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/anguloProyectil.sci | 4b4494bf34372549e2d56e96cc75a81e9f1f697e | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sci | anguloProyectil.sci | function fx = anguloProyectil(theta0)
v0 = 30;
g = 9.81;
x = 90;
y0 = 1.8;
y = 1;
fx = tan(theta0)*x-(g./(2*(v0^2)*(cos(theta0))^2))*x^2+y0-y;
endfunction
|
e19b0e3ccf7b981bc2f50cee2d73803143b5660e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.2/Example7_2.sce | 6dc05a3524126ce35b23e2279887fa5da7ee4859 | [] | 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 | 333 | sce | Example7_2.sce | //Chapter-7,Example7_2,pg 7-21
x=poly(0,"x")
L=(12+6*x-(x^2))//x is deflection in rad from zero
dl=derivat(L)
K=12
I=8
x=6/(((2*K)/(I^2))+2)//x=((I^2)dl)/(2*k)
z=x*(180/%pi)
y=horner(L,x)
printf("deflection for given current\n")
printf("x=%.2f deg\n",z)
printf("inductance for given deflection\n")
printf("L=... |
eef0fad05f01cc98630113f140046e5eec98d82c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH11/EX11.3/Ex11_3.sce | 1cae31f753b5c295f30dc4e0d84dcff75ee55745 | [] | 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 | 162 | sce | Ex11_3.sce | clear;
clc;
beta1=20 //bjt gain
beta2=20 //bjt gain
//Calculation
beta0=beta1+beta2+(beta1*beta2)
mprintf("net common-emitter current gain= %g",beta0)
|
1ce910ceabcecd0a3dacffdf08a6834611448d41 | 4b7eae708edea1f2fc5fd5f08bdd0ee8f1598adf | /code/pev/select.sce | 2f2f9796eca4716f8583dd0eb0481f664cff94ad | [] | no_license | kiraboris/pyttools | d7bea20bd371b811f6fe86ab94dac3317b9e3679 | 7a07dd9da5dd792f62a9c4cf33fdf2ae6be626fe | refs/heads/master | 2021-05-31T01:17:35.354923 | 2016-02-03T10:12:09 | 2016-02-03T10:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,885 | sce | select.sce | // Procedures to select objects (make a decision, choose a selection). If you don't know where to start, type
// pevPrintResult( pevSelectF( filename ) );
// and then read comments below.
//===============
function sOut = lParseQualFun( sIn );
fScanBracket = %F;
sOut = "";
for(i=1:length(sIn))
i... |
0f83524fecc324cfcc5ec8d820c8b08cdd2a1ae8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.11/Ex8_11.sce | 09adc0d300165abbb10137858444dbcf78fac9e3 | [] | 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 | Ex8_11.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 11
clc;
disp("CHAPTER 8");
disp("EXAMPLE 11");
//VARIABLE INITIALIZATION
p_o=20*1000; //output in W
v_t=250; //in Volts
r_a=0.05; //aramture resistance in Ohms
r_se=0.025; //series resistance in Ohms
r_sh=100; ... |
0542bda41808fc28082518d3db90b3a295796622 | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-wavetime/vrt_ind_d/~LCM-SR-vrt_ind_d-nat.tst | e83c4820c6e2b379ac45f5334bfa23850edce91e | [] | no_license | jflournoy/lnt_pxvx | fac8d6b00b886fa3dc800dcaa288aa186027b9ea | 3f1ddc64e4bf0aecddfa21d45f889620dbdd442d | refs/heads/master | 2021-10-20T12:52:55.625243 | 2019-02-27T17:06:09 | 2019-02-27T17:06:09 | 64,423,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,999 | tst | ~LCM-SR-vrt_ind_d-nat.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.453171D+00
2 -0.538644D-01 0.517265D-01
3 0.140832D-02 0.16251... |
193e4f3121359618457324eabe289ba8391f4e8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH9/EX9.3/Ex9_3.sce | 0901fd861ab5f58380ef930b7cd7e398ea0fbe22 | [] | 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,265 | sce | Ex9_3.sce | clear;
clc;
disp('Example 9.3');
// aim : To determine the
// (a) heat loss per hour
// (b) interface temperature og lagging
// Given values
r1 = 50; // radious of steam main,[mm]
r2 = 90;// radious with first lagging,[mm]
r3 = 115;// outside radious os steam main with lagging,[mm]
k1 = .07;// thermal... |
0fd6b7ccb31f55cb6916c3deeb5136643b670f9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH7/EX7.8/Ex7_8.sce | de10ea05cb2e0dcd1b6d111897676bd60fded036 | [] | 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,150 | sce | Ex7_8.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex7_8.sce.
clc;
clear;
Np=1000; //number of Primary turns
Ns=100; //number of secondary turns
KVA=12... |
d4cfb572f894c0ece41c8f82d201fd48e2491646 | affb43e91a6a0cac39356ff1c5f9f5154b70a4a2 | /Filter_Desgin/FIR_Filter.sce | a34cda372f9d50e07c540fc2a2c403a27eb9021d | [] | no_license | kathan-shah99/Digital-signal-processing | 87fb0615a98a764c546681ffb18fea32d69caa6d | 3d5ad3553152a2b57f98a3b1a26756ebca37d7bc | refs/heads/main | 2023-04-07T06:53:06.263109 | 2021-04-07T03:57:52 | 2021-04-07T03:57:52 | 355,397,284 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,144 | sce | FIR_Filter.sce | clc;
clear;
//---------------wfir-Function----------
forder=11; //order of filter
fcutoff=[0.10 0.30]; //cutoff frequencies
wintype="hn"; //window type: kaiser/hamming/hann
wintype2="hm"
wintype3="kr"
//-------FIR filter design---------
//-----Hanning window--------
ftype="bp"; ... |
cfbcdd9129e87a91d6295e8fd24d18b30139302d | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH1/EX1.1/Ch1Exa1.sci | 688f2ba3c5627b29e35ff023374ce34ac986dbc7 | [] | 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 | sci | Ch1Exa1.sci |
t0= 3600; // time interval on Earth, seconds
t= 3601; //time interval for spacecraft as measured from Earth, seconds
c= 2.998 *(10^8); //speed of light, m/s
v=c*sqrt((1-((t0/t)^2))); //relative velocity of spacecraft, m/s
disp(v,"The speed of the Spacecraft relative to Earth (in m/s) is: ")
//Result
//The sp... |
759940b9f367977c15e040f663fb340417dd442d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH6/EX6.2/Ex6_2.sce | 8c7597c4d1089544b53202c67f010917f8c9f140 | [] | 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 | 642 | sce | Ex6_2.sce | // SAMPLE PROBLEM 6/2
clc;clear;funcprot(0);
// Given data
m=150;// kg
M=5;// kN
theta=30;// degree
ACbar=1.5;// m
BDbar=1.5;// m
ABbar=1.8;// m
g=9.81;// The acceleration due to gravity in m/s^2
// Calculation
// SigmaM_C=0
A_t=M/ACbar;// kN
// SigmaF_t=m*abar_t
// alpha=14.81-6.54*cos(theta);
wsquare... |
00bb641575d24e882e9b0ecea344a3d6589a612a | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /BBlutin - R6S - Aim #3.sce | 70954adfd37c28b9b5515f98a80ed209e18f7e79 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 64,945 | sce | BBlutin - R6S - Aim #3.sce | Name=BBlutin - R6S - Aim #3
PlayerCharacters=R6SPlayer01
BotCharacters=Counter-Striker Bot_kaizou.bot;Counter-Striker Bot_kaizou2.bot;test Bot.bot;R6S_Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=R6SPlayer01
AddedBots=R6S_Bot.bot;R6S_Bot.bot;R6S_Bot.bot;R6S_Bot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTe... |
d51dae11fbbca2191f81c27fc60b3ef93a04191f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH8/EX8.10/Ex8_10.sce | 29cde7622658863dcc3573a4065886ce267fc8e0 | [] | 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 | 427 | sce | Ex8_10.sce | //Example number 8.10, Page number 173
clc;clear;
close;
//Variable declaration
h=200; //hysteresis loss per cycle(J/m**3)
M=7650; //atomic weight(kg/m**3)
n=100; //magnetisation cycles per second
//Calculation
hpl=h*n; //hysteresis power loss per second(watt/m**3)
pl=hpl/M; //power loss(watt/kg)
//... |
ac6abf541df07e99d77fa082b9f23d70de65af73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH2/EX2.10/Ex2_10.sce | d14afb2bab46e6acd4cf1c64985de408d92bac78 | [] | 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,108 | sce | Ex2_10.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
// Example : 2.10
clc;clear; // clears the console and command history
// Given data
A = 2*10^-4 // cross sectional area in m^2
N = 200 // number... |
e00b43faba4d5ac53f83de6aff2e12c1a6f92c1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH30/EX30.12/Example30_12.sce | 46d32187eb10a187e4ded9556015f99a3359680f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,114 | sce | Example30_12.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 4: UNSYMMETRICAL FAULTS IN POWER SYSTEMS
// EXAMPLE : 4.12 :
// Page number 521-522
clear ; clc ; close ; // Clear the work... |
2b31b944af838c089f51764c2a769312e61e7d67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH3/EX3.6/EX3_6.sce | c2a188fc1f88ed82ae8e33453f6e7e46b66d2e52 | [] | 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 | 734 | sce | EX3_6.sce | //Chapter 3, Example 3.6, page 76
clc
//Initialisation
dn=-0.2 //air refractivity gradient
d=20 //height
b=0.074 //elevation angle from graph 3.10
f=7 //frequency in Ghz from graph 3.11
... |
d37ba6ae0955e53286726f8b2f3e92eb7455292e | 348b83f2cd32e6616b86e704a374661890d58cda | /singular_fun.sce | 4d2323b23df493051d9723944dfbbbb376f15964 | [] | no_license | YashGandhi17/Scilab | 012b35caad56d0c7600b9a207956e25774339c66 | 6d509dc17afe2ca32376df795693c84f94e3f360 | refs/heads/master | 2020-04-07T03:13:24.046967 | 2018-11-17T17:24:44 | 2018-11-17T17:24:44 | 157,837,866 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | singular_fun.sce | function[xn] = singular_fun(wave_type,start_index,end_index,phase)
n=start_index:end_index;
select(wave_type)
case "ui" then
xn = [zeros(1, abs(start_index) + phase), 1, zeros(1, end_index - phase)];
case "us" then
xn = [zeros(1, abs(start_index) + phase), ones(1, end_index - phase... |
85e6d35542767b63575207138f340a7823b2c827 | 159eca4cff17d9c11e8764e834f421901374ea20 | /main/data/scenarios/gfs_b.sce | 9dc8e4e39db736eb3cd2ce14e19781aba7f5b0c9 | [] | no_license | CyberSys/MkIV | 252cb744f9d653a4281f30a73700f91d865a36e2 | fdbc553ba3f24fd0cea42d558f234fe0b8f8ac75 | refs/heads/master | 2021-02-08T05:19:16.362868 | 2020-03-01T08:54:00 | 2020-03-01T08:54:00 | 244,113,305 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | gfs_b.sce | TITLE gfs_b
MAP_NAME gfs_b
SHRUB_LIST_NAME gfs_b_shrubs.txt
BUILDING_LIST_NAME gfs_b_buildings.txt
UNIT_LIST_NAME gfs_b_units.txt
TIME_LIMIT_MINS 0
NUMBER_OF_FORCES 2
FORCE_NAME 0 352nd Infantry Div.
FORCE_SHIELD 0 mkiv/EyeOfRa
CAM_POS_FORCE 0 {0.00,100.00,0.00}
CAM_AIM_FORCE 0 {0.00,0.00,0.00}
FORCE_NAME 1 29th Infant... |
ec00333b1949e709b5406cc6598ddea9441c5f6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.39/Ex5_39.sce | 8555b385e253062b46a0cb4d5812c6a0d98dcc59 | [] | 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 | 449 | sce | Ex5_39.sce | clear
//Given
R2=50.0 //ohm
R3=50.0 //ohm
R4=75.0 //ohm
E=4.75
R1=100
//Calculation
Rbc=1/((1/R2)+(1/R3)+(1/R4))
R=R1+Rbc
I=E/R
R11=I*R1
Vbc=E-(I*R1)
I2=Vbc/R2
I3=Vbc/R3
I4=Vbc/R4
//Result
printf("\n Equivalent resistance of the circuit is %0.3f ohm", ... |
9320c232528c55eb7114634fff77663578fb0378 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH3/EX3.10/Exa_3_10.sce | bb5feb769849bf27bd46413b0f89b506d9f74b81 | [] | 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 | 313 | sce | Exa_3_10.sce | //Exa 3.10
clc;
clear;
close;
format('v',7);
//Given Data :
m=0.8;//Kg
hi=335;//KJ/Kg-water
T1=24+273;//K
T2=0+273;//K
Wdot=400;//W
Wdot=Wdot/1000;//KW
Q2=m*hi;//KJ
ActualCOP=T2/(T1-T2)*30/100;
Q2dot=ActualCOP/Wdot;//KJ/s
T=Q2/Q2dot;//sec
disp(T,"Time required to freeze the water in sec : ");
|
933046bede977b4cdad008f970fcab902b104ecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH2/EX2.5/Ex2_5.sce | 326df7f35f3fd3b3f93ff753ce1d7502b5453c1b | [] | 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,737 | sce | Ex2_5.sce | //Ex2_5
//Addition of Noisy Images for Noise Reduction
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
close;
... |
38f8030148fe38d27d5d5c617cdd511802afe5da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH2/EX2.3/Example2_3.sce | 0309c1d9c1cdd39c852dff5bacae830fb4061028 | [] | 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 | 317 | sce | Example2_3.sce | clc
// Given That
I = 2.4 // intensity of radiation in Watt per meter square
epsilon_0 = 8.85e-12
c = 3e8
//Sample Problem 3 Page No. 80
printf("\n # Problem 3 # \n ")
E = sqrt ((2* I)/ (c * epsilon_0)) // calculation of amplitude of electric field is
printf("Amplitude of electric field is %f N/C \n", E)
|
7d6317b181275cf9a66ae5b64a2cb4bc8483377f | b6cf003e2be5ca13661ebe6ba87ee4bafd46f80e | /Procede.sce | b4ce482ac7a290c23f1cbda03105a05c668cd27a | [] | no_license | labatvalen/CompressiveSensing | ea11ccf07078d809bf50f0bc53d9c3c47b7f8f59 | e06a160bae04bdc8ee2778238f0f1bce74a41f7e | refs/heads/main | 2023-04-05T00:37:31.774162 | 2021-04-15T09:48:48 | 2021-04-15T09:48:48 | 358,204,909 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,165 | sce | Procede.sce | /*-------------------------------------------------
Auteur : Manon Cassagne & Valentin Labat
Vous trouverez ci-dessous les fonctions phi et les focntions associées
---------------------------------------------------*/
// Fonction de création de la matrice de mesure phi1
// Matrice aléatoire générée à partir d’un p... |
0afe446b56dd9dad36b081ee5632d5c512f7a403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH10/EX10.4/FS_Ex_10_4.sce | 460d847e9be4f959e7672c17174568085ab13733 | [] | 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 | 683 | sce | FS_Ex_10_4.sce | clc
//Chapter 10:Frequency Synthesizers
//Example 10.4 page no 417
fo=185.6*10^6//required output frequency
fr=31.25*10^3//reference frequency
P=64
disp('To begin with the hopping bin channel spacing requirement of at least 20KHz,a 2MHz crystal is connected to the MC14512-2 with the reference address inputs(pins ... |
d628f7a713fe9a7d0052e401348c7d64e67aa907 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH20/EX20.6/Example20_6.sce | 93cf57e130abd96bc667dfefbc8b5eab212e20bc | [] | 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 | 195 | sce | Example20_6.sce | //Example 20.6. refer fig.20.11.
clc
format(6)
af=1+(10/1)
disp(af," The closed-loop voltage gain, AF = 1 + RF/R1 =")
beta=1/(1+10)
disp(beta," The feedback factor, beta = R1 / R1+RF =") |
107245bb5001fce59f4f7ced466cecccb3bb92a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH12/EX12.9/Ex12_9.sce | 38b9fd58df1e172475cadad93800e9425be3027f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex12_9.sce | clc
clear
//Initialization of variables
tf=225 //F
a=190
b=0.043
ti=212 //F
//calculations
hc=a/(1-b*(tf-ti))
hcti=hc*1.25
//results
printf("For a flat copper plate, boiling film coefficient = %.1f Btu/sq ft hr F",hc)
printf("\n For an inclined copper plate, boiling film coefficient = %d Btu/sq ft hr F",hct... |
b3a1809d621edc9f7fe9de7a54dea979066b22ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH4/EX4.2/Ex4_2.sce | 3fe41974e93c5e27099f4d428ca8acdbf36cd399 | [] | 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 | 502 | sce | Ex4_2.sce | //chapter 4
//example 4.2
//Find glancing angle
//page 75
clear;
clc;
//given
h=1,k=1,l=0; //miller indices
a=0.26; // in nanometer (lattice constant)
lambda=0.065; // in nanometer (wavelength)
n=2; // order
//calculate
d=a/sqrt(h^2+k^2+l^2); // calculation of interlattice spacing
// Since 2dsin(theta)=n(l... |
0b220cbec93fbe01a1e370468ec9a11a92271d08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.11/Ex12_11.sce | f2e32f2e856f9e360ae0e275c988f75c03aba6a3 | [] | 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 | 794 | sce | Ex12_11.sce | //===============================================================================
//Chapter 12 Example 11
clc;clear all;
//variable declaration
R2 = 2410; //resistance of arm in Ω
R3 = 750; //resistance of arm in Ω
R4 = 64.9; //resistance of arm in Ω
R = 0.4; //r... |
e2bb79335b233ad728bc41a47c8830e74b6775bc | b9117a375dfd4994834bffe24f28414f4599c02e | /test/feature.tst | 454a8360ef98686c75a46fcee0bc41c7797a2ffb | [] | no_license | mdolgun/NLPParser | 2a7e1ab5f820c902ecb7ecd05a90a9caca7fb4bf | 54d8494a8799efb94ff0dfa21c8c46292dd9cb22 | refs/heads/master | 2021-07-16T08:32:55.973580 | 2020-10-17T20:28:51 | 2020-10-17T20:28:51 | 218,727,320 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,076 | tst | feature.tst | ###grammar
%auto_dict none
S -> NP(case=nom,numb,pers) VP NP(case=acc)
NP -> i [case=nom,numb=sing,pers=1]
NP -> he [case=nom,numb=sing,pers=3]
NP -> she [case=nom,numb=sing,pers=3]
NP -> it [case=nom,numb=sing,pers=3]
NP -> we [case=nom,numb=plur,pers=1]
NP -> you [case=nom,numb=plur,pers=2]
NP -> the... |
137e2c807bebfa8455d7dd4f5ad248d4ea1017c6 | 88659412cc6ac49ae5a622336ac1160bdfda50b9 | /Activity 2.sce | 67ba14d00939af42e0ea3cf3a54076b41377c141 | [
"MIT"
] | permissive | yudiaguena/simulation-of-infection | 6db2f900b2e4e6ce53c847bf7730b5b117edea73 | 332e748191d94be26d80fc1fd92651d0aa39fa6b | refs/heads/main | 2023-03-11T20:43:18.545644 | 2021-03-01T22:08:51 | 2021-03-01T22:08:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,616 | sce | Activity 2.sce | // Esta função gera un grid de nlin por ncol
// para simular a população de uma localidade
// densidade é a probabilidade de cada célula estar ocupada
// prob de uma célula ocupada
// 1 significa célula vazia
// 2 significa célula ocupada por indivíduo sadio
// 3 significa célula ocupada por indivíduo infectado
// 4... |
c4ab50437076e9e38a245da6412b18589db2f720 | 642c000667a1830c3147b17c277fbc851a9d2d20 | /jwfearn/tips/MyMux.tst | 652e67535b129ce9f6fac27faa3a360008694e17 | [] | no_license | SeaRbSg/nand2tetris2017 | b33ddd45d9ba39149ae2aa865f37bff0fab4a304 | b744ae8265aea568c30d4fc5bedd5feff7ffa130 | refs/heads/master | 2021-01-25T06:24:55.307485 | 2017-12-05T16:22:05 | 2017-12-05T16:22:26 | 93,568,039 | 2 | 1 | null | 2017-06-07T15:29:45 | 2017-06-06T22:07:11 | Assembly | UTF-8 | Scilab | false | false | 446 | tst | MyMux.tst | load MyMux.hdl,
output-file MyMux.out,
compare-to MyMux.cmp,
output-list a%B3.1.3 b%B3.1.3 sel%B3.1.3 o%B3.1.3 no%B3.1.3;
set a 0,
set b 0,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set a 0,
set b 1,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set a 1,
set b 0,
set sel 0,
... |
f0d94bc578f4335b4d6054c27922dd0eb5bb8aaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH9/EX9.24/Example9_24.sce | bcf5cded45ebe573d46652de7826dcd4df747da8 | [] | 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,280 | sce | Example9_24.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 2: CONSTANTS OF OVERHEAD TRANSMISSION LINES
// EXAMPLE : 2.24 :
// Page number 119-120
clear ; clc ; close ; // Clear th... |
624c80aadc2ca7ea13fe23a41104b39ddbba735a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH9/EX9.15/Ex9_15.sce | 208ae6e1603ffbfc06a87f92c08efa67deb24ecf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,099 | sce | Ex9_15.sce | //Ex 9.15
clc;
clear;
close;
format('v',6);
fL=200;//Hz
fH=1; //kHz
Ap=4;//Pass band gain
fc=sqrt(fH*1000*fL);//Hz(Cutoff frequency)
BW=fH*1000-fL;//Hz
Q=fc/BW;//Quality Factor
disp(Q,"Quality factor is ");
disp("As Q<12, it is a wide band filter.");
Ap1=2;//Pass band gain for high pass section
disp("Vari... |
52ac9ac8ca4e6a9daf31421c0433e7fef905f2e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH9/EX9.1/Ex9_1.sce | f2e27b7a3b15b910ccdf464115f32dedfbb63192 | [] | 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 | 727 | sce | Ex9_1.sce | clc;
//page 463
//problem 9.1
//Input signal strength Si = 0.5 W
Si = 0.5;
//Gaussian Power Spectral Density n = 10^(-10) W/Hz
n = 10^(-10);
//Baseband cutoff signal fM = 15 kHz
fM = 15 * 10^3;
//Maximum frequency deviation Df = 60 kHz
Df = 60 * 10^3;
//Average power of the modulating signal mt = 0... |
a225858f0062276326c7a59a3cd4e338fa5e5436 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH11/EX11.1/CH11Exa1.sce | ca2fb9bb8ea81d07d0eb60b0a5a72fa7491eef23 | [] | 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 | 548 | sce | CH11Exa1.sce | // Scilab code Exa11.1 : : Page-535(2011)
clc; clear;
V_0 = 10^5; // Accelerating voltage, volts
C = 0.02e-006; // Capacitance, farad
I = 4*1e-003; // Current, ampere
f = 200; // Frequency, cycles per sec
n = sqrt (V_0*f*C/I); // Number of particles
delta_V = I*n*(n+1)/(4*f*C);
p... |
8a368f2123730fdb21f10109fb0ff4c11d6e7273 | 6b7b3be3c11fc662ae3f0b3e8880218ce3888a07 | /math/SciLab/ZQ_quat2matrix.sci | 7b8c0970960813dea60ff358bd79e14c756ebf78 | [] | no_license | johnzet/Flight | 27cfa7dc8039f6c7b91385d9e204ad4a54248960 | 2893750df8aaa38311ffc125b1f7dcc9f5019eab | refs/heads/main | 2023-02-25T19:51:03.725205 | 2021-01-31T01:12:09 | 2021-01-31T01:12:09 | 334,544,210 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sci | ZQ_quat2matrix.sci | function [R] = ZQ_quat2matrix(qin)
if (typeof(qin) <> "ZQuat")
error("Wrong type of input argument. Quaternion expected");
end
q = qin/norm(qin);
qw = q.r;
qx = q.i(1);
qy = q.i(2);
qz = q.i(3);
R = [1 - 2*qy^2 - 2*qz^2, 2*qx*qy - 2*qz*qw, 2*qx*qz + 2*qy*qw;
2*qx*qy + 2*qz*qw, 1 - 2*qx^2 - 2*qz^2, 2*qy*qz - ... |
14be0fb719b6717e3712df56b9709a8dac649459 | 99b88a8b86c9ba133f1838fdb89798ab0121134a | /app/file_write/elem_write.sci | eb731d27115086535e4c16a07fea43db29570574 | [] | no_license | feng42/Interface_scilab_mbdyn | aae1dd4d7ad13c4440be8ac4e6cb9d5d42cea512 | 604c543f8033fd5e0eed175dc66e5d0e44f5197e | refs/heads/master | 2020-04-26T21:35:30.077586 | 2019-04-27T05:32:31 | 2019-04-27T05:32:31 | 173,845,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,461 | sci | elem_write.sci | mfprintf(fid,'%s\n','#--------------------------');
mfprintf(fid,'%s\n','# [ELEMENTS BLOCK]');
mfprintf(fid,'\n');
mfprintf(fid,'%s\n','begin: elements;');
mfprintf(fid,'\n');
//body
sizeB=size(bodies);
row=sizeB(1,1);
col=sizeB(1,2);
for i=1:row
lb='Body_Link'+string(i);
ln='Node_Link'+string(i+1);
mfpri... |
399124a19d45fe6cd2278d421059cdfacbe62592 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH2/EX2.12/Ex2_12.sce | 90ef631a94f5ee8f37665d8fd725f2bec13836cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ex2_12.sce | clc
//
//
//
//Variable declaration
lambdaa1=4000*10**-8 //Wavelength1
lambdaa2=7000*10**-8 //Wavelength2
invde=4000 //Diffraction element inverse
//Calculations
n1=(1/(lambdaa1*invde))
n2=(1/(lambdaa2*invde))
//Result
printf("\n The orders visible will be from %i to %i order Spectrum",n2,n1... |
756ee245120b8d8d7c1a8ff5c144a17ac336c88d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH2/EX2.31/SolEx2_31.sce | 8668b02d06909eaa134179b2c6a6ebcd26cdd7aa | [] | 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 | SolEx2_31.sce | //Find the maximum allowable current iZ when the Zener diode is acting as a regulator
//Solved Example Ex2.31 page no 65
clear
clc
Vz=5.2 //V
Pdmax=260 //mW
iZmax=Pdmax/Vz //mA
printf("iZmax = %0.3f mA",iZmax)
Vs=15
R=(Vs-Vz)*1000/iZmax
printf("\n R = %0.3f ohm",R)
|
5523ef8c006c00902f6dc48c60da803795d1c844 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH2/EX2.6/Ex2_6.sce | 0f1a261723756938e88ea44327f46161d3371693 | [] | 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 | 186 | sce | Ex2_6.sce | //pagenumber 103 example 6
clear
a=1*10^-6;//metre square
w=2*10^-6;//thick centimetre
re=16;
eo=8.854*10^-12;
c=(eo*re*a)/w;
disp("capacitance = "+string(c)+"farad");
|
46c5a4caf5bbc5418373fa599a8d23c9f26f8ee9 | e7e6e1633d484336268da303fbf34c87214e5669 | /Assignment3/assignment3.sce | fd7f333283bb092a760692e64014cd8ee253932d | [] | no_license | TarunGuptaJ/Scilab_Assignment | e65bbc6abaa4535b2faf13fbccad7b3d08c8f338 | 00b95c5970a7c13d32b83255f211f3041f8650a3 | refs/heads/master | 2020-12-28T09:12:15.189754 | 2020-04-18T11:12:39 | 2020-04-18T11:12:39 | 238,260,976 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | assignment3.sce | //Made the implementation a function so that it can take any input
function Best_Fit(A,b)
x=(A'*A)\ (A'*b);
disp (x, 'x=');
C=x(1,1);
D=x(2,1);
disp(C,"C =");
disp(D,"D =");
endfunction
//A=[1 -1;1 1;1 2];
A = x_matrix("Enter matrix A:",zeros(3,2));
disp(A, 'A=');
//b=[1;1;3];
b = x_matrix("E... |
84b5532df0b317d511f2b1734dabbad7f57927eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH27/EX27.5/ex27_5.sce | 8c2571771fa9c992dd9503dff40c79437a50a372 | [] | 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 | 52 | sce | ex27_5.sce | clc;
disp(0.082/2,"Litres = "); //displaying result |
3a0491bc549327abfa0eb7208c0d17332bd34193 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/MMFSolver/Tests/TestMaxwellSphere.tst | b7f1f688a46fd50dd56e3a46e5e9e76b7bbb4bc0 | [
"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 | 938 | tst | TestMaxwellSphere.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>MMF Maxwell solver, DG, P=4</description>
<executable>MMFSolver</executable>
<parameters>MMFMaxwellSphere.xml</parameters>
<files>
<file description="Session File">MMFMaxwellSphere.xml</file>
</files>
<metrics>
<metric ty... |
09a3c4f987526f09d78bafaadfd53bbac81bab5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH11/EX11.6/Ex11_6.sce | 1c62d307f9f32aba7de22e773b4eed80cb16b1cb | [] | 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 | 571 | sce | Ex11_6.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 11 : SINGLE-PHASE MOTORS
// Example : 11.6
clc;clear; // clears the console and command history
// Given data
r_t = 36 // rotor teeth of stepper motor
N = 4 // stator phases
// caclulation... |
798852cc710ca0db29d75b1413cd6d4cdf995a31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/17_22_data.sci | 58e81e8b61118e06e8c503a3abf0734ce713c9c8 | [] | 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 | 397 | sci | 17_22_data.sci | //Percentage carbon
C1=0.86;
//Percentage hydrogen
H=0.13;
//Air consumption in excessof that required for theoretically correct combustion
Ac=110/100;
//Brake power(in kW)
bp=120;
//Mechanical efficiency
nm=0.8;
//Indicated thermal efficiency
nith=0.40;
//Calorific Value(in kJ/kg)
CV=43000;
//Volume flow... |
5c0be9587b7e96c2debdf84a91c0ad11cff56010 | fd06d3beb82096fa35c987728e029bd5216a214b | /splineApproximation/approximationOptBreakpoints.sce | 70e9e9131d8ae24fabca2c9beabae2edef307d6c | [] | no_license | stepanov17/coverageFactorBayesianInference | 83156f792b242f1f4ddfb030a40c23489324fed6 | 4f50d70cd4649e1de7825de3dd5f01608b7dc950 | refs/heads/master | 2021-07-15T01:08:21.895533 | 2021-01-24T11:55:09 | 2021-01-24T11:55:09 | 230,261,884 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,690 | sce | approximationOptBreakpoints.sce | clear;
clc;
function [maxR, appr, d] = sAppr(x, y, bp, plotFlag, plotCol)
nx = length(x);
xStart = x(1); xEnd = x(nx);
[appr, d] = lsq_splin(x, y, bp);
kRound = 1.e3;
appr = (1 ./ kRound) * round(kRound * appr);
d = (1 ./ kRound) * round(kRound * d);
yAppr = interp(x, bp, appr, d, "n... |
de60ec0cab1a2ae5e7bd7c12d0b85ef83ac19a71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.8/3_8.sce | 9dc8a300492c65f0b39fb659b97ed9cbe553b8de | [] | 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 | 634 | sce | 3_8.sce | clear;
clc;
R=48.7;
X=80.2;
Z=complex(R,X);
c=8.42e-9;
l=200;
C=c*l;
Y=complex(0,(C* 100*%pi));
Vr=88e3/sqrt(3);
Pr=13.5e6;
pf=.9;
pfa=-1* acos(pf);
Irm=Pr/(3*Vr*pf);
Ir=complex(Irm *pf, Irm * sin(pfa));
Vs=(Vr*(1+((Z*Y)/2)))+ (Ir*Z*(1+(Z*Y/4)));
V=abs(Vs);
vs=sqrt(3)*V*1e-3;
phi=atan(imag(Vs)/r... |
fa46db0a23568218d24d7e073f7fd14f67020674 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH7/EX7.1/1.sce | be10786177df02af023a40b0f00f0c714b9c54c6 | [] | 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 | 352 | sce | 1.sce |
//variable declaration
r1 = 7; //in radians
r2 = 3; //in radians
d1 = 4; //Converting from mm to radians
d2 = 6; //Converting from mm to radians
//calculations
D = (r2-r1)/(d2*10**3-d1*10**3) //Divergence
//Result
printf('Divergence = %0.3f *... |
d725fec90280329799d19be17b791b51a11532d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH5/EX5.18.a/data5_18.sci | 63b8413a1a6ba3ee7d80702300552bdbaa743540 | [] | 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 | 706 | sci | data5_18.sci |
//(Design against Fluctuating Load) Example 5.18
//Refer Fig.5.53 on page 176
//Ultimate tensile strength of 40C8 Sut (N/mm2)
Sut = 600
//Yield tensile strength of 40C8 Syt (N/mm2)
Syt = 380
//Maximum force acting at the free end Pmax (N)
Pmax = 150
//Minimum force acting at the free end Pmin (N)
Pmin = -50
... |
65460e3b994b34fcafa61ad7ccf3736a0706f6a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH7/EX7.10/ex_7_10.sce | 03c65824e159c63ea53494cc608ecd46a3df5390 | [] | 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 | 361 | sce | ex_7_10.sce |
//Example 7.10 // strain charge and capacitance
clc;
clear;
close;
//given data :
A=6*6*10^-6; // in m^2
t=1.5*10^-3; // in m
e=12.5*10^-9; // in F/m
F=6; // in N
d=150*10^-12; // in F
E=12*10^6; // in N/m^2
p=F/A;
S=p/E;
g=d/e;
E1=g*t*p;
Q=d*F*10^12;
C=Q/E1;
disp(S,"strain,S = ")
disp(Q,"charge,Q(p... |
06518972d267e28a9503a76388b1fc073763ab05 | c28130b62911f5891f14826350089c73c907d3b5 | /exo17_splitting_simulation.sci | c1a70b7a24a2920839a8846bc3c4ebb12a843463 | [
"MIT"
] | permissive | zyron92/Simulation_of_Cardiac_Excitation | f1709d032613f49427a72716b4e258c3b578b739 | 66813dc24128d9cb171e77d4f780b6bf54011d15 | refs/heads/master | 2021-01-19T10:25:43.810588 | 2017-02-16T12:58:38 | 2017-02-16T12:58:38 | 82,180,177 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,269 | sci | exo17_splitting_simulation.sci | //pour appeler toutes les fonctions nécessaires dans le script 10,15
exec('exo11_simulation.sci',-1)
exec('exo15_cn2.sci',-1)
//Modification du script précédent pour splitting avec rk2, cn2 avec fonctions correctives
function main_splitting_problem(t0,dt,T,e0,r0,D,n)
L=slaplacien(D,n); //L choisi
t=t0+dt ... |
b255865614ebf9d7d4e28a1c04c3d426100e5ab9 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_hygeinv.sci | ed73dc607bd3025c01dbf70741a49b8b9f4d2745 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,340 | sci | distfun_hygeinv.sci | // Copyright (C) 2012 - Prateek Papriwal
// Copyright (C) 2012 - Michael Baudin
//
// 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.... |
0c1831023d55d73b74f1b9abd7a06aa6aec70aa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH17/EX17.2/Ex17_2.sce | 7a18e6893f8504750c6190fbec46552e4fa08506 | [] | 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 | Ex17_2.sce | //Chapter 17 Speed of Reaction Catalysis
clc;
clear;
//Initialisation of Variables
t= 10 //min
c= 0.01 //molar
c1= 0.00464 //molar
//CALCULATIONS
k= (c-c1)/(c*c1*t)
T= 1/(k*0.01)
//RESULTS
mprintf("Velocity constant= %.1f min^-1",k)
mprintf("\nHalf-time period= %.1f min",T)
|
43debef685a82ce4736f8212ef9f96deffafa392 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH10/EX10.8/Example_10_8.sce | 343f2a9a0ea05f663f58e40d64d7e1731d25bccf | [] | 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 | Example_10_8.sce | clc;
clear;
printf("Example 10.8\n")
L=825e-3; //length of the tube
d=15e-3; //diameter of the tube
P_i=7.5e3; //Partial pressure of ammonia at inlet
P_o=2e3; //Partial pressure of ammonia at inlet
A_r=2e-5; //Air rate
P=101.3e3; //Atmospheric pressure
D_F_m=(P_i-P_o)/log(P_i/P_o);//Mean driving force
A... |
794fc1018e7416c1f313cd9f566ce81cb3bbd8e2 | 0eea7d48e039f70051ddf39a431c9325998e775e | /fatoracaoLU.sce | f650489468be6e51bf57a9abad8409992078c572 | [] | no_license | dannylong/Dannylong | dc3e200009a356e5c63481737a6f3c3a515fbdab | 5103df01e5bfef3031627b7eb35f815b63ed862c | refs/heads/master | 2016-09-14T04:58:31.471187 | 2016-05-09T00:32:58 | 2016-05-09T00:32:58 | 58,337,691 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,198 | sce | fatoracaoLU.sce | clear;
A = [3 2 4; 1 1 2; 4 3 2];
// Fatoração LU sem pivotamento parcial
function [L, U] = fatoracaoLU(A)
[linhas colunas] = size(A);
L = eye(linhas, colunas);
for j = 1:colunas
pivo = A(j,j);
for i = (j+1):linhas
//zerar todos os termos abaixo do pivo
//zerar... |
a8744d70b6510bfaff38e9f989a9fa98347188fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/DEPENDENCIES/swr.sci | 16772fdd44735b235c9552241083b746b07a643e | [] | 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 | 85 | sci | swr.sci | // function to find SWR,
function[SWR]=VSWR(tao)
SWR=(1+tao)/(1-tao)
endfunction |
069d89d22005d5257c156c434ecf0ba298199e90 | 83cc38e86db979610d3b07de13a13b728154de65 | /Мобильная робототехника/lab2/Lan2-4.sce | 1d96e1e89a508f23fe0b6af412c905abbd57b80b | [] | no_license | Murad255/Sharaga_ | ffa412f0f5ae4dd4cc7f8bec2329e075026389fb | 3ba1ff62c0933b942e6fbbbb370e7e18ee49a682 | refs/heads/master | 2023-04-02T02:28:57.289478 | 2023-03-22T12:44:16 | 2023-03-22T12:44:16 | 178,941,358 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,991 | sce | Lan2-4.sce | //Задание начальных условий
clear; xdel(winsid());
//функция проверки списка
function x=check_list(a, b)
x=0;
for i=1:length(a)
if a(i)(1) == b(1) & a(i)(2) == b(2) then
x = i;
end
end
endfunction
//выбор минимального значения из списка
function x=min_list(a)
y = zeros(length(a));
for i = 1:length(a)
y(... |
e861ce9be61ac33b35b560eb295a331ef939389d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH5/EX5.7/Ex5_7.sce | e6be1ae174b07f5b434da552a70838f6c5ccddb6 | [] | 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,125 | sce | Ex5_7.sce | // chapter 5
// example 5.7
// Calculate the total power loss
// page-183
clear;
clc;
// given
V_DS=120; // in V (DC power supply)
I_D=4; // in A (drain current)
t_r=80; // in ns (rise time)
t_f=120; // in ns (fall time)
I_DSS=2; // in mA (drain current at saturation)
R_DS_on=0.2; // in ohm (drainn ot source resistance... |
96114c8588bb84235c91cbe2c349f986ebcdb0d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.51/2_18_51.sce | dbcd79ee9269c83d2eb03b4e1ed4d1c886ede4f2 | [] | 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 | 2_18_51.sce | //water and its treatment//
//example 2.18.51//
clc
Hardness=600//Hardness of water(mg/lit) or ppm//
H=Hardness/1000//Hardness of water(gms/lit)//
volume_NaCl=300//Volume of NaCl//
Wt_per_Litre=75//gms NaCl consumed by zeolite bed per litre//
total_wt=Wt_per_Litre*volume_NaCl//total gms NaCl consumed by zeolite ... |
b1e03a68465a2275b1ac83e07185268cd0bd87d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.4/example_9_4.sce | 4092e3bf64123ffa3092d65dd9be90bd0441e400 | [] | 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 | 100 | sce | example_9_4.sce | s=%s
sys=syslin('c',(k)/(s*(s+2)))
evans(sys)
printf("there are 2 branches approaching infinity") |
937a982ca1d21a4dfb21da49b83a1735ba304431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH18/EX18.2/Example18_2.sce | 90d3e4614c7086ebb3fcc8371d270fabfa2e81be | [] | 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 | 343 | sce | Example18_2.sce | //Example 18.2.
clc
format(6)
icd=(24/500)*10^3 // in mA
disp(icd,"Average value of load current, Id.c.(mA) = Vdc / RL =")
im=%pi*48 // in mA
disp(im,"Maximum value of load current, Im(mA) = pi * Idc =")
disp("Therefore, maximum ac voltage required at the input,")
vm=550*150.8*10^-3 // in V
disp(vm," V... |
49b9002aac2c105bd9b2391fd1928c979f17b31f | efba0810ec7227f4fe228c95563e792b0b9eee9c | /macros/Plotly_getpath.sci | cec29e4607f32ccb8d4566aa19157ef72390f4bc | [] | no_license | mstroehle/Plotly | 99d626c68ddb65f388034fa4e24b276d04a7cfec | e360ffcae3639471e72e4ee742878443e9072737 | refs/heads/master | 2023-03-23T09:13:19.890260 | 2020-04-21T16:34:29 | 2020-04-21T16:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sci | Plotly_getpath.sci | function path = Plotly_getpath()
path = get_function_path("Plotly_getpath")
path = fullpath(fullfile(fileparts(path), ".."))
endfunction
|
c3797f4be1a62940449273798a176f3d5a0e67fc | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rssq/rssq8.sce | 9c37c1a2bb28bdacc50f17ce38191fb1cbe69fd1 | [] | 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 | 302 | sce | rssq8.sce | //check o/p when the i/p vector contains char type elements
x=['a' 'b' 'c' 'd'];
y=rssq(x);
disp(y);
//output
//!--error 246
//Function not defined for given argument type(s),
// check arguments or define function %c_abs for overloading.
//at line 59 of function rssq called by :
//y=rssq(x);
|
d5e998fe25a56315d05aae22edd8595529afb192 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH9/EX9.4/9_04.sce | ea2565f346c01c0deb9cb0657dfd8f6399f098c2 | [] | 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 | 357 | sce | 9_04.sce | clear
clc
CAo=4;//mol/litre
FAo=1000;//mol/min
//Drawing locus of max rates on conversion-temp graph
//tgen drawing optimum path for this system
//integrating graphicaaly,we ger
A=0.405;//litre/mol.min
t=CAo*A;
V=FAo*A;
printf("\n Part a")
printf("\n The space time needed is %f",t)
printf(" min \n The Volum... |
6dd3c7c332de3e2e2fa8ec1e4f57fd2b4ad11928 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.12/12.sce | a5563782d0971fd1a4c8780a43440c37606dcf10 | [] | 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 | 396 | sce | 12.sce | //hex to binary,octal and decimal conversion//
//example 12//
clc
//clears the command window//
clear
//clears//
//decimal conversion//
x='100'
d=hex2dec(x);//hex to decimal conversion//
b=dec2bin(d);//decimal to binary conversion//
o=dec2oct(d);//decimal to octal conversion//
disp(d);//answer in decimal for... |
4f35be464bb3e9ad8075bdebd8bd52e35eff2bdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH3/EX3.4/ex3_4.sce | c2f8db43d1bc18fd22b219be9eecdcdafa23fb2a | [] | 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 | 442 | sce | ex3_4.sce | Z0=50; //define 50 Ohm characteristic impedance
Z=[50 48.5 75+%i*25 10-%i*5]; //define impedances for this example
Gamma=(Z-Z0)./(Z+Z0) //compute corresponding reflection coefficients
SWR=(1+abs(Gamma))./(1-abs(Gamma)); //find the SWRs
a=0:0.01:2*%pi;
for n=1:length(Z)
plot(abs(Gamma(n))*cos(a),abs(Gamma(n))*si... |
364ce02583cb0a7d9e9a3d7d66a67d2369cf425a | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH7/EX7.8/7_8.sce | ecc5173f305419571525c0a61718765378b364b8 | [] | 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 | 374 | sce | 7_8.sce | clc
//initialisation of variables
d1= 18 //in
d2= 10 //in
d3= 4 //in
Wpercuin= 0.31 //lb
L1= 4 //in
L2= 8 //in
g= 32.2 //ft/sec^2
//CALCULATIONS
m1= %pi*(d1/2)^2*L1*Wpercuin/g
I1= m1*(d1/24)^2/2
m2= %pi*(d2/2)^2*L2*Wpercuin/g
I2= m2*(d2/24)^2/2
m3= %pi*(d3/2^2)*(L1+L2)*Wpercuin/g
I3= m3*(d3/24)^2/2
I= I... |
d3b8e1f6af4d4b47e304870ec46f12d2152123b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH11/EX11.1/Ex11_1.sce | 201a59d293f91af048836e46785761464b97d9fc | [] | 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 | 395 | sce | Ex11_1.sce | clc
E=210*10^9 //Pa
d=100 //mm
t=50 //mm
A=0.005
Iz=0.05*(0.1^3)/12
disp(Iz)
Iy=0.1*(0.05^3)/12
disp(Iy)
//r=sqrt(Iy/A)
r= sqrt(Iy/A)
disp(r)//mm
L=2.75
//P=W/tand(15)=3.732
Pcr=(%pi^2*E*Iz)/L^2
disp(Pcr,"into W is= ")
W=Pcr/3.732
disp(W,"in N is= ")
Pcr=(%pi^2*E*Iy)/L^2
disp(Pcr,"into W is= ")... |
8fbda1dadfd24078088ae03d422f75d06be0a7ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH4/EX4.10/Ex4_10.sce | 43b1fbd35faef517b8bec9b1aa72c9bece3e60a3 | [] | 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 | 717 | sce | Ex4_10.sce | clear all; clc;
disp("Scilab Code Ex 4.10 : ")
//Given:
T1 = 30; //degree celcius
T2 = 60;//degress celcius
l_ab = 1;//m
area = 10*10*10^-6; //m^2
alpha = 12*10^-6;// per degree celcius
E = 200*10^6; //kPa
//Equilibrium:
//F_a = F_b = F
del_T = T2-T1;
F = alpha*del_T*area*E; //Thermal Stress Formula... |
94e291391d260824357f635f052d0fbb27d98cf6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.5/2_5.sce | d553cd209d7c5ad1b727bca6b53a6a0e2fd54ae1 | [] | 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 | 414 | sce | 2_5.sce | clc,clear
printf('Example 2.5\n\n')
Pole=4
Z=200 //No of armature conductors
A=2 //wave connected armature
V=250
phi=25*10^-3 //flux per pole in weber
I_a =60, I_L =I_a //armature current
R_a=0.15, R_se=0.2 //resistances of armature and series field winding
E_b= V - I_a*(R_a+R_se) //induced emf
N=E_b * 60... |
bdc607f36c71475f1c4de6b7d75743a84764476e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH12/EX12.6/Ex12_6.sce | c95e718b03400ba788c98e476690765404d60279 | [] | 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 | 360 | sce | Ex12_6.sce | //Initilization of variables
v_o=2 //m/s
y_o=120 //m
g=9.8 //m/s^2
//Calculations
//Solve using ground as datum
y=0
//Simplfying the equation
a=4.9
b=-2
c=-120
q=sqrt(b^2-4*a*c)
x1=(-b+q)/(2*a) //s
x2=(-b-q)/(2*a) //s
//Result
clc
printf('The time required is %f s',x1)
//As x2 is negative and negative... |
f515ec25b9c0d4c6faa4f8fade766924f5a07640 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH8/EX8.16/8_16.sce | efccee032669c2bca41bef605795ad39a387e633 | [] | 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 | 713 | sce | 8_16.sce | clc
//Initialization of variables
T1=520 //R
disp("From air table,")
vr1=5192
u1=-6.87 //Btu/lbm
pr1=2.504
vrat=6
p1=14.7
R=1.986
M=29
//calculations
vr2=vr1/vrat
T2=1050 //R
u2=86.1 //Btu/lbm
pr2=30.35
p2=p1*pr2/pr1
W=u1-u2
k=1.39
p22=p1*vrat^(k)
T22=T1*(vrat)^(k-1)
W2=R*(T22-T1)/(1-k)/M
//resul... |
23b20cc5ceab1d7eff905ac4ebfdcef348565b9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH5/EX5.8/ch5_8.sce | 47194b0e97d5c1c393ad7ee6d3955a71f767471b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | ch5_8.sce | clear;
clc;
dv=400*10^-6; //dv=dv_T/dt(V/s)
V_s=200;
R=20;
C=V_s/(R*dv);
C_j=.025*10^-12;
C_s=C-C_j; printf("C_s=%.3f uF",C_s/10^6);
I_T=40;
R_s=1/((I_T/V_s)-(1/R)); printf("\nR_s=%.3f ohm",R_s);
//value of R_s in book is wrongly calculated |
4d08f099d2f21e5b815893a265eedf5831eb3965 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/paramstest1.sce | f4d0044739c6759c567853ee07a6e2a778e19fd4 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,061 | sce | paramstest1.sce |
// Constants
g = 9.81;
u0 = 0;
v0 = 0;
b = 0;
h0 = 5030;
consts=struct('g',g,'u0',u0,'v0',v0,'b',b,'h0',h0);
//Domain definition
// Define the x domain
ni = 51;
//ni=41;
xmax = 100000;
dx = xmax/(ni-1);
x = [0:dx:xmax];
// Defin... |
375a03be46bdb8de9ab9e51b77bebf06e28d318f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH4/EX4.3/4_3.sce | 00657639e2259d3b4559d8c2f957b079bbd7eec7 | [] | 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 | 212 | sce | 4_3.sce | clc
//Intitalisation of variables
clear
p1= 1.4 //atm
v1= 250 //ml
t1= 21 //c
v2= 300 //ml
t2= 49 //c
//CALCULATIONS
p2= p1*v1*(273+t2)/(v2*(273+t1))
//RESULTS
printf ('Final pressure = %.2f atm',p2)
|
6c963d399ba8f4da9291979393bf1370fe3d318f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH8/EX8.13/8_13.sce | 1d0c75d83f158356825efa4338b4c16080519c26 | [] | 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 | 834 | sce | 8_13.sce | //To calculate the conductivity, equilibrium hole concentration and position of Fermi level
ni = 1.5*10^16; ////intrinsic charge carriers per m^3
e = 1.6*10^-19;
mew_e = 0.135; //electron mobility, m^2/Vs
mew_h = 0.048; //hole mobility, m^2/Vs
sigma = ni*e*(mew_e+mew_h); //conductivity, ohm-1 m-... |
3b3310953df0d52ab49c26501d1de111035d6bbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH11/EX11.7/11_7.sce | 7bb87ed3378b5cb14da8d1cc10abfba46b248a65 | [] | 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 | 202 | sce | 11_7.sce | //page 506
//example 11.7
clc;
P1=input("enter prob of symbol 1");
P2=input("enter prob of symbol -1");
ak=(1)*P1+(-1)*P2;
disp(ak,"mean is");
Ro=(1^2)*P1+((-1)^2)*P2;
disp(Ro,"mean square is"); |
3c47a2a93f319cb436a7b0278821c3ed7b96948b | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH18/EX18.4/Example18_4.sce | 62672d5f8c1d5218b7d5b8ae2f5ec6759adc8de7 | [] | 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 | 847 | sce | Example18_4.sce | //free energy changes in the system
clear;
clc;
printf("\t Example 18.4\n");
//(a)
GCO2=-394.4;//free energy of formation of CO2, kJ/mol
GH2O=-237.2;//free energy of formation of H2O, kJ/mol
GCH4=-50.8;//free energy of formation of CH4, kJ/mol
GO2=0;//free energy of formation of O2, kJ/mol
deltaGrxn=(G... |
020509f1b658f79331529139b3f96d12cd0cc91f | f5f41d427e165a46b51c8b06f6c2010b4213033a | /Scilab/pbLoad_callback.sci | 1a9bc3c876d2b466ab2c06c24c576c2b263e974a | [] | no_license | rissuuuu/IT_LAB | a40f6ea5311f5d8012364cfa3d3ad37d83be3afd | 8d0f44a2b8b20ed1101c34a5cb263e6229c200cc | refs/heads/master | 2021-01-03T05:06:49.877644 | 2020-02-12T07:42:44 | 2020-02-12T07:42:44 | 239,934,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,482 | sci | pbLoad_callback.sci | f=figure('figure_position',[400,50],'figure_size',[640,480],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible','off');
//////////
handles.dummy = 0;
handles.pbLoad=uicontrol(... |
cb317e63a05f26f23bd6cc18fd2be89ae8e6a5c9 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.14_9.tst | 7030062d8338f9560edeffe67e85b83b338e9daa | [] | 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 | 5,913 | tst | bow.14_9.tst | 14 314:1.0
14 1:0.03278688524590164 17:0.16666666666666666 19:0.2 36:0.2 40:1.0 55:1.0 60:0.08333333333333333 62:1.0 117:0.5 122:1.0 209:0.5 252:1.0 258:0.25 259:2.0 317:0.5 343:0.125 735:1.0 964:1.0 1011:1.0 1315:1.0 1364:1.0 1463:1.0
14 1:0.01639344262295082 4:0.3333333333333333 62:0.5 93:0.06666666666666667 165:1.0 ... |
c66d9c34a2d89053b950f5d156a3d934f0e54918 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH4/EX4.8/example_8.sce | f0d9f2fd7e3aed4979e5a005ce56aa6d5b994a4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | example_8.sce | clc
clear
printf("example 4.8 page number 137\n\n")
//to find the boundary layer properties
disp('part 1')
x=0.05 //in m
density=1000 //in kg/m3
viscosity=1*10^-3 //in Pa-s
u=1 //in m/s
Re=(density*u*x)/viscosity;
printf("Reynolds Number = %f",Re)
thickness=4.65*x*(Re)^-0.5;
printf("\nboun... |
a2d82401dcd09bccf06dc788e18c8638686aa21a | ab89c2161afc0845367b8e25f534e4f99bd36759 | /LAB1/partice1.sce | cef19a7092b93f91d5558af4e4577688ed1b3ba8 | [] | no_license | PhiTruongCE/Digital_Signal_Processing | 22446ebfa65765d1dfcd2c420e05c83dc861ec15 | bacaf762f31a333a641ac48f6b5cc18f120c65be | refs/heads/main | 2023-06-04T03:38:36.140107 | 2021-06-17T04:04:49 | 2021-06-17T04:04:49 | 377,699,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | partice1.sce | l=5;
n=-l:l;
x=[zeros(1,l),ones(1,1),zeros(1,l)];
plot2d3(n,x);
title('Unit impulse');
|
c71434c986d4ae3f9442ee36b0dbf085b5812171 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/randperm.sci | bd11a8ca8aa428a6a44bdee51fe67fc1ec779b5a | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sci | randperm.sci | //generate a random permutation of the integers from 1 to n
function idx = randperm(n)
number = rand(1, n);
[tmp, idx] = gsort(number);
endfunction
|
ea427a1fb8cc5d8f78e42ef1c1b6e6db4c77ca91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.46/Ex1_46.sce | a68bd686ab225fe15a00d16b6a1ed865c001f29d | [] | 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 | 554 | sce | Ex1_46.sce | clc;
r1=9 ; // ratio of reactance to resistance for transformer 1
r2=3 ; // ratio of reactance to resistance for transformer 2
d=atand(r1)-atand(r2); // differene between angles of transformer's leakage impedance
// leakage impedance of both transformers are equal z1=z2, threefore currents in both transformers are... |
a960d276b5b1dc704ea74abb2f4900ad99f10766 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.18/Ex7_18.sce | c4607056dfaddc7e4aed23cbf0ca753b9a6807a1 | [] | 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 | 468 | sce | Ex7_18.sce | clc
//to calculate minimum uncertainity in the momentum
delxmax=5*10^-14 //uncertainity in position in m
h=6.626*10^-34 //plank's constant in Js
delpmin=h/(2*%pi*delxmax)
disp("minimum uncertainity in the momentum of the nucleon is delpmin="+string(delpmin)+"kg m/s")
m=1.675*10^-27 //mass in kg
Emin=(delpmin^2)... |
e77cf0ee64cf3b900c8ba7cbbca0f5d7733da161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH1/EX1.5/5.sce | 660feedab862c19d23758a6c534957095f033feb | [] | 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 | 395 | sce | 5.sce | clc
//Given that
l = 9 // effective path length in m
lambda = 6000 // wavelength in angstrom
del_n = 0.4 // fringe shift
c = 3e8 // Speed of light in m/s
// problem 5 page no 17
printf("\n # Problem 5 # \n")
v = c*sqrt(lambda*1e-10*del_n/(2*l)) // Speed of earth wrt ether in m/s
printf("Relative velocity of e... |
954531e150e61a9755691efe3a825fcac29754fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH9/EX9.5.1/9_5_1.sce | 5fcee6b6c6ee593e8a11f83d646e65b20e82ad17 | [] | 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 | 593 | sce | 9_5_1.sce | clc
pathname=get_absolute_file_path('9_5_1.sce')
filename=pathname+filesep()+'951.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
function[Cp]=fun(T)
Cp=29.50*10^(-3)+ T*0.8188*10^(-5) - T^2 * 0.2925 *10^(-8) + T^3 * 0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.