blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b384d405404a42c53e325e78d056f6f977143292 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH26/EX26.4/Example26_4.sce | 0fff42d68bdc6a52baf4cd7805d9953a6cbef5b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,214 | sce | Example26_4.sce | clear;
clc;
// Example 26.4
printf('Example 26.4\n\n');
//page no. 815
// Solution Fig E26.4b
// Given
SO2_in = 2200 ;// Amount of SO2 entering reactor 2-[lb mol/hr]
// Basis : 1 lb mol CO entering reactor 1,therefore
R1_CO_in = 1 ;//CO entering reactor 1-[lb mol]
air = .80 ;// Fraction of air used in bur... |
24c33ce68bb61219529bf894bd3349157c08b186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH5/EX5.19/ex5_19.sce | f270e629ec3e93d7953157d03c43292544c9b185 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | ex5_19.sce | //Example 5.19, page no-317
clear
clc
e=0.2*10^-3
B=0.08
l=10*10^-2
v=e/(B*l)
printf("V = %.3f m/sec = %.2f cm/sec",v,v*100)
|
2eac5fb038b01cd4e0d5985103c65ec5cc0c7856 | 717ddeb7e700373742c617a95e25a2376565112c | /854/CH2/EX2.2/Example2_2.sce | 38968b0f28b88d3ad868f43ae058388833f50ad0 | [] | 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 | 1,211 | sce | Example2_2.sce | //clear//
//Caption:Program to Caculate Electric Field E at P due to 4 identical charges
//Example2.2
//page 33
clc;
P = [1,1,1];
P1 = [1,1,0];
P2 = [-1,1,0];
P3 = [-1,-1,0];
P4 = [1,-1,0];
R1 = norm(P-P1);
aR1 = UnitVector(P-P1);
R2 = norm(P-P2);
aR2 = UnitVector(P-P2);
R3 = norm(P-P3);
aR3 = UnitVect... |
f7218d8ffbd8dd064d0d9789053b897326c705b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH1/EX1.2/example2.sce | 0d7da6c71473bfd233db1b71af9c9a24c42cbc60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 886 | sce | example2.sce | clc
clear
//input data
P01=7//Total initial pressure of gases at entry in bar
T01=1100//Total initial temperature in K
P02=1.5//Total final pressure of gases at exit in bar
T02=830//Total final temperature in K
C2=250//Exit velocity in m/s
r=1.3//Ratio of specific heats of gases
M=28.7//Molecular weight of gas... |
ceb0ca6b7daf4de2d05c2ba26de13e8ecbbe4998 | e6ea8d4e6298d6aee8f296425a9e68b48ad33795 | /sci_examples/3d_point_cloud_ex.sce | d443224439e189fd34dd36b94bd746bfe5224b6f | [] | no_license | srkirve77/scilab_toolbox | a7d75b97e58813033491ab32fecec43a35ae2e2e | 738760c8b1fd812b0a8d84f05764d395fe7041de | refs/heads/master | 2022-11-07T19:38:51.977104 | 2020-06-22T16:57:01 | 2020-06-22T16:57:01 | 271,746,071 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | 3d_point_cloud_ex.sce | i = 0;
i = double(i);
arr= [];
final_arr = [];
row = 0;
count=1;
count = int(count);
temp = get_random_gaussian(200000);
while i<=20
val = [sin(i),cos(i),(i/4)]
temp1 = [temp(1+count),temp(2+count),temp(3+count)];
count = count + 3;
val = val + temp1/20;
color = colormap_jet(i,0,20);
arr = [val,... |
5fc42d5eac7090e7ee60412e67f8e327ac0772fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH3/EX3.1/3_1.sce | 6b37dcc4eb29368e8f4cc4d0383dfbfa97bf68b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | 3_1.sce | clc
//Initialization of variables
clear
mass=4000 //kg/m^2
Patm=1.013*10^5 //pa
g=9.807
M=28
R=8.3143*10^3
T=303 //K
P1=800*10^3 //pa
//calculations
Ps=Patm+mass*g
n=1/M
V1=n*R*T/P1
W=Ps*(2*V1)
//results
printf("Work done on the surroundings = %d J",W)
|
ca5eb4758a645cccd9e463b79e0d49c45150d867 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH11/EX11.6/Ex11_6.sce | 92a67d559e4403cfe17109e363bd28c45cdf2f99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,130 | sce | Ex11_6.sce | // scilab Code Exa 11.6 General Swirl Distribution axial compressor
Rm=0.5; // Degree of reaction
dm=36/100; // Mean Blade ring diameter in m
rm=dm/2;
N=18e3; // rotor Speed in RPM
h=6/100; // blade height at entry in m
dh=dm-h;
dt=dm+h;
cx=180; // Axial velocity in m/s
alpha_1m=25; // air angle at rotor ... |
304bd8ab6405f89228db8c99733c8763f126b622 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH21/EX21.7/example21_7.sce | 5afc0e07fe84687f116d30499dc61b3f1ec49565 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | example21_7.sce | c1=50;
v1=16;
c2=40;
v2=10;
disp("Part a");
v=v2*(c1+c2)/c1;
disp("the maximum working voltage (in V) is");disp(v);
disp("Part b");
v1=v*c2/(c1+c2);
v2=v*c1/(c1+c2);
disp("the voltage (in V) across 50 μF capacitor is"); disp(v1);
disp("the voltage (in V) across 40 μF capacitor is"); disp(v2);
disp("Part c")... |
c1b8c6a3891da6b767c009ed3e5433de4b2db9e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH34/EX34.05/34_05.sce | 2a598ffa8b7db7d0f3d814f5e6d4bf26d81aab57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,337 | sce | 34_05.sce | //Problem 34.05: For the network shown in Figure 34.20, determine (a) the current flowing in the (0+i10) ohm impedance, and (b) the power dissipated in the (20 + i0) ohm impedance.
//initializing the variables:
rv = 120; // in volts
thetav = 0; // in degrees
ZA = 25 - %i*5; // in ohm
ZB = 15 + %i*10; // in ohm
... |
8e1516211a8eac2eafc76c1e02e38f078fd62728 | 7ef51c5d0a21a0b16fdcf1e2b0ba34941a192b5d | /resultados/interpret_correlation.sci | b3f2fe1f4a10fc7ca924dcc2a36b91e86baeb094 | [] | no_license | josepedro/TCC | c4ab515fea01859420ba3f5123815430ea2b0e02 | 72622069c60ae6c639d9aa2189f868b6db22c6df | refs/heads/master | 2021-01-21T22:29:10.992789 | 2014-12-26T22:32:02 | 2015-01-02T03:06:25 | 22,113,358 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,742 | sci | interpret_correlation.sci | function ACORDETOC = interpret_correlation(S2)
acordetoc = find(S2==max(S2));
if (length(acordetoc) > 1)
acordetoc = acordetoc(1);
end
//DECODIFICADOR
if (acordetoc == 1)
ACORDETOC = 'CM';
end
if (acordetoc == 2)
ACORDETOC = 'Cm';
end
if (acordetoc == 3)
ACORDETOC = 'Caum';
end
if (acordetoc == 4)
... |
515fd72b1e9eb04e87d89c1928d33699d3d87231 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Systems_Engineering_I._J._Nagrath_And_M._Gopal__28.zip/Control_Systems_Engineering_I._J._Nagrath_And_M._Gopal__28/CH9/EX9.13.b/ex9_13_2.sce | 5e08b7cbc286c2dc78bdbeb7ea69c7c23cd85ce0 | [] | 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 | 373 | sce | ex9_13_2.sce | mode(2);errcatch(-1,"stop");driver("GIF");syms K
H=syslin('c',(K*(s+4))/((s-1)*(s-2)))
fmin=0.1;
fmax=100;
bode(H,fmin,fmax)
show_margins(H)
// for phase margin =30
printf("From bode plot it can be seen that gain should be reduced by 4db")
xinit('/home/fossee/Downloads/tbc_graphs/Control_Systems_Engineering_I._J... |
cd1c9f310c2f89ad68be6f05c5aa8676aa9be04b | 6a0d5ad524ce9b230c7e35af224317d515bb8f2d | /ResilienceClosure/donnees.sce | 792e7b3a6c964899a5259d4c90eb3e989b75993b | [] | no_license | mcuilleret/Entropic | b562ded98cbb74ad55579b6be5730767f24f4f2b | 0dd4e8bacb312015cd6c3b04b732ebd69de4ac23 | refs/heads/main | 2023-08-13T07:07:02.684153 | 2021-10-05T10:28:19 | 2021-10-05T10:28:19 | 413,753,215 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,403 | sce | donnees.sce | chdir('C:\Users\matve\Desktop\Code These\ResilienceClosure\');
sheets=readxls('donnees3.xls');
data=sheets(1);
data_cli=sheets(3);
data_param=sheets(2);
data_eff=sheets(4);
data_eco=sheets(5);
data_bio=sheets(6);
data_demo=sheets(7);
data_trophi=sheets(8);
data_cost=sheets(9);
data_actu=sheets(10);
data_prix=sheets(11)... |
82b0361cfc15b160040704b9bc68b3bd810d3d76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH1/EX1.4/Chapter1_Example4.sce | 0e1b512ac018fa1488342c7d536d09828478ac23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,366 | sce | Chapter1_Example4.sce | //Chapter-1, Illustration 4, Page 17
//Title: Fuels and Combustion
//=============================================================================
clc
clear
//INPUT DATA
C=0.84;//Percentage composition of Carbon
H=0.09;//Percentage composition of Hydrogen
CO2=0.0875;//Volumetric composition of CO2
CO=0.0225;... |
bdaaa481c5ba18052629da7757aede3979770966 | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH5/EX5.16/Example5_16.sce | 1cd2060b7d33483b98dfd0a9c0ec558108f8da74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,310 | sce | Example5_16.sce | //Least square approximation to continuous functions
clc;
clear;
close();
format('v',8);
funcprot(0);
deff('[g]=f(x,y)','g= -y^2/(1+x)');
disp('approximation of e^x on [0,1] with a uniform weight w(x)=1')
a11 = integrate('1','x',0,1);
a12 = integrate('x','x',0,1);
a13 = integrate('x*x','x',0,1);
a14 = integrate('x^3',... |
e7f5569aaa4ee9a0c35941b658252ec0ef4bef7c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH2/EX2.8.5/ex_2_8_5.sce | f9355bcfd1b240521ddc0ea29c323ff8c7603c23 | [] | 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 | 260 | sce | ex_2_8_5.sce | errcatch(-1,"stop");mode(2);//Example 2.8.5 // limiting error
;
;
//given data :
del_A=2.5;// may be +ve or-ve in %
As=400;
FSD=600;// in volts
del_A1=(del_A/100)*600;
disp(del_A1,"del_A1 (V)=± ")
e=(del_A1/As)*100;
disp(e,"limiting error,e(%) = ")
exit();
|
c77a236719c5f5f0f032ebe82988ff6884bb363d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH1/EX1.6/Signals_Ex_1_6.sce | 50bafe5d5f8ffc5334fa15fd2aa2835b6bff1cf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Signals_Ex_1_6.sce | clc
//Chapter 1 Signals
//Example 1.6, page no 21
//given
t0=1,T=1,w0=2*3.14/T,P=1
t=0:0.1:1
f=P*t// function f(t)=P*t, 0<t<1
a=1
disp('The Exponential Fourier coeff(Fn) are:for n=-5 to 5')
for n=-5:5// Calculating the fourier coeff
fr=f.*cos(%pi*n*t/T)
Fr(a)=inttrap(t,fr)
fi=f.*sin(%pi*n*t/T)... |
90d33fb1a9720b7dcf6a985b0514353aada2dfbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH5/EX5.1/ch5_1.sce | 714d0d8e3462243c959df92bcc67b2bce92d407c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | ch5_1.sce | //To determine the d.c. output voltage when delay anglw (a)0 (b)30 (c)45
clear
clc;
Vo=3*sqrt(2)*110/%pi;
Vd=Vo*(cosd(0) + cosd(15))/2;
Vd1=Vo*(cosd(30) + cosd(45))/2;
Vd2=Vo*(cosd(45) + cosd(60))/2;
mprintf("(a)For a=0, Vd=%.2f kV\n",Vd);
mprintf("(b)For a=30,Vd=%.2f kV\n",Vd1);
mprintf("(c)For a=45,Vd=%.2f k... |
ad97d897f2b24bf625065edecfe0cc2661d031b7 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/subi04.tst | e8574b2b70bcb7891d90fe1c27226efafdc91f3c | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | tst | subi04.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the SUBI (subtract immediate from register) instruction"
; @Result: "flags.h=1, flags.s=0, flags.v=0, flags.n=0, flags.z=0, flags.c=0, r16 = 8"
start:
ldi r16, 0b00010000
subi r16, 0b00001000
end:
break
|
20e60fadfebb94e5e6ae79c1627d4712246dbd20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH12/EX12.4/12Q4.sce | b96850bce0e65026d994f5540480b3d242964f81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | 12Q4.sce | clc
//For normally consolidated clay, c' = 0.
a=30
T3=10
T1=T3*(tand(45+a/2))^2
Tf=T1-T3
printf('The deviator stress at failure = %f lb/in^2',Tf)
|
8ea9ed42302c0b41bc46acb28eb264457768db94 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/hump3D_GLL.tst | ca42c565326f70db41270b69848a15419afea7b2 | [
"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,348 | tst | hump3D_GLL.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NavierStokes, restart from file, BCs from file, WeakDG, GLL</description>
<executable>CompressibleFlowSolver</executable>
<parameters> hump3D_GLL.xml </parameters>
<files>
<file description="Session File">hump3D_GLL.xml </file>
<... |
6192aa8b7c5395a9604bf34d21fa9a093bec504f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH1/EX1.2/Ex1_2.sce | 4a1e74a2d342c91507716b1a681c6a96cd476ebc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | Ex1_2.sce | //Electric Drives:concepts and application by V.Subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex1_2
clc;
clear;
V1=400;//supply voltage is V
I1=70;//Current in A
N1=78.5;//speed in rad/sec
R1=0.3;//resistance in ohm
I2=90;//current in A
N2=31.4;//Speed in rpm
Eb1=V1-(I1*R1);
T1=(Eb1*I1)/N1... |
9f8da50b184f92ec8169ebd702aaef664413b675 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69.zip/Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69/CH9/EX9.3/9_3.sce | 24807fdf54129252e2e907a14b22cf7cae6d8271 | [] | 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 | 118 | sce | 9_3.sce | errcatch(-1,"stop");mode(2);; ;
disp(10^1.6,'ans for part a :- ');
disp(%e^0.04,'ans for part b :- ');
exit();
|
8ca37e739158fb383e83033856098dcbfeac841f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1415/CH1/EX1.3.6/ex6.sci | 718953fcd960dcfc79c67253e4b8358cf625c3dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sci | ex6.sci | //Example 6 Page 86
clc
clear
function s=S(t)//function for s(t)
s=54*t+20
endfunction
t=[0 0.5 1 1.5 2]//values of t given in question
disp(t,'time(h)')//displaying the t values
s=S(t);//function calling
disp(s,'marker(mi)')//displaying the s values
plot(t,s,'blue')//plotting the graph
xtitle('','Time... |
a4c5bef128f831972d1884ff0e875d0886d8e125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH3/EX3.16/Ex3_16.sce | c90eeaf75d32713fb6c9d65d0bfdb399df1114fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Ex3_16.sce | //Ex 3.16 page 128
clc;
clear;
close;
n=3;// no. of phase
Vs=400;// V
f=50;// Hz
Ls=5/1000;// H
Io=20;// A
Ri=1;// ohm
Vdc=400;// V
Vo=Vdc+Io*Ri;// V
// Vo=3*Vm/%pi*cos(alpha*%pi/180)-3*2*%pi*f*Ls/%pi*Io
Vm=sqrt(2)*Vs;// V
alpha=acos((Vo+3*2*%pi*f*Ls/%pi*Io)/(3*Vm/%pi))*180/%pi;// degree
// Vo=3*Vm/%pi*cos((alpha+m... |
c3975c1db8fb6b0d3cc3755a3908fd7f4f8cfeb8 | c815504d758d414cc511e915493f71305768168d | /plot_fourier.sce | 84312cf1fb2608bd18956524e811226f9339eeb3 | [] | no_license | Vault-1814/my-somethings | ae0ee491921bf608f1876875a1860d3891851455 | 42e743cae2903c9d707958e2c5ad37fce72ff5c6 | refs/heads/master | 2020-04-27T07:24:24.590344 | 2019-03-07T08:17:16 | 2019-03-07T08:17:16 | 174,134,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | plot_fourier.sce | r = read('/home/alisa/rosws/src/youbot_arm_kinematics/scripts/youbot_furier_goal.txt', -1, 2)
plot(r(:,1), r(:,2))
scf
r = read('/home/alisa/rosws/src/youbot_arm_kinematics/scripts/youbot_furier_mes.txt', -1, 4)
plot(r(:,4), [r(:,1), r(:,2)])
|
9c60c10f0aa92c8fcda63b1026f6be503181703d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH1/EX1.13/Ex1_13.sce | d1f05056a50cecd5bba6a6a62f238ade28e27081 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,297 | sce | Ex1_13.sce |
clear all; clc;
disp("Scilab Code Ex 1.13 : ")
//Given:
shear_allow = 90; //MPa
tensile_allow = 115; //MPa
l_AP = 2; //m
l_PB = 1; //m
resultant_A = 5.68; //kN
resultant_B = 6.67; //kN
v_a = 2.84; //kN
v_b = 6.67; //kN
//Diameter of the Pins:
A_A = (v_a*10^3)/(shear_allow*10^6); //Area of pin ... |
383bfb6f417ad46bbc7146d99742ee8f5f89e82f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH4/EX4.11/Ex4_11.sce | 8377b38b356caef2d9de6ec00abe8f054232a08e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | Ex4_11.sce | //Chapter-4, Illustration 11, Page 142
//Title: Gears and Gear Drivers
//=============================================================================
clc
clear
//Input data
Ta=40// no of teeth on gear A
Td=90// no of teeth on gear D
//Calculations
Tb=(Td-Ta)/2// no of teeth on gear B
Tc=Tb... |
a15a7089513513e3bd1aaa1e2feaf87684b23a9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH9/EX9.4/Ex9_4.sce | 7a5520e8b2c5d6a2d46d705b13b003c965557cc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_4.sce | // Chapter9
// value of Rf
// Page.No-313
// Example9_4
//Figure 9.15
// Given
clear;clc;
C=0.1*10^-6; //in F
R=1000; //in Ohm
Av=-29;
Rf=-Av*R;
printf("\n The value for Rf is = %.0f Ohm\n",Rf); // Result
f=1/(2*%pi*6^0.5*R*C);
printf("\n The frequency ,fo = %.0f Hz\n",f); // Result... |
a08e6b2a1366bdb6f76506e25f8f2021d08345b1 | 0638c49154d639c75a74210f25773d78f97f619a | /code/scilab/TestANSver1.sce | 5cd800dc8cadeb9c88d07e8d8f687cbbab1673f0 | [] | no_license | orlando26/Tesis | 2143bdb95e401884e07e92c8b8c35532796159c8 | 2248289f7c343045ba518762266da637f388877d | refs/heads/master | 2020-12-31T00:54:16.022300 | 2017-03-30T20:55:34 | 2017-03-30T20:55:34 | 80,588,772 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,546 | sce | TestANSver1.sce |
//Neural computation
//basic functions
function [VO]=VDIS(e,VI)
TE=max(size(VI));
VO=zeros(1,TE);
for elem=1:TE
VO(elem)=e;
end
endfunction
function [MO]=MDIS(e,MI)
[TR,TC]=size(MI);
MO=zeros(TR,TC);
for r=1:TR
for c=1:TC
M... |
eeb41088019dde88338fd950c67f287c08a1cbdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH4/EX4.10/4_10.sce | 39073d8e601e7a61e1d55f0bd0981b15409b2fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | 4_10.sce | //Net force//
pathname=get_absolute_file_path('4.10.sce')
filename=pathname+filesep()+'4.10-data.sci'
exec(filename)
u1=V-U
u2=(V-U)*cosd(theta)
v2=(V-U)*sind(theta)
V1=V-U
V2=V1
//X component of moment equation(in N):
function y=f(A),y=u1*-(d*V1),endfunction
function z=g(A),z=u2*d*V2,endfunction
Rx=intg(0,... |
4924f0f041e597186e5b3407b0ac0d1697557bfb | 25b5cbd88b9b1c4dd4c6918be2a988027dee667e | /doc/scripts/unicycle/discrete_unicycle.sce | 03addfebf81938d07f0c871400808cb78e410a3f | [] | no_license | nkigen/nxtLEGO | d592720aabdd4da83f3463719135e4e6072aa6dd | 7ce91955744756bfeb32b4b619b80cc26e83afef | refs/heads/master | 2020-05-20T03:22:49.327962 | 2015-03-01T17:35:27 | 2015-03-01T17:35:27 | 17,963,092 | 0 | 0 | null | 2014-07-17T18:41:48 | 2014-03-21T00:17:33 | C | UTF-8 | Scilab | false | false | 98 | sce | discrete_unicycle.sce | //Discrete
global uniKcD;
uniKcD = 4.1;
uniC = (s+0.1)/(s+2.1);
uniGD = ss2tf(dscr(uniC,uni_Tc));
|
f6c081be8615d5f9daccfccf22985ac953b30b64 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/sbci.instr.tst | 14b518655ca3754fc24134a1db7c1f5ed28d3998 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,234 | tst | sbci.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000054 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000088 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x0f 0x47 sbci r16, 0x7F ; 127
0x2: 0x1... |
95616bdbe21225ab4231bb537da7f1becb1b604e | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH3/EX3.4/ch_3_eg_4.sce | 90ed748ec6ed6a0fa3c58575afd04e0f4d066d24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,002 | sce | ch_3_eg_4.sce | a12=437.98*4.186, a21=1238*4.186, v1=76.92, v2=18.07
//calc of BPP
clc
disp("the soln of eg 3.4-->");
t=100
x1=.5, R=8.314
a1=16.678,b1=3640.2,c1=219.61
a2=16.2887,b2=3816.44,c2=227.02
x2=1-x1
p1sat=exp(a1-b1/(c1+t))
p2sat=exp(a2-b2/(c2+t))
h12=v... |
630fe6cc760d00985d344c990b49a51ad1645d84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH35/EX35.2/Example35_2.sce | ffd06e8ededdb4f60630afbc1c0de820f2dee815 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | Example35_2.sce | //Given that
n1 = 1.6
n2 = 1.00
R = -3.0 //in mm
i = -5.0 //in mm
//Sample Problem 35-2
printf("**Sample Problem 35-2**\n")
//n1/d + n2/i = (n2-n1)/R
d = n1/(- n2/i + (n2-n1)/R)
printf("The real depth of the mosquito is %1.2fmm", d) |
722e08897363b68a3d3262909cc2c59201e464ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH11/EX11.3/11_3.sce | b9fc803e98eaa8f07c3bbf8a20380866c83eaab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | 11_3.sce | //example 11.3
clc; funcprot(0);
// Initialization of Variable
b=2.0;
a=4.0;
gamm=9.8*10^3;//gamma
pi=3.14;
Fr=integrate('gamm*sin(pi*60/180)*b*y','y',6,10);
yr=gamm*sin(pi*60/180)/Fr*b*integrate('y^2','y',6,10);
disp(yr,"location of resultant weight in m");
//alternatively
yr1=b*a^3/12/b/a/8+8;
disp(yr1,"l... |
97c2efc74fc35673f36b539e2a5b452931749347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH5/EX5.5/5_5.sce | 60c22a7314e3f2f58bb15c42366056e4f8b7bb21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | 5_5.sce | clc
//initialisation of variables
clear
T1= 25 //C
T2= 100 //C
dH1= -57.8 //kcal
Cp1= 8.03 //cal deg^-1
Cp2= 6.92 //cal deg^-1
Cp3= 7.04 //cal deg^-1
//RESULTS
Cp= Cp1-(Cp2+0.5*Cp3)
dH2= Cp*10^-3*(T2-T1)+dH1
//RESULTS
printf ('Stanadard heat of formation = %.2f kcal mole^-1',dH2)
|
a2b4a4b3116e0de29ed14a8f0dbd74cb9a3d954b | 92bc4c8555d4d13922df9f13a611b76b99808b42 | /ising_model/ising.sce | 5de70b0a8f264b561f99ddea0b73dbd048740a21 | [] | no_license | bertolinocastro/topics-in-computational-physics | f464d7c449715ba9ed04094c0fca985cd0adfcb0 | 4b64f6cdbf3f13823bdd1d59e39db8c753c8f5fd | refs/heads/master | 2020-04-29T08:52:32.230156 | 2019-05-26T01:57:12 | 2019-05-26T01:57:12 | 176,002,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | ising.sce | // importing all codes
exec('ising.sci');
// running simulation for temperatures
temperatures = [.5, 2.27, 5.]
styles = ['b-', 'r-', 'g-']
for i=1:length(temperatures) do
T = temperatures(i)
// [lattice, energies, spins] = ising(n=200, nsteps=500000, H=0, J=1, T=1)
[lattice, energies, spins] = ising(n=200, ... |
43eaacd1bc2c23929773d05af28d03123a5eb49f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH1/EX1.7/ex_1_7.sce | fa4c6fa23c56aa74dd05bd93b2103913b642d535 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | ex_1_7.sce | //Ex 1.7
clc;
clear;
close;
format('v',5);
Iout=6;//micro A
IREF=1.2;//mA
VBE2=0.7;//V
VT=26;//mV
Beta=120;//unitless
VCC=20;//V
R=(VCC-VBE2)/IREF;//kohm
disp(R,"Value of resistance R(kohm)")
IC1=Iout;//micro A
IC2=(IREF-IC1*10^-3/Beta)/(1+1/Beta);//mA
RS=1/(IC1*10^-6)*VT*10^-3*log(IC2*1000/IC1);//ohm
d... |
b7e5173ba5062adcbbe3271c68bf653b73edda3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH4/EX4.4/ex4_4.sce | ca9ac37fcd512aa344c17c2d84d68b78239bd446 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ex4_4.sce | //Single-Sideband Communications : example 4-4 : (pg 187)
a=455;
x=2000+1;
y=2000+3;
c=2000+455;
d=2455-2001;
e=2455-2003;
f=455-454;
g=455-452;
mprintf("\nRF and first mixer input: \n %.f kHz \n%.f kHz",x,y);
printf("\nlocal oscillator = %.f kHz",c);
mprintf("\nFirst mixer output: \n%.f kHz \n%.f kHz",d,e);... |
7ea4f51b310d62bcc5523e17d996e2f52ccab4e3 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_A4.sce | 0124bc8506044683b50af824332a66d2c953494d | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 966 | sce | Mission_A4.sce | //Mission A4
//On récupère les deux images.
pathname = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_A\Jupiter1.pbm";
pathname2 = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_A\Jupiter2.pbm";
jupiter1 = readpbm(pathname);
jupiter2 = read... |
18471a42141a229a4d3b285ac76eaf06ba189f56 | b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832 | /test/assign1/tie-small.tst | c84e26116e883bce1193e0ac0b7cf7cebf413e70 | [] | no_license | apetresc/castro | 1ec1ac1307542487aa1be14c335170f7a1347bf2 | 843165af7c946188a2dd772384cd2d579723c99d | refs/heads/master | 2022-02-20T14:28:41.962893 | 2019-10-07T08:41:59 | 2019-10-07T08:41:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | tst | tie-small.tst | boardsize 4
play w g4
play b f5
play w e6
play b d7
play w c6
play b d6
play w e5
play b f4
play w g3
play b g2
play w f3
play b e4
play w d5
play b c5
play w b5
play b a4
play w b4
play b c4
play w d4
play b e3
play w f2
play b g1
play w f1
play b e2
play w d3
play b c3
play w b3
play b a3
play w a2
play b b2
play w c... |
5ec741469db5b7f00924a14877510e5895f000a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH25/EX25.6/25_6.sce | 9bc14bc872158bcc3620b7f5cf675c9fce814c18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | 25_6.sce | //clc()
//f'(x,y) = -2*x^3 + 12*x^2 -20*x + 8.5
//f(x,y) = -x^4 / 2 + 4*x^3 - 10*x^2 + 8.5*x + 1
h = 0.5;
x = 0:h:4;
y1 = -x^4 / 2 + 4*x^3 - 10*x^2 + 8.5*x + 1;
y(1) = 1;
disp(x,"x =")
disp(y1,"true value of y =")
for i = 1:8
k1(i) = -2*x(i)^3 + 12*x(i)^2 -20*x(i) + 8.5;
x1(i) = x(i) + h/2;
k2(i... |
a5353353b74d744f058f08ac0c1c44ae73221d00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.35.a/ex_1_35.sce | 44118a263f2868abe8c9fcb6e1da63b07fcbe64b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | ex_1_35.sce | //Example 1.35// damping ration,damped natural frequency ,static sensivity and time constant
clc;
clear;
close;
k=1;//static sensivity
wn=sqrt(30);//natural frequency in rad/s
y=(0.1*wn)/2;//damping ratio
wd=wn*sqrt(1-y^2);//damped natural frequency in rad/s
t=(1/wn);//time constant in seconds
disp(y,"damping ratio is"... |
acd118954c8ba671ab5c7dc486bad949b0a581c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH12/EX12.10/Example12_10.sce | bb2d880a43027408a865d5b08ffa1616262866cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,515 | sce | Example12_10.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 12: POWER,ENERGY,AND EFFICIENCY RELATIONS OF DC AND AC DYNAMOS
// Example 12-10
clear; clc; close; // Clear the work space and console.
// Given data
V = 125 ; // Voltage rating of genrator in vol... |
128f527208bdd2085bd17760dd7833fea0d34dda | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.7/exa_2_7.sce | ff2c6c48cf98ba2c395db7e6804e4e205ac1b041 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | exa_2_7.sce | // Exa 2.7
clc;
clear;
close;
// Given data
miu_n= 3900;// in cm^2/Vs
miu_p= 1900;// in cm^2/Vs
ni= 2.5*10^10;// in /cm^3
Nge= 4.41*10^22;// in /cm^3
q=1.6*10^-19;// in C
N_D= Nge/10^8;// in /cm^3
n=N_D;// approx
p= ni^2/N_D;// in /cm^2
sigma= q*n*miu_n;// in (Ωcm)^-1
rho= 1/sigma;// in Ωcm
disp(rho,"Res... |
e35cde014b141a5a2f7999be6e5f2d9d46945e51 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH1/EX1.3/Ex1_3.sce | 3051fec6e1272bab42a1426073e51f751ab3b3ef | [] | 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 | 570 | sce | Ex1_3.sce | errcatch(-1,"stop");mode(2);//caption:find (a)system accuracy(b)system precision
//Ex1.3
Tmin=100.3//minimum measured temperature at true value(in degree centigrate)
Tmax=100.5//maximum measured temperature at true value(in degree centigrate)
T1=100.4//measured temperature at true value(in degree centigrate)
... |
e18174cff33ff1f67aee29084f3010768c1b1522 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH4/EX4.1/4_1.sce | b15d48ced1c599d1b434295158fe3ef7954b31d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | 4_1.sce | printf('K(ph)=2*pi/λph\n=ħ*ω/ħ*ν\n=Eg/ħ*ν'); //k-vector of a photon
Eg=(1.5)*(1.6)*(10^-19);
b=(1.05)*(10^-26); //say (ħ*ν)=b
a=(Eg)/(b);
printf('\nthe k-vector of photon for GaAs will be %f',a); |
55725bdb56e0cef4666ccf11818a8ad03411b08b | 4d006f4893193d20441423bef19f0a20798455ba | /Scilab/sobel.sce | 02b68a3de21e8ff764c0493232aa29d66555bc1d | [] | no_license | caaarllosR/ImageProcessing | b1447f7a37ac26061f1d695779d7cd723f26156a | 7c40dc31c5b3cdf028b19dbbd4d2946ef725a400 | refs/heads/master | 2020-04-08T02:57:21.980270 | 2018-11-24T16:53:43 | 2018-11-24T16:53:43 | 100,518,670 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,908 | sce | sobel.sce | clear
close
xdel(winsid()) // close all windows
clc
imOrigin = imread('images\finger.png');
[x,y] = size(imOrigin);
for i = 1:x
for j = 1:y
im(i,j) = imOrigin(i,j,1);
end
end
im2 = [cat(2, double(zeros(x,2)), double(im), double(zeros(x,2)))]; //adds 2 zeros columns to the right and left
im2 = [cat(1, dou... |
7deb6b1261af64fd11af258ca54d13e4de9edbe3 | 07758ca5d5cd7f32e688a972c8f6fa90b95c617d | /COUSIN_raphael_projet_scilab/COUSIN_Raphael_ex01_caracteristiques.sce | 195c6f35276bebd7b73695b25a70459a57caa2db | [] | no_license | racousin/papers | b1bdc78837df34793448cc32fa4d650743ec1cdd | a1839b984c62c0f6cf48c7314f7d3c878b4dc4a7 | refs/heads/master | 2021-05-07T01:18:21.684265 | 2019-07-04T19:09:45 | 2019-07-04T19:09:45 | 110,237,287 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | COUSIN_Raphael_ex01_caracteristiques.sce | //ex1Q1
t = linspace(-1, 1, 100);
x0 = linspace (-2, 2, 5);
clf();
subplot(1, 2, 1);
xtitle( 'cas a(x) = x','t','x')
for i = 1 : 5
plot2d(t, x0(i) * exp(t) ,[i]);
end;
subplot(1,2,2);
xtitle( 'cas a(x) = -x','t','x')
for i = 1 : 5
plot2d(t, x0(i) * e... |
4a85dab64870c6562bbf6db434dafcee9e0fac98 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_(volume_2)_Dr._K._V._Kumar_2258.zip/Engineering_Physics_(volume_2)_Dr._K._V._Kumar_2258/CH4/EX4.2/4_2.sce | b814747be2cb6f70a29513e454edf0c0b251c933 | [] | 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 | 250 | sce | 4_2.sce | errcatch(-1,"stop");mode(2);;
;
// To calculate the relative permeability of ferromagnetic material
H=220; //field in amp/m
M=3300; //magnetisation in amp/m
chi=M/H;
mew_r=1+chi;
printf("relative permeability is %f",mew_r);
exit();
|
4ec4640ad5a5992b9bf4709eab9d3308a006f9f8 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/nonlinear/scilab/functions/quasi_weighted/quasi_w_nonlin_functions.sci | ce33f16fffe619b7f0f0d67966bc3aecd82a5b10 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,227 | sci | quasi_w_nonlin_functions.sci | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// aux functions to sum of absolute errors
// it is necessary to install the "diffcode" package using ATOMS in Scilab
// smooth functions according to Go... |
af9151974af9bbc9994e11bc537c33a5def45214 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.19/example6_19.sce | 8a3fc45d8bb6bd8b08bd0438ca3659020a6c6644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | example6_19.sce | syms G1 G2 G3 G4 H1 H2;
T1=G1*G3*G2;
T2=G4;
L1=-G1*H1*G2;
L2=-G3*H2*G2;
L3=-G2*G1*G3;
L4=-G4;
L5=-G2*G4*H1*H2;
delta=1-(L1+L2+L3+L4+L5)
del1=1;
del2=1
TF=(T1*del1 + T2*del2)/delta ;
disp(TF,"C/R = ")
|
dfd07aa8bf65bae5e20594befab7e3cbb3028029 | 858e87eba2421990e4bb02ee2ac7070276bc0259 | /experiments/simple-em-continuous.sci | 152841d36205899dc827079f672d57a230c70e20 | [
"LicenseRef-scancode-public-domain"
] | permissive | MyFreertosLab/sdrone_test | c649e737128db26ee0902d2b9beca883c0ef5f2a | 919ff6dd3e5d495102f0b16243873f3cb7b4640b | refs/heads/master | 2023-06-15T05:10:19.052455 | 2021-07-16T07:10:39 | 2021-07-16T07:10:39 | 359,063,905 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,009 | sci | simple-em-continuous.sci | function [X,dX] = steps(t,n,U,X0,dX0,start)
dt=1/n;
A=[
-1/dt, 0, 0;
-1/dt^2,-1/dt, 0;
-1/dt^3,-1/dt^2,-1/dt
];
B=[1/dt;
1/dt^2;
1/dt^3
];
X = X0;
dX = dX0;
for i=[1+start:t+start]
dX(i+1,1:3) = X(i,1:3)*A'+(B*U(i))'
X(i+1,1) = X(i,1)+dX(i+1,1)*dt;
X(i+1,2) = dX(i... |
eb17e82319aaed74fd57467dfc804c462e7b3139 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH3/EX3.3/3_3.sce | 3e5078bc49622a99d2c2ef4681e78a461f4180c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_3.sce | //example 3.3
clc; funcprot(0);
// Initialization of Variable
patm=14.7;//in lbf/in^2
mpiston=100;
g=32.2;
A=1;//area
mair=0.6;
delu=18;
k=1.6;//V2-V1;
P=mpiston*g/A/32.2/144+14.7;
W=P*k*144/778;
Q=W+mair*delu;
disp(Q,"Heat transferred in Btu")
W2=patm*k*144/778;
disp(W2,"Work done in Btu");
delz=k/A;
... |
ddaa0d9db84cae0179bd0f5db4c3390ded15edef | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/DEPENDENCIES/bvpeigen.sce | 1fcbf02aac1845498e04a934604205e49b4b0f5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | bvpeigen.sce | function [x,y,lam] = BVPeigen1(L,n)
Dx = L/(n-1);
x=[0:Dx:L];
a = 1/Dx^2;
k = n-2;
A = zeros(k,k);
for j = 1:k
A(j,j) = 2*a;
end;
for j = 1:k-1
A(j,j+1) = -a;
A(j+1,j) = -a;
end;
exec eigenvectors.sce
[yy,lam]=eigenvectors(A);
//disp('yy');disp(yy);
y = [zeros(1,k);yy;zeros(1,k)];
//disp('y');... |
bec5aacfb7445de92d46ca4839e5d9689d62bfee | c6bf685755436b2a7bf289ac90bec98340fe97fe | /RegressãoLinear&arquivocsv&grafico.sce | 9d255f4daf2f5901b6c58a47b3e0d11714226668 | [] | no_license | ivybin/PROGRAMAS-SCE | 82296ac10f4fb02d6e283f64e910666c6103063a | e61918ceae020bd33fcf223908f7decdec1c41b4 | refs/heads/master | 2023-07-23T12:55:08.711868 | 2021-09-02T17:22:23 | 2021-09-02T17:22:23 | 400,595,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,269 | sce | RegressãoLinear&arquivocsv&grafico.sce | clear;
clc;
close;
function [tca,tcl]= prepara_arq()
acha_arq= uigetfile("*.csv",pwd(),"ESCOLHA O ARQUIVO"); //achar arquivo
ler_arq_matriz= csvRead(acha_arq); //ler arquivo como matriz
[linha_arq,coluna_arq]=size(ler_arq_matriz); //recebe o número de linhas e colunas do arquivo
tca=ler_arq_matri... |
e925858066e60e8a1cb97be335306256a37e21be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.6/Ex12_6.sce | 3eaab29cda537ab509d139f4b8ab1c8e18a683b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | Ex12_6.sce | //===============================================================================
//Chapter 12 Example 6
clc;clear all;
//variable declaration
R2 = 400; //resistance of arm in Ω
R3 = 400; //resistance of arm in Ω
R4 = 400; //resistance of arm in Ω
C4 = 2*10^-6; //... |
9d0a92a700071c0ba0374b34e75608e5ea416976 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH13/EX13.1/13_1.sce | 397468d9b3d8f435b923876b8a21635a397fd9ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | 13_1.sce | clear;
clc
Xd=.7
pf=.8
pfa=acos(pf)
V=1
I0=1* exp( %i * pfa *-1)
E0=V+ (%i * Xd * I0)
E=round(abs(E0)*100)/100
d0=atand(imag(E0)/real(E0))
E0=E * exp(%i * d0 * %pi/180)
Pe0=E*V*sind(d0)/Xd
Qe0=(E*V*cosd(d0)/Xd)-(V*V/Xd)
mprintf("\n(a)\nPe= %.1f Qe=%.1f E= %.2f load angle=%.1f",Pe0, Qe0, E, d0);
e1=E... |
8215107dcca1723d5d822f29c243be5e8f927b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH3/EX3.10/ch3_10.sci | e0680948da6f042ec208cb095f57e8ed6e0549b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | ch3_10.sci | //To find exciting current and expess impedence in pu in both HV and LV sides
clc;
V_BHV=2000;
I_BHV=10;
Z_BHV=V_BHV/I_BHV;
V_BLV=200;
I_BLV=100;
Z_BLV=V_BLV/I_BLV;
I_o=3;
a=V_BHV/V_BLV;
I_oLV=I_o/100; disp(I_oLV,'I_o(LV)pu=');
I_oHV=I_o/(a*10); disp(I_oHV,'I_o(HV)pu=');
Z=complex(8.2,10.2... |
908a2a5e79a28697ebd9385df091eaca262c29e7 | beca18778f40d44e713160c5b0e8136d8a92cad8 | /scilab/acc_limited_fuel.sce | bed05c43c58212c23ffaab25d972b089ba0438b2 | [] | no_license | thomasantony/enjomitch-orbiter | 9542df3dfc83ce0a6cf06ec78dca91b4c1a0babf | 83967b7bf8f8c49d1e90f7b904846e66d1ad6e37 | refs/heads/master | 2022-12-02T07:47:03.976695 | 2020-03-22T13:54:57 | 2020-03-22T13:54:57 | 286,159,679 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | acc_limited_fuel.sce | t = 486;
mfull = 24500;
mflow = 7;
thrust = 280000;
g = 9.81;
a = thrust / ( mfull - mflow * t ) - g;
a0 = thrust / ( mfull ) - g;
s = a * t^2 / 2 * (1 + a/g );
s2 = a * t^2 / 2 * (1 + a/g );
a = thrust / ( mfull - mflow * t )
v = a* t
t = mfull * v / ( thrust + mflow*v)
|
4746b88d1298dc1d8a0ce87c9f79912ff5fddfd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH24/EX24.6/Example24_6.sce | b7ade9bb52f462e1c843044591f9c588cfc8c470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Example24_6.sce | //Example 24.6. perform the binary divisions
clc
x=bin2dec('110')
x1=bin2dec('10')
x2=x/x1
x3=dec2bin(x2)
disp("(i) 110 / 10")
disp(x3," = binary")
disp(x2," = decimal")
x=bin2dec('1111')
x1=bin2dec('110')
x2=x/x1
x3=dec2bin(int(x2));
disp("(ii) 1111 / 110")
disp(x3," = binary")
disp(x2," = decimal") |
670e50d937e59a58c2e17970570ac9517eb340fd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/percent/%pslss.sci | 429f433071bf701df3b9ed010b452ab306d71419 | [
"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 | 248 | sci | %pslss.sci | //[s]=%pslss(d1,s2)
//s=%pslss(s1,d2) ou s=p-s1
// s1 : systeme donne par sa representation d'etat
// p : matrice de polynomes
//
//!
// origine S Steer INRIA 1992
//!
[a2,b2,c2,d2,x2,dom2]=s2(2:7),
s=list('lss',a2,b2,c2,d1-d2,x2,dom2),
//end
|
2a2bb0136fd7f6704ecfa6955292d1cc326271a8 | c565d26060d56f516d954d4b378b8699c31a71ef | /2-DOF_manual/codes-virtual/twodof_para.sce | da9ec619a5f0c9c2e3a8e0ec35ae90b4132654dd | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 721 | sce | twodof_para.sce | mode(0)
global Rc Sc Tc gamm u_old_old u_old r_old_old r_old y_old_old y_old u_new r_new y_new
s=%s;
z=%z;
//TFcont = syslin('c',0.593/((47.21*s+1)*(1.373*s+1)));//second order
//TFcont = syslin('c',0.594/(49.19*s+1))//first order
TFcont = syslin('c',0.42/(35.61*s+1));//first order
SScont = tf2ss(TFcont);
Ts = 1;
[B,A... |
c1691ae04563046acf47223287fc7802b8f3409b | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH7/EX7.5/Example7_5.sci | 7514aebb48b7da716c0fda67827dc5fc0acd96dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sci | Example7_5.sci | //Chapter 7_Operational Amplifier Characteristics
//Caption : Temperature Coefficient
//Example7.5: Determine the temperature coefficient of the input offset voltage for the bipolar differential amplifier having Vos=1.5 mV. What is the percentage change in the Vos per degree temperature change.
//Solution:
clear;
... |
9cdfdd5659ef61069a6cbb19049d528e8964c785 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH7/EX7.11/Ch07Ex11.sce | ba8e1567b1dd95a26487199f5f6b2a9689c19af4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | Ch07Ex11.sce | // Scilab code Ex7.11: Pg:307 (2008)
clc;clear;
P = 3.2e+07/1.6e-013; // Power developed by the reactor, MeV
E = 200; // Energy released by the reactor per fission, MeV
n = P/E; // Number of fissions occuring in the reactor per second, per sec
N = n*1000*3600; // Number of atoms or nuclei of Uranium 23... |
184515f364397f1b3f853745a20cea99d4cf2e12 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testexo3c.sce | e87369c011cdc22c7900e9aec2c1baf9e4ce0a0c | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | testexo3c.sce | exec('scilab-base-calculs-testexo3d.sce',-1)//to delete
exec('scilab-base-calculs-testexo3a.sce',-1)//to delete
exec('scilab-base-calculs-testexo3b.sce',-1)//to delete
// set of values already taken
D=union(union(A,B),C)
// candidate values for element (i,j)
E=[1:9];E(D)=[]
|
9dae2c4bc613f5c7347fa8b6a2ba1c42362ff08c | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/reduce.tst | 5b9e309a9ae2fa034ca7c37a0fce73c575501a89 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 96 | tst | reduce.tst | ## Test of strip blobs reduce command
set echo
read <roundup.fi
strip --blobs --reduce
write -
|
8024fbfd69dc1780bb855efcb3814417c59ba3cd | 634af5304c38dcb1f46551b3af0cd17d9538279f | /aula2/a2e6-Integralx3.sce | c09899571311c2237f575bb073d126101a99be71 | [] | no_license | taiaraujo/Processos_Estoc-sticos | 3b35ab57321d08047621f7045ae62a5c937a3346 | 85677fe2d055ed621d399c64cec14eb6ec1875de | refs/heads/master | 2021-04-28T03:06:13.349687 | 2018-02-19T23:07:28 | 2018-02-19T23:07:28 | 122,131,723 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | a2e6-Integralx3.sce | //Integral de Monte Carlo
//Integral de x^3dx em [0 1]
clear
n = 10; //numero de amostras
u = rand(1,n);
g = u.^3;
I = mean(g)
|
866f2474adcc5094ab94ffd5b06099e77e0fd890 | d916be6e700b3613486a5ac15377af536ecbe918 | /Roots.sce | fd47672459df51e023ccc94a4fe7d80fa740f3ba | [] | no_license | aguilerap-jc/numMethodsP1 | 2bf098d9fb2cb2bb2bd730e760bf61f5b8c7a46c | f3f13fee84b90444548b7c70036780144370c560 | refs/heads/master | 2021-01-23T04:13:38.025702 | 2015-11-26T00:59:02 | 2015-11-26T00:59:02 | 41,867,995 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 28,006 | sce | Roots.sce | //Initialize possible constant values on users functions
e = 2.718281;
function index_menu = display_menu()
disp("Select one of the following methods:");
disp("1) Roots Methods");
disp("2) Non Linear Methods");
disp("3) Linear Regression Method ")
disp("4) Interpolation Direct Method")
disp("5) Integration Tr... |
fa217e4176f5f8893b8577fc8fb582c589b759cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH9/EX9.4/EX9_4.sce | e92f523337e893d1da3d317796e809bf4cca7518 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | EX9_4.sce | // Example 9.4
// Calculation of the maximum reach up to which the carrier orthogonality is preserved.
// Page no 408
clc;
clear;
close;
//Given data
b=22*10^-27; // Power launched in port 1
T=1.28*10^-9; // Guard interval
N=128; // Subcarriers
f=78.12... |
da6e6b44d675a0189ff2804d65a329d7a638c719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH9/EX9.6/EX9_6.sce | d2a20c23bd1ce9fd188af6b10415d00e0e485bcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,412 | sce | EX9_6.sce | // Example 9.6
// Determine (a) System kilowatts (b) System frequency (c) kilowatt loads
// carried by each machine
// Page 361
clc;
clear;
close;
// Given data
Pres=440; // Resistive load
PF=0.8; // Power factor
Pind=200; // Induction motor power
Palt=210; ... |
6b9d7ff1d1b341191063a94fdd8dd1d81c1cde5c | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /BCPST UTT/Old/affichage.sce | 245f36e74eb153a569b4fd17883663b0e4f3dd60 | [] | no_license | ThibaultLatrille/Slides-Sciencework | bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338 | 84b53f3901cbdb10fab930e832dc75431a7dce05 | refs/heads/master | 2020-04-27T07:53:52.313720 | 2019-03-06T16:17:57 | 2019-03-06T16:17:57 | 174,151,758 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,079 | sce | affichage.sce | function []=affichage(C,ville1,ville2,d)
RGB = ReadImage('C:\Program Files\scilab-5.2.1\contrib\france1.jpg');
[image, ColorMap] = RGB2Ind(RGB);
FigureHandle = ShowImage(image, 'Example', ColorMap);
coordIm=transform(C)
if d>=100 then
xstring(coordIm(1,2),coordIm(1,1),ville1)
xstring(coordIm(2,2),coordIm(2,1),vi... |
203759440263c08c8506996542630a0608825592 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH2/EX2.2.46/Ch2_2_46.sce | 3459eb38467fb66c38d33cf2cdb2f56e4128b22e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | Ch2_2_46.sce | clc
disp("Example 2.46")
printf("\n")
disp("Find the capacitor value for full wave rectifier")
printf("Given\n")
Vdc=20
f=60
RL=500
r=0.1/(2*sqrt(3))
c=1/(4*sqrt(3)*r*f*RL)
printf("Capacitor value =\t%e farad\n",c)
|
6503eba818d4bbd5bcc39ad65c602294ec75975e | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/column.tst | fc926964d1be1760f2dafa35d2f1286938e90fcc | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 3,656 | tst | column.tst | # Simple distilation column test
units SI
$thermo = VirtualMaterials.Advanced_Peng-Robinson
/ -> $thermo
thermo + PROPANE n-BUTANE ISOBUTANE n-PENTANE
col = Tower.Tower()
col.Stage_0 + 20 # twenty two stages`
cd col.Stage_10
f = Tower.Feed()
f.Port.T = 30
f.Port.P = 720
f.Port.MoleFlow = 10
f.Port.Frac... |
aef1e79983cb183dd3106e57e7c7995e055d0ced | 449d555969bfd7befe906877abab098c6e63a0e8 | /1865/CH3/EX3.1/prob_1.sce | 8baf63cccd6c88fce5df7359a1bad79d9d5c5fff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | prob_1.sce |
//Problem 1
//Calculate the wavelength of X-rays
clear
clc
V=12400// Potential difference in V
e=1.6*10^(-19)//charge on an electron in C
h=6.626*10^(-34)//planck's constant in J-s
c=3*10^(8)//velocity of light in m/s
w=((h*c)/(e*V))*10^(10)// wavelength of X-rays in A
printf('wavelength of X-rays = %.1f A',w... |
b5eb54461adbcc8e9b5f40daf971ec391eb7c2f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH7/EX7.3/ex7_3.sce | a0192d74a08c64fb2cb1fc82a48d87bb25393cb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | ex7_3.sce | clc
//Example 7.3
//Let wc be the energy stored in capacitor
C=20*10^-6; R=10^6;
t=0:0.001:0.5
v=100*sin(2*%pi*t)
wc=0.5*C*v^2
plot(t,wc)
xtitle('wC vs t','t in sec','wC in J')
//Let iR be the current in the resistor
iR=v/R
//Let pR be the power dissipated in the resistor
pR=iR^2*R
//If wR is the energy di... |
e598fc751290d6c05eb2ad7e984a974125f68569 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH5/EX5.15/Ex5_15.sce | 70dcdecff2b0f24294fc882ab281209b5ca47be7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_15.sce | //Example 5.15
clc;clear;close;
format('v',6);
G=100;//MVA
f=50;//Hz
delL=50;//MW
Tc=0.4;//sec
H=5;///kWs/kVA
KE=G*1000*H;//kWs
delKE=delL*1000*Tc;////kWs///due to decrease in load
fnew=sqrt((KE+delKE)/KE) *f;//Hz
fdev=(fnew-f)/f*100;//%
disp(fnew,"New frequency(Hz)");
disp(fdev,"Frequency deviation(%)");... |
e95664fb45fc7acc52017adde55999b0503bfb13 | e02aa9695b075784e5d6aba93cab02d1864f1039 | /Méthodes_numériques/projet/script_scilab/q11.sce | 063daa364046f75a083d5e57c5d74e02c72c20c1 | [] | no_license | michelprojets/Ensimag1 | 1a4cf84203f0e63a71ece278bf364d32d2219825 | b9ed4a050c7c548781a9e26d99747e8883c5c1f5 | refs/heads/master | 2021-09-13T15:47:16.632446 | 2018-05-01T18:17:26 | 2018-05-01T18:17:26 | 103,514,194 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,183 | sce | q11.sce | //Début Q9*
clear
stacksize('max')
T= 60
h = 1/1000
n = 21
N = T/h
m = 0.5
for k = 1:n
if modulo(k, 2) == 0
SM(k,:) = m
else SM(k,:) = 1
end
end
M = diag(SM)
X_0 = zeros(n,1)
X_m1 = zeros(n, 1)
X_m1(1,1) = -h
function[S_M] = secondmembre(Y)
S_M = zeros(n,1)
S_M(1) = -max(Y(1) - Y(... |
8cb4216c38626896d2df14b11c433ef4afd75c76 | 5f838df28ada5a3bbd5be4c69902b9df4dbffacb | /fir_design.sce | dd4e7c693d46d38c9cf6abb4d5d2764757295d05 | [] | no_license | Sai-Sumedh/filter_design_180070024 | dca29c7b95cb43421e1577af3673f29df3a83251 | c8348c85b515e9d987404c335f52150933512405 | refs/heads/main | 2023-01-14T05:11:25.601573 | 2020-11-12T18:44:36 | 2020-11-12T18:44:36 | 312,361,627 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,238 | sce | fir_design.sce | // code to design the FIR filters
// ideal_BPF = ideal_LPF1 - ideal_LPF_2 with appropriate cutoff frequencies
// get the impulse response of ideal_BPF and then use window (rectangular)
// use functions defined to get all results
// first, common parameters for both filters
M = 37; // my filter design number
... |
59fd3791a6a44836235c5f0ee464e862dc2a419d | bf094dc062201cb9919f235a889253d5029cbb15 | /scripts/lin.sce | ebc99631e08d3fce6aea927d95e0d30c30bccf6b | [] | no_license | yshl/1000x1000 | 5169db3c1082ccacd8ad0805b8d6eaaa16032456 | aabda9a9010a424d6bff1fbe87019496d7a543b7 | refs/heads/master | 2021-01-25T03:49:35.046160 | 2013-09-22T02:30:09 | 2013-09-22T02:30:09 | 7,078,585 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 97 | sce | lin.sce | n=1000;
a=ones(n,n)+1000*eye(n,n);
b=1000*ones(n,1);
x=a\b;
print(%io(2),max(abs(x-0.5)));
quit;
|
e8373080a06640aecea37bafe6e726e76897ab8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH3/EX3.3/3_3.sce | 6c08d367edbcd86314e52593e2a598c016278175 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 3_3.sce | clc
//initialisation of variables
m= 5 //kg
g= 9.8 //m/sec^2
k= 500 //N/m
//CALCULATIONS
x= m*g/k
W= -m*g*x
//RESULTS
printf ('work interaction of spring = %.2f J',W)
|
fdecedca5f46f61c035fed14a6fe29eaa316b376 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH3/EX3.8/3ex8.sci | 8f3e528fae661a7daca612b7ac3fad2e8154b360 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sci | 3ex8.sci | function[k]=fact(a)
k=-1;
if(a<0|a>200)
disp("Invalid");
break;
else
if(a==1|a==0)
k=1;
else
k=a*fact(a-1);
end
end
endfunction
a=4;
p=fact(a);
disp(p,'the value of 4! is') |
8df0ca5e211d3e2805738302d0d21c397c0a0dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH8/EX8.1/ex1.sce | 8a574e6541c2f68407250303da49a4bd6ac0314e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | ex1.sce | //example 1
//maximum power generation by wind turbine
clear
clc
V=10 //Average velocity of wind in m/s
ke=(V^2/2)/1000 //exegy of the blowing air in kJ/kg
D=12 //diameter of wind turbine in m
d=1.18 //density of air in kg/m^3
M=d*%pi*D^2*V/4 //mass flow rate in kg/s
p=M*ke //maximum power generated by wind tu... |
6a0a364f94b43ae96b99e61e98182251cd933c3e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latcfilt/latcfilt14.sce | 9f3c79283dd9a405c8d4ab052c80c27a46fb653d | [] | 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 | 725 | sce | latcfilt14.sce | //i/p arg x contains complex valued elements
k=[0.2 0.3 0.4 1];
x=[1 2 3 4 5+5*%i 6 7];
[f,g] = latcfilt(k,x);
disp(f);
disp(g);
//output
//
//!--error 10000
//dimension mis-match between k and v
//at line 46 of function latcfilt called by :
//[f,g] = latcfilt(k,x);
//
//matlab
//Columns 1 through 3
//
// 1.... |
12cd2e0c7199e8eee2c9edae380f2f1b73195684 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Giza.sce | b820d0efa1b26ce3a5ea781aec1505f168e16781 | [] | 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 | 60,214 | sce | Giza.sce | Name=Giza
PlayerCharacters=King Tut
BotCharacters=Sphynx.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=King Tut
AddedBots=Sphynx.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=b4.map
MapScale=5.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timesca... |
f39e63e091093331d9c169b7dc344c1e7c024cf6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH8/EX8.1/Example_8_1.sce | a1e003f905a19e19841c0002fce889b061fb2fc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | Example_8_1.sce | //Example 8.1
clear;
clc;
//Given
Kp=0.10;//equillibrium constant at 300K
Pa=20;// Partial pressure of A in atm
Pm=1.0;///partial pressure of M in atm
T=300;//Temperature in K
R=8.314;// gas constant in J K^-1 mol^-1
//To determine the free energy
Qp=Pm/Pa;//reaction quotient
delG=R*T*log(Qp/Kp);//free en... |
dc9f6f04bbb4246d522c6446e22ef4ab67cc6a3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH9/EX9.16/Example_9_16.sce | c4c7cf45332e9aacd0a1f832331b09a2f7e4d2c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 989 | sce | Example_9_16.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 9
//Chemical Reaction Equilibria
//Example 16
clear;
clc;
//Given:
//Reaction: CO(g) + H2O(g) --> CO2(g) + H2(g)
P = 1; //pressure in bar
K = 1; //equilibrium constant of reaction
//To calculate the fractional dissociation of steam
//Bas... |
48f9a38eb4b39973ae675c3825176fdcd13ee323 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH8/EX8.11/Ex8_11.sce | f4c03a2675cc8a468f7fcc18eb3c2ddb9b43d5ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | Ex8_11.sce | //Caption: probability of symbol error
//Example 8.11
//page no 383
//Find probability of symbol error
//assuming coherent detection
clc;
clear;
rb=2.5*10^6//binary data rate
N0=2*10^-20;//power spectral density of noise FSK system
A=1*10^-6;//amplitude of received signal
T=1/rb;
Eb=(A^2*T)/2;// Eb=bit ener... |
17f5e0bb48204a778a1973bc48e975f327ec0f83 | feede54c196a479bdc4592783238f5771854ad20 | /Scilab-Code/Q10.sce | 936d4e4f1e5da8a8e9168b5dffe6c19614dcf877 | [] | no_license | cachett/HeatDiffusion | 6275213da94745662db20ecf78d6bf9b1a6f90f1 | 5e80327fbc7da084338499064bcce80c1a92647c | refs/heads/master | 2021-05-14T09:18:24.602579 | 2018-01-05T13:18:18 | 2018-01-05T13:18:18 | 116,322,677 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,153 | sce | Q10.sce | // Scripts Q10, résoud numériquement l'équation (2) et montre la convergence vers la solution du problème stationnaire.
// On fixe u0(t)=1 qqsoit t, u^(0)(x)=0 qqsoit x dans ]-l,l[
// téta = 1/2 Cranck-Nicholson
clc;
exec("Q7pbstationnaire.sce")
//initialisation des variables
l = 10
nbrPoints = 500
delt... |
3c0387a57ef6cd190f03003a9b9211181a1e75e6 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm/enmomt_parts.sce | 7d9a9f1dfc62780ad28b05353827533a2c465664 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sce | enmomt_parts.sce | function [txx, txy, txz, tyy, tyz, tzz]=enmomt_parts(nx,ny,nz,dx,dy,dz,nparts, x, y, z,ppx, ppy, ppz, vx, vy, vz, m)
txx=zeros(nx,ny,nz);
txy=zeros(nx,ny,nz);
txz=zeros(nx,ny,nz);
tyy=zeros(nx,ny,nz);
tyz=zeros(nx,ny,nz);
tzz=zeros(nx,ny,nz);
tpxx=m*vx*vx;
tpxy=m*vx*vy;
tpxz=m*vx*vz;
tpyy=m*vy*vy;
tpyz=m*vy*vz;
tpzz=... |
0895cfff61051b3672148df57256d78d62f9614c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH21/EX14.21.13/Ex14_21_13.sce | 828158df598bbe5308a584b0195288421db05c71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sce | Ex14_21_13.sce | //Section-14,Example-1,Page no.-PC.21
//To calculate collision number,collision frequency and mean free path for oxygen at 298K and 1 atm pressure.
clc;
M_w=32*10^-3 //(kg/mol) molecular weight of oxygen
N_A=6.023*10^23 // Avogadro no.(mol^-1)
M=((M_w)/(N_A))
disp(M,'Mass of one oxy... |
86a6a304813c20fc9c57c82c1d8f79ffeb7a24a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH14/EX14.1/14_1.sce | 8cfdfdff6bd3b56b03852814cb088204fea1658b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | 14_1.sce | clc
//Initialization of variables
x1=0.0200
Kx=812
//calculations
disp("Neglecting 2x in comparision with x1,")
x=x1/Kx
//results
printf("Moles of Iodine present = %.2e mole",x)
|
2a87966461d145c0812cf1fcc77bafdc174ef9ef | ece5c630921508b439ed25c5f7ab3db5a66f7a1a | /Assignment8_Team8/Assignment8_Team8/loop.tst | f6793cd094dfe1135e73cf33c099faea15f736b4 | [] | no_license | VedantS01/HDLProjectsCS2310 | f8d17d1c9c28034a21026a4fbe2ae5d38cf39330 | d2a39a4c062173475bd06ff0b3396f1ac6303103 | refs/heads/main | 2023-06-19T20:42:48.411561 | 2021-07-14T19:37:51 | 2021-07-14T19:37:51 | 386,054,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | tst | loop.tst | /*
PROGRAM 3 :
//HLL
int i = 1 ;
int sum = 0 ;
while (i < 100) {
sum = sum + i ;
i = i + 1 ;
}
//endHLL
i : RAM16K[16]
sum : RAM16K[17]
*/
load HackComputer.hdl, //loading hdl file
output-file loop.out, //declaring output file
output-list RAM64[16]%D1.10.1 RAM64[17]%D... |
1903c9564fda7a1108860cb942b9a02070612250 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH19/EX19.4/Ex19_4.sce | 7b33c8310b995f9e12478b8f4f49fbfcaf76bce6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex19_4.sce | // Example 19_4
clc;funcprot(0);
// Given data
mu=1.50*10^-5;// The viscosity of the CO_2 in kg/(m.s)
T_1=300;// K
T_2=305;// K
k_p=1.00*10^-6;// m^2
k_o=2.00*10^4;// The osmotic heat conductivity in m^2/s
// Solution
dp=-((mu*k_o)/k_p)*log(T_2/T_1);// N/m^2
printf('\nThe steady state thermomolecular pressu... |
55e5510d0f3de2baa194b87feea1826e8309935e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH35/EX35.1/35_1.sce | 5f05aed7fa97cb3258fe8d150997617bdfbddc30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 35_1.sce | //ques-35.1
//Calculating frequency of radiations
clc
w=500;//wavelength (in nm)
c=2.996*10^10;//speed of light (in cm/s)
f=c/(w*10^-7);
printf("The frequency of the radiations is %.0f*10^14 Hz.",f*10^-14);
|
1e468be48b9e1166f2ede7ef17784b07eb3e988b | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH2/EX2.12.b/Example2_12_b.sce | e614e1ac4bbefe6aea293d62e91fd1ca963866c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | Example2_12_b.sce | //Example 2.12(b)
clear;
clc;
R0=100;//Data taken from Example 2.11
alpha=0.00392;//Data taken from Example 2.11
Vref=15;
Prtd=0.2*10^(-3);
i=(Prtd/R0)^(0.5)-(0.41*10^(-3));
R1=(Vref/i);
delta=alpha*1;//Fractional Deviation for 1 degree celsius change in temperature
s=0.1;//Output Voltage ... |
6daf59d517789c42f602158d1d47482460df5cd7 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/compressorwcurve.tst | 9c28cf2766492e968dfb1702bac81c9e45c4a878 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,331 | tst | compressorwcurve.tst | optimizecode 1
maxversions 0
units Field
/LiquidPhases = 2
/StdLiqVolRefT = 288.15
/StdLiqVolRefT = 60 F
/RecycleDetails = 1
displayproperties
displayproperties VapFrac T P MoleFlow MassFlow VolumeFlow StdLiqVolumeFlow StdGasVolumeFlow Energy H S MolecularWeight MassDensity Cp ThermalConductivity Viscosity molarV ZFa... |
a28f68f96e9929e7747c389352199297776685ff | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_calibrate.sci | bd4aaa8abfa7c29388f326f4f6be450485acb987 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,518 | sci | kiks_calibrate.sci | function [] = kiks_calibrate(port,baud,forceul)
// Number of arguments in function call
[%nargout,%nargin] = argn(0)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------
// (c) 2000 Theodor Storm (theodor@tstorm.se)
// http://www.tsto... |
2c9670d2ecc0015cab880f795f7cdb6b82d72628 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/framework/qa/complex/api_internal/worksforme.sce | 0d4335c694df5fa28be4d85b9502a7ebe064fd06 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | Scilab | false | false | 1,966 | sce | worksforme.sce | # *************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to y... |
fd2811e1210e1755ad81249ceb5f1f0016bf2f1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH8/EX8.2/Ex8_2.sce | f67a8eea2af99448a5b6b0f1860ec94607af0dc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Ex8_2.sce | //Caption: peak Amplitude
//Example 8.2
//page no 374
//Find peak Transmission pulseAmplitude
clc;
clear;
NO=1.338*10^-5;
Pe=2.055*10^-5;
T=100*10^-6;
//Pe=erfc(sqrt(Eb/(2*N0)));
Eb=(2*2.9^2*NO);
A=sqrt((Eb*2)/T);
disp("Volts",A,"Transmission pulse Amplitude");
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.