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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1395a6d7efe70f6826ad3a17f7b2edc5be770a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH14/EX14.3/Ex14_3.sce | 28b38ff57eacb0f6f6a15152ee0939ff0a2b558a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | Ex14_3.sce | //Chapter 14: Water Treatment
//Problem: 3
clc;
//Initialisation of Variables
wt1 = 32.4 //in mg/L
wt2 = 29.2 //in mg/L
wt3 = 13.5 //in mg/L
//Solution
temp_h = wt1 * 100 / 162. + wt2 * 100 / 146. //where temp_h is temporary hardness
perm_h = wt3 * 100 / 136. //where perm_h is permanent hardness
... |
0eaefd4b5a68761be9221a095a91271eabfba345 | 17dd6e9c9459b72f85b0a71f73e670abf1ca9f4e | /Wiskunde1/cursus/oefeningen/euros.sci | 3605864108b87de20e00a9fc3d7553cb3d1c1fc9 | [] | no_license | Woumpousse/KHL | e80c9a00bf71321539b218d8ec047883a9c2fc91 | 066a06c131c617e8be9ec6ac2f4c76b637aba34e | refs/heads/master | 2020-12-24T13:18:20.656259 | 2014-09-29T16:14:00 | 2014-09-29T16:14:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sci | euros.sci | function R = EuroNaarEurocent(V)
R = V(1) * 100 + V(2)
endfunction
function R = EurocentNaarEuro(x)
R = [ floor(x / 100), modulo(x, 100) ]
endfunction
function R = GeefTerug(V,W)
x = EuroNaarEurocent(V)
y = EuroNaarEurocent(W)
R = EurocentNaarEuro(x - y)
endfunction
|
2834256e009adf57d48170cfd019b68aebd2cab4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH4/EX4.4/eg4_4.sce | 1603c17546fc1d82c2197350e00e055e784fcfe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | eg4_4.sce | clear;
//clc();
v=66;
r=10;
e1=5;
e2=4;
e3=3;
gmax1=3.8;
gmax2=2.6;
gmax3=2;
r1=e1*r*gmax1/(e2*gmax2);
r2=e1*r*gmax1/(e3*gmax3);
a=r1/r;
b=r2/r1;
v1=gmax1*r*log([a]);
v2=gmax2*r1*log([b]);
c=(v-v1-v2)/(gmax3*r2);
e=exp(c);
R=e*r2;
dia=2*R;
printf("\n the minimum diameter is: %... |
0419bd5ecd3bad185c5c00906d2041f743d32e9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH11/EX11.5/ex11_5.sce | 39a7dfe298088d2f0579a15d4ac85bc50f3e8615 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | ex11_5.sce | clear;
//clc();
// Example 11.5
// Page: 283
printf("Example-11.5 Page no.-283\n\n");
//***Data***//
R = 8.314;//[J/(mol*K)] Universal gas constant
T = 298.15;//[K] Temperature
g_a_0 = 2;//[kj/mol] Gibb's free energy of the pure species 'a'
g_b_0 = 1;//[kj/mol] Gibb's free energy of the pure spe... |
1f1cc241df4bcd457de1b3180a98ab49cb419fbb | b948892b36eefdb35c47c821c51f69bb60989633 | /TransformadaFurier.sce | e324af614aa521a834df8806be770ae7ea7ab1aa | [] | no_license | lucas-medeiros/Digital-Signal-Processing | c5479eab20119e72ccb6adfe1c1d45fddf6dae7c | ba329ce5e5f6ca9ba7d46faba8661e9344627f9d | refs/heads/master | 2020-07-15T04:51:18.868263 | 2019-08-31T02:20:15 | 2019-08-31T02:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 690 | sce | TransformadaFurier.sce | function vet = TransformadaFourier(x)
tamXX = length(x);
tamREX = (tamXX/ 2) + 1;
tamIMX = tamREX;
REX = zeros(1:1:tamREX);
IMX = zeros(1:1:tamIMX);
n = tamXX + 1;
for k = 1:1:tamREX
for i = 1:1:tamXX
REX(k) = REX(k) + x(i) * cos(2*%pi*k*i/n);
... |
f54ace7af92a3433816eb0dd5775a91751262152 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/signal/find_freq.sci | 086ba9f9899045809bace0ee2de55afc6e6dd919 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sci | find_freq.sci | function [m]=find_freq(epsilon,A,n)
//Search for m such that n=K(1-m1)K(m)/(K(m1)K(1-m))
//with m1=(epsilon*epsilon)/(A*A-1);
//If m = omegar^2/omegac^2,the parameters
//epsilon,A,omegac,omegar and n are then
//compatible for defining a prototype elliptic filter.
// epsilon :Passband ripple
// A :Stopband atte... |
1ddcc31b334774193364b403e721f1ac3e9483c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH5/EX5.4/Ex5_4.sce | ef1ab0de1ee56858a73ac95e65ec89bfc35b6562 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex5_4.sce | clc//
//
//
//Variable declaration
FE=10/100; //fermi function
EF=5.5; //energy function(eV)
e=1.6*10^-19; //charge(c)
k=1.38*10^-23; //boltzmann constant(J)
//Calculation
E=EF+(EF/100); //energy(eV)
x=log((1/FE)-1);
T=(E-EF)*e/(k*x); //temperature(K)
//Result
printf("\n tempera... |
e2e3152c4224efb6851d019f01d1266ab41fbbf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH2/EX2.8/Ex2_8.sce | 2e28df51181c27a0ba1a7117a99cb0325b9d45b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,014 | sce | Ex2_8.sce | // Exa 2.8
clc;
clear;
// Given data
// With reference to differential amplifier designed in example 2.6
// 2 applied inputs are
t = [0 :1:100]; // time in mSec
v1= 15*sin(2*%pi*60*t) + 5*sin(2*%pi*1000*t); // in mV
v2 = 15*sin(2*%pi*60*t) - 5*sin(2*%pi*1000*t); // in mV
fi = 60; // frequency of inter... |
047a1ffda1f89f249727ba2ffaa849a8191d1dd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH18/EX18.15/example18_15.sce | f889343c76599933d30601de283a868844cda792 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | example18_15.sce | //Chapter 18
//Example 18_15
//Page 450
clear;clc;
kv=11;
mva=10;
X0=%i*0.05;
X1=%i*0.15;
X2=%i*0.15;
Er=1;
I0=Er/(X0+X1+X2);
I1=I0;
I2=I0;
Ir=3*I0;
Ish=Er/X1;
ratio=Ir/Ish;
disp("Line to ground fault: ");
printf("I1=I2=I0=j(%.2f) A \n", imag(I0));
printf("Fault current = j(%.2f) A \n\n", imag(Ir));
disp("Three ph... |
0f1268380315a14b5aef1aee86a1987da6258090 | cf99f338f2e97fd7e8ae1ad9b640101832f787ba | /case-studies/week-4/week-4-q2.sce | 708970715f64ca164c613d45f07e035c4eaecb32 | [] | no_license | vsujeesh/BN5205 | b8e88324c1c97971ba3d95c3125d05676b6e4996 | 7386a440ed3e954c4aeb490eebd948d35186635d | refs/heads/master | 2022-03-13T01:00:24.783429 | 2019-10-22T03:23:55 | 2019-10-22T03:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,427 | sce | week-4-q2.sce | clear;
clf;
// constant variables
dt = 0.0774;
function dMsdt = slopes(t, Ms)
if t <= 5
K = [0.55, 0.5, 0.4, 25, 0.5, 0.55, 0.01]; // 1/s
else
K = [0.3, 0.5, 0.4, 25, 0.5, 0.3, 0.01];
end
dMsdt(1) = K(7) * Ms(2) + K(2) * Ms(4) - K(1) * Ms(1);
dMsdt(2) = -(K(7) + K(6)) * Ms(2) + K(5) * Ms(3);
dMsdt... |
dbaa766376e16ff036c75b3f613fe7c2a7bf56a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH15/EX15.4/Ex15_4.sce | c87a137ca512882005e663cc280b41971c83d4e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex15_4.sce | b=225//width, in mm
d=500//effective depth, in mm
Asc=125//in sq mm
Ast=754//in sq mm
top_cover=50//in mm
fck=15//in MPa
fy=500//in MPa
Xc=0.456*d//in mm
fcc=0.446*fck//in MPa
//for d'/d=50/500=0.1 and Fe500 grade steel,
fsc=412//in MPa
Mu=(0.36*fck*b*Xc*(d-0.416*Xc)+(fsc-fcc)*Asc*(d-top_cover))/10^6//in kN-... |
0130f80cea20c2468f7d30e4e67993782d2d7f57 | e657bbadea88191ece0e48eb447173a4c5f816f6 | /plotOfHarmonicFunc.sce | e5cd23dbb06f002330fd6fff9ff9cb5011ad8aee | [] | no_license | vainia/Learning-SCILAB | c37d6071907ea4fad811071a3164454a927602d8 | d77877b1316b8b3546cb32cb9e29e7ad70d25280 | refs/heads/master | 2020-03-10T09:51:08.444686 | 2018-04-12T23:13:06 | 2018-04-12T23:13:06 | 129,320,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sce | plotOfHarmonicFunc.sce | for k=1:100
x(k)=k
y(k)=harm(k)
end
plot(x,y,'.b')
plot(x,log(x),'*y')
xtitle("Ivan Napolskykh",'n','pi')
|
889542c3c444ac7b94976f38b3416965b755f0c8 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/NativeInteger/InterfaceLoader.sci | e09361689592b9a2f228a67b9f6c900023626a9a | [] | 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 | 97 | sci | InterfaceLoader.sci | //** ... a very crude temp solution ...
exec("NAT_GAINBLK.sci");
exec("NAT_SUMMATION.sci");
|
cf4ea84c1eb35f9be1461c371244c626c51bdb0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH5/EX5.10/Ex5_10.sce | 24ee31e1509b9a50c39fc7ac0d49b3c0f7c195d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,122 | sce | Ex5_10.sce |
// Theory and Problems of Thermodynamics
// Chapter 5
// Second law of Thermodynamics
// Example 10
clear ;clc;
//Given data
T1 = 1000 // absorbing temperature of reservoir 1 in K
T2 = 300 // absorbing temperature of reservoir 2 in K
T3 = 600 // reje... |
91a877bb316dc8e59203ddfe2178172470214a82 | 971b52073b0a9541c928a42091aba77bddc0743c | /glass0/results/result9s0.tst | 0f47502f46a0274780ee662a0497844641a669d5 | [] | no_license | minminmail/FARCHD_Negative_Rules | 66cb7fd637a9394939688d5a9a804bdcdb9e7f47 | eb69bae9ffe5b94f3191b5456ea15fffacaa3e76 | refs/heads/master | 2023-07-22T15:50:10.413213 | 2021-08-27T06:03:30 | 2021-08-27T06:03:30 | 327,358,135 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,512 | tst | result9s0.tst | @relation
@attribute RI real[1.51115,1.53393]
@attribute Na real[10.73,17.38]
@attribute Mg real[0.0,4.49]
@attribute Al real[0.29,3.5]
@attribute Si real[69.81,75.41]
@attribute K real[0.0,6.21]
@attribute Ca real[5.43,16.19]
@attribute Ba real[0.0,3.15]
@attribute Fe real[0.0,0.51]
@attribute Class{positive,negative... |
3741493b891dd176926e3f7c170bcd4dbf725826 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.5.b/ex_1_5b.sce | d007e7d8db63473cec142a2b8a2d173f07f4dda3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | ex_1_5b.sce | //ex_5 even and odd signals of x(t)
clear;
clc;
close;
t = 0:1/100:5;
x=4*exp(-0.5.*t)
figure
a=gca();
xtitle('x(t)')
plot2d(t,x)
figure
a=gca();
xtitle('even signal')
plot2d(t,x/2)
t1=-5:1/100:0;
plot2d(t1,x($:-1:1)/2)
a.y_location='origin'
figure
a=gca();
xtitle('odd signal')
plot2d(t,x/2)
t1=-5:... |
d8ece50ac1acbed4aadff027257c206fbdda0d12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.32/EX_7_32.sce | 846b11f04a27ac86b2917f66727202faed7b93f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,072 | sce | EX_7_32.sce | // Example 7.33:Design R-C phase shift oscillator
clc;
clear;
close;
Vce=5;//in volts
RE=1;//emitter reistsance in killo ohms
Vbe=0.7;//in volts
Ie=1;//emitter current in mA
Re=1;//EMITTER RESISTANCE IN KILLO OHMS
f=100;//oscillaor frequency in killo hertz
hfe=100;//
hie=1;//in killo ohms
Vc=5;//in volts
I... |
a29e377feea57501fbb07fa5a73f69dc05a1d685 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /HL bootbox.sce | 10a08629956dd58462c87028a4794a52dfb5aca8 | [] | 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 | 66,223 | sce | HL bootbox.sce | Name=HL bootbox
PlayerCharacters=Gordon Freeman;Gordon Freeman HEV
BotCharacters=HL Bot 1.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=Gordon Freeman
AddedBots=HL Bot 1.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=0
BotTeams=0
MapName=hl_bootbox.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
In... |
31113c6e64023c4cedf3d9678687fa6080ee47bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.9/Example11_9.sce | 6807c5a68edc279113ef556d98034e13099744d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | Example11_9.sce | //Example 11.9
clc;
clear;
close;
format('v',7);
//Given data :
H=0.40;//meter
L=5;//meter
disp("(i) End contractions are Suppressed : ");
Q=1.84*L*H^(3/2);//m^3/s
disp(Q,"Discharge in m^3/sec : ");
disp(Q*1000,"Discharge in litres/sec : ");
disp("(ii) End contractions are Considered : ");
n=2;
Q=1.84*(L-... |
b2563e05d20d65a6e1742b90786ce25422c28b0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH7/EX7.11/ex_7_11.sce | 060c40c5ba34160773ae840c03550f76f71af86d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | ex_7_11.sce | //Example 7.11.//acceleration,coasting retardation and scheduled speed
clc;
clear;
close;
format('v',6)
//given data :
t1=24;//in sec
t2=69;// in sec
t3=11;// in sec
V1=48;// in km/h
alfa=V1/t1;
disp("part (a)")
disp(alfa,"Acceleration(km/h/sec) = ")
r=58;// in N/tonne
G=0;
Beta=r/(277.8*1.1);
disp("part (b)")
disp(Bet... |
4b39dab55f6d956607e290d4ff0ac79c68c99c5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH7/EX7.20/Ex7_20.sce | 80a8cbd434dac5ccec8430d7d5d1ae8b1377e76b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 971 | sce | Ex7_20.sce | //===========================================================================
//chapter 7 example 20
clc;
clear all;
//variable declaration
IPR = 8; //current in line R in A
IPY = 10; //current in line Y in A
IPB = 6; //current in line B in A
VP =120; //voltage in V
pf = 1; //power factor
//calculations... |
3c3b7ade777a3ed0ec668d496ea64f9b1e119437 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH13/EX7.13.1/Ex7_13_1.sce | 0d025db00e691b6bb1d514636893acd69cc4780c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex7_13_1.sce | //Section-7,Example-1,Page no.-O.38
clc;
a_1=-1.2
l_1=0.5
d=6.15*10^-2
C_a=a_1/(l_1*d)
disp(C_a,'Specific rotation of cholestrol')
l_2=1
a_2=(C_a*l_2*d)
disp(a_2,'Observed rotation')
d_2=(61.5*10^-2)/20
l_3=0.5
a_3=C_a*l_3*d_2
disp(a_3,'Observed rotation')
|
c91f3c56a478e2315e061a520aabd28cebac608d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH17/EX17.4/17_4.sce | cd21666ea9aaa97a3b89be7fd4d4e53145cef6f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | 17_4.sce | clc;
boiler_eff=71;//%
slope=20;//GJ/D daly
space_heat=boiler_eff/100*slope;
base_load_zero=10000;//GJ/month
base_load=boiler_eff/100*base_load_zero;
consume=1000;//GJ
base_load_new=base_load+consume;
new_eff=75;//%
new_base_load=base_load_new*100/new_eff;
new_space_heat=space_heat/new_eff*100;
//part I
... |
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... |
34e723813bd7218b002c9d43f7a79a223ca16018 | 35af323ca4319450d09d96524417727a8b1b446b | /day02.sce | e39c6e817d8fd1867c92aafd7e14a1ab88b99da5 | [] | no_license | Susmigo/scilab-training | 5758356879713fa2abdbf57a300db2c3f388c6f8 | 8fd6c2af63326654283e204f0f09fba4f60e0b1f | refs/heads/master | 2022-11-24T03:56:09.795868 | 2020-07-20T10:47:20 | 2020-07-20T10:47:20 | 280,121,038 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,206 | sce | day02.sce | //welcome Mr.Govardhan
//plotting
//////////////////////////////////////////////////////
//Example 1
clc,clear
x=[0:0.2:2*%pi]
//scf(0)//select current figure
y=sin(x)
plot(y)
subplot(3,1,1)
//scf(1)
a=cos(x)
xtitle('cos wave')
plot(a)
subplot(3,1,2)
//scf(2)
b=tan(x)
plot(b)
subplot(3,2,0)
/////////////////////////... |
3e38691a2f13df01a9788cbf65d0e424f91a89eb | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%rclss.sci | 35cac8abcb17b2c024686e6111d0407e1af8c2b7 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sci | %rclss.sci | function s=%rclss(s1,s2)
//s=%rclss(s1,s2) <=> s=[s1,s2] [rational, state-space]
//!
// origine s. steer inria 1987
//
[s1,s2]=sysconv(s1,s2);s=[s1,s2]
|
6ebdf587b2b36930458ef9f0a8754d847f3d5d48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH12/EX12.3/Ex12_3.sce | d0d11c48be16323210490512057b67fa790495a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | Ex12_3.sce | clc;
close();
clear();
//page no 403
//prob no. 12.3
B=2*10^6; //Hz
Req=6*10^6 ; //ohm
Vrms=(16*10^-21*B*Req)^0.5; //volts
mprintf('vrms=%.1f micro-V',Vrms*10^6);
|
caede94ba98db421b77fb92791ea0bdadc8a4589 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH13/EX13.2/Example13_2.sce | 4b3ebe444db68b959db5b5880ded20c2eaa2d761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | Example13_2.sce | //Example 13.2
clear;
clc;
w0=10^5;
Q=5;
C1=100*10^(-12);
C2=C1;
gm2=w0*sqrt(C1*C2);
gm3=gm2;
gm1=((sqrt(C1/C2))*sqrt(gm2*gm3))/Q;
printf("(a) gm1=%.d uA/V",gm1*10^6);
printf("\n gm2=gm3=%.d uA/V",gm2*10^6);
R=1/gm1;
L=C2/(gm2*gm3);
printf("\n\n(b) R=%.f kohms",R*10^(-3));
... |
0687f7a75c216e1e7c95c4196adccf9ac5e40bdf | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Peugeot/B21 7110 2012/7.1.17 EQIC 06 RESISTANCE TO VOLTAGE RIPPLES 1.tst | c539422582dfa37ad135a9cdb9753bfd6b4626db | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | tst | 7.1.17 EQIC 06 RESISTANCE TO VOLTAGE RIPPLES 1.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>Class 2</Title>
<Organization>Peugeot</Organization>
<Standard>B21 7110 2012</Standard>
<Item>7.1.17 EQIC 06 RESISTANCE TO VOLTAGE RIPPLES</Item>
<voltage>14</voltage>
<count... |
c7634228c9a9681d3f4e036a029a2e33d4660198 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH5/EX5.2/5_2.sce | e70c9014ebef4c34e0be00f11d325d14a23acd35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | 5_2.sce | clc;
clear;
v2=1000;//ft/sec
p1=100;//psia
p2=18.4;//psia
T1=540;//degree R
T2=453;//degree R
dia=4;//inches
//m1=m2
//d1*A1*v1=d2*A2*v2
//A1=A2 and d=p/(R*T); since air at pressures and temperatures involved behaves as an ideal gas
v1=p2*T1*v2/(p1*T2);
disp("ft/sec",v1,"Velocity at section 1 =")
|
159e05481bdad9c952eb1666f577de9b3cf90c4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH13/EX13.4.b/13_4b.sce | 07f1c54597b00f8b2520eae8b90fc69afca47a6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13_4b.sce | clc
//initialization of varaibles
disp("From Steam tables,")
h1=1219.4
P1=150 //psia
v1=0.59733 //cu ft/lb
s1=1.5995 //B/lb R
//calculations
u1=h1-P1*v1
sg=1.7549
sfg=1.4415
s2=s1
dx=(sg-s2)/sfg
u2=981.3
W=u1-u2
v2=23.48
//results
printf("Final specific volume = %.2f cu ft/lb",v2)
printf("\n Work per ... |
899e3720c7f8b948da6309c24375ec1074189044 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH5/EX5.10/Ex5_10.sce | 83ae771b0c7e0aa898a14c3f4ba0bef148acad85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | Ex5_10.sce | //Example 5.10
clc
clear
x = 3:7;
y = [31.9 34.6 33.8 27 31.6];
delx = x(2) - x(1);
mu1 = delx * sum(y);
mu2 = delx * sum(x.*y);
mu3 = delx * sum(x^2 .*y);
n = length(y);
l = x(1) - delx/2;
u = x(n) + delx/2;
t0 = u-l;
t1 = integrate("x",'x',l,u);
t2 = integrate("x^2",'x',l,u);
t3 = integrate("... |
650eb3f8ac95c77195ce5622158e7d8b046d8bcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH7/EX7.8/example7_8.sce | 98424d78e3e500d09b14ceb01a56b35dcf06ae61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | example7_8.sce | //clc()
MW = 44.032;
Mwater = 18.016;
x = 2;//%
Pa = 41.4;//kPa
Mfr = (x/MW)/(x/MW + (100-x)/Mwater);
//henry's law gives Pa = Ha * xa
Ha = Pa / Mfr;
Molality = 0.1;
Mfr1 = Molality / (1000/Mwater + Molality);
Pa1 = Ha * Mfr1;
disp("kPa",Pa1,"Partial Pressure = ") |
08669dcd2fbc435c37b0bc32e1f41c6444bde959 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH3/EX1.3.15/Ex1_3_15.sce | b891564eb18678509e456c52a656ac64b5c81cde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_3_15.sce | //Section-1,Example-5,Page no.AC-252
//To determine the types and extent of alkalinity present.
clc;
N=1/50 //Normality of H2SO4
V_1=9.4 //Volume of 1/50N H2SO4 using phenolphthalien as indicator
V_2=200 //Volume of sample of water.
V_3=(9.4+21) //Volume of 1/50N H2SO4 using methyl orange ... |
0196ec3c310cda059962963ed13462e7bcdbe28a | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 5/Questao1.sce | d0f24dc0379c72f15663a3c1fad49c15956d9375 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | Questao1.sce | function P = Questao1(Z)
if(1< size(Z,2)) then
// se o vetor for inserido com mais de uma coluna nos o transpomos
Z = Z';
end
// calcula a norma 2 do vetor Z
norma = norm(Z,2)
// tira o sinal do primeiro elemento do vetor Z
sinal= Z(1)/abs(Z(1))
... |
6c119fadf8734334c784dbd021133db3f9400a6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH21/EX14.21.6/Ex14_21_6.sce | 4847d0b8d62f30939377cbbf804f9da2191008cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex14_21_6.sce | //Section-14,Example-1,Page no.-PC.16
//To calculate temperature at which rms velocity of hydrogen gas =100 ms^-1
clc;
//v_rms=sqrt((3*R*T)/M)
v_rms=100 //ms^-1
R=8.314 //JK^-1mol^-1
M=2*10^-3 //kgmol^-1
T=((v_rms^2*M)/(3*R)) //K
disp(T,'Required temper... |
bd6259cd911fd0dc24999f0a993b7c652e83ef04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.7/ex2_7.sci | 15ff905b4d36eacf980fa42b6d07c910f244763b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 827 | sci | ex2_7.sci | //Chapter 2,Ex2.7,Pg2.13
function [r_1] = startodelta(r1,r2,r3) //Function that converts star network to equivalent delta network
r_1=ones(1:3)
Rtotal=(r1*r3 + r2*r3 + r1*r2)
r_1(1)=Rtotal/r1
r_1(2)=Rtotal/r2
r_1(3)=Rtotal/r3
endfunction
function[r_2]=deltatostar(r1,r2,r3) //Function that co... |
b1475c02c7f46dfc27aa2cd0d6cf9151e58ba934 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/examples/addinter-examples/ex14f.sce | f88b72a34a432d614e911860089d9be0a2ecad20 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | sce | ex14f.sce | // Creating the variable C
ex14f();
if C<>[10,20,30] then pause,end
|
edcc7881c7776db2f5b96f7b0f2050ed083cac6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH42/EX42.12/42_12.sce | e56e00b86f7b35ed7aaea7ce56be4f7cca36b520 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | 42_12.sce | //Problem 42.12: Determine for the filter section shown in Figure 42.40, (a) the time delay for the signal to pass through the filter, assuming the phase shift is small, and (b) the time delay for a signal to pass through the section at the cut-off frequency.
//initializing the variables:
L = 2*0.5; // in Henry
C ... |
0219eeab9b99f9942b6fcdc8732e908274cd296d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH11/EX11.1/ex11_1.sce | 9a3e82ba57b1c2caeb9689084751e3d6fccc6293 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | ex11_1.sce | //Page Number: 595
//Example 11.1
clc;
//Given
fabc=10000; //Rs/waffer
c=100;
y=40/100;
coc=fabc/(y*c);
//Cost of one chip
disp('Rs',coc,'Cost of one chip:');
//Market Cost
mc=2*coc;
disp('Rs',mc,'Market costof one chip:');
|
959e9f4b5427af7f3088a1559d2d6ef82490ab4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.4/ex8_4.sce | 018fc0e2132568df91c84c0f2c267c496bd9b5d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | ex8_4.sce | //Page Number: 8.8
//Example 8.4
clc;
//Given,
R=50;
osnr=0;
SNRo=(10^(osnr/10));
disp(SNRo,'Output SNR');
//As Pni=KTB
K=1.38D-23;
T=290;
B=5D+5;
Pni=K*T*B;
disp('W',Pni,'Input noise power');
//Psi=V^2/R
//Given V=5*10^-6V
V=0.5D-6;
Psi=(V^2)/R;
disp('W',Psi,'Signal Power Input');
isnr=(Psi/... |
d772adedd2308b59d1138215ac92131afaee36c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH22/EX22.8/Ex22_8.sce | ec6c32ee45517c368aa05cb3e474b8b5d9677346 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,123 | sce | Ex22_8.sce |
function[r,theta]=rect2pol(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
theta=atand(y/x)
endfunction
function[z]=pol2rect(r,theta)
x=r*cos(theta*%pi/180)
y=r*sin(theta*%pi/180)
z=x+y*%i
endfunction
j=%i
//calculating new power angle
Va=400/sqrt(3)//applied voltage per phase
Pin=8.5... |
67d454e7a9618672d7867cb156426e68fd6b24ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.45/ex_2_45.sce | e5cf1967e1474666c20357356221c4a757ad383d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | ex_2_45.sce | //Example 2.45: Resistance and % error
clc;
clear;
close;
//given data :
i1=.50;// in mA
r1=5000;// in ohm
r2=50;// in ohm
V=3;// in V
I=i1*10^-3/2;// mid scale deflection current in A
Rs=(V/I)-(r1+r2);
disp(Rs,"(i). The resistance,Rs(ohm) = ")
A=.5/100;
In=30/100;
Me=A*1000;
Fsr=In*1000;
P_error=Me*100/Fsr;
disp(P_err... |
2a72df0f13cafc7a02dbf5f70937e8f98395a4bf | a90555c1b25caa293679dea7166187dc891e4b3b | /laboratorna2.sce | 4cf3bbb0fd75d6d939bb0ebc27aaadd653225fa1 | [] | no_license | MukMak/laboratory_works | 298ed8cb941f5bf1c2ac6a8e90bd7ac566acfc6e | 2e637ac262d9ed91ea755b094aedd97a11c3a9a4 | refs/heads/master | 2021-09-10T06:46:59.773963 | 2018-03-21T20:19:43 | 2018-03-21T20:19:43 | 119,851,079 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | laboratorna2.sce | clear
clc
//laboratorna 2 v 15
//input data
a = 2.75
b = 4.2
c = 5.25
//calculation
A = acosd((b^2 + c^2 - a^2)/(2*b*c))
B = acosd((a^2 + c^2 - b^2)/(2*a*c))
C = 180 - A - B
S = 0.5*a*b*sin(C)
//output
mprintf('\n')
mprintf('ОТВЕТ ЗАДАЧИ:\n')
mprintf('Угол A = %.2f град.\n',A)
mprintf('Угол B = %.2f град.\n',B)
mprintf... |
41c8844c2cff8aa3b97d024ec5ab6e0bf4799609 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.13/Ex2_13.sce | ac22ddded5d1318d064b1f291dc61e1db3417bde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,586 | sce | Ex2_13.sce | //Calculations on diesel cycle
clc,clear
//Given:
r=18 //Compression ratio
p=10 //percentage of stroke at which constant pressure process ends
P1=1,T1=20+273 //Pressure and temperature at 1 in bar and K
V_a=100 //Volume of air used per hour in m^3/hr
g=1.4 //Specific heat ratio(gamma)
//Solution:
//Refer fig 2... |
7e77510231595045b6c1a856002cfde4c4f62e7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.4/Ch02Ex4.sci | 50e5ed53ef3228798451899618cb88feb72bed10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sci | Ch02Ex4.sci | // Scilab Code Ex2.4 Longest wavelength of incident radiation: Pg:45 (2008)
h = 6.624e-034; // Planck's constant, Js
c = 3e+08; // Speed of light, m/s
e = 1.6e-019; // Energy equivalent of 1 eV, joule/eV
phi = 6*e; // Work function of metal, joule
f0 = phi/h; // Threshold frequency for metal surf... |
c9e3a821a6be26b5573ac21bea19d4f870a2d044 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH10/EX10.17/example_10_17.sce | 47d6a6fe6968f28b9e46124776789c7c6c1d56de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,275 | sce | example_10_17.sce | clear;
clc;
disp("--------------Example 10.17---------------")
// a) x^6+1
r=6;
p1=(1/2)^(r-1); // formula
p2=(1/2)^r; // formula
slip1=round(p1*100);
slip2=round(p2*1000);
// display the result
printf("\na. This generator can detect all burst errors with a length less than or equal to %d bits; %d out of 100 ... |
066faa2858c4bfa548abf75517a34ee658620dd7 | 717ddeb7e700373742c617a95e25a2376565112c | /446/CH5/EX5.3/5_3.sce | 890ff505cdce937cb5ec1a163d06ff6528d02b27 | [] | 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 | 202 | sce | 5_3.sce | clear
clc
disp('Ex-5.3');
x1=0;x2=L;
xavg=(2/L)*integrate('sin(%pi*x/L)^2','x',x1,x2);
printf('The average value of x is found out to be L/2 which apparently is independent of Qunatum state.'); |
b8cd28a3312e91bdf71dc5fb4b9129d12cbe8a0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.16/exa_2_16.sce | 891579fc88cc528fdd507b573560449e97c40758 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | exa_2_16.sce | // Exa 2.16
clc;
clear;
close;
// Given data
E= 1;//in v/m
miu= 32*10^-4;// in m^2/Vs
m= 9.1*10^-28;// in gram
m=m*10^-3;// in kg
q=1.6*10^-19;// in C
toh_r= 2*miu*m/q;// in sec
Vd= miu*E;// in m/sec
disp(toh_r,"The relaxation time in sec is :")
disp(Vd*10^2,"Drift velocity in cm/sec is :")
|
21527bbf5864b9a2e10a474761770da6413ffa4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH9/EX9.9/example9_9.sce | 3f492058b466a618089587c091d9f22dcb1a41a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,055 | sce | example9_9.sce | //clc()
m = 100;//kg (of 60% solution)
//w - water added to the original solution
//w1 - wt. of Na2S2O3.5H2O crystallized
//w2 - wt. of mother liquor obtained
//w3 - solution carried away by the crystals
xf = 0.6;
Mna2s2o3 = 158;
Mna2s2o35h2o = 248;
mcrystals = m * xf * Mna2s2o35h2o / Mna2s2o3;
// free water ... |
e56f3698fdced154f6c5c57b709a96d7d05acd1a | 45c1200ec894e793587fc6d8f30253e69ecec19a | /neiro/laba2/bin/Debug/cube.tst | fb69c2c5c4a35411937568571409b75e7423a365 | [] | no_license | dShadowHS/dShadow | 46c0df8f6715948d2b952de001f1f8748861eb1d | 0b4c4674d137160d09e5bb9092ff0d2253818dd0 | refs/heads/master | 2021-01-11T23:11:28.661559 | 2017-01-10T17:12:41 | 2017-01-10T17:12:41 | 78,555,391 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | tst | cube.tst | 15,000;15,000;0
95,000;95,000;0
15,000;95,000;1
95,000;15,000;1
|
a480e91be5f55a5f66cafb2b6e2d40ec946d8159 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH9/EX9.4/example9_4.sce | 64b81f833ee2703dab0c9e71f00d491f822832e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | example9_4.sce | //Chapter 9
//Example 9_4
//Page 215
clear;clc;
r=1.24/2;
d12=2;
d23=2.5;
d31=4.5;
deq=(d12*d23*d31)^(1/3)*100;
printf("Equivalent equilateral spacing = %.2f cm \n\n", deq);
loop_l=(1e-7)*(0.5+2*log(deq/r));
printf("Inductance/phase/m = %.2f*10^-7 H \n\n", loop_l*1e7 );
printf(" Inductance/phase/km = %.3f mH \n\n... |
8e2677ad37e1ee676461cdaa2c721b7ad98a42d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH9/EX9.2/example9_2.sce | 4172a814326bf2a7f7525a7d127541d92b8e1ee8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | example9_2.sce | // to find the peak to peak voltage and the time period for the sweep generator circuit in fig 9-7
// example 9-2 in page 243
clc;
// Given Data
R3=4.2e+3; C1=0.25D-6; Vb1=4.9; Vbe=0.7;//resistance in ohm, capacitance in farad and voltages in volt respectively
UL=2;// UTP,LTP=(+/-)2 V
//Calculation
dV=2*UL;//peak-peak... |
6627263ed78608d18e6d3caea8e225040a407c8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH3/EX3.15/Ex3_15.sce | 457c2fcbcc69b34fe586056d003f209b39ad31a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | Ex3_15.sce | clc
//to calculate order when visible light of wavelength in the range 4000 to 7500 angstrom
//let E=(e+d)
E=1/4000 //in cm
lambda1=4*10^-5
//wavelength in cm
lambda2=7.5*10^-5
n1=E*sin(%pi/2)/lambda1
n2=E*sin(%pi/2)/lambda2
disp("order when wavelength of 4000 angstrom is n1="+string(n... |
a24195c38ac337d3ceac42605ae406bae925e02a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/robust/h2norm.sci | e587bd27b9c389d3f20d821e6f421aa6d9cae3c9 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"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 | 935 | sci | h2norm.sci | function [nh]=h2norm(g,tol)
//
// /+00
// 2 | *
// |g| =1/(2*%pi).|trace[g(jw).g(jw)]dw
// 2 |
// /-00
if type(g)=1,if norm(g)=0,nh=0,return,end,end,
[lhs,rhs]=argn(0),
if rhs=1 then tol=1000*%eps,end;
g1=g(1);
if g1(1)='lss' then
if norm(g(5))>0 the... |
dcc284bb0d23791a0bf1a29b03e9cb079d1884c1 | c04fb432166e4832950820b66362a26c125b608a | /make-tests/make7.tst | 5acfde709f6a75098f1b0e3665bcdd47d8096a0f | [] | no_license | andreaowu/Graphs | 6d7d7ce1483e01e0c1bf4657f2f4087cbe328046 | 485dae6c2d173c2844898440fad9306ec77e1962 | refs/heads/master | 2021-01-25T04:58:12.978046 | 2013-12-04T01:09:45 | 2013-12-04T01:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | tst | make7.tst | java make.Main -f make-tests/make7.make -D make-tests/make7.info "T1" |
08d49beaf1baeec6171832bd34562c21fc88aae0 | 8b2aadfe2dd241d882213436738542d3f65f4e17 | /ModuleTonalitéSynthèse/Module Synthèse/Scilab/frequence.sci | 5b83f37fcab60303fb5c5ef1d055a3a94c9ea24e | [] | no_license | ahmed-bensaad/FMTM | c764c3162ac6f24f7caa2d0fd99725d4c458efc6 | 66fd7a477e3addb5a0c3a4d7489daa09fb9c5042 | refs/heads/master | 2021-09-02T11:04:05.660173 | 2017-02-06T21:54:09 | 2017-02-06T21:54:09 | 115,977,485 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sci | frequence.sci | function [ f ] = frequence( oct, n)
G={'do', 'do#', 're', 're#', 'mi', 'fa', 'fa#', 'sol', 'sol#', 'la', 'la#', 'si'};
[nb, loc] = members(G,[n], "last");
i = find(loc);
disp(i)
f=2^((oct*12+i-46)/12)*440;
endfunction
|
0e7aaa2c33cc932c1d9d7c8232cde0dae3739e82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH20/EX20.9/ex20_9.sce | 21df149d38b9bbf5984fc6720ca3e0cb341af477 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | ex20_9.sce | clc;
clear all;
l=0.839e-9;//cell edge length
b=9.27e-24;
Ms=32*b/(l^3);//saturation magnetisation
disp('A/m',Ms,'saturation magnetisation is:')
// Wrong answer printed in textbook... checked in calculator
|
bd74fd94e60b3046e8fc2520518b0ca7c14e6466 | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /lang/mlkit/files/patch-test_all.tst | 0bbc889d9b61a3491fd7bb5da6dd0b99c95f34d3 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | Scilab | false | false | 258 | tst | patch-test_all.tst | --- test/all.tst.orig 2023-05-14 20:38:13 UTC
+++ test/all.tst
@@ -32,7 +32,7 @@ valrecpat1.sml
valrecpat2.sml
valrecpat3.sml
valrecpat4.sml
-posix.sml
+(* posix.sml *)
unbox.sml
rank.sml ccl ecte nobasislib
pat.sml ccl
|
20466385f64993dc4dbfd4109625af841ab0b624 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH5/EX5.6/Ch5Exa6.sci | 365dff328285670166a2f40e6632e2f4874dbae1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,066 | sci | Ch5Exa6.sci |
//Part (a)
E1= 1.0; //energy of first electron, eV
E2= 2.0; //energy of second electron, eV
Eb= 10.0; //height of barrier, eV
Wb= 0.50; //width of barrier, nm
Wb= Wb* 10^(-9); //converting to m
hbar= 1.054*(10^(-34)); //reduced Planck's conctaant, J.s
Me= 9.1*(10^(-31)); //mass of electron, kg
e= 1.6*(10^(-19... |
1e002332f89b6e3b4486138370a09d267d6c85aa | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Mat/erf.sce | 6e7fe55357c779cfa8606b00cc6add117b88f10f | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sce | erf.sce | // Calculating the erf.
y = [1.2, 1, 1.9; 4, 2.6, 5; 2.3, 8, 7];
erfres = armaMat("erf",y)
|
b1d5de8d7f4e326428ff669a53ddcccb35cb7eb9 | e0c1e7e8cb7074e354e2baf085ed4c6d77ca157a | /TAREAS/tercer tarea/tercera.sce | 7ae6ed9a5327fb7eb0faa99303e3f9be33b74892 | [] | no_license | solanosandoval/SOLANO.SANDOVAL.JORGE.ALEJANDRO | 00a9ff678605cbb2665100f9c57b6940e54ce97c | fd34afd8c8750a70b081475e06858e2e7092a1e2 | refs/heads/master | 2020-04-17T00:28:35.687396 | 2019-04-11T13:49:11 | 2019-04-11T13:49:11 | 166,051,105 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,437 | sce | tercera.sce | --> grados1= 15
grados1 =
15.
--> grados2= 35
grados2 =
35.
--> grados3= 45
grados3 =
45.
--> radiasnes1= grados1*%pi/180
radiasnes1 =
0.2617994
--> radiasnes2= grados2*%pi/180
radiasnes2 =
0.6108652
--> radiasnes3= grados3*%pi/180
radiasnes3 ... |
a2147b5bed38e791a2ebe37c07cab47adcbda226 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/percent/%s_l_lss.sci | f0e8d86072986bb7335f794866db9314a33fd0a0 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | sci | %s_l_lss.sci | function s=%s_l_lss(s1,s2)
//
//!
// Copyright INRIA
s=inv(s1)*s2
|
6f620b31a5cceddf215bf2103888f122272ffbd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/4_8.sci | 4c28fa77f01abf7e429d94bd830b022a7d059e97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sci | 4_8.sci | FA0 = 440;
P0 = 2000;
Ca0 = .32;
R = 30;
phi = .4;
kprime = 0.02; //lb.mol/atm.lb cat.h
L = 27;
rhocat = 2.6;
m=44;
alpha = 0.0166;
e = -0.15;
Z0 = 0;
|
40a550f2c2830c86156cc662d0d64555f3fb69a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH4/EX4.3/ex_3.sci | 5bdfc325f66101d7dc7a8e703542e3e5fbedda81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sci | ex_3.sci | //Example (pg no.133)
A=[1 1;0 1]
inv(A)
B=[1 0;1 1]
inv(B)
A*B
inv(A*B)
inv(A)*inv(B)
//inv(A*B)=inv(B)*inv(A)
inv(B)*inv(A)
//Hence inv(A)*inv(B) = inv(A)*inv(B)
I=eye(3... |
0dffebdf58af98a7287da1bc543cf3c13cb296de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.18/ex18_18.sce | 5dfadda404bb1e77d1955229c7cf45f2a605d580 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | ex18_18.sce | clc;
clear all;
e=1.6e-19;//charge of electron
u=3.2e-3;//
sigma=5.9e7;//conductivity
ni=sigma/(u*e);//concentration of conduction electron in Cu
disp('m^-3',ni,'concentration of conduction electron in Cu is:');
N=6.022e23;//Avogadro's constant
de=8900;//density
m=63.5;//atomic mass of Cu
ne=1e3;//no of free ... |
bd46852480743e09bae2dd013452ffa120aebea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH6/EX6.6/example6_sce.sce | e6de0c5a68221a56e0fea1b760578a29e9fe93ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | example6_sce.sce | //chapter 6
//example 6.6
//page 258
printf("\n")
printf("given")
hie=2.1*10^3;hfe=75;hoe=1*10^-6;R1=68*10^3;R2=56*10^3;Rc=3.9*10^3;Rl=82*10^3;
disp(" input impedance Zi=R1||R2||hie")
Zi=((R1*R2*hie)/(R1+R2+hie))*10^-3;
printf(" input impedance is %3.2fKohm\n",Zi)
disp("output impedance is Zo=Rc||(1/hoe)")
Zo... |
3938b15105d63f2404b0dec5160de8ec716b8b06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH11/EX11.4/Example11_4.sce | 3a79efa64e019676d29c25b07e62e34eacedf209 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | Example11_4.sce | //Example 11.4
clc
RS=600
hie=1*10^3
hfe=60
R1=5*10^3
R2=1.25*10^3
RCE=25
f1=125
disp("The lower 3 dB frequency, f1 = 1 / (2*pi*(RS+R1dash)*CC)")
format(5)
R1dash=(R1*R2*hie)/((R2*hie)+(R1*hie)+(R1*R2))
CC=1 / (2*%pi*f1*(RS+R1dash))
x1=CC*10^6
disp(R1dash,"(a) R1''(ohm) = R1 || R2 || hie =")
disp(x1,"... |
d6c7e00b00c20571487cce42df9c519404f78c74 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /PDE/scilab/wave_1d.sce | 92c1bc4ea663c5f6b5d0a9e56527ddf7350e64a7 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 890 | sce | wave_1d.sce | function [u,x,t] = wave_1d(a,xf,tf,it0,i1t0,bx0,bxf,Nx,Nt)
// solve a u_xx = u_tt for 0<=x<=xf, 0<=t<=T
// Initial Condition: u(x,0) = it0(x), u_t(x,0) = i1t0(x)
// Boundary Condition: u(0,t)= bx0(t), u(xf,t) = bxf(t)
// M = # of subintervals along x axis
// N = # of subintervals along t axis
dx = xf/Nx
x = [0:... |
7acc1249be44376afe2f5d155965e007bd2498bb | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/corrmtx/corrmtx9.sce | c803dfd5767daab8eae1090ac929cf4d4e88d115 | [] | 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 | 992 | sce | corrmtx9.sce | x=[1 2 3 4 5 6 7 6];
[X,R] = corrmtx(x,3,'prewindowed');
disp(X);
disp(R);
//output
// 1. 0. 0. 0.
// 2. 1. 0. 0.
// 3. 2. 1. 0.
// 4. 3. 2. 1.
// 5. 4. 3. 2.
// 6. 5. 4. 3.
// 7. 6. 5. 4.
// 6. 7. 6. 5.
//
// ... |
f194094a42b915087d49fbc33960ff97c4abc30c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/cond.man.tst | 36d5fe47c3dc65c04fb136e24d0d77b153ad118b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48 | tst | cond.man.tst | clear;lines(0);
A=testmatrix('hilb',6);
cond(A)
|
1f354c5917d32cd7bf49eee50cde70b0393e59bb | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH3/EX3.5/Ex3_5.sce | 52957c887eae560fd5c22083d22fcbf965c35584 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | Ex3_5.sce | //Chapter 3 : Systems of Linear Equations
//Example 3.5
//Scilab 6.0.1
//Windows 10
clear;
clc;
alphav=2 //assume alpha to be 2
betav=3 //assume beta to be 3
D=[1 0 0 0;0 alphav 0 0;0 0 betav 0;0 0 0 1];
A=[2 4;6 8;10 12;14 16]; //let A be any 4*2 matrix
disp(D,'D:')
disp(A,'A:')
disp(alphav,'alph... |
fa501cdc72573bbcc87e5c69499f1b68c97cd862 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.37/Ch01Ex37.sce | 03aa4f406d66a9f94806013974cfb70b15a0a504 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | Ch01Ex37.sce | // Scilab Code Ex1.37:: Page-1.47 (2009)
clc; clear;
h = 6.6e-034; // Planck's constant, Js
m = 1.67e-027; // Electronic mass, kg
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
l = 2.5e-010; // Length of one dimensional potential box, m
delta_x = 1e-014; // Uncertainty in position of neutron, m
// From unc... |
c76886fbd2c5bde08934230466b5c6f80a47a4cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH8/EX8.2/Ex8_2.sce | 277e8fa44d57fc0de7dfd1306f4e8c17a6505086 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Ex8_2.sce |
clc
// Given that
H_c= 3.3e4 // // Magnetic field in A/m
T_c = 7.2 // Critical temperature in kelvin
T = 5 // Temperature in kelvin
printf("Example 8.2\n")
printf("Standard formula used \tH_c = H_c_0*(1-(T/T_c)^2) \n")
H_c_0 = H_c*(1-(T/T_c)^2)^(-1) // Calculation of critical field
printf("Magnetic Field ... |
94d69a9a288a7b161112f3f40a96f4274c77cce2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH11/EX11.10/Ex11_10.sce | 0942497ff13e32b27807f1adb5ca23639c377c96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 962 | sce | Ex11_10.sce | //Book Name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 11
//example 11.10
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
V=480;//terminal voltage in volt
n=1120;//related full load speed of the motor in rpm
R1=1;//stator resistance in ohm
R2=1;//rotor resistance ... |
bd0ee3584e9f99a3ccfb200c8f5b5652f9152fa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH11/EX11.2/Chapter11_Example2.sce | fe6640f99e4d95a938fa55c3e91f7d5e8fd68c62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | Chapter11_Example2.sce | clc
clear
//Input data
V=10*1000//Potential difference applied in V
I=2*10^-3//Current in A
e=(1.6*10^-19)//Charge of the electron in C
m=9.1*10^-31//Mass of the electron in kg
//Calculations
n=(I/e)/10^16//Number of electrons striking the target per second *10^16
v=sqrt((2*e*V)/m)/10^7//Velocity of the elec... |
95d8dd884100af4b37e4396b396a0045b450ebc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.24/24.sce | 9a8491920632e39ea7e16d562d83cc6fa1cf09c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | 24.sce | clc
t1=350; //0C
t_s=350; //0C
p2=7; //bar
p3=7; //bar
p4=0.4; //bar
t3=350; //0C
h1=2985; //kJ/kg
h2=2520; //kJ/kg
h3=3170; //kJ/kg
h4=2555; //kJ/kg
h_f2=697.1; //kJ/kg
h_f4=317.7; //kJ/kg
P=110*10^3; //kW
disp("(i) The ratio of steam bled to steam generated")
m=(h_f2-h_f4)/(h2-h_f4);
ratio... |
1409193b50fc6dd2b37d1401c4f7f90163eb4b56 | eec0cb8a9a3987d4e28fc22c89750a158a00ea84 | /Assignment8_team8/ComputerIf.tst | 5b11bf9bcadda4dc93a94a5f98c5df1d5b86644d | [] | no_license | Archaic-Mage/CS2310_LAB_Assignments | 8ac90e0123de95f5cf8db709cd7761962bf8cef2 | e922b59fc1350db3f23b07b8f5986ac54f197c8d | refs/heads/main | 2023-08-29T23:42:07.913682 | 2021-11-16T14:00:05 | 2021-11-16T14:00:05 | 401,640,543 | 1 | 1 | null | 2021-10-01T05:55:36 | 2021-08-31T09:10:15 | Scilab | UTF-8 | Scilab | false | false | 582 | tst | ComputerIf.tst | load Computer.hdl,
output-file ComputerIf.out,
compare-to ComputerIf.cmp,
output-list time%S1.4.1 ARegister[0]%D1.7.1 DRegister[0]%D1.7.1 PC[]%D0.4.0 RAM16K[16]%D1.7.1 RAM16K[17]%D1.7.1 RAM16K[18]%D1.7.1;
// Load a program written in the Hack machine language.
ROM32K load if.hack,
output;
//for a>b
set RAM16K[16] 5,... |
cf45ad195e1d8cfb6c003a6170ebfcba42bd263a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH16/EX16.10/Ex16_10.sce | 98bd57453bde2ff3cfd582b28558a1b9eb94c4c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Ex16_10.sce | clc
clear
//Initialization of variables
N2=78.1 //Moles of Nitrogen
M=29 //Molar mass of Air
ba=2.12 //Basis
x4=0.3 //Moles of Ch4
x5=3.7 //Moles of H2
x6=14.7 //moles of H2o
//calculations
O2=N2/3.76
c=14.7
b= x4*4 + x5*2 + x6*2
a=b/ba
AF=(O2+N2)*M/(a*12 + b)
//results
printf("Air fuel ratio = %.1f lbm... |
e0a3d58ab1172e0c2b6b5daa170f966867a17d49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH5/EX5.4/Exa_5_4.sce | 55d01b1ae38dd75063a23c6d5a625d094829ea20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | Exa_5_4.sce | //Exa 5.4
clc;
clear;
close;
format('v',6);
//Given Data :
Q1=400;//KJ
T1=1227+273;//Kelvin
T2=27+273;//Kelvin
A=Q1-T2*Q1/T1;//KJ
disp(A,"Availability of the system in KJ : ");
UA=Q1-A;//KJ
disp(UA,"Unavailable energy in KJ : ");
|
55a88f1b07c9d853295e4a48dcaa267d0d1632bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.21/Example4_21.sce | 31957a768f49e378aa659378c5e3845015150fb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | Example4_21.sce | //Exa 4.21
clc;
clear;
close;
//Given data :
r=2.5/2*10^-2;//m
VL=132;//KV
epsilon_o=8.85*10^-12;//permitivity
f=50;//Hz
dRRdash=sqrt(7^2+(4+4)^2);//m
dBBdash=dRRdash;//m
dYYdash=9;//m
DSR=sqrt(r*dRRdash);//m
DSY=sqrt(r*dYYdash);//m
DSB=sqrt(r*dBBdash);//m
Ds=(DSR*DSB*DSY)^(1/3);//m
dRY=sqrt(4^2+(4.5-3.... |
d2011e9a8f0e9abc579b248aa8ac8d2aa98a12b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH10/EX10.3/Ex10_3.sce | 71bc8b0654b7bb070f8300f83508003a7dd553bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | Ex10_3.sce | clc
clear
printf("Example 10.3 | Page number 350 \n\n");
//Find volume, enthalpy, internal energy and entropy per kilogram of water
//Given Data
p1 = 200 //kPa //initial pressure
t1 = 100 //°C //initial temperature
ts = 120.23 //°C //saturated steam temperature
//Solution
//From steam table
v1 = 0.001044 //... |
25163227ab2ed1b891a6cd88dc10052b80f748a9 | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /banana-svm.sce | 1eba3aa70cb660cf0b162405503ed49027d86694 | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 857 | sce | banana-svm.sce |
a1 = csvRead("banana.csv");
[b1,renum] = gsort(a1(:,3));
label_vector = a1(:,3);
instance_matrix = [a1(:,1), a1(:,2)];
model = libsvm_svmtrain(label_vector, instance_matrix);
x1 = linspace(-4,3);
x2 = linspace(-3,4);
rho = model.rho;
gamma = model.Parameters(4);
sv_coef = model.sv_coef;
SVs = model.SVs;
nSV = length... |
59b516e96c11f59c9495bc2d4d1fd96a13f46474 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH11/EX11.1/11_1.sce | 6b9b081337a2b970ab387924d5ba8b1455230d3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | 11_1.sce | //Eg-11.1
//pg-468
clear
clc
//The time required to heat up the oil from 60 to 90 degrees centigrade is calculated by integrating the function f(T) from 60 to 90.
//Where f(T) = (dT/dt), temperature gradient.
T = [60;90];
for(i = 1:2)
f(i) = 1/(40-0.3*T(i));
end
//Now the inegration using the ... |
055e0c18820b608d4536ecb4e50fd07a6b88d8b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH4/EX4.2/4_2.sce | 0cab1fc3d2f67d78426888462152421ea2aed4f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | 4_2.sce | clc
//initialisation of variables
D= 2 //in
S= 10 //in
s= 10000 //strokes
V= 231 //in^3
//CALCULATIONS
di= V/(S*s*D*%pi)
//RESULTS
printf ('thickness = %.7f in',di)
|
3b788f5eeeb4f6880b2c2e486b36a0cbdd059c0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH18/EX18.2.b/ex_18_2_b.sce | d5c5b6fab44cffe478e208f54b1e9daf76930278 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_18_2_b.sce | //Example 18.2.b : saturation flux density
clc;
clear;
close;
//given data :
format('v',5)
mu0=4*%pi*10^-7;
mu_b=9.27*10^-24;// A.m^2
p=8.9; // in g/cm^3
Na=6.023*10^23;// avogadro's number
A=58.71; // in g/mol
n=((p*Na)/A)*10^6;
Ms=0.60*mu_b*n;
Bs=mu0*Ms;
disp(Bs,"saturation flux density,Bs(tesla) = ")
|
d0e1c921bc76c972ab8ee2697bf14adee04645d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH8/EX8.6.6/ex_8_6_6.sce | 33e89f1d59027033f5af99c7ee9de3b884102892 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | ex_8_6_6.sce | //Example 8.6.6: Cx,Rx and D
clc;
clear;
close;
format('v',9)
//given data :
f=1000;//in Hz
R2=20000;// in ohm
R3=1.2*10^3;// in ohm
C3=300*10^-12;// in farad
C4=0.05*10^-6;// in farad
Rx=(R2*C3)/C4;
disp(Rx,"unknown resistance,Rx(k-ohm) = ")
Cx=((R3*C4)/R2)*10^6;
disp(Cx,"unknown capacitance,Cx(micro-farad) = ")
w=2*f... |
f39003e116bf5f09b6250a72bcc8033c2efec8d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH23/EX23.5/Example5.sce | 2bbbe3ea3c658e0c79a12a36d99c3a5f3f89f3c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,670 | sce | Example5.sce | clear
flag=1
mode(-1)
clc
printf("Example 5 : Print all the system call errors with perror \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems programming in Unix ... |
b398eaf0f23663ea9e5cf7e4ede76037fa00cb1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.10/Ex3_10.sce | 7611b86e662692ce087950bfb7eadeed2790fd5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex3_10.sce | //Ex:3.10
clc;
clear;
close;
n1=3.6;// core refractive index
n2=3.56;// cladding refractive index
y=0.85*(10^-6);// wavelength in um
m=1;
n=0;
v_c=2.405;// for planner guide
a=(v_c*y)/(2*%pi*sqrt(n1^2-n2^2));// core radius in micrometer
printf("the max thickness=%f um",a*10^6); |
831f1028cc3b7ae21d46e434d2e23a3d28009010 | 3a97da3a62f6f24ab4fd2ac63474a40f1b6bc37f | /lab3/cudd-3.0.0/cplusplus/test.tst | 93fabf59b252154c0b0675688c4d04093a8f0ab8 | [] | no_license | Luke2336/EDA_2021_Spring | 89d11c9cbf6662e92d8c9f6001652fdbfe7f0fca | 6173b9844f8643f0301bcc9e15fa2026a7867d54 | refs/heads/main | 2023-06-06T01:33:11.539509 | 2021-06-16T07:16:27 | 2021-06-16T07:16:27 | 349,317,415 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,186 | tst | test.tst | Entering testBdd
f: 3 nodes 1 leaves 1 minterms
11 1
g: 3 nodes 1 leaves 3 minterms
0- 1
11 1
f and g are not complementary
f is less than or equal to g
g: 2 nodes 1 leaves 2 minterms
1- 1
h: 2 nodes 1 leaves 2 minterms
-1 1
x + h has 3 nodes
h: 3 nodes 1 leaves 3 minterms
01 1
1- 1
Entering testAdd
r: 6 no... |
4ef7f35a4dcde10328262d847bca6e0f6b9480d5 | fd6a414e5722e920e5ebe08c77fe0f70b29e77cf | /EffectofLengthwindowonSTE.sce | 280f73e835caae5d0a9f08910d2be30c4a821912 | [] | no_license | JBouis/AudioProcessing | e774bdfaf38207643d441f975a96773ae3cbbd24 | c9f81b8d5ce447b014707b309ef209530219adc0 | refs/heads/master | 2021-05-18T02:21:40.839402 | 2020-03-29T15:22:16 | 2020-03-29T15:22:16 | 251,063,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,276 | sce | EffectofLengthwindowonSTE.sce | // This program shows the effect of window length on STE
clc, close,clear,
[y,Fs]=wavread('C:\Test_Project\a-team_my_way.wav');
t=(0:length(y)-1)/Fs ; // Changing x axis in to time
// in seconds
subplot(311)
plot(t,y)
xlabel('Time in Second')
title('Original signal')
frame_durn = 0.025; // Duration of ... |
39d343b7c69b085dbe30d512632702aadf154389 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.5/Ex24_5.sce | c836bf52226e02b71afda3a7f76a24ed32e23880 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,147 | sce | Ex24_5.sce | // Example 24_5
clc;funcprot(0);
//Given data
T_1=19+273;// K
p_1=100;//kN/m^2
p_2=800;// kN/m^2
n_c=0.85;// The isentropic efficiency of compressor
n_t=0.88;// The isentropic efficiency of turbine
n_pt=0.86;// The isentropic efficiency of power turbine
m=7;//Air flow rate in kg/s
T_3=980+273;// K
C_p=1.006;... |
adbf0386c58926a9fd93beaae1a52c12b16dc677 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH9/EX9.5/Ex9_5.sce | c01d793a8c6810b566d6906791cb3937b439d595 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | Ex9_5.sce | clc
b = 30 // basic size in mm
s1 = 0.005 // maximum limit of shaft in mm
s2 = 0.018 // minimum limit of shaft in mm
h1 = 0.020 // maximum limit of hole in mm
h2 = 0.0 // minimum limit of hole in mm
t1 = s2-s1 // shaft tolerence in mm
t2 = h1-h2 // hole tolerence in mm
Sh = b-s1 // high limit of shaft in mm
Sl... |
03b99c468413134de06fdbc115d4692a4fad18d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH4/EX4.a.15/Example_a_4_15.sce | ef4bf0b7c9a11e9430cb945ae1c481ed66fab5e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | Example_a_4_15.sce | //Example_a_4_15 page no:181
clc;
x0=0;
x1=%pi;
Vav=5*(1/%pi)*(integrate('sin(wt)','wt',x0,x1));
rms=sqrt(5^2*(1/%pi)*(integrate('sin(wt)^2','wt',x0,x1)));
disp(Vav,"the average value is ");
disp(rms,"the effective value of rms is ");
|
2dd1617a18fb9ac4fdc1120d7de93f260debace7 | 717ddeb7e700373742c617a95e25a2376565112c | /632/CH11/EX11.38/example11_38.sce | 63a9d790c10ff9075e9085dffd63a4afd608dcc1 | [] | 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,156 | sce | example11_38.sce | //clc()
m = 1000;//kg/h (dried product)
// S be the amount of dry solid in the product stream
Pmoisture1 = 4;//%
Pmoisture2 = 0.2;//%
S = m *(1 - P/1000);
X1 = Pmoisture1/(100 - Pmoisture1);
X2 = Pmoisture2/(100 - Pmoisture2);
//let G be the weight of dry air in the air stream
Y1 = 0.01;//kg water/kg dry sol... |
db9fd6edfbd598a651172fcc71b04a0c5adefd89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH5/EX5.1.a/Example5_1a.sce | f9d7ec518481c6932baa8616723e38f91ce1516f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | Example5_1a.sce | clear;
clc;
//Example 1.1
//Caption : Program to find transistor currents for npn transistor.
//Given Values
//Silicon Transistor
B=100; //Beta
Ico=20; //in nA
Rc=3;
Rb=200;
Vbb=5; //in V
Vcc=10; //in V
Vbe=0.7; //in Active region
//Applying KVL to base circuit
//Vbb+Rb*Ib+Vbe=0
Ib=(V... |
9feadb1b087fcaca110fcc18e05d713a6d365192 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH4/EX4.9/Example4_9.sce | 6d5903cb614b7e22d29d261344834e3e4759fb97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Example4_9.sce | //Example 4.9
clear;
clc;
f0=1*10^3;
Q=5;
w0=2*%pi*f0;
Rinv=100*10^(-9);
D=Rinv/(Q*w0);
C=D;
L=1/((w0^2)*C);
//Specifying Components for GIC
C1=10*10^(-9);
C2=C1;
C5=C1;
R2=D/(C2*C5);
R3=R2;
R4=R2;
printf("Designed General Impedance Converter Low Pass Filter :");
pr... |
29272cfd99044a34fc2d5641fb9a8090ed973e64 | 09c4a8bcbc605cc3a5a45779e9218e6f309b0132 | /MC1/question-1-2.sci | a0ae41190218337c21521477eac58b7cb1409f0f | [] | no_license | emilemathieu/ImportanceSampling | 8224833f7255160230532329aeb220723338eea2 | 2afeb94bc6b1063d0a1f24fc41b79c434b34a5ca | refs/heads/master | 2021-05-28T20:54:32.251555 | 2015-06-01T17:57:00 | 2015-06-01T17:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sci | question-1-2.sci | // Question 2
function [y]=call(x,K)
y=max(x-K*ones(x),0);
endfunction
function []=test_call(N)
W_T=sqrt(T)*rand(1,N,"gauss");
S_T=S_0*exp((r-sigma^2/2)*T + sigma*W_T);
payoff=exp(-r*T) * call(S_T,K);
estimation=mean(payoff); // estimation for the price
ecart_type=st_deviation(payoff); // estimation for... |
af7960ad90cd8b54fb97018e7caaba75ba64af63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH5/EX5.41/5_41.sce | 490ad562a82b3e13b7c278c3f50c0ed4fb93726e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,062 | sce | 5_41.sce | //Example 5.41
//Piecewise Cubic Hermite Interpolation Method
//Page no. 182
clc;close;clear;
x=[0,1]
y=[1,3]
y1=[0,6]
x0=poly(0,'x')
printf('\tx\ty=f(x)\n-----------------------\n')
for i=1:2
printf('x%i\t%i\t %i\n',i-1,x(i),y(i))
end
p=1;p1=1;i=1;
for k=1:2
for j=1:2
if k~=j then
... |
31e4b2276837d5107027e6af36fe5fe1370b77c0 | e806e966b06a53388fb300d89534354b222c2cad | /macros/imadd.sci | 93e1273c5d05882f76db6a204d65ee40de9b582e | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sci | imadd.sci | function[sum] = imadd(matA, matB)
[lhs, rhs] = argn(0)
sum = opencv_imadd(matA, matB)
endfunction
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.