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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7bb9134e3bc4e4d99fad43faf02641d32b869426 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /[MCA-6] Fishing Aimer.sce | a1ccdc662f4a36f7d79b22f365f3145765f2f303 | [] | 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 | 44,465 | sce | [MCA-6] Fishing Aimer.sce | Name=[MCA-6] Fishing Aimer
PlayerCharacters=Angler
BotCharacters=Clay Fish.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Angler
AddedBots=Clay Fish.bot;Clay Fish.bot;Clay Fish.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=fishing_pond.map
MapScale=1.0
BlockProjectilePredictors=true
Bloc... |
e2c858d60efdd26c2a6c86dbd7c006ccc6c19987 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH18/EX18.5/Ex18_5.sce | d52f61ac416178b60051f90a57ec765116dc9489 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | Ex18_5.sce | // Ex18_5 Page:353 (2014)
clc;clear;
N1 = 1; // Assume the number of present atoms of K-40
N2 = 10.2; // No.of atoms of Ar-40 relative to K-40
t_half = 1.25e+009; // Half-life of K-40, years
lambda = 0.693/t_half; // Decay constant, per sec
t = log(1 + N2/N1)/lambda; // Age of the rock on moon, yea... |
2428e69cdf1bc22b81503f8ed57e97a26207b670 | 002b6230874dea6e4d76defafc1ae293b5744918 | /solvers/ShallowWaterSolver/Tests/LinearSWE_StandingWave_WallBC_CG_P4.tst | 90c76542100f88d48087e80d4b52959ab7d128a5 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 899 | tst | LinearSWE_StandingWave_WallBC_CG_P4.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Standing Wave, CG, P=4</description>
<executable>ShallowWaterSolver</executable>
<parameters>LinearSWE_StandingWave_WallBC_CG_P4.xml</parameters>
<files>
<file description="Session File">LinearSWE_StandingWave_WallBC_CG_P4.xml</file>
... |
c9b4e1855f804e35626c477fbc49f748a8aa4bcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH7/EX7.1/SolEx7_1.sce | bc075ede0b96f58df513d31aeb583a29fb39cbcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | SolEx7_1.sce | //determine
//the small-signal equivalent-circuit constants gm and rds. (b) Alternatively, evaluate gm from the
//transfer characteristic.
//Example 7.1 page no 207
clear
clc
Did=(3.3-0.3)*10^-3
Vgs=2
gm=Did/Vgs*1000
printf("\n The value of gm=%0.3f mS",gm)
Dvds=20-5
Did=(1.6-1.4)*10^-3
rds=Dvds/Did/1000
p... |
e3aeb457859a0e01796c414577a9318da74b0ad6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH5/EX5.10/Example5_10.sce | 5efff99a6e42e248219ef1ab9239a4ffa5e80efa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | Example5_10.sce | //Example 5.10
clear;
clc;
T=25;
Ib=75*10^(-9);
Ios=80*10^(-9);
Vos=100*10^(-6);
Vs=15;
R1=4.99*10^(3);
R2=365;
R3=4.99*10^3;
R4=499;
R5=499;
R6=20*10^3;
R7=19.6*10^3;
R8=100;
R9=100*10^3;
R10=1*10^3;
C=100*10^(-12);
EI1=Vos+(((R1*(R2+(R8/2)))/(R1+(R2+(R8/2))))*I... |
0a6697105cf84e3b81594cea9f4f45d0438cca71 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.6_20.tst | d0f230e7773e84ad1a6841187997a819f1d863dc | [] | 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 | 40,837 | tst | bow.6_20.tst | 6 9:0.25 14:1.5 16:0.1111111111111111 18:0.07142857142857142 27:1.0 29:0.16666666666666666 43:0.3333333333333333 44:0.5 56:0.2857142857142857 60:0.030303030303030304 64:0.5 70:0.125 78:0.25 127:1.0 129:1.0 160:0.25 183:0.25 199:1.0 200:1.0 230:0.16666666666666666 289:1.0 301:1.0 387:0.25 398:0.3333333333333333 442:0.16... |
c486c2fd4a55e23f56897b70ecd0b66f458036f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH10/EX10.8/Example10_8.sce | a3b7043b4da3a65fe87c30159887b83d92bd6ae7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example10_8.sce | clear;
clc;
// Example: 10.8
// Page: 410
printf("Example: 10.8 - Page: 410\n\n");
// This problem involves proving a relation in which no mathematics and no calculations are involved.
// For prove refer to this example 10.8 on page number 410 of the book.
printf(" This problem involves proving a relatio... |
45db945ffd2d5b90660044a0a1d44b22bd76d0c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH3/EX3.4/Ex3_4.sce | 77a3b04871532a1cace0ae337e8bad078ce9852b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,915 | sce | Ex3_4.sce |
clc
clear
//Input data
p1=1//Pressure in bar
T1=25+273//Temperature in K
rp=8//Pressure ratio of compressor
Tm=900+273//Maximum temperature in K
pd=3//pressure drop in combustion chamber in percent
nc=0.88//Efficiency of compressor
nt=0.88//Efficiency of turbine
CV=44.43//Calorific value of fuel in MJ/kg
cp... |
b728ad77ea171d5f400383c1d31c10196ae75164 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/Uzawa/uzawa inegalite.sce | 6b8489d5383efc155ba91171a3c0cbf6998c598e | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,045 | sce | uzawa inegalite.sce | clear all
exec('C:\Users\Julien Guégan\Desktop\PFE\affichage.sce',-1)
exec('C:\Users\Julien Guégan\Desktop\PFE\fonctions test.sce',-1)
function alpha = backtracking(f,x,d,grad)//pour newton mais pas pour quasi et CG
alpha = 10
w = 0.1
cpt = 0
while(f(x+alpha*d)>(f(x)+alpha*w*(grad'*d)))
alpha =... |
c84d1bad5ad6c332cada471a2bfa511e803206fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.15/example11_15.sce | 41665db1ec57a9b78a89d6a069467699085a34f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | example11_15.sce | //clc()
Hna = 26.04;//J/g-atomK
Hs = 22.6;//J/g-atomK
Ho = 16.8;//J/g-atomK
Hh = 9.6;//J/g-atomK
Hna2so410h2o = 2*Hna + Hs + 14*Ho + 20*Hh;
Hexp = 592.2;//J/molK
Deviation = (Hexp - Hna2so410h2o)*100/Hexp;
disp("%",Deviation,"Deviation in heat capacity = ")
|
e25051f6ac5953d15207cf4bc8e4eefe233e67b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH24/EX24.3/ch24_3.sce | 92661eec272706e46ac0b0aedb45a9e62fd9f54b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,260 | sce | ch24_3.sce | // Priority List Method
clear
clc;
Fc1=1.1;//Fuel cost(1)=Rs 1.1/MBtu
Fc2=1;//Fuel cost(2)=1/MBtu
Fc3=1.2;//Fuel cost(3)=1.2/MBtu
P1max=600;
P1=P1max;
F1=600+7.1*P1+0.00141*(P1^2);//For P1= Pm1ax
Favg1=F1*Fc1/600;//Full load average production cost
P2max=450;
P2=P2max;
F2=350+7.8*P2+0.00195*(P2^2);//For P2... |
1833c54c4760cb913cd8d6f3d85ec32f456c76ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH5/EX5.3/5_3.sce | 975e4335049826fd24d7ee0d4fe3ae665bc3169d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | 5_3.sce | clc
//initialisation of variables
h=100//ft^3
t=15//degree C
p=120//lb/in^2
gama=1.3//in
t1=15//Degree C
M=[(144*t*h*2.6)/(0.3)*(1.271-1)]//ft lb
//CALCULATIONS
V=sqrt(p/t)//ft lb
//RESULTS
printf('Compare the values of the two cylinders=% f ft lb',V)
|
97a78f89ed5e3cf9e9c3e5751678edea2bbef5b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH4/EX4.21/4_21.sce | d5651324616b9e16065b93e1490bc988069d2b96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_21.sce | clc,clear
printf('Example 4.21\n\n')
V= 0.5*0.25*0.02//volume of plywood to be heated
D=600 //density of plywood in kg/m^3
W=V*D
specific_heat = 1500
T1=25;T2=125; //initial and final temperature
heat= specific_heat * W * (T2-T1)/(60*60) //in W-Hr
T=10 //duration of heating in minutes
power_required = heat... |
10fc45e8512990cdb6935a9b2221494903c79e01 | 8b2aa0460ec6250a29ed3fb32790e0211478b29a | /src/monitoring.sce | 396bb16284fe6d495561eff819b35a353b2d9bdc | [] | no_license | samverneck/RealTimeMonitor | 41f37735570aa91cab7765f0800547987f0eb72c | f2ea3d70df9fbeed651b0f0b367b09b9fa84b6fa | refs/heads/master | 2020-12-02T18:09:27.752225 | 2017-06-21T19:52:00 | 2017-06-21T19:52:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 964 | sce | monitoring.sce | f=figure("dockable","off", "menubar", "none");
f.figure_position = [25, 58];
f.figure_name="Real-time Temperature Monitoring and Control";
f.figure_size = [1200 700];
f.background = color(246,244,242);
f.resize="off";
f.menubar_visible="on";
f.toolbar_visible="off";
f.info_message=f.figure_name
f.tag="mainWindow";
f.cl... |
90ed8f3a4ac5e13ad11f55497612bdee6d9d9671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH7/EX7.1/Ex7_1.sce | 4ce3ff7f7f5e4ae2f40fae96f29d968afcda97e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Ex7_1.sce | // Example 7.1
clear all;
clc;
// Using the data form Table 6.3 at temperature = 20 deg
n_T = 2.065; // Average number of neutrons produced per neutron absorbed in fission
// Using the data from Table 7.1
t_dM = 2.1e-4; // The mean diffusion time of the moderator in seconds
k_inf = 1; ... |
28adf94d2e31e2d799aa73f298fcf69d507f07ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH5/EX5.24/5_24.sce | 9edcdea6e86befcde22e3dc871a694883fa52ac8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,196 | sce | 5_24.sce |
clc;
clear;
//Example 5.24
ho=200; //[W/sq m.K]
hi=1500; //[W/sq m.K]
Cpw=4.2; //Sp heat of Water in [kJ/(kg.K)]
Cpo=2.1; //Sp heat of Oil in [kJ/(kg.K)]
E=0.8; //Effectiveness
k=46; //[W/m.K]
m_dot=0.167; //[kg/s]
mCp_oil=2*m_dot*Cpo*1000 //For oil [W/K]
//mCp_oil is wr... |
915013af06556a6f8efe0599fbc2b2e22f121394 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH3/EX3.5/3_5.sce | e1aea9e337810af2191c089da443d567efb462c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | 3_5.sce | clc;
T1=295;//C
p1=1.02;//bar
p2=6.8;//bar
y=1.4;
v1=0.015;//m^3
cv=0.718;
R=0.287
T2=T1*(p2/p1)^((y-1)/y);
disp("final temperature is:");
disp("k",T2);
v2=v1*{(p1/p2)^(1/y)};
disp("final volume is:");
disp("m^3",v2);
w=cv*(T2-T1);
m=p1*v1*10^5/(10^3*R*T1);
W=w*m;
disp("total work done is:");
di... |
58fbd1e2815c113629c2b7687a0ee22198846ca4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH18/EX18.8/EX18_8.sce | d3205ca9ed41b4fd012142df4f1a81db205ee520 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | EX18_8.sce | //Finding of Power developed,Outlet Vane Angle ,Speed
//Given
H=100;
D=.675;
D1=0.5
B=0.15;
B1=.225;
g=9.81;
rho=1000;
Vf=3;
Vw=3;
//To Find
u=Vf/tan(%pi/15);
N=1/((%pi*D)/(u*60));
u1=u*(D1/D);disp(Vf);
Vf1=(D*B*Vf)/(0.15*B1);
z=atand(Vf1/u1);
P=(rho*%pi*B*D1*Vf*Vw*u)/10000;
disp("Speed ="+string(N)+"... |
b9e50e1af41a6a6babfc99788a1e77bb6801ca59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH6/EX6.4/Ch06Ex4.sci | 80a7312d4f76fe683d25d5ca2c4dd384d8ec2c46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sci | Ch06Ex4.sci | // Scilab code: Ex6.4 : Wavelength limit of X-rays : Pg: 157 (2008)
V = 20000; // Potential difference, volt
h = 6.624e-034; // Planck's constant, Js
c = 3e+08; // Velocity of light, m/s
e = 1.6e-019; // Charge of an electron, coulombs
// Since e*V = h*c/L; // Energy required by an electron to move ... |
0c1899c182eaae28ebbdde7d0e06c7657d79844d | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/forwardDifference2.sci | 9e0b66529ae0345faebd3c1a60db25e51cf66ec3 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sci | forwardDifference2.sci | function[firstDerivative, err] = forwardDifference2(fx, h)
firstDerivative = [];
err = [];
for(i = 1:10)
firstDerivative = (-tan(x + 2 .* h) + 4 * tan(x+h) - 3*tan(x))./(2.*h);
trueValue = (sec(x))^2;
err = abs(trueValue - firstDerivative);
end
endfunction
|
5f981e9dd8950047af4de9ea6ff6e4230137e569 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH6/EX6.2/2.sce | cec43c98e92d36c40d0978520d279213be2899b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | 2.sce | clc
clear
//INPUT DATA
n1=1.54//refractive index of optical fibre core
n2=1.5//refractive index of cladding
//CALCULATION
NA=sqrt((n1)^2-(n2)^2)//numerical aperture
//OUTPUT
printf('The numerical aperture is %3.4f',NA)
|
a1d41404826a97db520e35b62e814b0fe20d1d13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH2/EX2.2/Ex2_2.sce | eee85982f8b44a9db11e45a4f1ebdead78ba8f18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex2_2.sce | //Example 2.2, Page Number 55
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
//Excitation Energy Calculation
clc;
r=11.8 //Relative Permeability
m=9.1*(10**-31) //Mass of electron in kilogram
me=0.26*m //Effective mass
//From equation 2.28
E=13.6*(me/m)*((... |
97c30cbc7dcd3acbf0ce528e4e694fbfae02890a | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH10/EX10.2/Ex10_2.sce | f85b3a2b94cf507bd726ee055ce26992322e7a24 | [] | 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 | 352 | sce | Ex10_2.sce | clc
//Initialization of variables
l = 12 //ft
b = 5 //ft
a = 40 //degree
R = 3.25 //ft
S0 = 0.0014
n = 0.012
V = 10.2 // ft/s
g = 32.2 //ft/s^2
// Calculations
A = l*b + b*(b/tand(a))
Q = (1.49/n)*A*(R^(2/3))*(S0^(0.5)) //cfs
Fr = V/(g*b)^0.5
// results
printf(" the flow rate is %.f cfs",Q)
printf("\n... |
fd08e05c9261d1f998ab830fcf1636a986bb39d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.48/Ex1_48.sce | 5ca006e9709fe36b611743ae3099d3a8f7b88abc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Ex1_48.sce | clear
//
//
//
//Variable declaration
D8=1.42 //diameter of 8th ring(cm)
D8dash=1.25 //changed diameter of 8th ring(cm)
//Calculation
mew=D8**2/D8dash**2 //refractive index of liquid
//Result
printf("\n refractive index of liquid is %0.2f ",mew)
|
0c71a7c5ecf15be22e0457d10f18cc09f15f92c0 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH4/EX4.7/4_7.sce | 32472ae53af0bd7f5359e6f7843358006f165d75 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 4_7.sce | clc;
s1=1.7189;
v1=0.0978;//m^3
p1=2.01;//bar
p2=10;//bar
lamda=1.1;
v2=v1*(p1/p2)^(1/lamda);
s_1=1.7564;//kJ/kg K
s_2=1.7847;//kJ/kg K
v_1=0.0228;//m^3
v_2=0.0222;//m^3
v_3=0.0233;//m^3
s2=s_1+[(v_1-v_2)/(v_3-v_2)]*(s_2-s_1)
disp("increase in entropy");
disp("kJ/kg K",s2-s1)
|
174877cdc2e6f01b38c8f58cb689e8bb5fb70a1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH6/EX6.5/Ex6_5.sce | 57b5eff52a7eb4e0eebdcf93148112d680967ec2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | Ex6_5.sce | clear
//
//
//
//Variable declaration
d=0.08*10**-3 //thickness(m)
A=8*10**-4 //area(m**2)
epsilonr=2.56
epsilon0=8.84*10**-12
tan_delta=0.7*10**-4
new=10**6 //frequency(Hz)
//Calculation
C=A*epsilon0*epsilonr/d //capacitance(farad)
epsilonrdash=tan_delta*epsilonr
omega=2*%pi*new
R=d/(epsilon0*epsilonrda... |
f7b863b0ddc28b0d52f014c2f020cc4b126b4d4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH31/EX31.4/example4.sce | cb048e719552b0d8d1e8f604041236f605a20e1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | example4.sce | //chapter 31
//example4
clc
//given
m=9.1*10^-31 //in kg
n=8.4*10^28 //in m-1
e=1.6*10^-19 //in coul
p=1.7*10^-8 //in ohm-m
v=1.6*10^8 //in cm/sec
T=2*m/(n*p*e^2)
disp(T,"(a) Mean time b/w collisions in sec is")
Lambda=T*v
disp(Lambda,"(b) Mean free path in cm is")
|
52b77cc494078e12e6d63fc51ba24b5dc9be0cfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH29/EX29.7/Ex29_7.sce | d25dc4bf6eef6d5b039aa5f817c0ec972fd57036 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | Ex29_7.sce | clear
//Given
Pc=50
Ma=0.8
Ma1=0.1
//Calculation
Ps=(1/2.0)*Ma**2*Pc
Ps1=(1/2.0)*Ma1**2*Pc
//Result
printf("\n total sideband at 80percentageis %0.3f KW",Ps)
printf("\n total sideband at 10percentageis %0.3f KW",Ps1)
|
c95b15e7a924fd9d2806cf4f20d35be6d4957dc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1316/CH2/EX2.5/example2_5.sce | 7d3a3d660867b273d35bcdd0b50e49a5b2932b43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | example2_5.sce | //Chapter 2
//Example 2.5
//Page 61
clear;
clc;
R1 = 2000.00;
R2 = 2000.00;
R3 = 2000.00;
R4 = 2050.00;
V = 5.00;
Rg = 50.0;
//Calculation of Offset Current
printf("From equation the offset voltage is Vth. \n")
//Calculation of Vth
x = V *(((R3*R2)-(R1*R4))/((R1+R3)*(R2+R4)))
printf("Vth = %f V ... |
39ad459f3b6ec53841240130c9a62cddad2a5df1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH4/EX4.7/ex4_7.sce | 17e6a621a065ae6e145b7610a0bf9108bf61465f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | ex4_7.sce | // Example 4.7 page no-207
clear
clc
vce = - 0.07 //V
vbe = - 0.21 //V.
vcc=-9
rc=1 //K-Ohm
rb=30 //K-Ohm
ic=(vcc-vce)/rc
ib=(vcc-vbe)/rb
vbc=vbe-vce
printf("\nIc = %.2f mA\nIB = %.3f mA\nVbc = %.2f V",ic,ib,vbc)
|
061aba2a4da6992e9ee82e156f6dabc878a1e704 | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P6 - Eigenvalues and eigenvectors/pot.sce | 154c8ace3893d8ba6b5526781d841301583ecdb8 | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | pot.sce | //delta: tolerancia entre dos aproximaciones consecutivas
function lambda = pot(A, maxit, delta)
n=size(A,1)
w=zeros(n)
z=zeros(n)
z(n)=1 //aproximación inicial.
lambda=z
for i=1:maxit
w1=w
z1=z
lambda1=lambda
w= A * z1
z= w /norm(w,'inf')
lambda =(z' * A * z) / (... |
5d73e4a6d50c7aa52530a353c8685cb2d85f7240 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH7/EX7.5/chapter7_ex5.sce | 96416b434ae1515caf5c07b31158a781c359e1f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 953 | sce | chapter7_ex5.sce | clc
clear
//input
rl=10;//resistance of an inductor in ohms
l=0.05;//inductaance of an inductor in henry
rc=20;//resistance in series with a capacitor in ohms
c=150*(10^-6);//capacitance of a capacitor in farad
///inductor is in parallel with the series circuit containing a resistor and a capacitor
v=240;//su... |
6763aba39938a1de8510ae6403d823a8f116b1f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH6/EX6.10.2/exa6_10_2.sce | 0819482cb8f2be6d093d9b785af831c3d57c3fee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | exa6_10_2.sce | //Caption:time_response_for_unit_impulse_and_step_function
//example 6.10.2
//page 171
//G(s)=(4*s+1)/4*(s^2);H(s)=1;
clc;
s=%s;
syms t;
G=(4*s+1)/(4*(s^2))//G(s)
b=1;
a=G/.(b);
disp(a,"C(s)/R(s)=");
//for unit impulse response R(s)=1 ; so C(s)=a;
disp("for unit impulse response R(s)=1 ; so C(s)=a;")
disp(a,"C(s)=");
c... |
8b8103c42fbea9eaadfdead4a2297c5085eb1056 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH4/EX4.7/ex4_7.sce | 4cc936e831e905726ae24875b513f66e9786e8bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | ex4_7.sce | //Part A Chapter 4 Example 7
clc;
clear;
close;
M=16;//molecular weight
p1=101.3;//KPa
p2=600;//MPa
T1=20+273;//K
n=1.3;//constant
Cp=1.7;//KJ/KgK
UGC=8.3143*10^3;//Universal Gas constant
R=UGC/M/1000;//KJ/KgK
Cv=Cp-R;//KJ/KgK
Gamma=Cp/Cv;//constant
T2=T1*(p2/p1)^((n-1)/n);//K
W=R*(T2-T1)/(n-1);//
Q=W... |
6c54906536de69e77dcab332d6c0ac5ac2695605 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH11/EX11.5/Ex11_5.sce | b060bb2875ffae22535d308c9f7c0184da55c08b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,495 | sce | Ex11_5.sce | clc
A= 1
disp("A= "+string(A)+"cm^2") //initializing value of diode area
Na=5*10^17
disp("Na = "+string(Na)+"cm^-3") //initializing value of p side doping
Nd=10^16
disp("Nd = "+string(Nd)+"cm^-3") //initializing value of n side doping
Dn = 20
disp("Dn= "+string(Dn)+"cm^2/s")//initializing value of electron diff... |
29a0de3682d53a4c5b392edfefbbb5490152c0d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.3/8_3.sce | 300de1acf155537b4da0cf1553ba757f93f86acc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | 8_3.sce | clc;
//page no 8-9
//Example 8.3
disp("at 1000kHz");
Q=80;
fi=455*10^3;//in Hz
fs=1000*10^3;//in Hz
fsi=[fs+(2*fi)]*10^(-3);
disp(+'kHz',fsi,'fsi=');
rho=[(fsi*10^3)/fs]-[fs/(fsi*10^3)];
disp(rho,'rho=');
//Rounding rho to 3 digits
rho1=1.386;
alpha=sqrt(1+(Q^2*rho1^2));
disp(alpha,'Rejection ratio is');
... |
79943bf90ed8494ab9ee841bb82a0e0b02168ecd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH7/EX7.3/Ex7_3.sce | 38590239eed156d32c9cf1094e3de4582edeefda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | Ex7_3.sce | clc;
clear;
E=10^4 //Electric field in V/cm
e=1.6*10^-19 //in J
epsilon_r=11.7 //in F/cm
epsilon_0=8.85*10^-14 //in F/cm
//Calculation
del_phi=sqrt((e*E)/(4*%pi*epsilon_r*epsilon_0))
xm=sqrt(e/(16*%pi*epsilon_r*epsilon_0*E))
mprintf("Schottkybarrier-lowering for Si-metal contact= %0.3f V\n",del_phi)
mprin... |
c2611780a58cebbb5498964a70d534df8eab6e7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.15/EX1_15.sce | 9d5e77fc4e2224de2f28d870573c3e6a07118fe8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | EX1_15.sce | //EXAMPLE 1-15 PG NO-22
I1=0.04; //CURRENT
I2=0.01; //CURRENT
V1=200; //VOLTAGE
R=V1/I1; //Resistance
disp('i)resistance (R) = '+string (R)+' ohm');
V2=10; //VOLTAGE
I3=50; ... |
5615e24379f3285704c872bfafef560c427c2795 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/E4_CONF_STRATG.sce | e04fdf9e835beafc6a0102d707b5422bd6d93e75 | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,241 | sce | E4_CONF_STRATG.sce |
jan.immediate_drawing = "off"
delete(Axes(3).children) // Deleta as polylines que estejam no eixo
plot(Axes(3),t',Dt') // Plota os deslocamentos nodais
Axes(3).data_bounds(2) = T1
select find(radioBut.value)
case 2
plot(Axes(3),t',[T' Dt'/lambda])
legendas = [... |
bc8b1faa8a0725e2687b3bc9d798f52860da56a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH8/EX8.8.49a/Ch8_8_49a.sce | 95fe639c737f7dad9c06155c5927702fcb35dba6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sce | Ch8_8_49a.sce | clc
clear
disp("Example 8.49a")
printf("\n")
disp("Prove the following boolean identities")
disp("A+BC=(A+B)(A+C)")
A=[0 0 0 0 1 1 1 1]
B=[0 0 1 1 0 0 1 1]
C=[0 1 0 1 0 1 0 1]
for i=1:length(A)
Y(i)=A(i)+(B(i)*C(i))
if(Y(i)==2)
Y(i)=1
end
end
for i=1:length(A)
Z(i)=(A(i)+B(i))*(A(i)+C(i))
... |
be0cb481405a97168b3434512105fda089c4b4d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.25.b/ex_1_25_b.sce | fd85c20400d849322d4388102f152f259d56808c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | ex_1_25_b.sce | //Example 1.25.b // the time lag
clc;
clear;
close;
//given data :
t1=50; // in seconds
t2=500; // in seconds
w=2*%pi/t2;
P=atan(w*t1)
T=(1/w)*P
disp(T,"the time lag,T(seconds) = ")
|
cb7086ce4763c8fb88cd832cea4973584dd0b480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH7/EX7.4/ex7_4.sce | 7d801be4103238df459ea2440246fca49a321f57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | ex7_4.sce | clc
N=8;................................//order of 8
P1=0.95;
P2=0.05;
P8=((1-P2)^8)*100;
disp("%",P8,"Probability of finding 8kHz channel is");
|
34b8f2f800e11f0c7d6c2063e949af60e045a9c6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/util/intersp.sci | 6b5f7f22e4e721709e251eda590bec2585552d06 | [
"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 | 367 | sci | intersp.sci | function [y]=intersp(s,nint)
[o,i]=argn(0);
if i <> 2 then error(58); end;
if type(s) <> 1 then error(53,1); end;
if type(nint) <> 1 then error(53,2); end;
if maxi(size(s)) = 1 then error(89,1); end;
if nint <= 1 then error(36,1); end;
//
M=prod(size(s));
x=(0:M-1)/(M-1);
xd=(0:nint-1)/(nint-... |
d58c7d231179d7809f3cb6554f623762b026596e | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH15/EX15.2/Example15_2.sce | 3204c72408383a94fdb9e863f02ffaca89d2480a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Example15_2.sce | //Example 15.2.
clc
format(6)
disp("To find the range over which capacitance is to be varied")
disp("Frequency of oscillation of Hartley oscillator is")
disp(" fo = 1 / 2*pi*sqrt((L1-L2)*C)")
disp("Therfore, C = 1 / 4*pi^2*(L1+L2)*fo^2")
disp("When fo = 950 kHz")
C=1/(4*(%pi^2)*((2*10^-3)+(20*10^-6))*((9... |
6659f4a8843c2a483343edd3fb3f9ef387a2c1c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH2/EX2.2/2_2.sce | 15d3d8f23eae65a76157eed6ac4600abf187d6c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | 2_2.sce | t = poly(0,'t');
e = (0.2*t)-(5e-04*t^2); // e.m.f. as a function of temperature in mV
e0 = horner(e, 0); // e.m.f. at t = 0 degree
e100 = horner(e, 100); // e.m.f. at t = 100 degree
e50 = horner(e, 50); // e.m.f. at t = 50 degreer
r = (100/e100)*e50; // Reading of thermocouple at t = 50degree
disp("degree",r,"Re... |
c6e5b3065d6ca321c28f4c6fbb03c5cc34752962 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH6/EX6.27/Ex6_27.sce | b73c9c1b071f48ac969b55f2f6653c4a472003c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_27.sce | clear all; clc;
disp("Scilab Code Ex 6.27 : ")
//Given:
sigma_y = 250; //MPa
t = 12.5; //mm
w = 200; //mm
h = 225; //mm
//Maximum Elastic Moment:
yy = (h+t)/2;
I1 = (1/12)*(w*t^3) + (w*t*yy^2);
I = (1/12)*(t*h^3) + 2*(I1);
c = 125; //mm
My = (sigma_y*I)/(c); //Flexure Formula
//Plastic Moment:
C... |
f38403ed10ba33231c573fb3638538929912fcb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH6/EX6.5/Example6_5.sce | 09e0d5d2b83d8b625f83568dc40b4f2b6a69b0f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sce | Example6_5.sce | //clear//
//Caption:To find primary photocurrent and multiplication factor
//Example6.5
//page230
clear;
clc;
close;
etta = 0.65; //quantum efficiency of silicon qavalanche photodiode
C = 3*(10^8); //free space velocity in m/s
Lambda = 900e-09;//wavelength in meters
q = 1.6*(10^-19);//charge in coulombs
h = ... |
a9416e4f3fff9bdc0462c0d040ae92aa79adb807 | a006a53d954de031fd82f26f4fc82c8fb610293c | /macros/csdp.sci | 18067da4c0f02c887b373e0cd7b9e354629d118e | [] | no_license | Siddharth11235/CSDP-basic | cba775450ad5f7271ecc00ada0831c3ed1518958 | 97c441b8a6eea4c6b4466c03828f048e2c0fc37a | refs/heads/master | 2021-06-20T23:43:51.881537 | 2017-07-17T12:30:00 | 2017-07-17T12:30:00 | 96,966,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sci | csdp.sci | function csdp(C,A1,b,K)
funcprot(0)
A = sdpasparse(A1,K);
a = scilab_io(C,A,b,K);
endfunction
|
96af3e388001ff0e77df59dc11f96a613f120e69 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/dutycycle.sci | 1938453ed17b217a7c0a98c40014407b9634b8ee | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,182 | sci | dutycycle.sci | function [d, initialcross, finalcross, nextcross, midreference]= dutycycle(x, varargin)
// This function estimate duty cycle of bilevel waveform pulses.
// Calling Sequence
// d=dutycycle(x)
// d= dutycycle(X,Fs)
// d=dutycycle(x, t)
// d= dutycycle(tau, prf)
// d=dutyc... |
270fe6d42718ea94b8414dac4a48bc18800e4ddc | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /DJ Simulator.sce | 1c0ef8980dce30ebd81ee787f08aa25d13dd7d67 | [] | 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 | 156,961 | sce | DJ Simulator.sce | Name=DJ Simulator
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=3600.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.b... |
bc9b43bd8df9fb0e6e70d7fbe98a553a66a3e50b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH2/EX2.9/2_9.sce | 557b8d21821aa24a6f93e567d7c8d4c7b3832397 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | 2_9.sce | clc
//Initialization of variables
z=1.2 //m
y=1 //m
//calculations
hp=0.6 + 1/12 *y*z^3 /(0.6*y*z)
//results
printf("Position of hinge = %.1f m",hp)
|
55f2c2247430b3240310b190c2a883edcd886d67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH11/EX11.44/EXAMPLE11_44.SCE | bff6bc15ecd4f552e8ba0d605e11562bd1686913 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | EXAMPLE11_44.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 11
//Information Theory
clear all;
clc;
printf("EXAMPLE 11.44(PAGENO 529)");
//given
P_x1 = 1/2//probability of first symbol
P_x2 = 1/4//probability of second symbol
P_x3 = 1/8//probability of third symbol
P_x4 = 1/8//probability of fouth s... |
de71d2e549e7bf0674bd79b4bccc71c072251fe8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH8/EX8.13/Ex8_13.sce | 80ec10d84144edf563da870a6a9cdacb4d3dca51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,578 | sce | Ex8_13.sce | clc
Na=2*10^17
disp("Na = "+string(Na)+" /cm^3") //initializing value of acceptor ion concentration.
Er=11.9
disp("Er = "+string(Er)) //initializing value of relative dielectric permittivity constant .
Eo=8.854*10^-14
disp("Eo = "+string(Eo)+" F/cm") //initializing value of permittivity of free space.
ni=1.5*10... |
fcd94b4ff39cd04cff201f44c5794264050d3ae7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH5/EX5.8/Ex5_8.sce | 1ecab94edc5a9f2470113c0c7e981059989886c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex5_8.sce | clear
//
//
//
//Variable declaration
e=1.6*10^-19; //charge(coulomb)
m=9*10^-31; //mass(kg)
h=6.62*10^-34; //plank's constant(Js)
rho=970; //density(kg/m^3)
N0=6.02*10^26; //avagadro number
A=23; //atomic weight
//Calculations
n=rho*N0/A; //concentration(electrons/m^3)... |
89b5bd18630763049e39ab7898aac54493b22c8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH9/EX9.4/Ex9_4.sce | 4ed1f6b5cebf34608f18ef11be7819a59814f529 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Ex9_4.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 9 Frequency Response of Amplifier Pg no. 301
clear;
clc;
//Given
Gv_dB=75;//voltage gain of amplifier in dB units
//Solution
Gv=10^(0.1*Gv_dB);//voltage gain magnitude
printf("P2/P1 = %.f",Gv);
|
6389ae9e885033dc2da7db3c0cd1a29987671d26 | 518b77b4f75f1e023ec173d2cfa465812d9ffa2b | /oqpskmod/genqammod.sci | a7649bc4b0f0ea0fa9e5750da78ae2e5027182ed | [] | no_license | senthilkumarIRTT/Scilab-communication-toolbox | 94fd7d1ad7408805817bb22a37a8e8eef135733b | b1bfd518daf8496f3a2c056d4dd996de327e1acc | refs/heads/master | 2021-01-10T20:30:24.937033 | 2015-12-20T00:17:31 | 2015-12-20T00:17:31 | 41,198,649 | 0 | 0 | null | 2015-08-22T10:01:31 | 2015-08-22T08:40:51 | null | UTF-8 | Scilab | false | false | 1,383 | sci | genqammod.sci | function y = genqammod(x,const)
//GENQAMMOD General quadrature amplitude modulation
// Y = GENQAMMOD(X,CONST) outputs the complex envelope of the modulation
// of the message signal X using quadrature amplitude modulation. The
// message signal must consist of integers between 0 and 1 less than the
// length of C... |
f723fb036537f56cf149d637775d125f72726ac6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH1/EX1.19/Ex1_19.sce | c5af9cc6f13088dfe098060085d07a2c13709448 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex1_19.sce | //Chapter 1 : Wave Optics
clear;
//Variable declaration
lamda=5.9*10**-7
r=5.2*10**-3 //radius of ring
n=10
//Calculation
R=(r**2)/(n*lamda)
t=(n*lamda)/2/10**-6
//Result
mprintf("(i)Radius of curvature R= %f m" ,R)
mprintf("\n(ii)Thickness of air film t= %.2f*10**-6 m" ,t)
|
4d952d982c437dd75ba795d10ade9b5cf4efb917 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/KZ78PHV/ATWM1_Working_Memory_MEG_KZ78PHV_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | e0aefd85642652674df1ee33b63438b2161c95c8 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
9ab52d290025567636daaf457e3bbf37baccb4cd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Engineering_Electromagnetics_S._Bhooshan_980.zip/Fundamentals_Of_Engineering_Electromagnetics_S._Bhooshan_980/CH1/EX1.7/1_7.sce | 058eeea2e1915822ee9f8f746385dbe6ec98e216 | [] | 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 | 127 | sce | 1_7.sce | errcatch(-1,"stop");mode(2);;
;
format('v',11);
A=[1 3 5];
B=[0 5 0];
C=A-B;
disp(C,"difference(in newton)=");
exit();
|
c17e94e1d02cdcb2e3f126a1b848ee50dde62481 | 1988df91caa448a35bbf274a6d2698fe434571b1 | /tst/eval/simpl2.tst | 2677877ca59a8eca607b1f77ae20f8feea4c81a5 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 1,310 | tst | simpl2.tst | COMMENT | ************************************************************* |
COMMENT | * AUTHOR: Paolo Pecchiari |
COMMENT | * |
COMMENT | * SUBJECT: SIMPLIFY TEST |
COMMENT | * |
COMMENT | * GETFOL VERSION: September 1990 |
COMMENT | * |
COMMENT... |
000d83dd905d9cea4fc778fa1fb2ca6c06fa8993 | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/pkgcur.tst | a2887ebe7a7e9b0a6d32a5bb9f60d928c67acbfd | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,337 | tst | pkgcur.tst | CREATE OR REPLACE PROCEDURE pkgcur_test1 (deptno_in IN INTEGER)
IS
rec emp%ROWTYPE;
BEGIN
/* Accessing the package cursor directly: OPEN and FETCH. */
OPEN personnel.emps_for_dept (deptno_in);
FETCH personnel.emps_for_dept INTO rec;
p.l (rec.ename);
END;
/
CREATE OR REPLACE PROCEDURE pkgcur_test2
IS
r... |
db732f67307f083511191551e1b1d0270d1b667d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.56/2_18_56.sce | 4afec8237d9c1fda27fa316f5597a57be96e4b43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | 2_18_56.sce | //water and its treatment//
//example 2.18.56//
clc
Hardness=300//Hardness of water(mg/lit) or ppm//
H=Hardness/1000//Hardness of water(gms/lit)//
volume_NaCl=75//Volume of NaCl//
Wt_per_Litre=75//gms NaCl consumed by zeolite bed per litre//
total_wt=Wt_per_Litre*volume_NaCl//total gms NaCl consumed by zeolite b... |
f38eb8fa604b050d60ee3171bb39acee5c3b5b38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH2/EX2.6.a/ex_2_6_a.sce | 0d51d1b921ecde33a9ed62438986c419c72e8dc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_2_6_a.sce | //Example 2.6.a : the energy of the photon emitted
clc;
clear;
close;
format('v',5);
//given data :
Z=1;//for hydrozen
n1=3;
n2=2;
E3=-(13.6*Z^2)/n1^2;
E2=-(13.6*Z^2)/n2^2;
del_E=E3-E2;
disp(del_E,"the energy of photon emitted,del_E(eV) = ")
|
82ecd9f8f551ed3b42987f59d8e580cb4c605acb | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH8/EX8.3/8_3.sce | 76e8f07e6b61abd9cbf66bf9d0396ca4ce44f760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | 8_3.sce | disp("n=σ/(e*μd)");
a=5.9*10^7; //say σ=a
b=3.2*10^-3; //say μd=b
e=1.6*10^-19;
d=8.5*10^28;
n=a/(e*b);
printf('\n The value of n is %f*10^29 m^-3',n*10^-29);
c=n/d; //say d=concentration of copper atoms and c=avg. no. of electrons/atom
printf('\n The average number of electrons/atom is %1.2f',c); |
ec136fe1f1305427cfb30c6184046b792076dd6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /20/CH2/EX2.3.69/example2_3_pg69.sce | 145287625847ebd5af32baca84f8c3f549833ad4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,962 | sce | example2_3_pg69.sce | // Example2_3_pg69.sce
// To find primary voltage and current supplied
// Theory of Alternating Current Machinery by Alexander Langsdorf
// First Edition 1999, Thirty Second reprint
// Tata McGraw Hill Publishing Company
// Example in Page 69
clear; clc; close;
// Given data
// Transformer A data
va_A = 100e+3; // ... |
77d64bbc64ef77b22ae064ce3f03fd519f75230a | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/ifftn.sci | 269a77d367b0afeadbf4e133066c6cce557e26ce | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sci | ifftn.sci | function y = ifftn(A, varargin)
funcprot(0);
rhs = argn(2)
if(rhs<1 | rhs>2)
error("Wrong number of input arguments.");
end
select(rhs)
case 1 then
y = callOctave("ifftn",A);
case 2 then
y = callOctave("ifftn",A, varargin(1));
end
endfunction
|
14ec3db0ef1c6c20b741096b89458cbe4b346a95 | 3969cd48d2c3a244c9a4b88e34c9e17600e47176 | /Octave/builder.sce | e215e0a7120fc0ab74c38f1c6351ff65de20bd8a | [] | no_license | vbhatt-cs/Scilab-IPT | a362ad5968ac0b5ea3d9b8568ed688b0ea293505 | 78dc014d91c81043e4e81f3055c777ad6e7b0a75 | refs/heads/master | 2021-05-30T18:54:47.751439 | 2016-03-19T16:41:03 | 2016-03-19T16:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | builder.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
function builder_gw_cpp()
WITHOUT_AUTO_PUTLHSVAR = %t;
tbx_build_gateway("skeleton_cpp", ..
["callOctave","callOctave"], ..
["s_o_test_v7.cpp"], ..
get_absolute_file_path("builder.sce"),[],["-L/usr/lib/x86_64-linux-gnu -... |
015355470f31beb54455d37dd6e4c86af7f76844 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH4/EX4.1/4_1.sce | 511844b053431bfb0463a0138bc3326bbd979e8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 4_1.sce | pathname=get_absolute_file_path('4_1.sce')
filename=pathname+filesep()+'4_1_data.sci'
exec(filename)
//Change in efficiency with respect to efficiency
//z=dn/n
n=1-((1/r)^(y-1))
z=-((1-n)*(y-1)*log(8)*(dCv))/n
printf("\n\nRESULTS\n\n")
printf("\nThe effect of efficiency on Otto cycle is %f",z*100) |
ddf5e6ab81018dd34fb62db92781628d0f7f5dc0 | 6802d20f76f56f855fcfe45543132d077e591474 | /App/js/app/components/grid.tst | 1c7c0c939382981e6248ddb79f31e53d0979398a | [] | no_license | mike-ward/Nancy.Start | 5c16844554345eecb6502c696f0abfe75062fd29 | ff5804c48b4ec18a8793a9d2eb1ff3bac6fe5788 | refs/heads/master | 2021-01-09T05:24:39.589221 | 2018-02-19T18:42:53 | 2018-02-19T18:42:53 | 80,761,860 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | tst | grid.tst | describe('Grid', () => {
it('should contain a div with a class of .footer', () => {
const vnode = App.Components.grid.view({ attrs: { gridOptions: { columns: [], data: [] } }, state: { sortedColumnId: null } });
expect(vnode.tag).toBe('div');
expect(vnode.attrs.className).toBe('grid');
});
}); |
46440e8d34c2b2f2fbf9d6d1ef6aebea55b49169 | 8515a296e01b69a939982d59f7997b6daf2e4cbd | /projects/01/And4Way.tst | 71473ff548cb7ff4ebfde4e04ef3da07fa2c20f5 | [] | no_license | hiragi-gkuth/n2t | 9e1b41a136aaa79bff78854d5ccb7cd86f714603 | 566cc2d5801d1258c547cb6f2dd10272af3b9f79 | refs/heads/main | 2023-06-10T21:34:49.395174 | 2021-07-03T09:06:34 | 2021-07-03T09:06:34 | 353,191,765 | 0 | 0 | null | 2021-07-03T09:06:35 | 2021-03-31T01:44:53 | Assembly | UTF-8 | Scilab | false | false | 943 | tst | And4Way.tst | load And4Way.hdl,
output-file And4Way.out,
compare-to And4Way.cmp,
output-list a%B3.1.3 b%B3.1.3 c%B3.1.3 d%B3.1.3 out%B3.1.3;
set a 0,
set b 0,
set c 0,
set d 0,
eval,
output;
set a 0,
set b 0,
set c 0,
set d 1,
eval,
output;
set a 0,
set b 0,
set c 1,
set d 0,
eval,
output;
set a 0,
set b 0,
set c 1,
set d 1,
eva... |
01e5ceee0ff499fdfc60712c6cf2e126aea20844 | 96ddb5c7e26f4c4665fed642bcd3e7492c8b3af9 | /qammod.sci | 5072fa89ac8785c5b6e78b23810f1ebe170746a1 | [] | no_license | kUser18/comm_scilab | 8faa238d1affd5842ae20b8dbc0d59324d12b477 | c98d78ba55b73644bf32cf1f901b6c0e45d73bc2 | refs/heads/master | 2020-03-26T11:00:15.328570 | 2018-09-30T20:35:50 | 2018-09-30T20:35:50 | 144,823,988 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,293 | sci | qammod.sci | function Q = qammod(x, m)
//
//Function Description
//qammod: This function modulates a sequence of integers
//x into a complex baseband quadrature amplitude modulation signal.
//
//Calling sequence:-
//Psk = qammod(x,m)
//
//Parameters:
//x: int - matrix
// The sequence of integers to be modulated... |
f688251f24a259723c0df325d0a1bfc7362fe707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH1/EX1.5/ex1_5.sce | b0b1da0e5d1f4fbb6afb9c734df4bc414a643acf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,013 | sce | ex1_5.sce | //find the DC supply voltage
clear;
clc;
//soltion
//given
//consider 1 phase AC system
pf=0.8;
v=(33*10^3);//volts
r1=0.15;//ohm//total resistance of the 1 phase line
PD1=0.2;//percentage voltage drop in 1 phase AC system
Vd=PD1*v;//volt//voltage drop in the line
I1=Vd/r1;//ampere//load current
p=v*I1*pf;/... |
dc721ae617ed1c41099db3a1121f49287a9dd444 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/goertzel.sci | bc0061ccfff68404b802e532acbf83283035f9bb | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,590 | sci | goertzel.sci | function Y = goertzel(X,INDVEC,DIM)
//Computes DFT using the second order Goertzel Algorithm
//Calling Sequence
//Y = goertzel(X,INDVEC,DIM)
//Parameters
//X
//A vector matrix or n-dimensional array
//INDVEC
//The indices at which the DFT is to be computed
//DIM
//The dimension along which the algorithm is to be implem... |
483a1f2abc2c439fe99988f7922383e0d1cc29db | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH9/EX9.3/eg9_3.sce | edac541eacd76c871135df27af46c0f6b6a1abdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | eg9_3.sce | //a
//transistor parameters
R2 = 0.625;
hie = 1.67;
Rb = 4.16;
Rl = 2.4;
Roe = 150;
Cc = 25 * 10^-6;
rBB = 0.29;
rBE = 1.375;
Cd = 6900 * 10^-12;
Ct = 40 * 10^-12;
gm = 0.032;
Req = (Rl*Roe)/(Rl + Roe);
hfe = 44;
a = 1 + (R2/Req);
b = 1 + (hie/Rb);
Aim = -hfe/(a*b); // mid b... |
92b003977ab37faba22419b8376f7fa8e135ce76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.15/Example_1_15.sce | 85a77a6873c262788b37a6783e79a961d189fb05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Example_1_15.sce | //Example 1.15
clc;
clear;
disp("Possible outcomes...(1,1),(1,2)......(6,5),(6,6)");
N=36;
disp(N,"total No. of possible outcomes (N) =");
disp("Favourable outcomes....(2,6),(3,4),(4,3),(6,2)");
M=4
disp(M,"No. of Favorable cases of (dice points product is 12)=");
P=M/N;
disp(P,"Probability of (dice points p... |
9a38fe640918e6405ccfefac6cde0ed5e96d3d51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.19/EX3_19.sce | 88accced6ddb24ab452fd94e39d486da54773bc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | EX3_19.sce | //EXAMPLE 3.19 PG NO-187
VL=230;
VP=VL/1.732;
IL=13.279;
COSQ=0.8;
SINQ=0.6;
P=(1.732*VL*IL*COSQ)
R.P=(1.732*VL*IL*SINQ)
VA=(1.732*VL*VP)
disp('i) POWER FACTOR = '+string (P)+' W');
disp('i) POWER FACTOR = '+string (R.P)+' var');
disp('i)TOTAL VA = '+string (VA)+' VA');
|
483d41d5f9e7482ad84ccaada37087741e56c7c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH6/EX6.14.3/Example6_14c.sce | 5d180c13af71899ef176e7996fa65553862b830c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Example6_14c.sce | clc
//Given that
m = 9e-31 // mass in kg
E = 1e9 // Energy of accelerated electron in eV
c = 3e8 // speed of light in m/s
// sample problem 14c page No. 227
printf("\n \n\n # Problem 14c # \n")
printf("\n Standard formula used \n E = m*c^2")
E_0 = m * c^2// calculation of rest mass energy
ratio = E / E_0 *1.6... |
34462e819f9f3e7a6e405c12d78b8a9de5b55c1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH3/EX3.1/exa3_1.sce | 302bfc505ceac40e99494a00b2470726ba666fd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | exa3_1.sce | // Example 3.1
// Model of a Battery
v_s=6; // Terminal voltage of Battery when i=0
R_s= -(6.0-5.8)/(0-0.05);// Slope Resistance from v-i curve
// Setting v>= 0.9v_s=5.4 V
// Using Ohm's Law and above mentioned conditions we get
// 5.4=(6*R_L)/(4+R_L)
R_L=(5.4*4)/0.6;// Minimum value of Load resistance for treat... |
d057fc0d3aab98bcac2d8f06c65db9dd617c3e6d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/HR2.prev.tst | a4178d4c77d1134b1bd44c0675dca77e00155530 | [
"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 | 3,284 | tst | HR2.prev.tst | polys[0]=0
polys[1]=1
polys[2]=1
polys[3]=-1
order=2
initialize: mN=-1, mRElen=3, mNPlen=1, mOrder=2, mLinit=2
polys[0]=0
polys[1]=1
polys[2]=1
polys[3]=-1
order=2
initialize: mN=-1, mRElen=3, mNPlen=1, mOrder=2, mLinit=2
setGfType: mN=2, mRElen=3, mNPlen=1, mOrder=2, mLinit=-1
setRE(1,1): [0,*0,0] -> ... |
8339ac8b68987eb798412ec1511cae38fd87bb15 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Rotate3pt.sci | 910aa734243e1164630d5d2d07f4eaabd198602a | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,000 | sci | Rotate3pt.sci | // 08.08.15
function Ans=Rotate3pt(varargin)
Eps=10^(-4);
Nargs=length(varargin);
P=varargin(1);
W1=varargin(2);
W2=varargin(3);
C=[0,0,0];
if Nargs>=4
C=varargin(4);
end;
if type(W2)==1 & length(W2)==1
Ct=cos(W2);
St=sin(W2);
V3=1/norm(W1)*W1;
if V3(1)==0
Tmp=[1,0,0];
e... |
a6d5024d321a98d4ab4b6a75a47526040149deed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.44/Chapter6_Example44.sce | 09173d3c4a5746dbbfb180844e7a4abc1d46af40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | Chapter6_Example44.sce | clc
clear
//Input data
t=100;//The given temperature of water in degree centigrade
C1=1.01;//The specific heat of water at 100 degree centigrade in cal/g
L=-0.64;//The rate at which the latent heat of vapourisation decreases with rise in temperature in cal/K
l=540;//The latent heat of vapourisation of steam in... |
9a6a5962ff2d45474bf4c6c9e7938db52caef0c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.15/ex4_15.sce | 3ff6ac033714d12abc37e8bc3c210f114419988b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | ex4_15.sce | // Exa 4.15
clc;
clear;
close;
// Given data
V_CC = 18;// in V
bita = 90;
R_C = 2.2 * 10^3;// in ohm
R_E = 1.8*10^3;// in ohm
R_B = 510*10^3;// in ohm
I_B = V_CC/( (bita*(R_C+R_E))+R_B );// in A
I_C = bita*I_B;// in A
disp(I_C*10^3,"The value of I_C in mA is");
V_CE = I_B*R_B;// in V
disp(V_CE,"The value ... |
5aef3bbe0cb17f17cc138830d9ca515bdff067b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH29/EX29.01/29_01.sce | dd18c145b9199428735a3b820627dc28f6843d77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | 29_01.sce | //Problem 29.01: A coil of inductance 5 mH and resistance 10 ohm is connected in parallel with a 250 nF capacitor across a 50 V variable-frequency supply. Determine (a) the resonant frequency, (b) the dynamic resistance, (c) the current at resonance, and (d) the circuit Q-factor at resonance.
//initializing the var... |
8ec4a7a7e80bfdfc9fbd5adf340a564b2b41ff2b | eee96b986bbe9b02c28910e531dc5e4bc96ab8a6 | /taylor-pendulo/lab1-taylor.sce | cee4ed64ed6ef74e14f736c4c52f7e2a9472829e | [] | no_license | jilcimar/computacao-numerica | 7b7c85bac6a66e8d428cfed08b4f9b61558d19f1 | 093b6f0723026880b10dd100fa523107583eca85 | refs/heads/master | 2021-07-10T11:13:20.533276 | 2019-09-09T13:50:17 | 2019-09-09T13:50:17 | 203,243,471 | 0 | 2 | null | 2020-10-02T12:19:49 | 2019-08-19T20:13:24 | Scilab | UTF-8 | Scilab | false | false | 990 | sce | lab1-taylor.sce |
M = csvRead('/home/jilcimar/PESSOAL/computacao-numerica/taylor-pendulo/files/sample.csv')
x0 = 448
y0 = 77
x = M(:,1)
y = M(:,2)
t = M(:,3)
deltaX = x - x0
deltaY = y - y0
angulo_pendolo = acos(deltaX./sqrt(deltaX**2 + deltaY**2))
function [w0, r]=coeficientes(t, ang, p) //vetores de tempo e angulo, e o período
... |
2b7ef963da7086a24b483c8e01e144fcc04ab5d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH8/EX8.1/Ex8_1.sce | 4da4a98fafff3d28837de83a6b5bb0175433e5dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex8_1.sce | clear
//
//given
f=50
p=4
//case a
s=(120*f)/p //synchronous speed
printf("\n synchronous speed= %0.0f rpm",s)
//case b
slip=0.03
r=s-s*slip //rotor speed
printf("\n rotor speed= %0.0f rpm",r)
//case c
r=900 //given speed of rotor
slip=(s-r)/s //per unit slip
rf=slip*f
printf("\n rotor frequency= %0.0f Hz",rf)
|
627c48f196244527e5d59e17f9a0e01047aab1b1 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CS4C.prev.tst | 1f0f8318915e6f20e22e4a03cc2e841a5c3cee81 | [
"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 | 320 | tst | CS4C.prev.tst | CandidateSelector expand width=4 base=9 exponent=4 left=2 right=2 fileName=data/euler422.man
chain2 [[3,1,1,-5],[7,2,-5,-4],[1,-5,2,-1],[5,2,1,-8]] det=24 [631,222,558,503] [158,59,134,133] [2,22,-2,-22]
chain2 [[-4,-3,6,0],[7,2,-5,-4],[8,-1,-3,-6],[5,2,1,-8]] det=28 [631,222,558,503] [158,59,134,133] [-5,22,5,-22]
|
cb496f8567d992faba0595fa20ccce874971bd07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH5/EX5.3/5_3.sce | 49f9ca2b4b0384c8b81e519ca2d8e7c4757e105e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | 5_3.sce | //Example 5.3
//Calculate the time required for cooling of the rod.
//Given
d=0.0254 //m, diameter of steel rod
l=0.4 //m, length of rod
T1=80 //C, initial temp.
T2=30 //C, ambient temp.
T3=35 //c, temp. after coolin... |
a8ec365ef140f7bbb51dfc8a50ce824e614e9e60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH12/EX12.5/ex12_5.sce | c36c10cf25b48c3b6c50474a255bfff432697e05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex12_5.sce | // Exa 12.5
format('v',8)
clc;
clear;
close;
// Given data
memory= 16;// in K
memory= memory*1024;// in bits
// Number of words
N1= memory;
disp(N1,"The number of words is : ")
N2= 32;// number of bits per word
disp(N2,"The number of bits per word is : ")
// Number of memory cell
N3= N2*memory;
disp(N3,"... |
eb368aca3cb7c857329be3f8d272b946287b2e3d | d56141249002a5da7c4a2641dbdfc609809046a8 | /WT/WT_arc_plot.sce | 97f45c4d493175d792d879839401b8cc75163d86 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,073 | sce | WT_arc_plot.sce | // This code is to plot the Fermi arcs output by Wannier Tools
// Besides, this code also helps you locate the positions of a particular
// area of the plot.
// To use it, you must download 'arc.dat_l, arc.dat_r and input.dat
// if want to plot spintexture, also need 'spindos.dat'
clear; clc; xdel(winsid());exec(PiLi... |
b8c000a8ea04f4c30f81964ee2c18209f33c690b | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_pwm.sci | 9b460130c87ac71176fc0ff91a2bbdd1bc95fab4 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 3,656 | sci | mdaq_pwm.sci | function [x,y,typ] = mdaq_pwm(job,arg1,arg2)
pwm_desc = ["This block sets MicroDAQ PWM outputs.";
"Block controls PWM module module which contains A and B channels.";
"PWM period is defined in microseconds. Polarity allows to generate";
"inverted PWM waveform. Block input data should be in range 0-100."... |
f1f114d42c3037a7afccf68ac2c7d53cc7640bf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH2/EX2.14/Exa2_14.sce | b1fe4dca732985f414e1369361cc3d30181473bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Exa2_14.sce | //Exa 2.14
clc;
clear;
close;
//given data
e=1.6*10^-19;//in coulamb
resistivity=9*10^-3;//in ohm-m
RH=3.6*10^-4;//in m^3-coulamb^-1
SIGMA=1/resistivity;//in (ohm-m)^-1
rho=1/RH;//in cooulamb/m^3
n=rho/e;//in m^-3
disp(n,"Density of charge carriers in m^-3 : ");
MU=SIGMA*RH;//in m^2/V-s
disp(MU,"Mobility i... |
d60ab53bf8e01f514ec45c4ea63c7c4e51064b7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH1/EX1.3/Ch01Ex3.sce | 64602ec63c7cc7b544059036c37e2288f4724f93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Ch01Ex3.sce | // Scilab code Ex1.3: Pg 20 (2005)
clc; clear;
c = 3e+08; // Velocity of light, m/s
L_p = 100; // Proper length of spaceship, m
v = 0.99*c; // Velocity of spaceship, m/s
// Using length contracction formula,
L = L_p*sqrt(1 - (v/c)^2); // Observ... |
4ee78539d3432319ae3d0f0f809181d2a27ed9c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH30/EX30.3/example_30_3.sce | cb636bda19dc1ad16ab94b0331a4ca157e715adc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | example_30_3.sce | clear;
clc;
disp("--------------Example 30.3----------------")
message=['H' 'E' 'L' 'L' 'O'];
key=15; // shift down key
alphabet=['A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z'];
ciphertext="";
for k=1:5 // encrypt each character in the message
for ... |
75397d5f908251f9e6fac22a6faa78fa57d6045f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.10/EX3_10.sce | 81d6da0de4b4ca2aa49d5d360ba3ed3a7b21978e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,099 | sce | EX3_10.sce | //EXAMPLE 3-10 PG NO-180
Za=6+%i*0;
Zb=5.26+%i*3;
Zc=3.535+%i*3.535;
Van=230.94+%i*0;
Vcn=-115.47-%i*200;
Vbn=-115.47+%i*200;
Ya=1/Za;
disp('i) admittance (Ya) is in rectangular form = '+string (Ya) +' siemens ');
Yb=1/Zb;
disp('i) admittance (Yb) is in rectangular form =... |
418f50b776f375e9b8914b067cf93c3556baaec5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH17/EX17.1/ex_17_1.sce | c96913b9c228188919e7cc2f6d4dbbcece40142d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | ex_17_1.sce | //Example 17.1 //Uncertainty in angle of Emergence
clc;
clear;
//given data :
E=3.2D-17;//energy of enectron in J
m=9.1D-31;// mass of electron in kg
h=6.626D-34;// plank's constant in J.sec
r=1D-6;//radius of circular hole in m
p=sqrt(2*m*E);// momentum in Kg.m/sec
delta_x=2*r;// uncetainty in position in m
... |
43e2b7626fac200ac5c280c0eb5ae03f7c49f1f1 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/sosbreak.sci | dc78f95711ff6565336c06082bd7af9bdeea076e | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,072 | sci | sosbreak.sci | //Author: Parthasarathi Panda
//parthasarathipanda314@gmail.com
function [zerosort,g]=sosbreak(p)
//function for breaking a polynomial in second order polynomials (and an extra linear)
[zero,g]=factors(p);//factorising into real coefficient polynomials
degn=degree(p);
zerosort=list();
//to segregate lin... |
f1a4d3fe95a38eca81274530fe6667389f17676c | b825b6ce6352251fd4adf3aafd7e526689dc0370 | /src/Oddball_duration/Presentation Files/tone_oddball_450SOA.sce | 4ac6ab10528f5d9ae19b7dc2a8ade69c2531c1e4 | [
"MIT"
] | permissive | CognitiveNeuroLab/Oddball_experiments | 805723beb0199d993f787202a00bece8a2ec09b5 | d1a06011caeb2cc896b99b7eb40207e9c63d6543 | refs/heads/master | 2023-07-16T08:40:29.974788 | 2021-08-20T21:01:43 | 2021-08-20T21:01:43 | 391,151,013 | 0 | 0 | MIT | 2021-07-30T17:53:14 | 2021-07-30T17:53:14 | null | UTF-8 | Scilab | false | false | 1,460 | sce | tone_oddball_450SOA.sce | # port code 201 = start recording
# port code 200 = pause recording
# port code 17 = standard (100ms sound) isi = 350 soa = 450
# port code 19 = deviant (180ms sound) isi = 270 soa = 450
scenario = "tone_oddball_450SOA";
no_logfile = false;
scenario_type = trials;
default_background_color = 0, 0, 0;
default_t... |
af98be4b00fb240dba581df01576ff29581def24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.30/Ex1_30.sce | 1fd28a01f7963f3e6f62b19b412ed1c6874b1490 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,476 | sce | Ex1_30.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 30
clc;
disp("CHAPTER 1");
disp("EXAMPLE 30");
//VARIABLE INITIALIZATION
I1=25; //current source in Amperes
I2=20; //current source in Amperes
v=20; //voltage source in ... |
27ea90b12fa223b05c34870a603da53a922ba43f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TEMP6.prev.tst | c5c4ce7a1a5f5be61938c5a9fa7b5a6f31b5f468 | [
"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 | 1,677 | tst | TEMP6.prev.tst | Expanding for base=3, level=4, reasons+features=base,same,similiar,evenexp norm
Refined variables=x,y
[0+1x,0+1y]: unknown -> [1] [0,0] x²-y³-6
---------------- level 0
expanding queue[0]^-1,meter=[3,3]: x²-y³-6
[1+3x,1+3y]: unknown -> [1] [1,1] 2x+3x²-3y-9y²-9y³-2
[2+3x,1+3y]: negative-1 [1] by {x=>-x-1}
endexp[0]
---... |
04016201ac5c8a058b9ebaeee7a016c7e4f7b1d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH1/EX1.7/Ex1_7.sce | db4a9b50701ed59b74f1b9cbcc842ffcc6dc9b34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,834 | sce | Ex1_7.sce | clc
// Example 1.7.py
// A flat plate with a chord length of 3 ft and an infinite span(perpendicular to
// the page in fig 1.5) is immersed in a Mach 2 flow at standard sea level
// conditions at an angle of attack of 10 degrees. The pressure distribution
// over the plate is as follows: upper surface, p2=constant=1132... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.