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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5d61a13fcb96108a9645da27e3a2139a7b54c4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH6/EX6.12/Ex6_12.sce | 1ebf703a53730dde4a09fdc83e38ac02ca808960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | Ex6_12.sce | //chapter 6
//example 6.12
//Calculate electron density for a metal
//page 150
clear;
clc;
//given
E_F_L=4.7; // in eV (Fermi energy in Lithium)
E_F_M=2.35; // in eV (Fermi energy in a metal)
n_L=4.6E28; // in 1/m^3 (density of electron in Lithium)
//calculate
// Since n=((2*m/h)^3/2)*E_F^(3/2)*(8*pi/3) and ... |
679a4be0bf46d1d5b60f1bd138f04eba7228ad16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH17/EX17.7/C17P7.sce | 62d9f0ce38a6e27a1d0c1d1a3986b5260f7e9f22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | C17P7.sce | clear
clc
//to find time required by body to come halfway
// GIVEN:
//refer to figure 17-15 from page no. 385
//from the equation given
//radius of reference circle
r = 0.35//in m
//angular speed
omega = 8.3//in rad/s
// SOLUTION
//refer to problem 17-5
//angle turned to come halfway
wt = 60//in degree... |
97e4741d9237ae60389dfa9bf51adaf3e998e675 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH1/EX1.35/35.sce | a18130156f20de52a44b6e5544beff84117f285d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 35.sce | clc
// Given that
BE = 13.6 // Binding energy of electron in eV
c = 3e8 // speed of light in m/sec
// Sample Problem 35 on page no. 60
printf("\n # PROBLEM 35 # \n")
printf(" Standard formula used \n")
printf("\n E = m*c^2 \n")
del_m = BE*1.6e-19/c^2 // loss of mass in kg
printf("\n Loss of mass in formation of one a... |
1b1ac01c31fccd5a12a7e4be6ff072e0c8412f44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH27/EX27.16/Ex27_16.sce | 111918cb33bfe37a5ccaccd3c2dad92a2944d8f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | Ex27_16.sce | clc;
//e.g 27.16
hfe=99;
hie=2*10**3;
hie1=2000;
hie2=2000;
Rc=22*10**3;
R4=100;
R1=220*10**3;
R2=22*10**3;
RC1=4.7*10**3;
R3=7.8*10**3;
Ri=hie;
a=(R1*R2)/(R1+R2);
b=(a*Rc)/(a+Rc);
R01=(b*hie1)/(b+hie1)
disp('Kohm',R01*10**-3,"R01=");
Ri2=hie;
C=(R3+R4);
R02=(RC1*C)/(RC1+C)
disp('Kohm',R02*10**-3,"R... |
6941ad9276cddbc45d2dbb796461de47f65cef1b | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calibSimplexMeanSquares_05:29:10.297 PM 05-juin-2013.sci | e9a59f94bdea970f88855b8f4415e9e625b55925 | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sci | calibSimplexMeanSquares_05:29:10.297 PM 05-juin-2013.sci | ms=[];incomemean=[];bref=[];bnorm=[];
ms(1)=5.434968908330303E8;
incomemean(1)=10000;
bref(1)=5000;
bnorm(1)=5000;
ms(2)=1.1313075247166609E80;
incomemean(2)=10000;
bref(2)=7000;
bnorm(2)=5000;
ms(3)=5.149266117542891E8;
incomemean(3)=10000;
bref(3)=5000;
bnorm(3)=7000;
ms(4)=3.931488099239337E8;
incomemean(4)=12000;
b... |
6d52ad3ecbfefc65b8d0be5d92f659af7eef575f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH2/EX2.11/exa_2_11.sce | 218cac9ab997101d963cf1be2ced4ddd3d3e4099 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,547 | sce | exa_2_11.sce | // Exa 2.11
clc;
clear;
close;
// Given data
V_DD= 15;// in V
KnWbyL= 0.25;// in mA/V^2
KnWbyL=KnWbyL*10^-3;// in A/V^2
Vt= 1.5;// in V
V_A= 50;// in V
R_D= 10;// in kΩ
R_D= R_D*10^3;// in Ω
R_L= 10;// in kΩ
R_L= R_L*10^3;// in Ω
R_G= 10;// in MΩ
R_G= R_G*10^6;// in Ω
// I_D= 1/2*KnWbyL*(V_D-Vt)^2 , (... |
47c45428b1668a1139fb0e47cb59e4b243fe7c9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH4/EX4.6/ex4_6.sce | 86787f4d0de52fa03a8e917525a1edf9221db719 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | ex4_6.sce | // Exa 4.6
clc;
clear;
close;
// Given data
Rho_p = 2;// in ohm-cm
Rho_n = 1;// in ohm cm
q = 1.6*10^-19;// in C
n_i = 2.5*10^13;// atoms per cm^3
Miu_p = 1800;
Miu_n = 3800;
N_A = 1/(Rho_p*q*Miu_p);// in /cm^3
N_D = 1/(Rho_n*q*Miu_n);// in /cm^3
V_T = 26;//in mV
V_T= V_T*10^-3;// in V
V_J = V_T*log((N_A... |
0ba24e6fef6b9a0cc827b2cdbb67f433defa92be | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/ADRSolver/Tests/Advection2D_dirichlet_regular_MODIFIED_triangle_98.tst | f356ac42c81fbb5022864762f67088c1bcddd812 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 715 | tst | Advection2D_dirichlet_regular_MODIFIED_triangle_98.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>2D unsteady WeakDG advection MODIFIED, P=3 Dirichlet bcs, regular triangular elements using AVX BwdTrans</description>
<executable>ADRSolver</executable>
<parameters>Advection2D_dirichlet_regular_MODIFIED_triangle_98.xml</parameters>
<files>
... |
a3b8599d7d5a8e0a7c1cc455814edfd11b9a92c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH8/EX8.7/Ex8_7.sce | 30e753457c74e6d1cb2ac91388b5acbdc92132bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | Ex8_7.sce |
// Theory and Problems of Thermodynamics
// Chapter 8
// Power and Refrigeration Cycles
// Example 7
clear ;clc;
//Given data
P1 = 2.5 // entering pressure of superheated steam in MPa
T1 = 523.15 // entering temperature of superheated steam in K
P_e1 = 10 // conden... |
4487b526a2e79130c2d9c1e66a337607ff2fc6c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH6/EX6.4/6_4.sce | 9108c9bc5875cc06fe70bdb8a263dafa0e9ca6d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_4.sce | clc
clear
//Initialization of variables
Lr=1/10
rhom=2
rhop=1.94
//calculations
Vr=sqrt(Lr)
Tr=Lr/Vr
ar=Vr/Tr
Fr=rhom/rhop *ar*Lr^3
//results
printf("Velocity ratio = %.4f",Vr)
printf("\n Time ratio = %.4f",Tr)
printf("\n Acceleration ratio = %d ",ar)
printf("\n Force ratio = %.6f",Fr)
|
551d417b8c45b3086e2821ea7b21986e8372658d | 456d61ad6df72c2b22d4b518d913dea4b1c7bb74 | /test/SL2.prev.tst | abdbb4af1703f84cf93dc4685ed6a290683dc5be | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/xtool | 33d38dbccc24f5bf064bd3d79c4fdea19971c345 | 891e1f1ffe57558c6c150e49b2d7976c15bfcc85 | refs/heads/master | 2022-02-13T12:50:15.773274 | 2022-01-28T14:34:39 | 2022-01-28T14:34:39 | 30,119,817 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,004 | tst | SL2.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<jcl><!--[1..1] -->
<__unresolvedChoice__><!--[1..n] -->
<comment>normalizedString</comment><!--[1..1] xs:normalizedString normalizedString -->
<data></data><!--[1..1] xs:token token -->
<eof>normalizedString</eof><!--[1..1] xs:normalizedString n... |
f73de0383034690fc9854f7011eae51288c4acd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.5/example15.sce | e76680fc4b8a8b9154e3822372a95ade31db43c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | example15.sce | //Example 1.5
//Sketch the signal x(t)=A[u(t+a)-u(t-a)]
clc;
A=1;
a=2;
t=-a:a
x=ones(length(t),1);
plot(t,x)
//this signal is a finite duration signal so it is energy signal
E=integrate('1','t',-a,a); |
d6f32059a10279b0a73339b70cbe9b62fc10fd06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH6/EX6.6/Example_6_6.sce | 671fa6dc39a30bb057ecbde51e65026780aae128 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | Example_6_6.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 6.6
//Caption : Program to Find the State of Steam at the Exit Nozzle
//Given values
P1=1000;//[KPa]
T=533.15;//[K]
P2=200;//[KPa]
H1=2965.2;//[KJ/kg] fr... |
4e70c013ece08719de4c80e26b414ef853c0c3f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH12/EX12.11/W_11.sce | 33f67dd3ed85fa17b3652898c7ba09e4dc622786 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | W_11.sce | // sum 12-11
clc;
clear;
t=30;
sigut=417;
sige=sigut/2;
Ka=0.5;
Kb=0.85;
Kc=0.897;
SCF=1.2;
Kd=1/SCF;
FOS=1.5;
sige1=sige*Ka*Kb*Kc*Kd/FOS;
Pa=60*10^3;
l=Pa/(sige1*t);
// printing data in scilab o/p window
printf("l is %0.1f mm ",l); |
48a42c91ea2a2209d344764ef77303e9a7ba3ee4 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Happy Birthday.sce | a8fa929244e3c64a1e2948355484239a42488ad5 | [] | 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 | 102,366 | sce | Happy Birthday.sce | Name=Happy Birthday
PlayerCharacters=Birthday Player
BotCharacters=Candlelight.bot
IsChallenge=true
Timelimit=10.0
PlayerProfile=Birthday Player
AddedBots=Candlelight.bot;Candlelight.bot;Candlelight.bot;Candlelight.bot;Candlelight.bot;Candlelight.bot;Candlelight.bot;Candlelight.bot
PlayerMaxLives=0
BotMaxLives=1;1;1;1;... |
230811dd371b011519200984ab3d11535c120b27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH6/EX6.1/exa_6_1.sce | d2def07a8fc8fb5fa7c512df6852b0c06f2fde74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | exa_6_1.sce | // Exa 6.1
clc;
clear;
close;
// Given Data
f_H= 2;// in kHz
f_H= f_H*10^3;// in Hz
C=0.01;// in micro F
C=C*10^-6;// in F
R= 1/(2*%pi*f_H*C);// in ohm
R=R*10^-3;// in kohm
// R may be taken a pot of 10 k ohm
R=10;// in k ohm
// Since the passbond gain is 2.5, so
// 1+Rf/R1= 2.5 or Rf= 1.5*R1
// Since Rf... |
d34328a0df4cb3bc279aa817e5a87af327d52380 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH2/EX2.11/Ex2_11.sce | 51e103ac04379a52f56607295424b4e95d92a870 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Ex2_11.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
// Example : 2.11
clc;clear; // clears the console and command history
// Given data
I = 150 // current through conductor in A
l = 2 // conductor length in m
... |
9e75e6a0f3c881f99feb521522f22a21f3a2bb9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH6/EX6.36/Example_6_36.sce | bfe28349642829f1f1ca520e6aa9b371a85ca45f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,685 | sce | Example_6_36.sce | //Example 6.36 Deseasonalize the following production data
clc;
clear;
Output=[30 49 50 35 49 50 61 20 35 62 60 25 75 79 65 70];
MV1=0;
MV2=0;
MV16=0;
MV3=Output(1)+Output(2)+Output(3)+Output(4);
MV4=Output(2)+Output(3)+Output(4)+Output(5);
MV5=Output(3)+Output(4)+Output(5)+Output(6);
MV6=Output(4)+Output(5)+... |
671a407ffc10a94f00fe206e6ea577939228a311 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH1/EX1.7/ex1_7.sce | 332c713ea43c2c98a2fbed3db3d18c582b3dab25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,440 | sce | ex1_7.sce | //Introductory Topics :example 1-7 : (pg no. 21 & 22)
BW=200*10^3;
k=(1.38*10^-23);
T=(273+22);//converting degrees C into kelvin
R=(10*10^3);
R1=300;
NF1=3;
NF2=8;
NR1=2;
NR2=6.31;
df=((%pi/2)*BW);
Pn=(k*T*df);
en=sqrt(4*Pn*R);
x=(14+20+20);//sum of the power gain of the three stages
y=(x/10);
Pg=(10^y)... |
3a7e0a2273686b8c1fa01667770a13ec07f7b13a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH5/EX5.8/Ex5_8.sce | 09f3ae417bb8c0ea948c40c86b53c5e9fe882a69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | Ex5_8.sce | //page 161
//Example 5.8
clc;
clear;
close;
A = [1 2;3 4];
disp(A,'A = ');
d = det(A);
disp(d,'det A = ','Determinant of A is:');
ad = (det(A) * eye(2,2)) / A;
disp(ad,'adj A = ','Adjoint of A is:');
disp('Thus, A is not invertible as a matrix over the ring of integers.');
disp('But, A can be regarded as a ... |
b2232812e5322cff0aad2331a8ac6f93f1c04583 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH3/EX3.6/pe3_6.sce | 8d0f901b0e86957682337dc2c232d65f550f6b4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | pe3_6.sce | //example 3.6
clc; funcprot(0);
// Initialization of Variable
Ip=3;
f=100000;
I=Ip/3^.5;
disp(I,"rms current in A")
clear()
|
1263449a779f5d5610a1b20db17b716c29cd02fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.9/Ex5_9.sce | 7048fe8bd1eeac4453ef89a9052ad95640eb1f05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | Ex5_9.sce | clear
//Given
I=2.4
A=0.30*10**-6
m=9.1*10**-31
n=8.4*10**28
e=1.6*10**-19
E=7.5
//Calculation
J=I/A
t=m*J/(n*e**2*E)
//Result
printf("\n Average relaxation time is %0.2f *10**-16 S",t*10**16)
|
b6c7039a7add5f9dc6c299064a802008a45c9f50 | a095402148fd6b18b79f79dcaf460ddd3a81cd14 | /exp3/filternew.sci | e607ed80805764d5f84b6bf8cc04decd2549e48f | [] | no_license | avravikiran/sip-lab | b3ccc5b4e4f9d3353aff364adc966d9d46835f10 | 213d7e63bd08da70e286484dcc3d4e55fb43fbcd | refs/heads/master | 2021-06-22T19:03:10.747224 | 2017-08-10T20:59:57 | 2017-08-10T20:59:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,627 | sci | filternew.sci | function filternew(pic,RGB,tp1,winSize1,winSize2,sigma,path)
//******************************************************
//code developed by: L.N.Eeti,Research Assistant,CSRE.
//Date:25-02-2011
//input name of any filter shall exactly match as given under
//Gaussian filter/Lee filter/Average(Mean) filter/Median filter/... |
69cc7d0499c77aa443f68e8676be615b771d2b29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.17/11_17.sce | 6b74b7609f3f6859f5174fb8068be5e4b374692b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,204 | sce | 11_17.sce | //pathname=get_absolute_file_path('11.17.sce')
//filename=pathname+filesep()+'11.17-data.sci'
//exec(filename)
//Pressure at which steam is generated(in bar):
p=20
//Temperature at which steam is generated(in C):
Ts=300
//Temperature of feed water supplied to the boiler(in C):
T1=50
//Calorific value of fuel(i... |
56fe254f403330e70a954989c14624d51fa67f2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH17/EX17.4/EX17_4.sce | d8953a372102624253a57fd6721ff96128f34f85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,458 | sce | EX17_4.sce | clc;funcprot(0);//EXAMPLE 17.4
// Initialisation of Variables
rho1=0.95;...........//Density of polyethylene in g/cm^3
rho2=2.4;...........//Density of clay in g/cm^3
f1=0.65;...............//Volume fraction of Polyethylene
f2=0.35;...............//Volume fraction of Clay
f3=1.67;.............//Volume fraction ... |
07a255fea0dd5ce8c34bfe465396986fcfc532fb | 35071fb08cee13f4a9e79c396f7c8c028f69db0e | /Tests/Syntaxe/KO/return_bool_false_from_void.tst | 87d6ac0b7cc0671111d76e4e0f670d83a0a2a6ed | [] | no_license | V1nc3ntL/Compilation | 2cd9d4fa728055cebd44659cba517e49298142bc | e2008449ddb509021f6ddcfd0a92226807bec9ab | refs/heads/master | 2023-06-01T09:42:01.069684 | 2021-06-02T19:15:13 | 2021-06-02T19:15:13 | 357,205,127 | 0 | 0 | null | 2021-05-31T12:13:32 | 2021-04-12T13:30:46 | C | UTF-8 | Scilab | false | false | 85 | tst | return_bool_false_from_void.tst | void main()
{
bool var = false;
if(var)
{
return 0;
}
else
{
return 1;
}
} |
9f0d398f519725bdd70f4881646fe0bbf753f1e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH8/EX8.1/8_1.sce | eee7115983bcba8c9e213ec7859f71524fa0c587 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | 8_1.sce | clc
//initialization of varaibles
T1=85+460 //R
T2=50+460 //R
//calculations
eta=(T1-T2)/T1
//results
printf("Max. efficiency = %.1f percent",eta*100)
|
87b6ae530565e962264cc9d6257f0291f33c3b4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3826/CH1/EX1.3/Ex1_3.sce | 451bab3768d406346cd8a203a3ee9d8da461527d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | Ex1_3.sce | //Example 1_3 page no:42
clc;
//given
armature_resitance = 0.086//in ohm
fl_arm_current = 150;
volt = 220;
power = 30;//in kiloWatt
ini_brk_current = 200;
full_ld_speed = 535;// in rev/min
back_emf = volt - (fl_arm_current * armature_resitance);
tot_volt = volt + back_emf;
resistance_req = tot_volt / ini_brk... |
79d4c1e3d9dc35625fb2165c9228ccfca22c6f1b | 244971ae8af51184d278cdc2be1c80775413adae | /SSSeSourceData.sci | 8890ab1de019a1f0c36ec5d6c766a8087f05c696 | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,853 | sci | SSSeSourceData.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function OUT=SSSeSourceData(Amplitude,OffsetBit,DutyCycle,Sequence_Hex)
// Generates binary pseudorandom sequence
//
// Calling Sequence
// OUT=SSSeSourceData(Amplitude,OffsetBit,DutyCycle,Sequence_Hex)
/... |
c5fa33eae29436d663693baaf1bf30cdc1f069f9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/tdcs/gpeche.sci | e0c1796e7517296669a8db9ac0708efddf8a21cb | [
"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 | 973 | sci | gpeche.sci | function [xk,ukp1]=gpeche(uk,pasg)
// pour une loi de commande uk
// calcule la trajectoire associee xk
// imprime le valeur du cout
// calcule une nouvelle valeur de commande
//!
[xk,pk]=equad(uk);
tk=(1/(npts-1))*(0:(npts-1));
xset("window",1)
if xget("window")=0 , xinit('unix:0.0'),xset("window",1),end
plot2d(tk',uk... |
c437f474e35c8c9fbbb5f3ad68b1c545f826474b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH5/EX5.3.3/Example5_3_3.sce | 8aab22b2a708f3f86f07fdb35b1617f5a81471ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Example5_3_3.sce | //Example 5.3.3 page 5.8;
clc;
clear;
Ps= 5;
Lcoupling = 3;
Lc= 2;
L_splicing = 50*0.1;
F_atten = 25;
L_total = Lcoupling+Lc+L_splicing+F_atten;
P_avail = Ps-L_total;
sensitivity = -40;
loss_margin = -sensitivity-(-P_avail);
printf("The loss margin of the system is -%d dBm",loss_margin);
sensitivity_f... |
017625ecbb1d30b8f2d760cf3674786712223dc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH6/EX6.6/pe6_6.sce | 9abb237791460a1ea9650ef78b0818e269c36f40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | pe6_6.sce | //example 6.6
clc; funcprot(0);
clf()
// Initialization of Variable
Vol=0.7;
Iol=40.0/1000;//current
Epullup=28.0;
Rpullup=(Epullup-Vol)/Iol;
disp(Rpullup,"resistance in ohm")
printf('pick up resistance=680 ohm');
Rpullup=680.0;
C=640;
trise=2.2*Rpullup*C;
disp(trise/1000,"rise time in ns");
//for plottin... |
2a5c5981e05d0f07bce48511fc6d30e4af1abcfa | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_ismember.sci | eda7d4c489c773b924604e1ec6e977c98dff6366 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,942 | sci | moc_ismember.sci | function [tf, a_idx] = moc_ismember (a, s, rows_opt)
//Checks which elements of one matrix are member of an other matrix
//Calling Sequence
//tf = moc_ismember (A, S)
//[tf,S_idx] = moc_ismember (A, S)
//[tf,S_idx] = moc_ismember (A, S,'rows')
//
// Description
// Return a matrix tf with the same shape as A which h... |
894ba46e26a5b113f656e41f685970578c7a2f9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH16/EX16.1/Example16_1.sce | e94acc2f1cced1a5178f2d49414efdbcebdc0a67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,820 | sce | Example16_1.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 9: LOAD FLOW STUDY USING COMPUTER TECHNIQUES
// EXAMPLE : 9.1 :
// Page number 235-236
clear ; clc ; close ; // Clear th... |
78b88a26cf3fde26c5ebb0d7c260c9762a273f9b | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/108.tst | 29fab92eafc9fdfa141546ce2c4af4120a69fce7 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33 | tst | 108.tst | int main(void)
{
int a;
a[a];
} |
8ce0ca99c41d4dddefc77892dee7af07e0819941 | e806e966b06a53388fb300d89534354b222c2cad | /macros/getStructuringElement.sci | 23b384c1cf45bc0dcaf348133edc200f78604732 | [] | 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 | 199 | sci | getStructuringElement.sci | function structuring_element = getStructuringElement(gettype, cols, rows, anchorX, anchorY)
structuring_element = opencv_getStructuringElement(gettype, cols, rows, anchorX, anchorY)
endfunction
|
fe6f78ca5ad7f5776c6fecf51dfe4ea5bfa44997 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH9/EX9.6/Ex9_6.sce | 5a8477e9f359e8e6abfdfcdee5415225bde653c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,361 | sce | Ex9_6.sce | // chapter 9
// example 9.6
// find intrinsic concuctivity and doping conductivity
// page 274
clear;
clc;
// given
ni=1.5E16; // in /m^3 (intrinsic carrier density)
ue=0.13; // in m^2/(V-s) (electron mobilities)
uh=0.05; // in m^2/(V-s) (hole mobilities)
e=1.6E-19; // in C (charge of electron)
ne=5E20; // i... |
a37703eb0db7531deb4542a884520b25dc32605e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.70/EX2_70.sce | 513998f6e6c9eeb1cc2bdcf1e1c27d85400a7d35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | EX2_70.sce | //EXAMPLE 2-70 PG NO-110-111
ZA=-%i*227.36; //IMPEDANCE
ZB=-%i*795.77; //IMPEDANCE
ZC=500; //IMPEDANCE
V=230+%i*0; //VOLTAGE
IA=V/ZA; //CURRENT
disp('i) CURRENT (IA) is in polar form = '+s... |
6ea7c5ebaf9695f6831a0fe4b44cfa84ffb74450 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH1/EX1.4/ex_1_4.sce | 91b5bda1ee3efb36d8a2ee351be9d1c01f4d7037 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | ex_1_4.sce | //Example 1.4 // loading in kW and efficiency of the tank
clc;
clear;
close;
format('v',5)
a=6;//area in m^2
l=a/6;//one side of tank in meter
V=l*l*l;//volume in m^2
e=90/100;//capacity
wh=6*e*1000;//water to be heated daily in kg
s=4200;//specific heat of water in J/Kg/degree celsius
t1=65;//in degree celsius
t2=20;/... |
7e77bfed2e220b0a76dd020eb1ad47de5518b7dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH2/EX2.28/example2_28.sce | bbcd2cadf00a076ebc337e1f900ffce6a2a8db86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | example2_28.sce | //exmaple2.28
clc
disp("P=6, A=2 as wave, Z=492, psi=30 mWb, I_a=40 A")
disp("T=(psi*P*Z*I_a)/(2*pi*A) Nm")
t=(40*6*492*30*10^-3)/(2*%pi*2)
format(9)
disp(t,"Therefore, T(in Nm)=")
disp("as 1N=(1/9.81)kg")
t=281.8952/9.81
format(8)
disp(t,"Therefore, T(in kgm)=")
|
06f5914de88b346f59c5f92baf0e1357d8e2b728 | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH4/EX4.1/eg4_1.sce | 9451bd8daadda4372e032c370bcb0816243d9dcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | eg4_1.sce | Nd = 10^16; //in per cm cube
p = 10^18; //in per cm cube
Na = 10^18; //in per cm cube
Nc = 2.8 * 10^19; //in per cm cube
Nv = 10^19; //in per cm cube
kT = 26*10^-3; //in eV
eps0 = 8.84*10^-12; //in F/m
eps = 11.9*eps0;
Eg = 1.1; //in eV
q = 1.6*10^-19;
En = kT*log(Nd/Nc);
disp(En,"The Fermi level positions i... |
b0a0c1e5d1f5cbbdc7ef3372e794c7a3041ae984 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH10/EX10.17/Ex10_17.sce | 6fc6f09a3adcc51d06922d9f4255db9dfd286e12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Ex10_17.sce | clear
//
//
//
//Variable declaration
epsilonr=4.94; //dielectric constant
n2=2.69;
//Calculations
x=(epsilonr-1)/(epsilonr+2);
y=(n2-1)/(n2+2);
alpha=1/((x/y)-1); //ratio between electronic and ionic polarizability
//Result
printf("\n ratio between electronic and ionic polarizability ... |
ba4b65e55e04c864eba9117118c5b4a4e789c18b | e770dc26235168913bdcd5b2332f3a38a95a8bc7 | /Toolbox Test/schurrc/schurrc1.sce | f3a850b642abbacbb2582f51a5d9bb9eb4422384 | [] | no_license | deecube/majorTom | f00eca4e2effff2c5eba746878f2c0842fe14680 | 84365fc032fc0ca44abac8330ec4ac6d85a85b3f | refs/heads/master | 2021-01-21T14:04:23.323717 | 2016-05-23T06:05:31 | 2016-05-23T06:05:31 | 51,731,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | schurrc1.sce | //check o/p for a matrix i/p
r=[0.0455;0.0705;0.0888;0.1144;0.1194;0.1144;0.0888;0.0705;0.0455];
k = schurrc(r(5:$));
disp(k);
//output
|
018db1cdeff21bfbe6fb680fb2a5909e37b7af06 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%rns.sci | 64c19335f3131e6a15bc86b5866d51771ad155e8 | [
"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 | 164 | sci | %rns.sci | function [r]=%rns(l1,l2)
//%rns(l1,l2) <=> l1<>l2 rational<>constant
r=degree(l1(2))==0°ree(l1(3))==0
if r then r=coeff(l1(2))./coeff(l1(3))==l2,end
r=~r
|
8e123082f491e112bfc32a9982c921b58d4ba1e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH7/EX7.3/Ex7_3.sce | bfec38c49c9bef4623c0c84d5f104013bb107205 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | Ex7_3.sce | //Example 7.3// voltage and current
clc;
clear;
close;
l=0.2;//length meter
w=0.1;//width in meter
th=25;//thickness in mm
vw=l*w*th*10^-3;//volume of wood in m^3
ww=600;//weight of wood in kg/m^3
ww1=vw*ww;//weight of wood kg
shw=1500;//specific heat of wood in J/kg/degree celsius
t=200;//temperature in degree celsi... |
d0ea94ff8d064e6f53ca46f892f00c51d0785d8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH10/EX10.4.1/Ex10_4_1.sce | 2b2f44718f1db88545ef217a1e6d47d403b379a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sce | Ex10_4_1.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 10.4.1
//windows 7
//Scilab version-6.0.0
clc;
clear ;
//given
//case 1
R=0.035;//Reflectivity for the air-silica interface
NAt=0.275;//Typical Numerical Aperture in a GI multimode fiber
D=1;//Ratio of the diamet... |
ff38f8efc467d5879494a3ae786a1f51fd437d3d | 6bbc9f4f7e12ef440acd3fe25a51b4f048cde42d | /Image-Enhancement-in-the-Frequency-Domain/Gaussian-LPF.sce | a994827c3ee3793fefaf47a62ddd626b535a0058 | [] | no_license | krisbimantara/Image-Processing-SCILAB | 9dee568676b4f2943c54074d8c88c84cb33b3bb2 | bf8e8905efcdd6e3e0096f7a87cce8212fe0f14c | refs/heads/main | 2023-03-27T04:55:37.463238 | 2021-03-29T13:30:26 | 2021-03-29T13:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,492 | sce | Gaussian-LPF.sce | clear;clc;clear;
a=imread('bima1.jpg');
a=double(a);
r=size(a,1);
c=size(a,2);
d0=50;
for u=1:1:r
for v=1:1:c
d=(((u-(r/2))^2)+((v-(c/2))^2))^0.5;
dd=d*d;
h(u,v)=exp(-dd/(2*d0*d0));
end
end
//merah
me=a(:,:,1);
bme=fft2(me);
cme=fftshift(bme);
c1me=uint16(cme);
newme=cme.*h;
new2me=uint1... |
0e31d820a219733a5599105236790805daa52465 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MachineLearning/FLInfoVal-TD-01.tst | 593a29a8138b861baef870cc90e798fce7369101 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,685 | tst | FLInfoVal-TD-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
99b2e848ff563d5b029565da51a070c366eca8b6 | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/jEdit/ground_truth/OpeningSequenceCoverage/length-1/max-150/t71.tst | be09bf592b7f1f2aa642945618a3d6bfa48025d4 | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | tst | t71.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e4</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e65</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e38</EventId>
<ReachingS... |
ffcac635567f1c0afdb4cf3cbd94b28a090eb6ec | 406877a1e5c75964b9d737de5ec061117b8b0c8d | /image_compression.sce | af0ae9b612a29beb5d5e74a52e40c4dec8a612a8 | [] | no_license | SupreetRonad/IMAGE-COMPRESSION-Using-SVD | c8de985097ac8f5d3492084894c038f51e0f7621 | 311656498716c549a0eaf6f9d105ee1d01b0ad44 | refs/heads/main | 2023-04-14T05:23:20.509314 | 2021-05-01T17:17:02 | 2021-05-01T17:17:02 | 363,464,373 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | image_compression.sce | clear;close;
function imCompressed = compress(imFullOneChannel, SingularValuesToKeep)
[U, Sigma, V] = svd(imFullOneChannel);
SingularValues = diag(Sigma)
imCompressed = U(:, 1:SingularValuesToKeep)*diag(SingularValues(1:SingularValuesToKeep))*V(:, 1:SingularValuesToKeep)'
endfunction
im = imread('... |
daad03455715b978cbaa18e57d01d7176976dcd4 | 58f8869b2dcd9296bbe82d9923d1d7d801937351 | /2 Error Analysis/Q6.sce | 70d4dfc48b32aa8661dcc534f8599b72ac467ead | [
"MIT"
] | permissive | keivalya/2ME01 | f325d38ea7adace9a10bc3d83e7868d59dbc4066 | 3147e0d7319ddeb6e79fde5d0851dcc423a7e23d | refs/heads/master | 2023-02-10T20:15:29.593282 | 2021-01-09T02:39:20 | 2021-01-09T02:39:20 | 282,954,965 | 0 | 0 | MIT | 2020-10-04T02:22:40 | 2020-07-27T16:33:06 | Scilab | UTF-8 | Scilab | false | false | 454 | sce | Q6.sce | //Documentation by Keivalya Pandya
//s -> inital variable (refer method)
//term -> initial variable
//fact -> initialisation(aka. flag)
//x -> function input that is 0.3*%pi or 0.9424777...
//ea = aka epsilon(a)
s = 1.0
term = 1.0
fact = 1.0
x = 0.3*%pi
for i = 2:2:50
fact = fact*i*(i-1);
term = (-1)*term*x*x... |
4bde0529a426a31c1c60199788359fc8738e0e5b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.14_3.tst | 0587affed331acde1fd96c7678ed9e13dafbdce5 | [] | 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 | 45,900 | tst | bow.14_3.tst | 14 1:0.1111111111111111 6:0.043478260869565216 37:0.09090909090909091 42:0.25 73:1.0 171:0.5 191:0.5 319:0.0625 427:0.034482758620689655 566:1.0 647:0.5 768:0.5 776:1.0 1939:1.0 3000:0.25 3968:1.0 5165:0.5 5212:1.0 5431:1.0 5927:1.0 7123:1.0
14 1:0.2222222222222222 6:0.13043478260869565 17:0.2 31:1.0 42:0.25 56:1.0 82:... |
574a2c6376439771d19aeb3bebcf41e264753754 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RT30.prev.tst | 8f4d97863f4cc9620bec4638dce65539e0f889a4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | tst | RT30.prev.tst | [3,2,1] | [1,1] =
quot[0,1] = 1, remd = [[3],[2,1]], prod = [[0],[1,1]]
quot[0,0] = 1, remd = [[3],[1], prod = [[1],[1]
reduce: [[3],[2,1]] / [[1],[1] -> [[1],[1] rest [[2]]
quot[1,0] = 1/2, remd = [[1],[1], prod = [[0],[1]
quot[0,0] = 1/2, remd = [[1]], prod = [[1]]
reduce: [[1],[1] / [[2]] -> [[1/2],[1/2] ... |
7a5ddd9dcee7399d06bed7306c59916fec646b05 | a439c420539294c6e178cc89c43c4231246f9cbe | /Scripts/21. Signal/transforms/fft2.sce | d17f46fa39c7fe4bfb34d95d9dd7bbb512d70dae | [] | no_license | PirateKing19902016/Scilab-Spoken-Tutorials | b7927e196acbefa47abdbdeb326d37385d5cbc34 | a110fc425c123f7041cb9ee8eca42ce08619ae60 | refs/heads/master | 2021-05-02T06:14:37.089440 | 2018-02-09T16:23:27 | 2018-02-09T16:23:27 | 120,855,481 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | fft2.sce | //make a signal
t=0:0.1:1000;
x=3*sin(t)+8*sin(3*t)+0.5*sin(5*t)+3*rand(t);
//compute the fft
y=fft(x,-1);
//display
clf();
subplot(2,1,1);plot2d(abs(y))
subplot(2,1,2);plot2d(fftshift(abs(y)))
//make a 2D image
t=0:0.1:30;
x=3*sin(t')*cos(2*t)+8*sin(3*t')*sin(5*t)+..
0.5*sin(5*t')*sin(5*t)+3*rand(t')*rand(t);
//c... |
b1f2cb3dfcc1e6d36bc07fd431f16b84644dddc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH6/EX6.13/Ex6_13.sce | baf9194061d2aa4d8d17df835a5b200f6edb6612 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex6_13.sce | clear
//Given
R=2 //ohm
R1=2.4 //ohm
V=4 //V
E=1.5
//Calculation
R11=R+R1
I=V/R11
Vab=I*R
K=Vab
l=E/K
//Result
printf("\n Length for zero galvanometer deflection is %0.3f m", l)
|
f8a6b2e859dcce626c89d4b8c8203d77f8b02ce5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH1/EX6/1_6data.sci | 73b1f8dcd08ae260cb25f5d14fd203d49b512be1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | sci | 1_6data.sci | p1=14.7;//psi(abs)
V1=1;//ft^3
V2=0.5;//ft^3 |
1e8a9bf540576fce548cdafd0ce3041350c5dac2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH9/EX9.12.8/Ex9_8.sce | 0534888448b544c62078d904098e934312c47c05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_8.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 9 Basic Voltage and Power Amplifiers
clc
clear
V=10//V=voltage at frequency 5kHz
Vr=7.07//Vr=voltage at frequency 25kHz
//x=10*log10(P/Pr) where x=change in decibel(dB) of power P from some standard power Pr
//P=V^2/R=I^2*R
//Also Pr=Vr^2/R=Ir^2*R
//x=10*... |
527557768f5a2c9795e501063c6c573b4f15668a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH6/EX6.2/ex6_2.sce | b53b9793a940f6d41a6ff97b5ef4877a9a0ad86d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | ex6_2.sce | //Page Number: 332
//Example 6.2
clc;
//Given
I0=20D-3; //A
V0=4D+3; //V
Z0=100; //ohm
N=30;
C=((I0*Z0)/(4*V0))^(1/3);
//Gain
Ap=-9.54+(47.3*C*N);
disp('dB',Ap,'Gain:');
|
13dbd5bbc7038ce686bea18ffce1178b5215fd27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH11/EX11.16/ex_11_16.sce | 1b47e2497c3cebc90b3f1736bc7401ca22ac502c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,974 | sce | ex_11_16.sce | //find a.)dia of fixing bolts,b.)dimension of arms
clc
//soltuion
//given
//refer fig 11.39
pi = %pi;
W=10000//N
q=60//deg
f1=100//N/mm^2
t=60//N/mm^2
Wh=W*sin(%pi/3)//N
printf("the horizontal component is,%f N\n",Wh)
Wv=W*cos(pi/3)//N
printf("the vertical component is,%f N\n",Wv)
Wt1=Wh/4//force on each bolt//N
printf... |
72d9d5ed035b76fbddcee8f8fd7995858ba0ce81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH13/EX13.3/Ex13_3.sce | 162fca35bf1549c5f0ed687f770ff964557f2f62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,894 | sce | Ex13_3.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 13.3
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
A=120; //Normal copper area in mm^2
con_size=(30+7)/6.... |
eda9d8e0b81db49f1b7843e8aa4ed768adfbd83b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3417/CH13/EX13.4.2/Ex13_4_2.sce | a2162e28a0186f929e14357c46efb5f27c2c2857 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,309 | sce | Ex13_4_2.sce | //Ex13.4.12.;Calculare maximum generator efficiency and the efficiency for maximum power,power output
//seedbeck coefficient(alpha_s);unit=volts/degree celcius
alpha_s1=-190*10^-6;//n-type
alpha_s2=190*10^-6;//p-type
//Specific resistivity(p);unit=Ohm-cm
p1=1.45*10^-3;//n-type
p2=1.8*10^-3;//p-type
//Figure of... |
1f10f7f6a3c7f99fc1bf14aa55731cfd8f98ac83 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MatrixOperations/FLMatrixInvStr-NZ-01.tst | 53d1e24eff3bf48f5d90bcbe4c572173a0665b24 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24,218 | tst | FLMatrixInvStr-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
32ed0ca3a612da1f3cc49cb3ce34e7782426b42d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH1/EX1.29/Ex1_29.sce | abb347fc87349aa9bef0daf9e075a31c49eaab19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,084 | sce | Ex1_29.sce | clear
//
//Given
//Variable declaration
d=3*10 //Diameter of the rod in mm
L=5*10**3 //Area of the rod in sq.mm
T1=95 //Initial temperature in degree celsius
T2=30 //Final temperature in degree celsius
E=2e5*10**6 //Youngs Modulus in N/sq.m
alpha=12e-6 //Co-efficient of... |
6d735496faec06d696b19537db2406a5a10d4691 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH5/EX5.2/Ex5_2.sce | a230873f2777bd3beece9356396981e7dac7217a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,207 | sce | Ex5_2.sce | //Ex 5.2
clc;clear;close;
format('v',7);
N1=480;//no. of turns in primary
N2=90;//no. of turns in secondary
lfp=1.8;//m(length of flux path)
ag=0.1;//mm(airgap)
Flux=1.1;//T(flux density)
MF=400;//A/m(Magnetic flux)
c_loss=1.7;//W/kg
f=50;//Hz
d=7800;//kg/m^3(density of core)
V=2200;//V(potential difference... |
57cb655aa5ffd82c0df62f3d662699bdfd47a926 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH5/EX5.12/5_12.sce | 3452ee8a956519cb860235d26e868a8ea0b7d7ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | 5_12.sce | //Least value of alpha and reactions developed
//refer fig. 5.16
//Using law of friction and equilibrium
//FA=0.25*NA
//FB=0.4*NB
//NA+0.4*NB=1100
//0.25*NA=NB
//Solving this we get
NA=1000 //N
FA=0.25*NA //N
NB=0.25*NA //N
FB=0.4*250 //N
//Taking moment about A
alpha=atand(3) //degree
printf("\nNA=... |
c3de20494031662659ae3e8044232d5f47d24bfa | e20b143bd16a6a60520c5d3f6c30af9356cc0aa2 | /demos/welcome.dem.sce | 7381fd8404e5b1c425d7b9dcfd17e981a7f916e0 | [] | no_license | slevin48/covid | 2c4806c1d1d91b2196f3086e2af7c69c420fb4db | c482d908ae58b82558f338b63020845cefc43742 | refs/heads/master | 2022-05-28T10:40:56.271120 | 2020-04-29T16:08:27 | 2020-04-29T16:08:27 | 258,529,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | welcome.dem.sce | function demo_welcome()
disp("Welcome in covid toolbox !")
endfunction
demo_welcome();
clear demo_welcome;
|
17145c817dbdcc7a898ea8677472367fcb5ae289 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH4/EX4.5/Ex4_5.sce | 9ce0aed5da745943c23b83539f80df3e525166dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | Ex4_5.sce | //Ex:4.5
clc;
clear;
close;
n1=1.46;// core refractive index
dl=0.03;// relative refractive index difference
y=0.85*10^-6;// operating wavelength in m
a=4*10^-6;// core radous in m
n2=sqrt(n1^2-2*dl*n1^2);// cladding refractive index
Rc=(3*n1^2*y)/(4*%pi*(n1^2-n2^2)^1.5);// critical radius of curvature for mul... |
49fd8cf892faeafa6fb8dc2c0d01f98db24b1c60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH3/EX3.5/Exa_3_5.sce | 3dc677c4fe08606929d9dfb515acfce4c43f6470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Exa_3_5.sce | //Exa 3.5
clc;
clear;
close;
format('v',6);
//Given Data :
Eta1=25/100;//efficiency
deltaT=20;//degree centigrade
//T2dash=T2-20;//K
//T1dash=T1;//K
deltaEta1=30/100;
Eta_dash=30/100;//efficiency
//Eta1/Eta_dash=(1-T2dash/T1dash)/(1-T2/T1)
//T1-T2=100;
//0.75*T1-T2=0;
A=[1 -1;0.75 -1];
B=[100;0];
X=A... |
bdc9a21e15164c79804202d5e4c3365a31e3bef7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH35/EX35.2/Example35_2.sce | b64e0793688dc1161ce2b68f60f0a004ff66ffe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,029 | sce | Example35_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 9: PROTECTION OF TRANSFORMERS
// EXAMPLE : 9.2 :
// Page number 635-636
clear ; clc ; close ; // Clear the work space and c... |
ce5b556ed45ed4a29a9728fde34ef81f061aba7a | 5d1fb7124962d54cfee54c049f53f3b0361c2e0f | /generated_data/sine.tst | e420ceb9341821e43e20b9d404b8d625722b7242 | [] | no_license | abarthakur/ensemble_combination | cb2a1b1b67d85b88e652e8c6babc284cc879ce68 | 1fae79425a09e77f23400a0fe7753c09bc8df327 | refs/heads/master | 2022-06-03T06:44:40.995592 | 2020-05-01T16:54:58 | 2020-05-01T16:54:58 | 109,000,598 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,661 | tst | sine.tst | 0.949760482857,-0.486903349137,0.0
1.34057337467,-2.97906632526,0.0
-3.23608491426,4.6303272903,1.0
-4.03447454503,-1.61312862783,0.0
-3.8253607679,3.94696596252,1.0
-3.13467932795,-4.91044578723,0.0
0.842120170881,2.817095373,1.0
-1.98965810099,-1.34669119229,0.0
-3.88059380378,4.41735628026,1.0
0.593195276643,-4.9814... |
fe5e9842214774e326cc30c284d7d1d4cf2ce6e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH22/EX22.21/22_21.sce | 537444f8da3ea526d4b49d686f22c847ff121e5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 22_21.sce | clear//
//Variables
VCC = 9.0 //Source voltage (in volts)
RE = 680.0 //Emitter Resistance (in ohm)
RC = 1.0 //Collector Resistance (in kilo-ohm)
R1 = 33.0 //Resistance (in kilo-oh... |
2bd35c78439f2b9fe086be1a8e5920aa6c94aa65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.45/ex5_45.sce | 1cc9d1b496d7272ecc02f038cb285fa33acee3d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | ex5_45.sce | //Chapter-5, Example 5.45, Page 210
//=============================================================================
clc
clear
//INPUT DATA
Vl=415;//voltage in volts
Z=(4+((%i)*6));//impedance in each phase in ohm
//CALCULATIONS
Ip=Vl/Z;//current in each phase in A
ip1=abs(Ip);//magnitude of Ip
Il=(sqrt(3))*(i... |
a76b4886e92e35f7d014101d54f163064f981b5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH1/EX1.14/Ex1_14.sce | aa62a3432319db2e25a0385b67896a4635e095d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex1_14.sce | //Chapter 1 : Wave Optics
clear;
//Variable declaration
D2=1.40
D1=1.20
//Calculation
myu=(D2/D1)**2
//Result
mprintf("Refractive index of liquid= %0.3f ",myu)
|
0e4dc8705ba2cbec40d8e27417f6d21864f07951 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH4/EX4.14/exp4_14pp.sce | 4128f990199bd2f3f1fec2eac265c089905902f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | exp4_14pp.sce | clc
clear
disp("example 4 14")
c=40*10^(-6) //bank of capacitors in farads
v=400 //line voltage
i=40///line current
pf=0.8//power factor
f=50//line frequency
xc=1/(2*%pi*f*c)
ic=v/(sqrt(3)*xc)
il=i*(pf-sind(acosd(pf))*%i)
til=il+%i*ic
od=atand(imag(til)/real(til))
opf=cosd(od)
nlol=(abs(od)/i)^2
disp("(a... |
d6bb1fa7e8e5755736ce196484d7e8bf0f0dec88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH2/EX2.4/ex4.sce | 6e4c3266e9f3ea2d5719866e5e0ecdf248b6c911 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | ex4.sce | //example 4
//Calculating atmospheric pressure
clear
clc
dm=13534 //density of mercury in kg/m^3
H=0.750 //height difference between two columns in metres
g=9.80665 //acc. due to gravity in m/s^2
Patm=dm*H*g/1000 //atmospheric pressure in kPa
printf("\n hence, atmospheric pressure is Patm = %.2f kPa. \n",Patm... |
b0a0576ed6af180f6804f2359ed1f00b7a8a91c0 | 20de144f57c866e91361673421260cf7779a5931 | /euler/gui/components/about.sci | 4782273a9b22fa7dad22822ec3cf69a8920970a7 | [] | no_license | pablovilas/fisica | 0ae0db3a6c7a5293d78a9101ef21b20942e32384 | 924d96593f4c300a420257bc9ce9041a46835bf8 | refs/heads/master | 2016-08-06T00:19:10.566377 | 2014-10-08T01:50:19 | 2014-10-08T01:50:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sci | about.sci | function dlgAbout()
msg = msprintf(gettext("Resolucion de ejercicios de fisica. Gracias a Openeering Team y M. Venturin por los ejemplos de GUI \nAutor: Pablo Vilas"));
messagebox(msg, gettext("Acerca de"), "info", "modal");
endfunction
|
d4c3c3123e59ca0ae3ba71cb329d3c905bdad0a3 | ef7da921e1289d3deaaf9727db2b6f025656e8d9 | /BasicCoRelation.sce | 80632bfa1c4c165ecdfa036aac06f618f402b094 | [] | no_license | PrayagS/SciLab_Exercises | ea88438207f2dc5d3f211c9abfe137a4bd43f68f | 0495ba76e693750980fefb386c28209a6fd6563e | refs/heads/master | 2020-09-08T01:52:22.914681 | 2019-11-16T05:39:29 | 2019-11-16T05:39:29 | 220,977,317 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | BasicCoRelation.sce | clear;
clc;
x = [1 2 3];
disp(x);
y = [6 4 5 8];
disp(y);
[z,IZ] = xcorr(x,y); // y is delayed
disp(z);
disp(IZ);
[w,IW] = xcorr(y,x); // x is delayed
disp(w); // w = time inverse of z
disp(IW); |
67f28daf35489bc8924f0ef2b44fb589ca486f25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH5/EX5.2/ex5_2.sce | 5d9aa959c37d754f1a05a7da3754292ed6d327f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | ex5_2.sce | clc;
m=5; // Mass of water in a tank in kg
T1=30; // Temperature of water at initial state (1) in degree celcius
T2=95; // Temperature of water at final state (2) in degree celcius
Qout=70; // Heat transfer from the water tank to the surrounding air in kJ
W=75; //Electric energy input to a stirrer inside water in ... |
39cac992b476a25790afc4bbf8c9f49a9512c24d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH6/EX6.9/example9.sce | c21f8e548c4c91ed67570cd31622ea8b7110e220 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | example9.sce | //Chapter-6 example 9
//=============================================================================
clc;
clear;
//input data
l = 12*10^-3;//gunn diode oscillator length in m
Vd = 2*10^8;//Drift velocity in gunn diode
//Calculations
F = Vd/l;//Frequency of Gunn Diode Oscillator
//output
mprintf('Frequency ... |
ccbab75a8648e12509e063bd9ac71fcd8cf5aed4 | c04fb432166e4832950820b66362a26c125b608a | /trip-tests/trip2.tst | 315c59bf0b94d5fb3aab8e3d592cac670077b9a1 | [] | 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 | 63 | tst | trip2.tst | java trip.Main -m trip-tests/trip2.txt trip-tests/trip2.request |
638266b4e13eb6f358981ecee191df5587cc3f14 | 63e41587daefcf8180d9ee0a356e14531008e696 | /gui_final.sci | 7fb25eba7efd378349adadaf4ba4548cee6fe23c | [] | no_license | rutup1595/gui-codes | 10f7415b3a0cb456043e19e9273d78c4860fcaae | 880b91beac114d16b1c854b27a770903c9ced6fe | refs/heads/master | 2020-12-05T08:39:00.817311 | 2019-08-16T05:00:40 | 2019-08-16T05:00:40 | 67,854,154 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 15,772 | sci | gui_final.sci | // sys=1/(s+2+s^3)
// sys=((s+3)*(s))/(s+2+s^4)
// sys=(s+4)/(s^2+8*s+9)
global margin_x margin_y;
global frame_w frame_h plot_w plot_h;
// Window Parameters initialization
frame_w = 200; frame_h = 550;// Frame width and height
plot_w = 150; plot_h = frame_h;// Plot width and heigh
margin_x = 150; ... |
dd4c2676eacb489b3aae71d56f196ad90b9969a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH6/EX6.31/EX6_31.sce | d18d101a79f368d96c5318285e1df0b6abd421a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,183 | sce | EX6_31.sce | // Example 6.31
// Calculation of a)peak photocurrent , b)shot noise and c)mean square shot noise current
// Page no 489
clc;
clear;
close;
//Given data
n=0.7; // Efficiency
lambda=0.9*10^-6; // Wavelength
R=5*10^3; // Load resistan... |
926855ddec0006548de6bab6c5f50c0da52f626f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.2/Example11_2.sce | ed38e99e47f62855e67f6af2cd4d22261f72879d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Example11_2.sce | //Example 11.2
clc;
clear;
close;
format('v',5);
//Given data :
Cv=0.975;//Coeff of pilot tube
h=100/1000;//meter
g=9.81;//constant
Sm=13.6;//Sp. gravity
S=0.86;//gravity of turpinre
V=Cv*sqrt(2*g*h*(Sm/S-1));//m/s
disp(V,"Velocity in m/sec : ");
|
e95cc8c87191d43a0a1c31b31c99457c78437957 | 664fdc6470c0da45922ff39e3b58320db9600faf | /control/inverter/inverter.sci | 412bf965e2b3cbdccfa11f0d794b8a7b1526f313 | [
"MIT"
] | permissive | beandrewang/drone-sim | 55a60df2b3eb64f56ffc301e739bc3df22a2764d | 5e932e1a3cec62af0dbf23dbbf8eacea06163796 | refs/heads/master | 2021-01-19T11:52:43.493366 | 2017-03-07T01:22:02 | 2017-03-07T01:22:02 | 82,269,144 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,906 | sci | inverter.sci | // implementation for a inverter
function [A, B, C] = l2p3_inverter(a, b, c, t0, t1, t2, n, Vdc)
// this is a two level three phase VIS inverter
// a, the 1st upper MOSFET control
// b, the 2nd upper MOSFET control
// c, the 3rd upper MOSFET control
// t0, the 0 component time
// t1, the 1 c... |
295181d04d3a8a28abd8fd647dd92249450fb40e | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/final/wave_intro/run_wave2d_intro.sce | e17dc2b2c5266704eb6eff1792182fcac0603c83 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,290 | sce | run_wave2d_intro.sce | exec('wave2d.sce');
wavetype=1; //stationary
nsteps=5;
maxamplitude=10;
wavenumber(1)=1*2*%pi;
wavenumber(2)=2*2*%pi;
wavefreq=5;
delta(1)=0.01;
delta(2)=0.01;
nmax(1)=100;
nmax(2)=100;
//Wave packet
npackets=5;
pwavfreq=2;
pwavnum=7;
//clf;
x=1:1:nmax(1);
y=1:1:nmax(2);
z=zeros(nmax(1),nmax(2));
curFig ... |
03f4f614f87143df25aad4282f7c24fb0491755f | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH1/EX1.4/Example1_4.sce | 7be2ed732a3fa8057de41664fb0f581cc90b3014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Example1_4.sce | //illustrating the induced instability through the deflation method of polynomial factorisation.
clear;
clc;
close();
x=poly(0,'x');
p3=x^3-13*x^2+32*x-20;//Given Polynomial
roots(p3)
//suppose that an estimate of its largest zero is taken as 10.1.Now devide p3 by (x-10.1)
p2=x^2-2.9*x+2.71;//the quotient
root... |
fa0a72169173b68ef437e1b65f70b04a4b53922b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH2/EX2.21.15/ex2_21_15.sce | 2c2910fb4180382b9f80f497c7b223731e740d5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,229 | sce | ex2_21_15.sce | // Exa 2.21.15
clc;
clear;
close;
// Given data
q = 1.6 * 10^-19;// in C
N_D = 4.5 * 10^15;// in /cm^3
del_p = 10^21;
e=10;// in cm
A = 1;// in mm^2
A = A * 10^-14;// cm^2
l = 10;// in cm
Torque_p = 1;// in microsec
Torque_p = Torque_p * 10^-6;// in sec
Torque_n = 1;// in microsec
Torque_n = Torque_n * 1... |
5dc58c6b3f870e9809be1165926f6521dbf3f0d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.23/23.sce | 2396a1171913c7fd40c0e1fd15af7a265144f73a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | 23.sce | clc
V1=0.2; //m^3
p1=4*10^5; //N/m^2
T1=403; //K
p2=1.02*10^5; //N/m^2
dH=72.5; //kJ
Q_23=dH;
cp=1; //kJ/kg
cv=0.714; //kJ/kg
y=1.4;
V2=V1*(p1/p2)^(1/y);
T2=T1*((p2/p1)^((y-1)/y));
R=(cp-cv)*1000; //J/kg.K
m=p1*V1/R/T1;
T3=Q_23/(m*cp) +T2;
V3=V2*T3/T2;
W_12=(p1*V1 - p2*V2)/(y-1);
W_23=p2*(V3-V2);
W_12... |
542ce2811ae2ef13dcd157e10c720de2550662c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH5/EX5.5/5_5.sce | 2c96941344233f6b2ae9abcca35061f8ef2658ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_5.sce | clc
clear
//Initialization of variables
P=200 //psia
x=0.95
m=1//lb
//calculations
disp("From mollier chart,")
hx=1156 //Btu/lb
sx=1.495 //Btu/lb F
//results
printf("Enthalpy = %d Btu/lb",hx)
printf("\n entropy = %.3f Btu/lb F",sx)
|
4cc693873f8630a6e32f4e7d4657aec36223e172 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH20/EX20.2/FBELT_2.sce | 28e3cee665c3fd29e45e97abf806bc28fdae6b10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | FBELT_2.sce | // sum 20-2
clc;
clear;
P=12*10^3;
d=0.2;
D=0.5;
C=2;
sigmax=2*10^6;
t=8*10^-3;
//Let density be rho
rho=950;
u=0.38;
N=1500;
//Let angle of contact = thetad
thetad=180-(2*asind((D-d)/(2*C)));
thetad=thetad*%pi/180;
thetaD=(2*%pi)-thetad;
v=(2*%pi*N*d)/(60*2);
//Let T1-T2=T
T=P/v;
x=exp(u*thetad);
... |
7bfac3494b93a8d45e872e01657135f6a09c65e5 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamUtilities/LossCurve_to_S4P_converter/LossCurve_to_S4P_Converter_v2.sce | 0ea50a89c3eec1c7754e4f800cefc1a60179342e | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,379 | sce | LossCurve_to_S4P_Converter_v2.sce | // ====================== Loss Curve to S-param ====================
//
// Creates an s2p or s4p file based on canonnical loss equation fit
// of loss data
//
//
// loss(dB)=length in inch (DC loss + alpha*f^0.5 + beta*f + gamma * f^2)
//
// where
// ... |
356021e3f0a1b42e02900bc305e1fa42ad11953b | 297b29fb450286d0f7fa619e58c9f4a86949544a | /PNsequence.sci | a6013119f4d64b89014c29b2d74e9d9a4c180e18 | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,926 | sci | PNsequence.sci | function [y,currstate] = PNsequence(genpoly,initialstate,opmask,nbitsout)
y=[];
currstate=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//PNsequence Generates PN sequence
//Y = PNsequence(genpoly,initialstate,opmask,nbitsout) output... |
28645091b17a3166f09228b0240929450ef5372d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH11/EX11.3/EX11_3.sce | 70d25c70c7fb34ebb981f49bda0dfab9440765b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX11_3.sce | //Example11.3 // determine the resolution of 4-bit D/A converter
clc;
clear;
close;
VFS = 12 ;
N = 4 ;
// the resolution of 4-bit D/A converter is defined as
Resolution = VFS/(2^N-1) ;
disp('the resolution of 4-bit D/A converter is = '+string(Resolution)+ ' V ');
|
3ea4b0d1d677ee8b2039be4ebf964e3da7b8ceee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH17/EX17.7/Ex17_7.sce | ed5893af00da58688411b64c7b4cb321260a320d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sce | Ex17_7.sce | // Exa 17.7
// To calculate downlink cell load-factor and number of voice users per cell for a WCDMA system.
clc;
clear all;
Ri=12.2*10^3;//Information rate in bps
Rc=3.84*10^6;// Chip rate in chips per second
Eb_Nt=4; // in dB
Eb_Nt=10^(Eb_Nt/10);
B=0.5;//Average interference factor due to other cells
Z... |
0c94fb490242743d8f25abe19a9b5c5758860c36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH8/EX8.3/8_3.sce | be78de9294f6193a142f240e0c22c936ef3f9f24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_3.sce | clc
clear
//Initialization of variables
ye=0.434
Pt=40.25 //kPa
xe=0.616
Pe1=22.9 //kPa
Pe2=29.6 //kPa
//calculations
ge= ye*Pt/(xe*Pe1)
gb=(1-ye)*Pt/((1-xe)*Pe2)
E= log10(ge) *(1+ (1-xe)*log(gb) /(xe*log(ge)))^2
B= log10(gb) *(1+ xe/(1-xe) *log(ge) /log(gb))^2
xe2=0.4
xb2=0.6
lnge2=E/(1+ E*xe2/(B*xb2))^... |
8dc54a7c12bf9dcf9b881205035e80452d5591d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH12/EX12.1/Ex12_1.sce | 6d49d949f875068787dfaba6f72d96eb79fdf8b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex12_1.sce | // chapter 12
// example 12.1
// calculate fractional index change for a given optical fibre
// page 360
clear;
clc;
// given
u1=1.563; // refractive index of core
u2=1.498; // refractive index of cladding
//calculate
d=(u1-u2)/u1; // calculation of fractional index change
printf('\nThe fractional index cha... |
d48ba5d23ac20f63038a726fe1d91ebd9022c660 | 397456b742a46d88c251aa168bfe794903987f93 | /Yin-Yang-Pair Optimization Algorithm/standard/scilab/yin-yang-pair-o.sce | 097863b2f3f35fc3b3af50d5275054b7913b493f | [] | no_license | JonesCG/PROJECT-NIOA | b5dcc7820d818369a4115fbb34b0f7ba02d7a129 | 7e6a3aa9a5deda6aa4eec9f4d523556844593c8b | refs/heads/master | 2022-08-16T14:06:54.967718 | 2020-05-18T08:17:47 | 2020-05-18T08:17:47 | 264,872,793 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,995 | sce | yin-yang-pair-o.sce |
clear
clc
exec('objective.sce');
disp("RUNNING...")
rand('seed',getdate('s'))
//POPSIZE = 2
DIM = 2
UPPER = 100
LOWER = -100
MAXITER = 50
ARCHMIN = 2
ARCHMAX = 4
//ARCHLIMIT = grand(1,1,"uin",ARCHMIN,ARCHMAX)
ARCHLIMIT = floor(rand()*(ARCHMAX+1-ARCHMIN))+ARCHMIN
ARCHLIMIT = 5
ALPHA = 10
DELTA(1:2) = 0.5
P = rand(... |
10716b66a05c66a8e66d550f6655e4460a50c94f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH2/EX2.14/ex2_14.sce | 4d3c354146e2e75cd65ef7e767455bfa958f0c8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | ex2_14.sce | clc;
v=2; //voltage in volts
l=10^-3; //inductance in Henry
i=10*10^-3; //current
di=v/l; //change in current in A/sec
t=i/di; //calculating time
disp(t,"Time required to reach 0.01 A in sec = "); //displaying result |
94f16db863fbbc22ef670d78ca0174ccf4d2ab9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH3/EX3.6.3/Example3_18.sce | 8e21496b2d134cd18d52d51206043ef708f10fc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | Example3_18.sce | //Chapter-3,Example3_6_3,pg 3-18
a=2.2
//ratio= Pout/Pin
//For a length of L=2 km
Pl1=a*2
ratio_1=10^(-Pl1/10) //as Power loss or attenuation is Pl=(-10)*log10(Pout/Pin)
printf("\nThe fractional initial intensity after 2 km is %.3f \n",ratio_1)
//For ... |
349e0e799333e3339c4cd3e7ad31cfada036fc08 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/scilab/struct/runme.sci | 3e9a7f200182e2c68b2719d09833f8be792e8011 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:6f86fa54262601a4911a49c4acf471bd1659532dd5f397c1ba33cade325b0e90
size 264
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.