blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
81ac73efdfc12b22cc41c13fe6b1b00de9cff109 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH15/EX15.3/Ex15_3.sce | 9cf97010a5b48d8a9399565b9517298f4d20a1f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,082 | sce | Ex15_3.sce | //Chapter 15: Antennas for Special Applications
//Example 15-12.1
clc;
//Variable Initialization
f = 60e6 //Frequency(Hz)
dep = 20 //Depth of antenna location (m)
sigma = 1.33e-2 //Conductivity (mho per m)
eps0 = 8.85e-12 //Air Permittivity (F/m)
epr1 = 80 //Real part of relative permittivity (unitless)... |
52c6e604ec75cb3d0e33236bc8ff3dd156e26c82 | bc7dfe8e57c0246b70975caa4a9714f842b567d1 | /ch11/spell.tst | 9b1ea6ef35768b78b19347d072adab2bba27024b | [] | no_license | TheSlamAnderson/cst203-data-structures | 60b6943d3f1098f2823ec1a88b4f3faa067179a0 | c36b64cd9cea1b194fe4a4ce5163699cf60a2149 | refs/heads/master | 2021-11-08T04:27:16.481424 | 2017-03-01T15:57:57 | 2017-03-01T15:57:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | tst | spell.tst | teh message contians the url for the web-page
and a misspeled url for the email adress |
9f16c84aa123377d68875d140962ac4d98540c9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3750/CH4/EX4.2/Ex4_2.sce | 0b407e8cdf118daf4b23ae6b5148a7bce391318d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sce | Ex4_2.sce | //Strength Of Material By G.H.Ryder
//Chapter 4
//Example 2
//To calculate Percentage error in Poission's ratio
clc();
//Initialization of Variables
errorG=1/100; //Percentage error in determination of G
nu=0.25 //Correct value of Poission's Ratio
//Computations
//Gdash=(1+errorG)*G
GdashByG=1+errorG; ... |
1323b6e2ec1d1e72f10cd3e52ab5b2fa5c4839bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH1/EX1.7/Chapter17.sce | 9c58627307cf81274187cc3207ae9e71b4bc8423 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | Chapter17.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 1, Example 7")
//The temprature(T) of brick wall after sunset is 50°C
//The emissity value(emi)=0.9
//The radiant heat flux per square meter =E/A Where E is radi... |
869fac92655f68d01374cf6599af001907a3925c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH4/EX4.11/Ch04Ex11.sce | 9e7a905ecae1093a2deccd64ee9dfb3c85caeff8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,663 | sce | Ch04Ex11.sce | // Scilab Code Ex4.11: Page-197
clc;clear;
w1 = 0.017;....// Magnitude of the dispersive power of first lens
w2 = 0.034;....// Magnitude of the dispersive power of second lens
// Let 1/f1 = x and 1/f2 = y, then
// The condition for achromatic combination of two lenses, w1/f1 + w2/f2 = 0 => w1*x + w2*y = 0 ---... |
1104b9fac3ea3df687201e49832ff6c279b98c42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH2/EX2.6/example2_6.sce | 9dd4ed1183ed8288fd2a0515793590e5e8966349 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | example2_6.sce | //chatper 2
//example 2_6
//page 23
clear;
clc;
capacity = 5*10^6;
h = 200;
n_overall = 75;
density=1000;
w = capacity*density*9.81;
printf("Weight of water available is W = %.2f N \n", w);
e = w*h*n_overall/3600/1000;
//e - electrical energy
printf("Electrical energy available = W*H*n_overall = %.2f kWh \n", e);
|
452e991baa685b649cb91b73fed92ba0d5f43d69 | b4bf3df41ac6382824fbe37cfa37fb2d9794fc9a | /matlab_examples/numericalanalysis/interpol/interpol.sci | f1726a927cd48db53ac141d8272eb57e3c6f95dd | [] | no_license | rcgsheffield/matlab-cic6007 | c5334862798c2c54298f815c67d0f6312311d3d2 | 3aee6863f3475deef8014c1be712d303bb12f7c6 | refs/heads/master | 2022-02-23T08:48:07.738350 | 2019-12-10T09:30:25 | 2019-12-10T09:30:25 | 128,164,624 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,099 | sci | interpol.sci | //Integration using Simpsons rule
//quadrature to higher order using lagrange interpolation
function y=testfunction (x)
y=sin(x);
endfunction
//lagrange interpolation
//xval is the value of x at which we wish to interpolate
//f is the series of values
function y=lagrange_interp(xval,f,x,i)
t1=(xval-x(i))*... |
da60125d3e4fe92da9e6a5cc84d8a0908754e886 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH9/EX9.8/Ex9_8.sce | b34740b1f6314ceba0a512d3f7d6a527e4b1496c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex9_8.sce | //Variable declaration:
//From example 9.7:
b = 1.0 //Width of plate (m)
L = 1.2 //Length of plate (m)
TS = 58.0 //Surface temperture of plate (°C)
Ta = 21.0 //Air flow temperature (°C)
h = 38.7 //Average heat transfer coeffi... |
47c5e16bf3787ee9acfed061f6a1248645c22e16 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.11_8.tst | 50ae25919f8fd0a4e80ff6a111f5f86fc628d08f | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 800,759 | tst | 5.11_8.tst | 11 1:1 61:1 133:1 599:1 1087:1 1413:1 1454:1 1700:2 1703:1 1710:1 1845:2 1950:1 1988:1 2040:1 2220:1 2228:1 2354:1 2464:1 2567:1 2628:2 2702:1 2739:1 2809:1 3059:1 3071:1 3320:1 3348:1 3551:1 3726:1 3887:1 3952:1 3972:1 4096:1 4189:1 4240:1 4255:1 4304:1 4532:1 4623:1 4731:2 4870:1 5250:1 5253:1 5427:2 5461:1 5582:1 56... |
2559842db44621b484cf32a6c31db7e765bdc69f | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/vpw-pizzabonnen/edit-me.sce | 87b4cdef05f4c092f641c5d8e28cfe8c01ef999b | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,406 | sce | edit-me.sce | function [prijs] = solve(pizzas,bonnen)
prijs = sum(pizzas);
if length(bonnen) == 0 then
return;
end
pizzas = gsort(pizzas);
lstPizzas = list();
for i = 1:length(pizzas)
lstPizzas($+1) = pizzas(i);
end
lstBonnen = list();
for i = 1:size(bonnen,'r')
... |
5160f620f6e47b79de47a862bf13490150e8378d | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH12/EX12.4/W_4.sce | e6006406089d7764f32777c751462ef6be31d4c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | W_4.sce | // sum 12-4
clc;
clear;
P=6*10^3;
e=150+(100/2);
T=P*e;
A=200;
Td=P/A;
r=sqrt(2*50^2);
Ixx=2*(100*50^2);
Iyy=2*100^3/12;
IG=Ixx+Iyy;
Ts=r*T/IG;
Tmax=sqrt((Ts*sind(45))^2+(Td+(Ts*cosd(45)))^2);
Ta=80;
t=Tmax/Ta;
h=sqrt(2)*t;
h=3;
// printing data in scilab o/p window
printf("h is %0.0f mm ",h)... |
f0dbd6cb4aabf2fa9c01122bb83fd39f20ef41ba | 348b83f2cd32e6616b86e704a374661890d58cda | /conv.sce | c9fb43dea0d9e3f2b9c4318732e9c4249c9ec90b | [] | no_license | YashGandhi17/Scilab | 012b35caad56d0c7600b9a207956e25774339c66 | 6d509dc17afe2ca32376df795693c84f94e3f360 | refs/heads/master | 2020-04-07T03:13:24.046967 | 2018-11-17T17:24:44 | 2018-11-17T17:24:44 | 157,837,866 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | conv.sce | function[y,y_n]=fn_conv(x,n_x,h,n_h)
y=conv(x,h);
y_n=n_x(1)+n_h(1):n_x(length(n_x))+n_h(length(n_h));
endfunction
|
a738a6236218915b006c963e1871084482d55337 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH6/EX6.3/3.sce | 1107a1c78b569307406b3ec491795bd6fd7aed65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | 3.sce | clc
clear
//input
iw=4.5 //current
vw=5.2 //pd of water
mw=6*10^-2 //flow of water
cw=4.18*10^3 //heat capacity of water
ix=5.5//current of x
iv=7.7//pd of x
im=18*10^-2//flow of x
//calculation
x=(iw*vw)-((mw*cw*5)/60)//rate of heat loss
cx=(6*4180)/18 +1263//specific heat capacity of x
//output
printf("... |
41539e41393294e691c4a5da3f0760fba68a31b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH11/EX11.8b/11_8b.sce | 1eebf981abdc28140b538aebce5b8938da0dc476 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | 11_8b.sce | //page 508
// example 11.8b
// bipolar signalling
clc;
P0=input("enter prob of symbol 0");
P1=input("enter prob of symbol 1");
P2=input("enter prob of symbol -1");
ak=(0)*P0+(1)*P1+(-1)*P2;
disp(ak,"mean is");
Ro=(0^2)*P0+(1^2)*P1+((-1)^2)*P2;
disp(Ro,"mean square is"); |
f933817515affd95ecc2b5d035b849de5464ee48 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Fortnite Attempt.sce | acd37df65ac0c2243a2dd8c05f8dbcadfb79bdf8 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,352 | sce | Fortnite Attempt.sce | Name=Fortnite Attempt
PlayerCharacters=Fortnite
BotCharacters=Fortnite.bot;FortniteStationary.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=
AddedBots=
PlayerMaxLives=0
BotMaxLives=
PlayerTeam=0
BotTeams=
MapName=
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots... |
d3033949390322c02b671a55315b5430ef698c09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH11/EX11.2/ex11_2.sce | 2b42bef20f76a2d68be488e3e6dc7f332dac80a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | ex11_2.sce | // Exa 11.2
clc;
clear;
close;
format('v',5)
// Given data
Av= 29;
I_Bmax = 0.5*10^-6;// in A
I1= 100*I_Bmax
Vo_sat = 0.9;// in V
V_CC = 9.0;// in V
V_EE= -9;// in V
V1= 9/Av;// in V
R1= V1/I1;// in ohm
R1= 5.6*10^3;// in ohm (standard value)
Rf= Av*R1;// in ohm
Rf= 180*10^3;// in ohm
R3= Rf;// in ohm
... |
755f821d19839be122489ca88c970390fc561146 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/turboexp.tst | 4494597bd33ce0c26a58ba11be1838fa173c999c | [] | 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 | 1,785 | tst | turboexp.tst | # turboexpander test (from old Hysim manual)
units Field
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + Nitrogen Carbon_Dioxide Methane Ethane PROPANE
thermo + ISOBUTANE n-BUTANE ISOPENTANE n-PENTANE n-Hexane
# define plant feed
feed = Stream.Stream_Material()
feed.In.T = 60
feed.In.P = 600
... |
34d2b89d180e772dc50dd2f4564e5baad42cf15f | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH8/EX8.4/example84.sce | 8962598a3d1facc28f60763399824de98509f040 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | example84.sce | //Example 8.4
//Compute DFT of the following sequence
clc;
x=[0.25,0.25,0.25];
X=fft(x,-1);
disp(X,'X[k]='); |
d0a3557d97bd717291432ccb33cb2a3e0af547fb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH15/EX15.43/example15_43.sce | 3c4f09897cb925c909e0fa74930865b544c0427e | [] | 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 | 124 | sce | example15_43.sce | errcatch(-1,"stop");mode(2);//Example:15.43
//eigen values of matrix A
;;
A=[0 6 -5;1 0 2;3 2 4];
spec(A)
exit();
|
b4902a5ac2a4a1506baa2c316506b341b0cc1346 | 6ad75a46618d1bdd9b6fe57413aafd73a8609a93 | /TEST/efdir.tst | 99336d14784132862bafdad8f04e5f3b25bb2001 | [
"MIT"
] | permissive | ihgazni2/efdir | 7e94a8781ba5d323ac0f98307bcc4be3a3e776b9 | bcc95c4200870edcb85d1af47e65bed9e04966d9 | refs/heads/master | 2021-07-08T20:01:32.299864 | 2020-07-26T15:48:01 | 2020-07-26T15:48:01 | 137,442,664 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,125 | tst | efdir.tst | import efdir.mktree as emk
# if the name end with a "$", it means this is a file, such as "xx$", will touch a empty file named xx
# else, it means this is a dir ,will make a dir
rst_cfg = """
... |
b3458431aa60eb940eb63620a7ce4d7185e8d326 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH4/EX4.7/Ch04Ex07.sce | 3b20e4e25b769a764f07998c580ca901ef64346c | [] | 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 | 645 | sce | Ch04Ex07.sce | // Scilab code Ex4.7: Pg.165-166 (2008)
clc; clear;
R_i = 1.0973732e+07; // Rydberg constant, per m
m = 9.1094e-031; // Mass of electron, kg
M_H = 1.6726e-027; // Mass of Hydrogen, kg
M_He = 5.0078e-027; // Mass of Helium, kg
// For Hydrogen
R_H = R_i*1/(1+m/M_H); // Rydberg constant for Hydrog... |
4b134b2fc7476194b02572bb8ecd9c64eb0f3c87 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnTa/enta.8.tst | 7d776a6bfd08af3d8c3e27c46dc6c2a625bee353 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 61,926 | tst | enta.8.tst | a a c h a r y a n a n d a n a a ஆ ச ா ர ் ய ா ன ா ன ் த ன ா
a a d m i ஆ த ் ம ி
a a k a s h a ஆ க ா ஷ ா
a a l i n g a n ஆ ல ி ங ் க ன ்
a a m i n a h ஆ ம ி ன ா
a a m i r a h ஆ ம ி ர ா
a a n d h i a u r t o o f a n ஆ ந ் த ி அ வ ு ர ் த ூ ஃ ப ன ்
a a p k i p a r c h h a i y a n ஆ ப ் க ி ப ர ி ச ் ச ா ய ... |
d467b577a8ad3c3cf56e6b700f4c058e663b09b8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/robust/h_inf_st.sci | 21774a69de33a743b4694fa764ad1d70d5e40683 | [
"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 | 909 | sci | h_inf_st.sci | function [Kopt,gamaopt]=h_inf_st(D,r)
//compute a matrix K such that largest singular value of
// Fl(D,r,K)=D11+D12 K inv(I-D22 K) D21
//is minimal (Static H-infinity four blocks problem)
//
//[Kopt,gamaopt]=h_inf_st(D,r)
//
// D partionned as [D11 D12
// D21 D22]
//where size(D22)=r=[r1 r... |
47b37f7af5bb1a9ab906ec17de27bb7754f1320f | 3cab4e327c170ba4f5309f6cd453ab64d3c6c918 | /1tp/rapport/graphTime.sce | 15dc3577ae632dd9867a43cb33bb66809fbc56a8 | [] | no_license | KylianVincent/Traitement-Image | ee689456e4cbcc46cb6b79eeef6824f7650d7fd3 | 255d50fd8404b54bd3237b43713048d5b6997611 | refs/heads/master | 2020-12-02T06:20:06.548935 | 2017-04-28T20:06:23 | 2017-04-28T20:06:23 | 96,817,704 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | graphTime.sce | clf();
figure(0);
y1=read("timelog1.txt", -1, 1);
y2=read("timelog2.txt", -1, 1);
y3=read("timelog3.txt", -1, 1);
y4=read("timelog4.txt", -1, 1);
y5=read("timelog5.txt", -1, 1);
y=(y1'+y2'+y3'+y4'+y5')/5;
x=linspace(0, 10, 100);
plot(x, y);
[a, b, r] = reglin(x, y);
plot(x, a*x+b, "r");
drawaxis(x=0:10, y=0, dir='u', ... |
797536c5347364b3eb2ad8431826cf3134220016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH19/EX19.5/Ex19_5.sce | 9555ca0eb679319b26f4698c39fc7b4ac3960e74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex19_5.sce | //example-19.5
//page no-566
//given
//current density
Id=1000 //A/m^2
//resistivity
rho=0.05 //ohm m
//conductivity
sigma=1/rho //per ohm m
//electron mobility
mue=0.4 //m^2/V m
//length of crystal
l=100*10^-6 //m
//charge on electron
e=1.602*10^-19 //C
//in n-type semiconductor ne>>>nh
//so
n=s... |
4401bc652e18e43e47b928ade1baa6c3a7675362 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH2/EX2.14/Ex2_14.sce | cff340896eaa6e99d76ee13690d4ef7c65847470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Ex2_14.sce |
//Variable Declaration
pi = %pi
n=14.2171401*2*%pi/86400 //Mean motion (rad/sec)
M=204.9779+0.001*180*5/pi //Mean anomaly(rad)
e=9.5981*10**-3 //Eccentricity
a=7194.9 //Semimajor axis(km)
//Calculation
v=(M*pi/180)+2*e*sin(M*pi/180)+(5*e**2*sin(2*M*pi)/(4*180)) //True Anomaly (radians)
v=v*180/%pi //True anoma... |
cfe6aae3fd41e69d438b3cf5bd029713340de1fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH7/EX7.9/7_9.sce | 0f60336c1d1f2ad92a4867a6c28e87877460465f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_9.sce | uo=(4*%pi)*1E-7
ur=6000
A=5/2*2/10000
Lr=(%pi*(20+25)/2-0.1)/100
Lg=0.1/100
Rr=Lr/(uo*ur*A)
Rg=Lg/(uo*A)
Rtotal=Rr+Rg
F=2*500
flux=F/Rtotal
Bg=flux/A
disp(Bg)
L=flux*500/2
disp(L)
Wfr=1/2*Rr*flux*flux
Wfg=1/2*Rg*flux*flux
disp(Wfg,Wfr)
imax=2
flux_max=flux
E=4.44*314/(2*%pi)*500*flux_max
flu... |
e67765de7445eae068ef47a4498448e901814631 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH4/EX4.5/Example_5.sce | ce36439e79c67d373ccf5dd3140a3160311e9369 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | Example_5.sce | //Chapter-4,Example 5,Page 93
clc;
close;
delta_H= -109 // heat change in Kcal
n_1= 2 //mols of gaseous reactant
n_2= 1 // mols of gaseous product
delta_n= n_2-n_1
T=500
R= 2*10^-3
delta_E = (delta_H) - (delta_n*R*T)
printf('the value of delta_E is %.f Kcal',delta_E)
|
4fd7cce75d2d08da089405b562c2f92bdbf21b2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH3/EX3.6/3_6.sce | 852c4f40d3e502b841f20d8ae5b4a00fafe08e95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | 3_6.sce | clear;
clc;
Zo=50*exp(-%i*(%pi/(180/5)));a=0.001;b=%pi/1.8;Vr=0.5*exp(%i*(%pi/(180/30)));
l=100;x=4; //Vr=voltage reflection coefficient
modVr=abs(Vr);
A=modVr*exp(-2*a*(l-x));
Zin=Zo*(1+A)/(1-A);
C=real(Zin);
D=imag(Zin);
printf("Input impedance of transmission line = %f /_ %f ohms",fix(abs(Zin)*100)/100,atan... |
1857cf31660310397c998ed6ea01575a2d9f7661 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH10/EX10.3.e/E10_3.sce | 21a92b34687f33eb90207b6a60aab90e1503dd1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | E10_3.sce | clc
//Initialization of variables
T=[700 730 760 790 810 840 910 1000]
k=[0.011 0.035 0.105 0.343 0.789 2.17 20 145]
//calculations
x=1000/T
y=log(k)
//sx=sum(x)
//sx2=sum(x^2)
//sy=sum(y)
//sxy=sum(x.*y)
//n=length(x)
//A=[sx,n;sx2,sx]
//B=[sy;sxy]
//p=A\B
//m=p(1,1)
//b=p(2,1)
disp('from graph')
m=2... |
6fee70c6b556acc2b8ea5570c6258a11561e5d35 | be72b348d2bbd0cd916ee42daf3151ca8d3d6fc5 | /Fourier-Transform-in-Image-Formation/aperture.sce | aaadbc81522c3888ded08f69e076895a423d706f | [] | no_license | albertyumol/Image-Processing-on-Scilab | f9b859b35cd4279abaa79aef65598425a7ef37c9 | 33032c819026222dc75b8364b81012986a5e46ab | refs/heads/master | 2020-04-26T15:40:55.463187 | 2019-12-06T16:25:15 | 2019-12-06T16:25:15 | 173,654,065 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,662 | sce | aperture.sce | r0 = imread("C:\Users\csrc-lab03\Desktop\Activity5\Aperture0.jpg");
r1 = imread("C:\Users\csrc-lab03\Desktop\Activity5\Aperture1.jpg");
r2 = imread("C:\Users\csrc-lab03\Desktop\Activity5\Aperture2.jpg");
r3 = imread("C:\Users\csrc-lab03\Desktop\Activity5\Aperture3.jpg");
r4 = imread("C:\Users\csrc-lab03\Desktop\Act... |
b26156d965ea78c72f72fd7e6a84fb1d1e03e7b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH11/EX11.3/Ch11Ex3.sci | 5618fdadbf38a2d0471712eabbcf939984dcfc1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | Ch11Ex3.sci | // Scilab Code Ex11.3: Page-250 (2010)
h = 6.626e-034; // Planck's constant, Js
k = 1.38e-023; // Boltzmann constant, J/K
// Stimulated Emission = Spontaneous Emission <=> exp(h*f/(k*T))-1 = 1 i.e.
// f/T = log(2)*k/h = A
A = log(2)*k/h; // Frequency per unit temperature, Hz/K
printf("\nThe stimulated e... |
d9780b983c6b35548a128bc6346a3705ff1caff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH10/EX10.1/74ex1.sce | 8ddf4493c2bcde22f9f60aa9db7aac102dc60cd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 74ex1.sce |
clear;
clc;
close ;
clf;
AGE=[25 30 35 40 45 50];
premium_in_$=[2.33 2.59 2.91 3.31 3.81 4.53];
plot(AGE,premium_in_$,3);
xtitle("Annual Premiums charged by an insurance company","AGE(in years)","premium_in_$");
xgrid;
AGE=43;premium_in_$=3.6;plot(AGE,premium_in_$,'r.diam');
AGE=36;premium_in_$=3;plot(A... |
2bcf45510f3ce718e6f4b45fafa6d86ec7c9c918 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH5/EX5.5.2/5_5_2.sce | c7dd2d24adc0d6d6f0b1eb7a1ca9e4161940371d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | 5_5_2.sce | //Transport Processes and Seperation Process Principles
//Chapter 5
//Example 5.5-2
//Principles of Unsteady State Heat Transfer
//given data
m=75/100;//percentage of moisture
H=335*1000;//latent heat of fusion
lemda=m*H;
a=0.0635;//meat slab thickness
Tf=270.4;
T1=244.3;
rho=1057;
h=17;
k=1.038;
t=(lemda... |
9a23cc067e5717a32fab52f00605ea2ee1e6d5e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH1/EX1.7/chapter1_ex7.sce | 0ddb5c68fa2376c42245cc45b093199572f0db79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,231 | sce | chapter1_ex7.sce | clc
clear
//input
//AB,BC,CD,DA are arms of a wheatstone bridge
r1=4;//resistance in arm AB in ohms
r2=6;//resistance in arm BC in ohms
r3=5;//resistance in arm CD in ohms
r4=3;//resistance in arm DA in ohms
v=4;//d.c. supply given between points A and C in volt
R0=10;//resistance of the detector placed betw... |
f3b4a6f65d2176acdcbc610280625e7554d3baca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH3/EX3.8/Exa3_8.sce | 5a826ab10d7f5667339dd501c96e67620f02522b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Exa3_8.sce | //Exa 3.8
clc;
clear;
close;
//Given data :
RC=10;//in kohm
Rin=1;//in kohm
Beta=100;//unitless
RL=100;//in ohm
RCdash=RC*10^3*RL/(RC*10^3+RL);//in ohm
VoltageGain=Beta*RCdash/(Rin*10^3);//in volt
disp(VoltageGain,"Voltage Gain : ");
|
4e326b2dd4593e5e909043ac8b386a9934b81cf5 | 86ae7e24466d959da945d5b6d8ab93354a9e8a1d | /T8_eg_3dplots.sce | c77db9cb2895d7892b0ce7bd928197b8941ff3b8 | [] | no_license | AnujaNagare/Scilab-Programs | be27fdeb0db8cfa4b00ac5121676b18412b8a222 | 4152eac1a3e87ec7408fb3dfea55cac984cca2d9 | refs/heads/master | 2021-08-30T16:53:33.876536 | 2017-12-18T19:11:47 | 2017-12-18T19:11:47 | 114,677,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | T8_eg_3dplots.sce | clc;clear;
close;
t=linspace(0,20,100);
x=sin(t);
y=cos(t);
z=t;
plot2d3(x,y,z)
|
c9054f2bb4e26ac31c224c3545c9f078c7788842 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.11/2_18_11.sce | 314ae015b7788f7db5511c0e076127974dc7389c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,142 | sce | 2_18_11.sce | //water and its treatment//
//example 2.18.11//
clc
W1=17.5;//Ca(HCO3)2 in water in mg/lit//
W2=14.6;//Mg(HCO3)2 in water in mg/lit//
W3=9.5;//MgCl2 in water in mg/lit//
W4=12.0;//MgSO4 in water in mg/lit//
W5=8.4;//MgCO3 in water in mg/lit//
W6=5.5;//CaCl2 in water in mg/lit//
W7=35;//NaCl in water in mg/lit/... |
6486b2e301fc1f40c230834855639d812421fff4 | 11de9974cf643be38294b14c930c16425e401632 | /shuttle.tst | dcb402142ed996d0fc15cf95dbc2d0f0bdace153 | [] | no_license | ljewett/one-hot-and-ready | d30a5a5a820f82b09501dcf5c976b580c0d327f3 | f3ce7e2f615122991fa75068ecd45dd07f44e8f7 | refs/heads/master | 2020-03-22T06:38:30.685838 | 2018-07-06T17:21:56 | 2018-07-06T17:21:56 | 139,647,772 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 475,661 | tst | shuttle.tst | 55,0,81,0,-6,11,25,88,64,High
56,0,96,0,52,-4,40,44,4,High
50,-1,89,-7,50,0,39,40,2,Rad Flow
53,9,79,0,42,-2,25,37,12,High
55,2,82,0,54,-6,26,28,2,Rad Flow
41,0,84,3,38,-4,43,45,2,Rad Flow
37,0,100,0,36,-8,63,64,2,Rad Flow
46,0,83,0,46,0,37,36,0,Rad Flow
44,0,79,0,42,-17,35,37,2,Rad Flow
44,-1,78,0,44,0,34,34,0,Rad Flo... |
2d8a712244e68a0fc44a1bfeaf626200a9b8132e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH13/EX13.5/13_5.sce | a884efb6682f4d466871f633d80df38f82e5fd53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | 13_5.sce |
clc
//initialisation of variables
Q= 140 //cuses
w= 62.4 //lb/ft^3
l= 140 //ft
P= 70 //percent
k= 1.6
v= 3*10^8
//CALCULATIONS
rv= k*v
HP= Q*l*w*(P/1000)/550
//RESULTS
printf ('Required size of reservoir = %.1e ft^3 ',rv)
printf ('\n horsepower = %.f h.p ',HP)
|
f94098ce79006fb74333377826938cecec33a369 | 952f05b9b2293792559cddaf7ee402ccc22b0b8d | /icclim/test-cases/test-cases-read-the-docs/read-the-docs-example-17.tst | a1de25eabca352880e75a7f6da84e63a0d975ca0 | [
"Apache-2.0"
] | permissive | ptrgast/icclim | a5c768bde9f5ce0562ef8250262ca1d70213c461 | 1c43cc7fc5d779f04fb72361a80bde3b232a9580 | refs/heads/master | 2020-05-18T18:44:15.153378 | 2020-02-04T07:46:40 | 2020-02-04T07:46:40 | 184,594,303 | 0 | 0 | NOASSERTION | 2020-02-04T07:46:41 | 2019-05-02T14:19:16 | Python | UTF-8 | Scilab | false | false | 492 | tst | read-the-docs-example-17.tst | [Read-the-docs-example-17] # Read the docs - example 17
user_indice: {'indice_name': 'my_indice', 'calc_operation': 'nb_events', 'logical_operation': ['lt', 'gt'], 'thresh': ['p25', 'p75'], 'var_type': ['t', 'p'], 'link_logical_operations': 'and' }
in_files: [['tas_day_CNRM-CM5_historical_r1i1p1_19550101-19591231.nc'],... |
2d3319811c2ce228c05bbdf617fcae71d095f0c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH8/EX8.8/Ex8_8.sce | 07dbaecf74af5b6caa89a0dcabcccdac00d9faeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,162 | sce | Ex8_8.sce | // exa 8.8 Pg 234
clc;clear;close;
// Given Data
Fmin=0;// N
Fmax=1000;// N
del=80;// mm
Do=25;// mm
n=30;// no. of turns
G=85;// kN/mm.sq.
k=(Fmax-Fmin)/del;// N/mm (Spring stiffness)
printf('\n Spring stiffness = %.1f N/mm',k)
// k=G*d/(8*C**3*n) (Spring stiffness)
C_cube_BY_d=G*10**3/(k*8*n);//
function [C,d]=hi... |
7524c4bc9bf935ce29247f3e1449bcd1635e2116 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.12/8_12.sce | 9007c015438253f5a2859b3ce6474277a1dca549 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_12.sce | clc
//initialisation of variables
p=10^5//N/m^2
l=1//m
a=0.2//m^2
n=5
//CALCULATIONS
power=2*p*l*a*n/746
//results
printf(' \n horse power of engine= % 1f H P',power)
|
1130498fce3a87218e27c50cdb8d35c6969ef605 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.20/ex12_20.sce | 48bc3072a8389a1ffc2b113d5b4dc1bf2190e044 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | ex12_20.sce | //Chapter-12, Example 12.20, Page 367
//=============================================================================
clc
clear
//INPUT DATA
a=10;//conductivity in s/m
un=50*10^-4;//electron mobility in m^2/V-s
q=1.6*10^-19;//charge in coulombs
//CALCULATIONS
n=(a/(un*q));//electron concentration in m^-3
mpri... |
62732c860886f7f916ed6f5323430c975b3860bc | c9487544ab0ed895bc843ac40bb7f327135f69d3 | /tst/files/3.5.3.tst | eb7e72f795e104be1540e9ced7e253adac20beaf | [] | no_license | grahamknockillaree/hap | 46cb3795993c4edb520438aaa84fffa2eaaab652 | 13cb393e09c5fbc1532755a652b81731b23f287f | refs/heads/master | 2020-09-16T13:19:26.715498 | 2019-11-24T17:24:45 | 2019-11-24T17:24:45 | 223,782,325 | 1 | 1 | null | 2019-11-24T17:25:06 | 2019-11-24T17:25:06 | null | UTF-8 | Scilab | false | false | 100 | tst | 3.5.3.tst | e:=SpaceGroupBBNWZ(2,10);;
G:=RelativeCentralQuotientSpaceGroup(e,4);;
n:=50;;PoincareSeries(G,n);
|
30458b3cabc3954f5a096ff06e1d8ec146a5dc5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH4/EX4.3g/eg4_3g.sce | 65839531a39ad1a0395d75778d5f900b5d7289f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg4_3g.sce | p00=0.4;
p01 = 0.2;
p10 = 0.1;
p11= 0.3;
pY1= p01+p11;
disp(p01/pY1, "Probability that X=0 and Y=1")
disp(p11/pY1, "Probability that X=1 and Y=1") |
11e6cc7ab87b1d60fcd704743d0f5ad2b644a62c | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/MovingAverage2.sce | 53d4dbc892fc191d5d470e87200cad92997d7d8f | [] | no_license | fredkerdraon/Reference-research | 71d0af22f84605ed0c53907acd6b248400c47388 | 1f48fdfebbe766bbd268b4f1853ab98162f57425 | refs/heads/master | 2023-05-05T12:18:18.655367 | 2020-02-08T22:08:15 | 2020-02-08T22:08:15 | 71,020,179 | 0 | 0 | null | 2023-04-19T18:37:49 | 2016-10-15T23:49:14 | POV-Ray SDL | UTF-8 | Scilab | false | false | 341 | sce | MovingAverage2.sce | function [uk,ukp] = moving(Vector,k)
n = length(Vector);
m = n-k+1;
uk = zeros(1,m);
j = 1
//for j = 1:k
//uk = uk + Vector(j:m+j-1);
//end
disp(n);
//disp(Vector);
endfunction;
function avg=sma(vec, windw)
avg=[]
for i=1:length(vec)-windw+1
av=sum(vec(i:i+(windw-1)))/windw
avg=[avg;av]... |
52b70a42e118519762ffb01b2df124c6a1c6c067 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH12/EX12.5/Ex12_5.sce | 37c8dce9911e4f57b71546c8ccb5230687f3d915 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | Ex12_5.sce | clc
//to calculate force per unit area
//force of attraction per unit area is given by F=(epsilon0*E^2)/2 eq(1)
//E=V/d eq(2)
epsilon0=8.85*10^-12 //permittivity of free space
d=1*10^-3 //distance
V=100 //potential difference in volts
//from eq(1) and eq(2),we get
F=(eps... |
62b46260773ebb64a2e654596680a03fec2d62fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH3/EX3.18/ex3_18.sce | 34428d3b8df7da955d0a9713c0c32f17295b50ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | ex3_18.sce | // Example 3.18, page no-138
clear
clc
Rf=10*10^3
R1=100
Vni=1*10^-6
Kn=1+Rf/R1
Vno=Vni*(1+Rf/R1)
Vno=Vno*10^6
printf('Output noise voltage= %d uV (rms)', Vno)
|
46cc463068a463e1d223d8bf0fd4994db42adc26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/20_4_data.sci | 654e955e6de8d40b56dce153fda7f2e3f3b3986e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sci | 20_4_data.sci | //exhaust pressure
ep=(1.07)*(10^5);
//charge flow
cf=4;
//compression ratio
cr=8;
//scavanging efficiency
nsc=0.5;
//fuel to air ratio
far=0.068;
//Volume of cylinder(in cc)
V=1100*(10^(-6))
//Speed (in rpm)
s=2800
//Thermanl efficency
nbth=0.25
//Calorific Value (in MJ/kg)
CV=(45)*(10^3)
//Univers... |
2677aac58f4d92aeacc51fe89dfadc9319b1c84a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH2/EX2.4.b/EX2_4_b.sce | 9c13b1fd3e18519887e273a10d66188de265507c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | EX2_4_b.sce | //Example 2.4.a
//Energy of the signal x(t)=(exp(-2*a*t)).u(t)
clc;
P=integrate('1^(2)','t',(-100),100)/(2*100)//power of given signal t=100
disp(P)
disp('AS POWER OF THE GIVEN SIGNAL IS FINITE HENCE THE GIVEN SIGNAL IS POWER SIGNAL');
|
d83254330c5aee3932d5657cf59119806db93e41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH7/EX7.6/Ex7_6.sce | 13d5d80e2eaac74bd935e0bffda492f89ef3474b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Ex7_6.sce | //Ex_7_6
clc;
clear;
close;
format('v',6);
//given data :
IE=10;//mA
IB=5;///mA(Base Current)
IC=IE-IB;//mA(Collector Current)
BetaR=IC/IB;//unitless
alfaR=IC/IE;//current gain
disp(BetaR,"BetaR=");
disp(alfaR,"alfaR=");
//Answer is wrong in the book.
|
f1fd411339a127a22f983e6d09113b85faaaf7c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH7/EX7.12/7ex12.sci | 2b4a58fefa2c92eb3614077c7543a518f945bc2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sci | 7ex12.sci | disp("A box contains 12 items of which three are defective")
disp("A sample of three items is selected from the box")
s=factorial(12)/(factorial(12-3)*factorial(3));
disp(s,'number of elements in the sample space where samples are of size 3')
//X denotes the number of defective items in the sample
x=[0,1,2,3]; ... |
2fca86ac5052457a7690a6bebdcf723e9f24eeaf | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2mb/test_4.sce | 7372cb67991f7bdabb0740c82fcfc3c3514f63e9 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | test_4.sce | // Test # 4 : Checking the type for Input Argument #3
exec('./zpklp2mb.sci',-1);
[z,p,k,n,d]=zpklp2mb(0.1,2,[3 0.4],0.1,0.6);
// !--error 10000
//K must be a scalar
//at line 63 of function zpklp2mb called by :
//[z,p,k,n,d]=zpklp2mb(0.1,2,[3 0.4],0.1,0.6);
|
e886be2c0917f2a6342938aa24a3cda6742e5be7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.22/Ch02Ex22.sci | 5232b251f5928775c1165c082edabc64d6938960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sci | Ch02Ex22.sci | // Scilab Code Ex2.22 Wavelength of second number of Balmer series of hydrogen: Pg:60 (2008)
n1 = 2; // Principle quantum number of second orbit in H-atom
n2 = 3; // Principle quantum number of third orbit in H-atom
R = 1.097e+07; // Rydberg constant, per metre
L1 = 1/((1/n1^2 - 1/n2^2)*R); // Wavelengt... |
aade7a7e6790a5ce8b23c0e7ee2f574b2dbec9e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH7/EX7.1/ex7_1.sce | 076c3b3f4d3c8c632647007ace5babfa5ed5d0ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 94 | sce | ex7_1.sce | clc;
close
clear;
s=%s;
tf=syslin('c',((s+3)/(s^3+5*s^2+8*s+3)));
ss=tf2ss(tf);
disp(ss) |
cd1119b938b2d93ade556e35517991bb526fad0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH13/EX13.3/13_3.sce | d050fc4c8b876999dd8f566e66f75b618b4e2b70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | 13_3.sce | //chapter 13
//example 13.3
//page 408
clear all;
clc ;
//given
Vbe=0.7;
Ibmax=500;//base current nA
R1max=10^6*Vbe/(10*Ibmax);
printf("\nR1max= %d kohm,use standard value 120 kohm",R1max);
R1max=120;
Rl=4;//load resistance in kohm
Xc2=Rl;
f1=70;//lower cutt off frequency in Hz
c2=floor(100000/(2*%pi*f1*X... |
72d246ecadcfb1577df0c1f1bc87cdd6206d843d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.19/Example5_19.sce | 188b22591dd9a12010bc87599edb2c23ac54749a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | Example5_19.sce | //Exa 5.19
clc;
clear;
close;
//Given data :
L=80;//km
f=50;//Hz
Z=(0.15+%i*0.78)*L;//ohm
Y=(%i*5*10^-6)*L;//mho
A=1+1/2*Y*Z;//parameter of 3-phase line
D=A;//parameter of 3-phase line
B=Z*(1+1/4*Y*Z);//parameter of 3-phase line
C=Y;//parameter of 3-phase line
disp(A,"Parameter A : ");
disp(B,"Parameter B... |
a2380855d953649906045439fba97945a5c765a1 | d65667bd6da157e725e5083a95c7a5e3c5e50371 | /hdf5/HDF5Examples-0.1.1-Source/C/H5D/testfiles/h5ex_d_soint.tst | 9517cf260a8492c715f54c520e2fe960f533a334 | [] | no_license | DCC-Lab/Umuco | 4748640ddd5869f193303057445fccbf2e1cc6c5 | 41c38cd6c8e8d771708959eb02c9dee054148cbc | refs/heads/master | 2020-08-07T01:11:31.456247 | 2019-02-24T18:16:16 | 2019-02-24T18:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | tst | h5ex_d_soint.tst | Filter type is: H5Z_FILTER_SCALEOFFSET
Maximum value in DS1 is: 1890
|
357b66a070fdc524a23fb23790601b347e32b1b2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/robust/h_norm.sci | b336197555c087d2c4bfc7b557032c60715686f8 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,779 | sci | h_norm.sci | //[hinfnorm,frequency]=H_norm(Sl,rerr)
// produces the infinitynorm of a state-space system
// (the maximum over all frequencies of the maximum singular value).
//%Syntaxe et description des parametres
// [hinfnorm [,frequency]]=H_norm(Sl,rerr)
// [hinfnorm [,frequency]]=H_norm(Sl)
//
// sl : the st... |
f301c6a27867abe22643cf7874f5554560a5410b | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH11/EX11.11/Example_11_11.sce | c26314980ce313fbe698d02b7b8bf18390826448 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | Example_11_11.sce | //Example 11.11
clear;
clc;
printf("\tExample 11.11\n");
// F is feed
// D is distillate
// W is waste
// S is sidestream
F=100;
S=10;
//Mass fractions of CCl4 in various streams
xf=0.5;
xd=0.95;
xw=0.05;
xs=0.8;
// D + W = 100-10
// 0.95D + 0.00W = 50-8
A=[1,1;0.95,0.05];... |
6c352100ce68b230dd73199f023f68c8e1a5d650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH11/EX11.16/EXAMPLE11_16.SCE | c7b1b273b7b9a3bdad68ee4c6ddaf5bf91e64d44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sce | EXAMPLE11_16.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 11
//Information Theory
clear all;
clc;
printf("EXAMPLE 11.16(PAGENO 498)");
//given
Px_1 = 1/2;//probability of first symbol
Px_2 = 1/4;//probability of second symbol
Px_3 = 1/8;//probability of third symbol
Px_4 = 1/16;//probability of four... |
074d7e94064abad944accd2c23f4ec70716cde78 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Data_Communications_And_Networking_B._A._Forouzan_1163.zip/Data_Communications_And_Networking_B._A._Forouzan_1163/CH4/EX4.14/example_4_14.sce | b549d89ea996568c61e83091128773ca538d328d | [] | 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 | 459 | sce | example_4_14.sce | errcatch(-1,"stop");mode(2);;
;
disp("--------------Example 4.14---------------")
bits= 8; // bits per sample
fl=0; // The human voice normally contains frequencies from 0 to 4000 Hz.
fh=4000; // Hz
sampling_rate = 2*fh; // twice the highest frequency
bit_rate=sampling_rate*bits; // formula
printf("The samplin... |
c9b23bf9067715369abb877a58071518ed7a3129 | 09fb666c0701b49ab031e9c772024f96f6ed1c7e | /Lab 5/laboratorio5.sce | 8dddcd08d10d6a30dd8904830e3b7f5bd3fcaa1f | [] | no_license | Alejandro287/Numerica_Methods | ccbf8fa032809f6f6398a0f8100a268a750d8491 | 968f6cf10b651ff1049855a677753e6b2a44ca26 | refs/heads/master | 2020-04-02T02:45:35.586981 | 2018-10-20T16:38:01 | 2018-10-20T16:38:01 | 153,926,195 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | laboratorio5.sce | format(15)
function fx = f(x)
fx = -cos(x)
return fx
endfunction
clc
disp("> df/dx usando la fórmula centrada de orden O(h^2)")
dfh2 = UN_primera_derivada_h2(%pi/4,0.01)
disp(dfh2)
disp("> df/dx usando la fórmula centrada de orden O(h^4)")
dfh4 = UN_primera_derivada_h4(%pi/4,0.01)
disp(dfh4)
disp("> ... |
efcf42989d3cfa101a8ef507f76ee0b978c1cca7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.9/exa5_9.sce | cd4d23fc9e98b4db8ae4cc7d78aaa7d87eeb318b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | exa5_9.sce | // Example 5-9
// Response to initial conditions using state space approach
clear; clc;
xdel(winsid()); //close all windows
A = [0 1; -10 -5];
x0 = [2; 1];
G = syslin('c',A,x0,[0 0],[0]); //use dummy C and D variables
t = 0:0.01:3;
[y,x] = csim('impuls',t,G);
plot(t, x(1,:), t, x(2,:));
xtitle('Response to initial... |
08fa53b1dcc7d8f44ba6f0b8a685705f785b8090 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH8/EX8.9/Example8_9.sce | fb3ac6429c1e9dcffbd7aad3d18d86f68a5ae075 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | Example8_9.sce | close();
clear;
clc;
B = 80;
Vceq = 8; //V
Rc = 3000; //ohm
Vcc = 15; //V
Vbeq = 0.7; //for Si transistor
//(a) by KVL around collector circuit
Icq = (Vcc-Vceq)/Rc; //A
mprintf("(a) Icq = %0.3f mA\n\n",Icq*1000);
//(b)if leakage current is neglected
Ibq = Icq/B; //A
Rb = (Vcc-Vbeq)/Ibq; //ohm
mprintf(... |
e1e93523b2cd9764d37c0b7873fb2b866828e510 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH8/EX8.2/example2.sce | 60dbde565ee76fc09cc64e097a89f1003cc7cbe5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 928 | sce | example2.sce | clc
clear
//input data
b2=30//Impeller blade angle to the tangent at impeller outlet in degree
d=0.02//Blade depth in m
D=0.25//Blade diameter in m
N=1450//Pump rotation speed in rpm
Q=0.028//FLow rate of the pump in m^3/s
sf=0.77//Slip factor
g=9.81//Acceleration due to gravity in m/s^2
//calculations
A=... |
261b0bca04eeb3257d3c89dc9738ed736bb28705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH17/EX17.9/Ex17_9.sce | 9fc2019afe957bdb021871f1a62a4e75bc1dd0d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 839 | sce | Ex17_9.sce | //Example 17.9//
//Extrinsic data
s1=60;//ohm^-1 m^-1 //conduvtivity
ln1=log(s1)
mprintf("ln1 = %f ohm^-1 m^-1",ln1)
t1=373;//K //Temperature
T1=1/t1
mprintf("\nT1 = %e k^-1",T1)
s2=54.8;//ohm^-1 m^-1//conductivity
ln2=log(s2)
mprintf("\nln2 = %f ohm^-1 m^-1",ln2)
t2=300;//K //Temperature
T2=1/t2
mprint... |
37cf1242f2d7dad23449010703505fb3bcd4a6a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH2/EX2.3/Example_2_3.sce | 7a676df4d01f1293cd9f57b2f089442270e6463c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | Example_2_3.sce | clc;
printf("Example 2.3\n");
//Mass rate of discharge of water, G = rho*u*A
rho=1000; //Density of Water
d=25*10^-3; //Diameter of nozzle
u=25; //Velocity of water at nozzle
printf("\n Given:\n Density of water = %d kg/m^3\n Nozzle diameter = %.3f m \n Velocity = %d m/s",rho,d,u);
G=rho*u*%pi/4*d^2;
printf("... |
850c9eb01aa0bddd0f94ff69014384008574f8d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH3/EX3.3.1/Example3_1.sce | 06e3180d1e60335970c39530d31c7c10c8375217 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Example3_1.sce | //Chapter-3,Example3_3_1,pg 3-6
NA=0.5 //Numerical aperture
n1=1.54 //refractive index of core
n2=sqrt(n1^2-NA^2) //Numerical aperture is 'NA^2 = n1^2 - n2^2'
printf("\nThe refr... |
04a7f0bb4542df2aa492c83a2f5f2d01b693d1e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH20/EX20.5/20_5.sce | 87237e290711febe38fd92295b7d74f7de7c78b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | 20_5.sce | //Find quantity of magnesium needed
//Ex:20.5
clc;
clear;
close;
m=0.0243;//one mole of magnesium in kg
c=2*96490;//in C
j=20*10^-3;//in A/m^2
t=15*365*24*3600;//in sec
x=j*t;//in A s
w_mg=m*x/c;//in kg/sqm
disp(w_mg,"Amount of Magnesium needed (in Kg/m^2) = "); |
aca0f0b0abb3d78a43ad35c970a9842c5a09a760 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.20_19.tst | 94811ee1f15dac1ec7e5fdb1012a19cdb1f9695e | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 480,145 | tst | 5.20_19.tst | 20 72:1 168:1 476:1 540:1 1302:1 1711:1 1795:1 1845:1 1858:1 1954:1 2053:1 2068:1 2249:1 2314:1 2759:1 2853:1 2981:1 3142:1 3158:1 3428:1 3466:1 4191:1 4368:1 4515:1 4530:1 4720:1 5146:1 5538:1 5775:1 5955:65 6182:1 6719:1 6872:1 7067:1 7225:2 7401:1 7465:1 7639:1 7723:1 7776:1 7815:2 7840:1 7922:1 8015:2 8234:1 8331:1... |
acaf005ae4e15c4b8180843ef38d7b4a6ba5057f | 3a11df70b5f5b856da599098aa46b015099f34e9 | /logic_gates/Mux16.tst | a36793a8a08468fe27f81e11d5758dc297fa2843 | [] | no_license | nkyorov/logic-gates-hdl | 7da52af49a0c333e3f755a9ec552746662580cd3 | 1deff96f5a6631ce7c5b7ea2db8a7250f2d37908 | refs/heads/master | 2021-04-27T00:46:58.298377 | 2019-05-25T12:32:09 | 2019-05-25T12:32:09 | 122,660,544 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | tst | Mux16.tst | load Mux16.hdl,
output-file Mux16.out,
compare-to Mux16.cmp,
output-list x%B1.16.1 y%B1.16.1 sel%D2.1.2 out%B1.16.1;
set x 0,
set y 0,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set x %B0000000000000000,
set y %B0001001000110100,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set x %B1001100001110110,
se... |
666495471f80224e50a100dff9c6292babfc4a01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH1/EX1.a.5/A_Ex1_5.sce | ecfdd26472a0984ad1e37268058169fd712fc063 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 757 | sce | A_Ex1_5.sce | // Chapter 1 addl_Example 5
//==============================================================================
clc;
clear;
//input data
P = 1; // for fundamental mode
p = 2660 // density of quartz in kg/m^3
f = 1300*10^3 // freq of quartz plate for sub div... |
0347e225af713f2a2f9068363ab0ecb536d8802f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH29/EX29.2/EX29_2.sce | b53f3aaee5f4c7b8d7d267ea74302b6697954206 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | EX29_2.sce | //Chapter 29
clc
//Example 2
//given
mp=1.007825 //in u
mn=1.008665 //in u
md=2.014102 //in u
u=931.494 //Mev
M=mp+mn
delta_m=(M-md) //in u
E=delta_m*u
disp(E,"Binding energy of Deuteron in Mev is")
|
dbb81c58f8970a05a5a4a09d2a21d9db2dab279c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH9/EX9.1/Ex9_1.sce | bc548009f690d95363c817507953b538cc93d4af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Ex9_1.sce | //chapter-9 page 411 example 9.1
//==============================================================================
clc;
clear;
L=2*10^(-6);//Drift Length of a IMPATT diode in m
Vd=(10^7)*(10^(-2));//Drift Velocity for Siin m/sec
//CALCULATION
f=(Vd/(2*L))/10^9;//Operating Frequency in GHz
//OUTPUT
mprintf... |
4c8a1dee44d09ed1f173667e36def81e8f7e485c | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/div_by_n.sce | 5d6920ea23ae537929b7cd2c24c0ea11dcdbadac | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | div_by_n.sce | style.fontSize=16;
style.displayedLabel="<table> <tr><td align=left><b>CLK<br><br><br>RESET<b></td> <td></td> <td></td> <td>Divide by N</td> <td></td> <td></td> <td align=right><b>OUT<br>1:%2$s</b></td></tr></table>";
pal3 = xcosPalAddBlock(pal3,"div_by_n",[],style);
|
6b516584524ee77e61335af89ec76d9638db417d | 088b7b73e686897842033bc4bafeb4cdeb848ad2 | /Frequency_Demodulation.sci | 1a83d1cbb8f1e16f6f6c22a21f3403bec4a7d54f | [] | no_license | mistryjay/Modulation---Demodulation---SCILAB | 4088bc6684390239677227d58e84cfb6be1f2406 | 4f64b21454af4810bba6678e63e29b6954860c02 | refs/heads/main | 2023-01-11T03:42:07.226879 | 2020-11-12T10:17:27 | 2020-11-12T10:17:27 | 312,238,806 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,224 | sci | Frequency_Demodulation.sci | clc;
clear all;
fs = 1000; //sampling frequency
fc = 400; //carrier frequency
fm = 30; //modulating frequency
t = (0:1/fs:0.5)'; // time period
B = 10; //modulation index
fdev = 150; //frequency deviation
m = cos(((2*%pi)*fm)*t); //modulating/message signal
c = cos(((2*%pi)*fc)*t); //carrier sig... |
3a54d459c5cbcd11be5360cb7761f03d0b86c7e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH2/EX2.12/ex_2_12.sce | 3f41a9c26a810028aa822984ec35c3dc5ce8bf9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | ex_2_12.sce | //Example 2.12 //Difference of wavelengths
clc;
clear;
//part a
l=5;// length of grating
N=16000;// no. of lines per inch on the grating
w=6000;// wavelength used in A
n=2;// order of specrum
T=N*l;//total no. of lines on grating
R=T*n;// resolving power
disp(R,"resolving power..")
//part b
dw=w/(T*n);// wa... |
3134deae594f28ce70411bb1b2ba882f9f05f28d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.26/EX5_26.sce | 088b633bed4fd502c61c6c8281c4222b304f0f6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | EX5_26.sce | // Exa 5.26
format('v',6)
clc;
clear;
close;
// Given data
V_T = 1;// in V
k = 0.5;// in mA/V^2
R2 = 40;// in k ohm
R1 = 60;// in k ohm
R_S= 1;// in k ohm
R_D= 2;// in k ohm
V_DD = 5;// in V
V_G = (R2/(R2+R1))*V_DD;// in V
I_D= poly(0,'I_D');
V_GS= V_G-I_D*R_S;// in V
// Evaluation the value of I_D by u... |
8843809896ecc09deb97e218c2a25ed3d882c89f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH22/EX22.10/Ex22_10.sce | 2cea58d8a3bb6239f930d677e3158c6ff7029160 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,233 | sce | Ex22_10.sce | //Variable declaration:
//From example 22.9:
t1 = 23.5 //Initial temperature of oil ( C)
t2 = 27 //Final temperature of oil ( C)
T1 = 93 //Water heating temperature of water ( C)
T2 = 88.16 //Minimum temperature o... |
944e09ee941ff7e3a7556e2094cb2d853ea29114 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH2/EX2.14/example2_14.sce | 55f764303c2637bf98abc66bcf392a2ad1e10f8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example2_14.sce | //example 2.14
//page 85
clc; funcprot(0);
//initialisation of variable
pi=3.14;
g=9.81;
W=0.4;//weight
k=pi*10^2/(pi*(14^2-10^2));//k=x/y
F=W*g;
//on equating F and substitung x=k*y in equation x+y=6.37/100
y=6.37/100/(1+k);
x=k*y;
disp(0.08-x,"bottom of solid cylinder above ground(m):");
clear
|
33145e010ac4b63338ada121313ae9b7a69a9dd9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/list.man.tst | 3c225cedd219ec40f8202ffd8e07ebd5fc56a10e | [
"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 | 50 | tst | list.man.tst | clear;lines(0);
x=list(1,2,3);
x(4)=10;
x(10)='a'
|
4d42525b65288a6184ce031f8149d7f61f66c0d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH2/EX2.1.b/Ex2_1b.sce | 729a65bd6f0384b78ec1610aadb6cea2e98bcd33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | Ex2_1b.sce |
//Caption: Probability
//Example 2_1b
//page no 43
//Find the probability Getting black ball
clc;
clear;
redballs=3;
whiteballs=4;
blackballs=5;
//Probability Getting black ball
prob=blackballs/(redballs+whiteballs+blackballs);
p=1-prob;
disp("Probability not getting black ball");
disp(p,"P(B~)=");
|
8324e5de1b5b5c11a4e6f0198bc9aba5b0d79939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH12/EX12.2/prob_12_2.sce | e1aaff0d012f594908c6bdeeef520f33ffca0544 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | prob_12_2.sce | //page 540
//problem 12.2
//as En=sqrt(nc^2+ns^2),where both nc and ns are gaussian with variance 6n^2,according to the following eqn P(En>=A)=integrate(En/6n^2)*e^(-En^2/2*6n^2)dEn;
// the value of this integral is the probability of which is 0.01
//hence e^(-A^2/2*6n^2)=0.01
//let g=A^2/(2*6n^2);
clc;
g=-(log(... |
de55a1ed7c7d7d4f6b8927ac10b1c4bfbe61d9a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH8/EX8.13/Ex8_13.sce | a8ea2a049ace8b949db5d91158c83c837e03b4a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,470 | sce | Ex8_13.sce | //chapter-8 page 346 example 8.13
//==============================================================================
clc;
clear;
//For a 2 cavity klystron amplifier
V0=1200;//Beam voltage in V
I0=0.03;//Beam current in A
f=10*10^9;//frequency in Hz
d=0.001;//gap spacing in either cavity in m
L=0.04;//spacing b... |
2c1395077a5971df5951d488ce827aea1ff651fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH8/EX8.13/Ex8_13.sce | 4e4eecd57c486847bf9207c89a05c75439e38c28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | Ex8_13.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 8.13
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
//Let the quantity 'D/2a' be 'D'
D=0.1;//Dimensionless Ratio of lateral displacement to fiber core radius
Tlat=2/%pi*(acos(D) - D*sqrt(1 - D^2));//Tr... |
f46028447636877f942c6148d7ef3c9516a59a35 | ae90aa32e949a5eab9665f526f886f05860161d2 | /code/nand2tetris/08/FunctionCalls/StaticsTest/StaticsTestVME.tst | 056fd23f1729a2a00d51dfcc2e040911f6fe30e4 | [
"CC-BY-SA-3.0",
"MIT"
] | permissive | cccbook/sp | 4097ab760cfb013b689dc4739a439de29d85d324 | aff23e6b18ba6221022b14b024fd562427c46d9a | refs/heads/master | 2022-05-22T03:31:33.324045 | 2019-06-06T07:04:37 | 2019-06-06T07:04:37 | 156,299,694 | 257 | 96 | MIT | 2022-03-19T08:48:32 | 2018-11-05T23:56:37 | Assembly | UTF-8 | Scilab | false | false | 428 | tst | StaticsTestVME.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/08/FunctionCalls/StaticsTest/StaticsTestVME.tst
load, // Load all the VM files from the current directory.
output-file StaticsTest.out,
compare-to StaticsTest.cmp... |
85c980e0b1fd8047b7cd4cebd17c774de764f96f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH3/EX3.9/ex3_9.sce | aec24536fa14f22bfccecd31f43b6d60292602dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex3_9.sce | //Calculate sag from taller of the two supports
clear;
clc;
//soltion
//given
Wc=1.925;//kg/m//Line conductor wieght
L=600;//meter//span of the line
h=15//m//T1-T2
Wi=1//kg//Wieght of the ice
Wr=Wi+Wc;//resultant weight
A=2.2//cm^2
U=8000*A;//kg//Breaking strength
sf=5;//safety factor
T=U/sf;//kg//max allo... |
e00a6390fe516de4ddc6659ae8db4e07f01ddcb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH3/EX3.15/Ex3_15.sce | b14a5427ef46f766bfce9dd50fa424a88b59a5a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,169 | sce | Ex3_15.sce | //CHAPTER 3 ILLUSRTATION 14 PAGE NO 111
//TITLE:FRICTION
clc
//βμαφɳρΠπ
clear
//===========================================================================================
//INPUT DATA
PI=3.147
n1=3// NO OF DICS ON DRIVING SHAFTS
n2=2// NO OF DICS ON DRIVEN SHA... |
4fd8b3eded8884f5d2b375537e927d59073b1338 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH25/EX25.17/example25_17.sce | f4d93cadcb3631382fd763dc58d167231db40cf7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example25_17.sce | m_i=58;
deg_i=35*%pi/180;
i=m_i*(cos(deg_i)+%i*sin(deg_i));
m_i1=35;
deg_i1=-20*%pi/180;
i1=m_i1*(cos(deg_i1)+%i*sin(deg_i1));
m_v=120;
deg_v=0;
disp("Part a");
i2=i-i1;
a=real(i2);
b=imag(i2);
m_i2=sqrt(a^2+b^2);
deg_i2=atan(b/a)*180/%pi;
disp("the current (in mA) in the other branch has a magnitude of")... |
b389f61cc82954ad8b8030e3b983b9ff07c536d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH5/EX5.7/Ex5_7.sce | 0e7a7cf32ca48bb2fe930fe8c6ae1b965a1a6f77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_7.sce | clc
// initialization of variables
clear
// Specifications
T=2 //kN.m
E=72 // G Pa
G=27 // GPa
b=30 //mm
h=40 //mm
d=60 //mm
l1=400 //mm
l2=800 //mm
// calculations
E=E*10^9
G=G*10^9
b=b*10^-3
h=h*10^-3
d=d*10^-3
l1=l1*10^-3
l2=l2*10^-3
T=T*10^3 //N.m
Ix=b*h^3/12
J=%pi*d^4/32
thB= 2*l1^3/3*0.001^... |
09a44719115c3c8f219780001c6b6a92e6bdaece | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.6.f/1_6_f.sce | 0a221ae08ace02aa1c7693d9db68db556d579df3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | 1_6_f.sce | //Example 1.6<f>
//draw the waveform of the signal x6(t)=u(t+2)-u(t-2)
clc ;
clear all;
t=-10:.001:10;
for i=1:length(t)
if t(i)>=-2 & t(i)<=2 then
x(i)=1;
else
x(i)=0;
end
end
//figure
plot2d(t,x);
xtitle('Required figure','t','x(t)')
|
5b82d47dcd8a0a6438b39fad7f64c3db518ef7a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.26/Ex2_26.sce | d60e03cb459b6d15f8cded52ee41c746c282b28f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_26.sce | //problem 26 pagenumber 2.109
//given
freq1=1.5e3;//hz
bw=450;//hz
//determine qualityfactor f1 f2
q=freq1/bw;format(7);
f1=freq1*sqrt(1+(1/(4*q*q)))-freq1/(2*q);
f2=freq1*sqrt(1+(1/(4*q*q)))+bw/2;format(4);
disp('Quality factor = '+string(q));format(7);//no unit
disp('Lower frequency = '+string(f1)+' Hz');
... |
27a4a3f7c70757866cafb9e2f59f28e60dbb3fa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.62/example4_62.sce | 6e8b94e17701c0cd5f8ae991d678db83fa306935 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example4_62.sce | //example 4.62
//ordinates of 1 hr unit hydrograph
clc;funcprot(0);
//given
t=[0:1:12]; //time
O=[0 0 54 0 175 0 127 0 58 0 25 0 0 0]; //ordinate of 2 hr unit hydrograph
of(1)=0;
of(2)=0;
for i=3:13
if modulo(i,2)==0;
of(i)=0;
else
of(i)=O(i-2)+of(i-2);
end
end
s=[0 2... |
a554905653682da368ad0f9f21136ced4715dfce | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/backslash.man.tst | 6d348496d0e435272e621c0ab86737808e1c11ec | [
"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 | 256 | tst | backslash.man.tst | clear;lines(0);
A=rand(3,2);b=[1;1;1]; x=A\b; y=pinv(A)*b; x-y
A=rand(2,3);b=[1;1]; x=A\b; y=pinv(A)*b; x-y, A*x-b, A*y-b
A=rand(3,1)*rand(1,2); b=[1;1;1]; x=A\b; y=pinv(A)*b; A*x-b, A*y-b
A=rand(2,1)*rand(1,3); b=[1;1]; x=A\b; y=pinv(A)*b; A*x-b, A*y-b
|
eb4d6f291d204e422667bf1960b6cf3339191ed1 | 460900277dde2407f14200e223c77c7d2acbfe7e | /msgflow/TestClientBarFiles/IB10NODE_default.tst | 4afe2f19e89a783c83dc96926b354b485a0fa576 | [
"MIT"
] | permissive | itnelo/ibm-websphere-messageflow-example | bc5b39b874bdca401aa752d11472780966e93191 | 75881de63df54e42c3d348b89b86939cba78415c | refs/heads/master | 2020-04-01T16:24:12.654779 | 2015-12-24T07:29:33 | 2015-12-24T07:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | tst | IB10NODE_default.tst | ***************************************************
* Run the following command to create the queues *
* runmqsc <queue manager name> <IB10NODE_default.tst *
***************************************************
DEFINE QL('LQ2')
|
c763e1460e2b3e989cb8a694f40c82cbe51cd1bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH2/EX2.3/Ex2_3.sce | 342a761b546f01a10a7bdcd0c206b971e5ff6f79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 864 | sce | Ex2_3.sce | clear;
clc;
//Example 2.3
V_O=12;//(V)peak output voltage
I_L=0.12;//(A)current delivered to the load
R=V_O/I_L;
printf('\neffective load resistance=%.2f Ohm\n',R)
V_Y=0.7;//(V)diode cut in voltage
v_S=V_O+2*V_Y;
printf('\npeak value of v_S=%.2f V\n',v_S)
v_Srms=v_S/sqrt(2);
printf('\nrms voltage=%.2f V\n',v... |
ec10543886be0c6a18d1e759ae868484309fd43e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.1/Ch03Ex1.sci | 01cadf6a8a30ad24c5a9e82fd51afe08082906ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sci | Ch03Ex1.sci | // Scilab code: Ex3.1 : Kinetic energy of an electron: Pg: 77 (2008)
h = 6.6e-034; // Planck's constant, J-s
m = 9.1e-031; // mass of an electron, kg
L = 9e-010; // wavelength of an electron, m
// since E = (m*v^2)/2, Energy of an electron, joule
// thus v = sqrt(2*E/m), solving for L in terms of E, we ha... |
f730abd5515235eb6cb34f912f4d4f9c75ffd5ea | 3a5171d74daf18bde7e1bcb671ddc3f5ee81c4e9 | /RDBMS/ORACLE/PLSQL/copy_table.tst | 29a73917420a9c1b22e47e54c4bfd095b0b64f70 | [] | no_license | GradedJestRisk/db-training | 03a142d49cfadebe114da2b90cc7480bca25c74f | 2a2398f98665a990a1ab37e58be105f92a1d721c | refs/heads/master | 2023-01-19T11:07:47.065313 | 2022-02-28T08:39:36 | 2022-02-28T08:39:36 | 161,371,886 | 2 | 1 | null | 2023-01-11T03:15:40 | 2018-12-11T17:47:49 | PLpgSQL | UTF-8 | Scilab | false | false | 307 | tst | copy_table.tst | PL/SQL Developer Test script 3.0
6
begin
-- Call the procedure
pkg_ddl_tools.copy_table(from_table => :from_table,
from_schema => :from_schema,
to_table => :to_table);
end;
3
from_table
1
tbl_test
5
from_schema
1
fap
5
to_table
1
tbl_test_cible
5
0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.