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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1315fca9ff61b84f825baa9bd773f0efcd290dd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH1/EX1.3/ex_3.sce | 4f109bb7c14f78620e312ecaf0c4f647a3605ef6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_3.sce | //Example 3 // ENERGY
clc;
clear;
close;
ke=5;//joule
pe=5;//joule
rep=10;//joule
eo=rep+ke+pe;//joule
disp(eo,"energy of the oscillator is,(joule)=")
|
fc5c827a6de0700f0155ac7b95934e02a63ed804 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH9/EX9.11/ex9_11.sce | 0d3f92e8ddbed4b227e666615b8296891858141e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 911 | sce | ex9_11.sce | //find the position and voltage on the intersheaths and max and min stress
clear;
clc;
//soltion
//given
d=2;//cm
D=5.3;//cm
V=66*sqrt(2/3);//kV
V1=poly(0,"V1");
V2=poly(0,"V2");
V3=poly(0,"V3");
d1=poly(0,"d1")
d1d2=D*d;//d1*d2
d2=(d1^2)/2;
printf("d2= ");
disp(d2);
d1=(2*d1d2)^(1/3);//after putting va... |
51ab0f40a328385268309db35894ce9c388375be | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 01/adams_e_runge_kutta.sci | 88bc29ba49b971183624e0a2d9cb0cd90d8bc11b | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sci | adams_e_runge_kutta.sci | clc
clear
//Condições iniciais
s0=0;
vs0=0;
S0=[s0;vs0]
g=9.78;
mu0 = 0.15;
Nt = 0.08;
m=0.033;
c=0.01;
t0=0;
tf=20;
teta=(%pi)/6;
//Passo de integração
h=0.5;
dt=h;
t=t0:dt:tf;
//Função para cálculo das derivadas temporais (letra b)
function dS=f(t,S)
ds1=S(2);
ds2=g*sin(teta)-4*mu0*Nt*(1/m);
dS=[ds1;ds2];... |
34afd8653963223ac9f3b3886212608306a6bcf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH2/EX2.5/Ch02Ex5.sce | 873fcc7229cd37312336d1204c9f1e3294833cf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch02Ex5.sce | // Scilab Code Ex2.5 : Page-63 (2006)
clc; clear;
epsilon_0 = 8.854e-012; // Absolute electrical permittivity of free space, F/m
N = 6.023e+023; // Avogadro's number
e = 1.6e-019; // Energy equivalent of 1 eV, eV/J
r0 = 6.46e-010; // Nearest neighbour distance of NaI
E = 157.1e+03; // Binding energy of... |
b170e5e8e3b030aa7653dae833981f0ad906248c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH9/EX9.1.4/example9_4.sce | 78a2ffdb95f1fe224260f8284a1343c2bfe43585 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | example9_4.sce | //exapple 9.4
clc; funcprot(0);
// Initialization of Variable
rhoa=1.218;//density of air
mu=1.73/100000;
pi=3.1428;
g=9.81;
rhog = 1200;
rhop=2280;//density of polythene
d=0.0034;//diameter
a=4*d^3*(rhop-rhoa)*rhoa*g/3/mu^2;//a=Cd*Re^2
//using graph of Cd*Re^2 vs Re
Re=2200;
v=Re*mu/d/rhog;
disp(v , "The terminal vrl... |
583b57b59c54d137fa6a3f5d502eb73b393d551b | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calLast.sci | 7bcbf1aa4063799ba980a25f1558e97416acdbb7 | [] | 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 | 645,879 | sci | calLast.sci | bref=[];bnorm=[];incomemean=[];rents=[];incomes=[];
bref(1)=5000;
bnorm(1)=20000;
incomemean(1)=10000;
rents(1,1)=99.22529588530496;
rents(1,2)=74.42568868647493;
rents(1,3)=92.88122614559285;
rents(1,4)=110.30678493239462;
rents(1,5)=127.4363451782466;
rents(1,6)=144.1830905757753;
rents(1,7)=159.1999919495849;
rents(... |
753f1f57641df4733c295c5d58283e82879e74ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH24/EX24.1/C24P1.sce | 9b0a15575ac7623d530c8de627d5db8cc483b630 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | C24P1.sce | clear
clc
//to find entropy change of water during process
//Given:
//mass of water
m = 1.8//in Kg
//initial temperature of water and hot plate
Ti = 20//in degree celsius
//final temperature of hot plate
Tf = 100//in degree celsius
//heat capacity of water
c = 4190//in J/Kg.K
//Solution:
//applying law... |
ab380729c954734070fe3b11ae107c68c9f2df6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH12/EX12.3/12_3.sce | f1e810de9af54ba2677b8330a1f654ceec45c957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | 12_3.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 12.3
//calculation of the time period of oscillation of the particle
//given data
m=200*10^-3//mass(in kg) of the particle
k=80//spring constant(in N/m)
//calculation
T=2*%pi*sqrt(m/k)//formula of time period
p... |
7163afc9bbdbd97f07047cc038b25240096b66ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH21/EX21.1/ex_21_1.sce | e83fac25cdd0eb65571a04152491c9c9579a4b94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sce | ex_21_1.sce |
clc
//soltuion
//given
RP=15000//W//rated power
N1=1000//rpm
N2=350//rpm
VR=N1/N2
//ref table 21.5,numbr of teeth on smaller sprocket is T1=25
T1=25
T2=T1*N1/N2
K1=1.5//load factor
K2=1//lubricaiton factor
K3=1.25//rating factor
Ks=K1*K2*K3//service factor
DP=Ks*RP//design power
//from table 21.4,corrs to N1=1000rpm,p... |
6f1316c603dc40b41095669f7a6fc32013b1380d | 47adabef6eb8924aff50314b05cfd89f90e19aec | /macros/http_post_url.sci | 9279197df2815a171a4943e1366044af3a607dd6 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sci | http_post_url.sci | function response = http_post_url(URL, varargin)
[host, resource, port] = http_split(URL) // Get hostname and resource from URL
response = http_post(host, resource, port, varargin)
endfunction
|
f3d417030ab9d1d1c129e6281b7f79a14446988e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH7/EX7.3/Ch07Ex3.sce | 4aae2c44df6184449aceb18b8cfd1bca3be3eb1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 925 | sce | Ch07Ex3.sce | // Scilab Code Ex7.3:: Page-7.8 (2009)
clc; clear;
n1 = 1.46; // Refractive index of the core material
delta = 0.01; // Relative refractive index difference
NA = n1*sqrt(2*delta); // Numerical aperture for the fibre
theta_Q = %pi*NA^2; // Solid acceptance angle of optical fibre for small angles, radians... |
0d21ed55825a4291a1015130a7e3f31e1d3c3156 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH9/EX9.2/Ex9_2.sce | 7d8d9947e526485bfc6a9f9424e78b50aaff132d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Ex9_2.sce | clear;
clc;
//page no. 285
T = 100;// degreeF
d = 3;// inches
Re = 80000;// Reynolds number
e = 0.006;// inches
l = 1000;//feet
f1 = 0.021;//friction factor
nu = 0.729*10^-5;// sqft/sec
V = Re*nu/0.25;
h_L1 = f1*(l/0.25)*(V^2 /(2*32.2));
f = 0.316/Re^0.25;
h_L = (f/f1)*h_L1;
printf('Head loss expected... |
51bf12cd3ecae10f011d4c15cb1c61eed243c591 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /[MCA-8] Auto Balanced Fast Strafes.sce | 8d3c36198140d69743a31838f99032122da0426c | [] | 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 | 71,633 | sce | [MCA-8] Auto Balanced Fast Strafes.sce | Name=[MCA-8] Auto Balanced Fast Strafes
PlayerCharacters=ABFS Challenger
BotCharacters=ABFS Bot Rotation.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=ABFS Challenger
AddedBots=ABFS Bot Rotation.rot
PlayerMaxLives=0
BotMaxLives=21
PlayerTeam=1
BotTeams=2
MapName=fanwise_field.map
MapScale=1.0
BlockProjectilePredict... |
75526ab15421278f136e6f9ac6051639752febc4 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Viper HS Mid Mixed Strafes.sce | 15fe3fe464ff486fc0d2a92eda34230aa36ad35d | [] | 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 | 46,455 | sce | Viper HS Mid Mixed Strafes.sce | Name=HS the Bot Rifle Mid Mixed Strafes
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Fast Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=rifleboxerhalf02.map
MapScale=3.8
BlockProjecti... |
994e02aa87f4b998904882441c5f239735531ef9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH3/EX3.12/Ex3_12.sce | 17c30190f506fdd2c0ffa345d98cb1fb7aa5ae4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | Ex3_12.sce | clear
//
//
//
//Variable declaration
theta1=5+(23/60); //glancing angle(degree)
theta2=7+(37/60); //glancing angle(degree)
theta3=9+(25/60); //glancing angle(degree)
//Calculation
theta1=theta1*%pi/180; //angle(radian)
theta2=theta2*%pi/180; //angle(radian)
theta3=theta3*%pi/180; //angle(... |
516feaf623fb98dd8f28729721ebe46b5e26037c | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /BCPST UTT/Old/fonctions.sce | 817897475ac6e5f82b6f3944a99c2aea8c8b8abe | [] | no_license | ThibaultLatrille/Slides-Sciencework | bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338 | 84b53f3901cbdb10fab930e832dc75431a7dce05 | refs/heads/master | 2020-04-27T07:53:52.313720 | 2019-03-06T16:17:57 | 2019-03-06T16:17:57 | 174,151,758 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 8,441 | sce | fonctions.sce | function [nville1]=cleaner(ville1) //Remplace tous les caractères non supportés par scilab
nville1=strsubst(ville1,"é","e");
nville1=strsubst(nville1,"è","e");
nville1=strsubst(nville1,"à","a");
nville1=strsubst(nville1,"ç","c");
nville1=strsubst(nville1,"-","");
nville1=strsubst(nville1,"â","a");
... |
a9440c3c060ed9e8b8344598a66b7e9091224012 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH13/EX13.2/Example13_2.sce | bcd89ca6f9435a16835f22cf82eb3ee4d554d662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Example13_2.sce | //chapter-13,Example13_2,pg 509
t1=1*10^-6//time span for voltage
//voltage switching
V1=0.5//level-1
V2=1//level-2
//current switching
I1=1*10^-3//level-1
I2=10*10^-3//level-2
t2=1*10^-6//time span for current
DR=(((V2-V1)/t1)/((I2-I1)/t2))
printf("pseudoimpedance\n")
printf("DR=%.2f o... |
2ac264254b2586e2db63af8404299eebeb9709ca | 46e52b7010c1dc6beb86c615f0d59494c00e6554 | /tp3/src/tests/test5.tst | 9257d1351bc4b89297d5cf27792a8d6921bea290 | [] | no_license | impronunciable/so2015 | 22bd1cf0831c29d091a3f94bc36342ebb51b7aed | 8bdabf28dc17ca4c92a264036c0fbe9c31430de3 | refs/heads/master | 2020-04-14T12:25:47.123488 | 2015-11-10T22:00:51 | 2015-11-10T22:00:51 | 41,392,542 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | tst | test5.tst | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
cccccccccccccccccccccccccccccccccccccccc
dddddddddddddddddddddddddddddddddddddddd
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
cccccccccccccccccccccccccccccccccccccccc
ddddddddddddddddddddddddddddddddd... |
d9925fed279f3e4cff1e9114766f3d9b1d950e15 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%psr.sci | ddde4f5fc77eb33914b3e142f248ffcc1c7b58b6 | [
"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 | 258 | sci | %psr.sci | //<f2>=%psr(n1,f2)
// %psr(n1,f2) calcule la soustraction de la matrice de polynome n1 et
//de la matrice de fractions rationnelles f2.
//Cette macro correspond a l'operation n1-f2
//!
[n2,d2]=f2(2:3),
[n2,d2]=simp(n1.*d2-n2,d2)
f2(2)=n2;f2(3)=d2;
//end
|
5408ff5914cacbc6787482c1ef91c684f564cd09 | 717ddeb7e700373742c617a95e25a2376565112c | /632/CH6/EX6.4/example6_4.sce | 3409c63d8076d967ef9a479b4f14c9e0399e8776 | [] | 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 | example6_4.sce | //clc()
A = 13.8587;
B = 2911.32;
C = 56.56;
T1 = 325;//K
//Pressure at normal condition = 101.3kPa
P2 = 101.3;//kPa
//Antoine equation - lnP = A - B / (T - C)
lnP = A - (B / (T - C));
P1 = exp(lnP);
disp("kPa",P1,"(a)Vapour pressure of n-heptane at 325K = ")
T2 = B/(A - log(P2)) + C;
disp("K",T2,"(b)Normal... |
f8568eb24630d0aeae893afbde05b27f038f7103 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH3/EX3.3/ex3_3.sce | 99a3525199ae6f6a9b72564d85b8deb454aa4d7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | ex3_3.sce | // Exa 3.3
clc;
clear;
close;
format('v',8)
// Given data
f = 60;// in Hz
Im = 120;// in A
t = 1/360;// in sec
omega = 2*%pi*f;// in rad/sec
i = Im*sin(omega*t);// in A
disp(i,"The value of current after 1/360 sec in A is");
i = 96;// in A
// i = Im*sind(omega*t);
t = (asin(i/Im))/omega;// in sec
disp(t,... |
eb547d76cfe825d78f1bfbb038373d87dfe22762 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH7/EX7.12/7_12.sce | 91883548270dba0dbe085c0a6b7a2b14293ed7d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | 7_12.sce | //ill-conditioned system
//example 7.12
//page 278
clc;clear;close;
//the original equations are 2x+y=2 2x+1.01y=2.01
A1=[2 1;2 1.01];
C1=[2;2.01];
x1=1;y1=1//approximate values
A2=[2 1;2 1.01];
C2=[3;3.01];
C=C1-C2;
X=A1^-1*C;
x=X(1,1)+x1;
y=X(2,1)+y1;
printf(' the exact solution is X=%f \t Y=%f',x,y... |
6633298e8578101417436eeda9fb79552d2938b6 | e806e966b06a53388fb300d89534354b222c2cad | /macros/checkCEE.sci | bd868efc9cbf9ac3bb2a0df13dae0dc3c44fcda3 | [] | 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 | 714 | sci | checkCEE.sci | function checkCEE(varargin)
extErr = varargin(1)
if ~isfield(extErr, 'RotVectorsError') | ~isfield(extErr, 'TransVectorsError') then
error(msprintf("An ExtrinsicsEstimationErrors Struct expected."))
end
rvErr = extErr.RotVectorsError;
tvErr = extErr.TransVectorsError;
... |
0ca581003edf9f63beb2979f4af23ef62cffb904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH13/EX13.4.1/EX13_4_1.sce | 3e02945f2ed3656bfc352428777a078037ce682d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | EX13_4_1.sce | //Example No. 13.4.1
clc;
clear;
close;
format('v',7);
Pr1=0.0297/1000;//W(Recieved power)
Pr2=0.0471/1000;//W(Recieved power)
Pr3=0.0374/1000;//W(Recieved power)
Pt=1;//W(Transmitted power)
R=10;//m(Radius)
f=980;//MHz(Frequency)
f=f*10^6;//Hz(Frequency)
c=3*10^8;//m/s(Speed of light)
lambda=c/f;//m(Wavel... |
76c56ef3946c32ad4218825dca7129c29e4d214a | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA11.prev.tst | 9a856d272c7576bdee8a00b9f590a2a1395082cd | [
"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 | 347 | tst | MA11.prev.tst | -chain [[2,-1,0,2],[-2,0,-1,-2],[0,2,2,-1],[2,-1,1,1]] [6,-5,-3,-4] 4 0
[[2,-1,0,2],[-2,0,-1,-2],[0,2,2,-1],[2,-1,1,1]],det=-2 [6,-5,-3,-4], chain 8 => [9,-1,-12,10] => [39,-26,-36,17] => [138,-76,-141,85] => [522,-305,-519,296] => [1941,-1117,-1944,1126] => [7251,-4190,-7248,4181] => [27054,-15616,-27057,15625] => [10... |
9ba78ea2f43ed986382addc1ee229b8154fe4cef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH4/EX4.7/Ex4_7.sce | 2ca177149bf78d4285e1ccb40b972f4dbc2b1fb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,270 | sce | Ex4_7.sce | // Exa 4.7
clc;
clear all;
// Referring circuit given in fig. 4.7 on page no.81
S1=1000; // Sensitivity of meter 1 (Ohms/volt)
S2=20000;// Sensitivity of meter 2(Ohms/volt)
Rm1=200;// Meter resistance(Ohms)
Rm2=1500;// Meter resistance(Ohms)
V1=10; // Range of voltmeter 1(Volts)
V2=10;
Ra=25000; // in Ohm... |
5984f8fab27346fb8821b2559143489632d52ec5 | fe5d16cef63488c5ef3f73be54a0981243288d1d | /tests/examplefiles/scilab/bench_chol.tst | d03eea05d736b300eeb8920baf6432b67a7104c4 | [
"BSD-2-Clause"
] | permissive | sailfishos-mirror/pygments | 648bdafcd0cb8128dd684b2eb59b3bbee23f752a | 71cbc18df9f5e3852b37bb7f00f836e480a96a73 | refs/heads/master | 2023-08-31T03:01:26.577979 | 2023-08-18T13:25:25 | 2023-08-18T13:25:25 | 266,720,343 | 0 | 1 | BSD-2-Clause | 2022-11-23T18:55:03 | 2020-05-25T08:05:09 | Python | UTF-8 | Scilab | false | false | 696 | tst | bench_chol.tst | // =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2007-2008 - INRIA
//
// This file is distributed under the same license as the Scilab package.
// ========================================================... |
3107614f60e9d8bccbf39755f6010667b11d86d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH9/EX9.8/8.sci | ffc5e3204bedfddac4f6ff768a5cb70078627a30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sci | 8.sci | clc
clear all;
disp("local transfer coefficient")
tsat=90;// degree C
ta=70;// degree C
L=1.5;//m
d=2.5;//m outer diameter;//
rhol=974;//kg/m^3
k=0.668;// W/m.K
mul=0.335*10^(-3);//kg/m.s
hfg=2309*1000;//J/kg
g=9.81;// m/s^2
hL=((rhol^2)*(k^3)*g*hfg/(4*mul*L*(tsat-ta)))^0.25;
disp("W/m^2.C",hL,"Local heat ... |
3e6b37b37e1f1985bcc803ac4b58b8be6edacee3 | 59ea89f1162f8048d9f7f10f6e6a3a1567c56607 | /expe/eyes/_old/presentation-v2010/spatial_attention_P2.sce | b51cc695741026f0fe9f01ca5d3d997e7704855f | [] | no_license | elshafeh/own | a9b8199efb3511aa1b30b53755be9337d572b116 | ef3c4e1a444b1231e3357c4b25b0ba1ba85267d6 | refs/heads/master | 2023-09-03T01:23:35.888318 | 2021-11-03T09:56:33 | 2021-11-03T09:56:33 | 314,668,569 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,172 | sce | spatial_attention_P2.sce | # header
scenario = "spatial attention PRACTISE SESSION 2";
write_codes = true; # send codes to output port
active_buttons = 2;
button_codes = 1, 2;
default_font_size = 30;
default_text_color = 255,255,255; # white
default_background_color = 0,0,0; # black
# SDL code
begin;
############################... |
6a8af1bc513977cda3551d5787105f270e85c3d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH3/EX3.11/3_11_Fuel_cell.sce | e98810a0b883ed606e8a0fa166abf434a6b3b843 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,600 | sce | 3_11_Fuel_cell.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 3.11 Page 158 \n'); //Example 3.11
// Study of Fuel-cell fan system
Wc =.05; //[m] width
H = .026; //[m] height
tc = .006; //[m] thickness of cell
V = 9.4; //[m/sec] vel of cooling air
P =... |
62cfd61bea1bd3dce22e0f75b03fa1469c6d3693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH33/EX33.1/Example33_1.sce | 149fe92d97ebc5b86ecfe70ef720e5ec3a16e3ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example33_1.sce | //Given that
C = 1.5*10^-6 //in F
V = 57 //in volts
L = 12*10^-3 //in H
//Sample Problem 33-1
printf("**Sample Problem 33-1**\n")
Imax = V*sqrt(C/L)
printf("The maximum current in the circuit is %1.2eA", Imax) |
58727c5f7e36fc54a5e10dc8cebee924070afd4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH1/EX1.9/Ex1_9.sce | ae996ba20cbd8c8512a6a0561c3c1e580b6ff0cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | Ex1_9.sce | // Scilab Code Ex1.9: Page-14 (2008)
clc; clear;
omega1 = 500; // Angular speed of rotating shaft, r.p.m.
omega2 = 0; // Initial angular speed of the second wheel, r.p.m.
I = 1; // For simplicity assume moment of ineria of the wheels to be unity
I1 = I, I2 = I; // Moment of inertia of wheels A and B, kg-Sq.... |
29b84db3d8e3c78fc9c081a19b627e825d52a89d | 1c1157eb9ae639124969d74ed2969f3990c91767 | /src/scilab/timeStretchExample.sci | 5238bd42e0d5ba8d05c1e21ce86b6f1c728afb9b | [] | no_license | JOfTheAncientGermanSpear/Simple-Time-Stretcher-Scilab | c00a9da29d3a73929bbdcbd7edc78ad66b803ac6 | 638360ea04ee4951f9a4e550d45fcea0bc01c867 | refs/heads/master | 2021-01-18T16:29:56.086062 | 2012-05-09T03:15:45 | 2012-05-09T03:15:45 | 4,267,913 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sci | timeStretchExample.sci |
//load files
currentDirec = pwd();
exec(currentDirec + '\stftInterpolate.sci', -1);
exec(currentDirec + '\timeStretch.sci', -1);
exec(currentDirec + '\angle.sci', -1);
exec(currentDirec + '\istft.sci', -1);
exec(currentDirec + '\stft.sci', -1);
stacksize('max'); //allows big files to be opened
recordingFile = 'your... |
87de57fb824e09193618b073afa8baa1c7e8ccce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH2/EX2.4/Ex2_4.sce | f85ac280dc74671288bc3a41a50bef8c8712e435 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | Ex2_4.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter2
//example 2.4
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Ls=8;//snubbing inductor in microhenry
VBO=4000;//base voltage in volts
di=200;//rate of change of current (di/dt) in amperes per microsec
dv=1500;//rate of... |
678b6f7326f0e1eca62c08dc9626b2cd7f69dbed | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.50/50.sce | 24ba8cb3c43f495843215037365cfe1fde0e5899 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | 50.sce | clc
cp=2.093; //kJ/kg0C
c=4.187;
Lf=333.33; //kJ/kg
m=1; //kg
T0=273; //K
T1=268; //K
T2=298; //K
Q_s=m*cp*(T0-T1);
Q_f=m*Lf;
Q_l=m*c*(T2-T0);
Q=Q_s+Q_f+Q_l;
disp("(i) Entropy increase of the universe")
ds_atm=-Q/T2;
ds_sys1=m*cp*log(T0/T1);
ds_sys2=Lf/T0;
ds_sys3=m*c*log(T2/T0);
ds_total=ds_sys1+ds_... |
7c331cd196b14924c2ed8bb3db19ffb735548ede | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH1/EX1.5.5/Ex1_5_5.sce | 389ba449157b15ec9497565a94ff0246afa06a25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Ex1_5_5.sce | clear;
clc;
P=760;//in torr
dP=52;//in torr
dT=2;//in K
DelH_RTb=10.5;//Trouton rule
Tb=(DelH_RTb*P)/(dP/dT)
printf('Tb=%.1f K',Tb)
R=8.314;//in J/Kmol
DelH_v=(DelH_RTb*R*Tb)
printf('\nDelH_v=%1d J/mol',DelH_v)
//There are some errors in the solution given in textbook
//page 17
|
3dfa11e06fdcf63b91756f72c09f7aac5a551506 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.15/Example5_15.sce | 09a620c888bdc308623f61da6a1ce25f6be3fadd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | Example5_15.sce | //Exa 5.15
clc;
clear;
close;
//Given data :
f=50;//Hz
l=100;//km
P=50*10^6;//W
pf=0.8;//power factor
cos_fi_r=pf;
sin_fi_r=sqrt(1-cos_fi_r^2);
VRL=132*10^3;//Volt
VR=VRL/sqrt(3);//Volt
R=0.1*l;//ohm
XL=0.3*l;//ohm
Z=R+%i*XL;//ohm
Y=3*10^-6*l;//S
IR=P/(sqrt(3)*VRL*pf);//A
IR=IR*(cos_fi_r-%i*sin_fi_r);... |
3dddd2562d88d4d5164c836a4504c2c8af464ba0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.1/ex_4_1.sce | 7ffbfebdda612f8cbd73d45025ab69f35c90cb87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | ex_4_1.sce | //Example 4.1 //MSCP
clc;
clear;
close;
format('v',3)
F=1000;//intensity in lumens
MSCP=F/(4*%pi);// MSCP of the lamps
disp(MSCP,"MSCP of the lamp is")
|
e611ae56095b03c6bd27d5a23491c9f9b5fc4348 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH10/EX10.2/10_2.sce | 5a6777bbdc949a386e84c43192aa82e6953f6afb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | 10_2.sce | // Part (a)
R = 0.287; T1 = 273+150; v1 = 0.96; v2 = 1.55; Cp = 1.005;
P = (R*T1)/v1;
W = P*(v2-v1);
T2 = (v2/v1)*T1;
Q = Cp*(T2-T1);
disp("If the fluid is in the air")
disp("K",T2,"The final temperature is ")
disp("kJ",Q,"The heat transferred is")
disp("kJ",W,"Work done is")
// Part (b)
vg = 0.3928;
P1 = 2... |
a3563f84eb889ab2379115c745ee15c2af19bcba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH2/EX2.4/2_4.sce | 0c30387fe7a17dfa18da5b7e58bcae75d006b1ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_4.sce | //Find radius of first orbit of electron in Hydrogen atom
//Ex:2.4
clc;
clear;
close;
n=1;//first orbit
e_0=8.85*10^-12;//permittivity in freee space
h=6.62*10^-34;//planck's constant
m=9.1*10^-31;//mass of an electron in kg
e=1.6*10^-19;//charge of an electron in C
z=1;
r=n^2*e_0*h^2/(3.14*m*e^2*z);//radius... |
517765fd2911447d5cfe4a59117e0dec74d22529 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH9/EX9.7/Ex9_7.sce | 6ad70da8d9b3b318592fb150604bbaa68e104521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,002 | sce | Ex9_7.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 7")
T1=313;//air entering temperature in K
P1=1*10^5;//air entering pressure in Pa
m=50;//flow rate through compressor in kg/s
R=0.287;//gas constant ... |
9fb41ee39b5e3550b1a89b7fd5610a47489442c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH8/EX8.11/8_11.sce | 1ac0346b61f02294304a1b3462e5841e3b644475 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 800 | sce | 8_11.sce | //Diameter and head//
pathname=get_absolute_file_path('8.11.sce')
filename=pathname+filesep()+'8.11-data.sci'
exec(filename)
//Value of K*B^2:
K_B=Q/(%pi/4*D^2)*sqrt(0.5*d1/g/d2/h)
//Reynods number:
ReD1=4/%pi*Q/D/v
//By trial and error method, the value of beta is fixed at:
betta=0.66;
//K is then:
K=K_B/... |
773e67dd58a90b09f1983fd907aa6c95dd55d102 | 717ddeb7e700373742c617a95e25a2376565112c | /608/CH19/EX19.04/19_04.sce | 08e14076f4c42156729f07a37c133e356b34fa88 | [] | 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 | 933 | sce | 19_04.sce | //Problem 19.04: A 415 V, 3-phase, 4 wire, star-connected system supplies three resistive loads as shown in Figure 19.7. Determine (a) the current in each line and (b) the current in the neutral conductor.
//initializing the variables:
V = 415; // in Volts
PR = 24000; // in Watt
Py = 18000; // in Watt
Pb = 12000... |
e769e0e0107064b3118de87b40bfe7c206eecd61 | 7abf244df592856674c2ad7f05651421f953a699 | /ReinforcementLearning/MDP.sci | 1405911131940be1404878856bf90189341d4c78 | [] | no_license | prasadovhal/Machine-Learning-Codes | 5098787d7321ae00f43756d9b9b5cad6ce53f2aa | ef01c89de18b588b038b377b92d6df4e498b5224 | refs/heads/master | 2020-04-10T06:37:25.812075 | 2018-12-10T11:19:02 | 2018-12-10T11:19:02 | 160,859,954 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sci | MDP.sci | clear;
N=10; P=0.8; gamma=0.9;
U=diag(ones(1,N));
T=zeros(N,N,2);
r=zeros(1,N)-0.1; r(1)=-1; r(N)=1;
T(1,1,:)=1; T(N,N,:)=1;
for i=2:N-1;
T(i,i-1,1)=P;
T(i,i+1,1)=1-P;
T(i,i-1,2)=1-P;
T(i,i+1,2)=P;
end
policy=floor(2*rand(1,N))+1;
Vpi=zeros(N,1);
iter = 0;
converge=0;
while ~converge
iter = iter ... |
ffca978713cf7d33df5735eb17028f28d511bc83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.33/example1_33.sce | 5c4e6838f89e1d3a0b2ef5e516fae2aedd62ca4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | example1_33.sce |
//exapple 1.33
clc; funcprot(0);
// Initialization of Variable
longP=60+30/60;//longitude of place
GST=7+30/60+48.6/3600;//GST at GMM
RA=17+28/60/40/1600;
dot=longP/15;//difference in time
i=dot*9.8565/3600;//error
gmm=GST-i;//LST at L.M.N
LMT=RA-gmm;//local mean time
disp("local mean time in past mid... |
16ba3940f6e798f9ba92dbb870df765b3770cfdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.16/Ex3_16.sce | bdebb00e1af0a868a7c23cb1c01ffa38c6bf0b34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | sce | Ex3_16.sce |
//===========================================================================
//chapter 3 example 16
clc;clear all;
//variable declaration
E =200; //limiting voltage in V
R = 1000; //resistance in Ω
eE = 1; //relative limiting error(dE/E) in %
eR = 5; //re... |
1b684beef9dc0d403686e9073b651035798d1d08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH1/EX1.8/ex1_8.sce | cf3fd8670f8c706ed9b28d32c27238e41a5cc8b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | ex1_8.sce | //Introductory Topics :example 1-8 : (pg no. 24)
k=1.38*10^-23;
T=(35+40+52);//total temperature
df=(1*10^6);
Teq=52;
To=290;
Pn=(k*T*df);
x=(Teq/To);
NR=(x+1);
NF=(10*log10(NR));
printf("\nPn = k.T.delta(f) = %.17f W",Pn);//Noise power
printf("\nTeq = To(NR-1) \nNR = %.2f",NR);//noise ratio
printf("\nNF = ... |
cfde0d40e2eb4db0c7c4765954e50f2bfc52952a | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH5/EX5.8/Example5_8.sce | ce9c0602fa809f904762b22dbe6df5a7b7ff4728 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | Example5_8.sce | //Example 5.8
clear;
clc;
As=-5;
Ri=30*10^3;
Vs=15;
R1=Ri;
R2=abs(As)*R1;
Rp=(R1*R2)/(R1+R2);
Vosmax=6*10^(-3);
Iosmax=200*10^(-9);
EImax=Vosmax+(Rp*Iosmax);
RA=1*10^3;
Rpc=Rp-RA;
EImaxs=EImax+(4*10^(-3));
RB=RA*(Vs/EImaxs);
RC=100*10^3;///Choosing RC=100 kohms
printf(... |
67bf21d33609e5f423882bbac31b3c5b3ab2fd53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH17/EX17.12/Ex17_12.sce | cf89d7ecd65008c9ae7be9d78a499dfe638aaa3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex17_12.sce | // Example 17_12
clc;funcprot(0);
//Given data
m_s=10;// Tonnes
U=4;// KW/m^2.°C
P=0.2;// bar
//Calculation
h_fg=2358.3;// Latent heat of steam at 0.2 bar pressure in kJ/kg
Q=(m_s*1000*h_fg)/3600;//kW
//The given data is T_s-T_wo=10°C; T_wo-T_wi=20°C;Using this two equations,we get
Theta_i=30;//°C
Theta_o=... |
28c0ced98060f095b4fa54db4ecd4acfe20126aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH8/EX8.21/8_21.sce | 6156a53bed1f61bd2b05b3e403a8ff4900836d72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | 8_21.sce | //8.21
clc;
R2=5.6*10^3;
R1=1*10^3;
Avf=1+R2/R1;
printf("Mid band Gain=%.2f", Avf)
Vin=1.6;
Vo=Avf*Vin;
printf("\nOutput voltage=%.3f mV", Vo)
R=1000;
C=0.001*10^-6;
fc=1/(2*%pi*R*C);
printf("\nCutt off frequency=%.2f Hz", fc)
Gain=0.707*Avf;
printf("\nGain=%.3f", Gain)
|
e4f5e5fe5fa43adae8613f25624a7ef380561e14 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/ofemdemo/demo_2bay.sce | 135eba07d98037af0b82f5ee986a4acd3d5fe7e1 | [] | 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,322 | sce | demo_2bay.sce | //=========================================================//
// DEMO_2BAY //
//=========================================================//
//---------------------------------------------------------//
// 1. Boundary conditions and constraints //
// See s... |
4db4e8acc1f28f7c1e35a46ea06c1ff8fba296af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH5/EX5.6/Ex5_6.sce | 69697627fb410c8db102ae36f3c0f770ac6ead8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Ex5_6.sce | clc;
clear all;
//page no 157
//prob no. 5.6
fLO=110; //MHz
//for V2(f)
f=[0:.01:231+.01]; //x axis
function V=pulse()
V=[]
for i=1:.005:1.5
V=[V i]
end
endfunction
V2=[zeros(0:.01:120-fLO-.01) pulse() zeros(121-fLO+.01:.01:120+fLO-.01) pulse() 0]; //y axis
clf;
subplot(21... |
95376b7e4226921ab084125ba15bb24e51a69f59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.1/Ch04Ex1.sce | 387b55fe6ede1e3db28f2cbce8143b4222389aa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | sce | Ch04Ex1.sce | // Scilab code Ex4.1 : Pg:139 (2008)
clc;clear;
I_max = 36; // Maxiumum intensity of interfering waves
I_min = 1; // Minimum intensity of interfering waves
// As (a + b)/(a - b) = sqrt(I_max/I_min), solving for a/b
a1 = sqrt(I_max)+1; // Amplitude of first wave, unit
a2 = sqrt(I_max)-1; // Amplitude o... |
d8654772be740607d36936784dcc3f705d4b11dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH2/EX2.1/Ex2_1.sce | 25890574d48aedd7fde14d2db4dfaf4894f3f3ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Ex2_1.sce | // Calculation of ultimate tensile strength
clc
K = 689655 // in kPa
n = 0.5
A0 = 1 // let
printf("\n Example 2.1")
sigma = K*n^n
A_neck = A0*exp(-n)
P= sigma*A_neck
UTS = P/A0
printf("\n True ultimate tensile strength is %.2fkPa",sigma)
printf("\n Engineering UTS of material is %.2f kPa",UTS)
// Answer ... |
cf72f88f45773fced69dbb5a9a81ac118113f036 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH2/EX2.10/Ex2_10.sce | f06fbdb9c60fcfc721eca915a63dd8ac4d0edd2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_10.sce | clear; clc; close;
vgs1=0.140;//obtained from figure
vgs2=0.212;//obtained from figure
k=1.3807*(10^(-23));//boltzmann constant
t=300;//temperature in kelvin
q=1.6*(10^(-19));
n=((vgs2-vgs1)*q)/(k*t*log(10));
s=60*n;
disp(n,'for PMOS device');
disp(s,'slope factor(in mv/decade)');
|
b548c01d7fcc81c3e353eafcf253463508dbd9cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH10/EX10.09/10_09.sce | f3f8141f14c237adbd85062c5a3d5d5d1e46c7fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | 10_09.sce | //Problem 10.09:
//initializing the variables:
EA = 10
x = 0.10
Da = 117
Db = 0.04521
Dr = -6.53E-6
DH0co2 = -94054; // in cal/gmol
DH0h2o = -57798; // in cal/gmol
DH0c2h6o = -56240; // in cal/gmol
//calculation:
DH0298 = 2*DH0co2 + 3*DH0h2o - DH0c2h6o
DHP = -1*DH0298
DHPl = (1 - x)*DHP
//DHPl = Da*(T... |
267ea9151ae0570f4de46164a1214d2d552ccedf | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.5.4/Ch1Exa1_5_4.sci | b79acd1cbd6083d60dcdbc18651c6efc2d09a74d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch1Exa1_5_4.sci | // Scilab code Exa1.5.4 : To calculate binding energy of Fe-56 : Page 38 (2011)
M_Fe = 55.934939; // Mass of Fe-56, amu
M_p = 1.007825; // Mass of proton, amu
M_n = 1.008665; // Mass of neutron, amu
Z = 26; // Atomic number of Fe-56
N = 30; // Number of neutron in Fe-56
amu = 931.49; // Atomic mass unit, MeV
BE ... |
0abeca98cd8bc038dadcce737531aa0d2266d1ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH2/EX2.5/5.sce | 7cbd5cf840a685588668cc6855fa7a96ba751904 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | 5.sce | //Example 2.5 On Stagnation Point
// Initialisation of variables
h = 50;
v = 100*5280/3600; //Speed in feet/sec
rho_0 = 0.002378;
rho_10000 = 0.001756;
// Calculations
Po = w*h;
Ps_Po1 = (1/2)*rho_0*v^2;
Ps_Po2 = (1/2)*rho_10000*v^2;
V = 0.682*sqrt(Ps_Po2/(rho_0/2));
//Results
disp(V, "Part... |
d1fdaf3e489b7e5a989bdd3a8117556c00b73a9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH9/EX9.14/9_14.sce | f1a6022b90fe0bd7ad17cd11e8eec20563e86dce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | 9_14.sce | //Determine moment of inertia
//refer fig.9.39
A1=100*30 //mm^2
A2=100*25 //mm^2
A3=200*20 //mm^2
A4=87.5*20/2 //mm^2
A5=87.5*20/2 //mm^2
A=A1+A2+A3+A4+A5 //mm^2
ybar=(3000*135+2500*70+4000*10+875*(20/3+20)*2)/A //mm
Ixx=((100*30*30*30)/(12))+(3000*(75.74^2))+((25*(100^3))/(12))+(2500*(10.74^2))+((200*(... |
df8db1214f2255c1a460bf5873bce3b9bd3deeaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH13/EX13.5/13_5.sce | f05efa61aecf3addd5b86fc5924e71a2b416a529 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13_5.sce | clc
//initialization of variables
Tt2=1620+460 //R
Tt1=60+460 //R
Mi=0.2
P=40 //lb/in^2
g=1.35
//calculations
Tratio=Tt2/Tt1
disp("From figure")
fM=4*0.036
NM2=0.49
Pratio=0.98/0.885
Pt2=P/Pratio
//results
printf("Final stagnation pressure = %.1f //lb/in^2",Pt2)
printf("\n Final mach number = %.3f",fM)
... |
0636520719cc1a8675651e240af57c9fedccefff | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH7/EX7.7/7_7.sce | b209c0e5cd47fe0702ada94fb81f474fa07b6b42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 931 | sce | 7_7.sce | clear; clc; close;
Idss = 6*10^(-3);
Vp = -3;
Vdd = 18;
Rd = 1.8*10^(3);
Rs = 750;
Vg = 10*10^(6)*18/((10+110)*10^(6));
Vgs1 = Vp;
Id1 = 0;
Vgs2 = Vp/2;
Id2 = Idss/4;
Vgs3 = 0;
Id3 = Idss;
Vgs4 = 1;
Id4 = Idss*(1-(Vgs4/Vp))^2;
disp(Id4);
x = [Vgs1 Vgs2 Vgs3 Vgs4];
y = [Id1 Id2 Id3 Id4];
yi=smo... |
916d8a4fcbda051236d9dd175f8a7a1d6b7d9c42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH7/EX7.3/Ex7_3.sce | 8da0edd1aebf3103eb502d22526d9c29655dfc71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Ex7_3.sce | clear
//
//
//
//Variable declaration
chi=0.5*10**-5 //magnetic susceptibility
H=10**6 //field strength(ampere/m)
mew0=4*%pi*10**-7
//Calculation
I=chi*H //intensity of magnetisation(ampere/m)
B=mew0*(I+H) //flux density in material(weber/m**2)
//Result
printf("\n intensity of magnetisation is %0.3f a... |
b9ffeff94e68ce7335afc3d7fccf60bfebfa168d | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH6/EX6.9/6_9.sce | bf2c82c1ffb91c008034d4797aa292a8d86733c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | 6_9.sce | //Eg-6.9
//pg-294
clear
clc
//Theoretical Problem
disp("The example is solved analytically.") |
76a062b143945f857d03c13bcff3c8e9aeee69aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.7/Ex5_7.sce | 1f52cdcc94b0c1ce8d0467a34a5eb75e62f5b4af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex5_7.sce | clear;
clc;
l = 20;// feet
b = 9;// inches
h = 10;// feet
w = 120;// lb. per cub. foot
f = 1100;// lb/in^2
W = w*(3/4)*l*h;// lb-wt
BM_max = W*l*12/8;// lb-inches
//assumnig d = 2b
b = (6*BM_max/(f*4))^(1/3);// inches
d = 2*b;// inches
printf('b = %.2f inches\n d = %.2f inches',b,d);
printf('\n A section %... |
6867ccdfa56e5361ce556b4fdd2429e67e2eaae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH15/EX15.7/ex7.sce | 58104be3bfbd1af488c3568196d72ea53fcb0d43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,908 | sce | ex7.sce | //ques7
//calculating enthalpy of water at given pressure and temperature
clear
clc
//1.Assuming steam to be an ideal gas with value of Cp
T1=298.15;//Initial temperature in K
T2=573.15;//final temperature in K
T=(T1+T2)/2;//average temperature in K
Cp=1.79+0.107*T/1000+0.586*(T/1000)^2-.20*(T/1000)^3;//specifi... |
32d913f678278b21a71e973fe463504ac16825b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH6/EX6.15/Ex6_15.sce | 8db57256dfcdb02e12d815b9ed5ccfb8ca09dc57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex6_15.sce | //chapter 6
//page no182
//Ex6_15
//given
clear;
clc;
dV=40; //in mV
di=2.5; //in Amp
Lbypas=0.5; //in nH
fL=dV*10^-3/di/2/%pi/Lbypas/10^-9;
printf("fHnoise = %0.1f MHz",fL/10^6);
|
52a2f943530769264941c1ad23f93cd0d50c287a | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH8/EX8.10/8_10.sce | d731832aec599eeff6b7d09ee5d9e9fc964f10af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | 8_10.sce | clear; clc; close;
yos = 50*10^(-6);
Idss = 10*10^(-3);
Vp = -4;
Vgsq = -2.2;
Idq = 2.03*10^(-3);
Rd = 3.6*10^(3);
Rs = 1.1*10^(3);
Vi = 40*10^(-3);
gmo = 2*Idss/abs(Vp);
gm = gmo*(1-(Vgsq/Vp));
rd = 1/yos;
Zi = Rs*((rd+Rd)/(1+gm*rd))/(Rs+((rd+Rd)/(1+gm*rd)));
Zi2 = Rs*gm^(-1)/(Rs+gm^(-1));
Zo = Rd*rd... |
d8c64cca80a65a383d49e4a04da40e34ad606695 | dc5a2fe4380e1453a12f15f5080b10f3ababb9de | /AutomationTools/bin/1.0/common/ATLAS/tools/txtfile/sh_pc_ether_0.tst | 8bbcbe4f4f99e6b922f37cc4b51ef2b1a328cdf9 | [] | no_license | jameshilliard/PythonCode | f72ad62bb8b8cafbc94cbe7c0d3065343fdf0f98 | 422543bc049f57a67d53ec0b89caef076297cdc5 | refs/heads/master | 2020-04-09T00:06:25.689609 | 2015-03-14T13:14:34 | 2015-03-14T13:14:34 | 32,722,067 | 3 | 0 | null | 2015-03-23T09:21:52 | 2015-03-23T09:21:52 | null | UTF-8 | Scilab | false | false | 4,817 | tst | sh_pc_ether_0.tst | -v G_USER=jonguyen
-v G_CONFIG=1.0
-v G_TBTYPE=pc
-v G_TST_TITLE="Parental Control"
-v G_PROD_TYPE=MC524WR
-v G_HTTP_DIR=test/
-v G_FTP_DIR=/log/autotest
-v G_TESTBED=tb_pc
-v G_FROMRCPT=qaman
-v G_FTPUSR=root
-v G_FTPPWD=@ctiontec123
-v U_USER=admin
-v U_PWD=admin1
-v G_LIBVERSION=1.0
-v G_LOG=$SQAROOT/automation/log... |
6837e7de776ef1c26c0be4cece7d668050fd7ae8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH6/EX6.2/Exa6_2.sce | 3c1bb0f091985af6ba4989666cc59e4008306403 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Exa6_2.sce | // Exa 6.2
clc;
clear;
close;
// given data
R=10;//in Kohm
C=0.01;//in uF
R1=4.7;//in Kohm
RF=47;//in Kohm
fc=1/(2*%pi*R*1000*C*10^-6);//in Hz
AF=1+RF/R1;//unitless
disp(fc/1000,"Cut-off frequency in KHz is ; ")
disp(AF,"Pass band gain is ; ") |
f9058a720ae0368882f45ea8ffd1bb99e0772002 | 047d952507eb3b9d71fac69ec3332225f17f53ef | /main/out/main/testfiles/test14.tst | d171111fd24dd76722177dac8eb7868113e1735d | [] | no_license | patrick-nanys/project-laboratories-hw | 89ab8f366219f491e6feba5558bf41ef8205dda1 | ba57a9d5e4ca33a3cc1be3cdb4fe679fe0149f93 | refs/heads/master | 2022-08-09T14:14:31.220503 | 2020-05-18T11:20:03 | 2020-05-18T11:20:03 | 250,313,203 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | tst | test14.tst | 5;eee;0
5;f,t
3;p,r
4;s,d
p1;-;p;-;3;3;3,5
-;p3;-;-;0;1;3,4
-;-;F;-;3;6;1,2
-;-;-;-;3;8;2,5
p2;-;-;i;3;5;1,4
startGame
stepPlayer 5
usePlayerItem f
swipeSnow
stepPlayer 4
stepPlayer 4
status |
1565c127baa1036ce3313055831c3373170e38e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH9/EX9.4/example9_4.sce | e746edea7a8486d34953f1c490244ea2585ff435 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 756 | sce | example9_4.sce | v=12;
c=1.5;
t=10.5;
i=10;
disp("Part a");
r=(v-vt)/i;
disp("the internal resistance (in Ω) of the battery is"); disp(r);
disp("Part b");
p_v=(v-vt)*100/vt;
disp("the voltage regulation (in V) is"); disp(p_v);
disp("Part c");
rl=2;
il=v/(r+rl);
disp("the current (in A) is"); disp(il);
vl=v-il*r;
disp("th... |
73f83780bae25a88382a445c6ed2c7b06b041085 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Sem Interface Grafica/Engine/C8_RESULTADOS.sce | 89a25a4edc404602e4e0d51a03c86c1837cc442a | [] | 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 | 14,514 | sce | C8_RESULTADOS.sce | // RESULTADOS
// A execução deste programa assume que os seguintes já foram executados:
// C0_INIC | C1_BARRAS | C2_MAT_LOC | C3_MAT_GLOB | C4_REST_APOIO
// C5_AMORTEC | C6_CARGAS |
// Assim como um dos quatro programas seguintes:
// C7a_NEWMARK_CTS | C7b_NEWMARK_ATS_BERGAN
// C7c_NEWMARK_ATS_HULBERT | ... |
be6c609f5d4de2e988e124dd3b64acbc4921180f | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.74/Ch3_3_74.sce | 14d3180c58533d97a09e41ee8a9b127cc5a81dbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | Ch3_3_74.sce | clc
disp("Example 3.74")
printf("\n")
disp("Find the Ve, Ic,Vce & Vc. Draw a DC load line for Voltage divider circuit")
printf("Given\n")
//given
Vcc=15
Vbe=0.7
hFE=50
R1=6.8*10^3
R2=3.3*10^3
Rc=0.9*10^3
Re=0.9*10^3
//thevenin voltage
Vt=(Vcc*R2)/(R1+R2)
//thevenin resistance
Rt=(R1*R2)/(R1+R2)
//base current
Ib=(V... |
cfc3ac962ec4f5c0dd2fbad1e397f222c14cb533 | fff63b10dfa84ecd9c87ad2e4be488cb4fe082f2 | /CSIT_GUI_Tool.sci | 9b767e9e4aa75008d7e8c7fbc622a080015d06c6 | [] | no_license | sanchit95/CSIT_GUI_Tool | c6a538d0e6fe4c20a80adffa656e0dbe053ff451 | 320f90ff88dddcbfb66a430b78dc4302e8911c93 | refs/heads/master | 2022-10-07T11:34:40.216194 | 2022-09-21T11:11:02 | 2022-09-21T11:11:02 | 75,521,857 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 34,241 | sci | CSIT_GUI_Tool.sci | defaultfont = "arial"; // Default Font
demo_lhy = scf(100001);// Create window with id=100001 and make
//it the current one
// Background and text
demo_lhy.background = -2;
demo_lhy.figure_position = [100 0];
demo_lhy.figure_name = gettext("Control System");
// Change dimensions of the figure
demo_lhy.axes_size... |
5dd970eeeeac509d5de4bce5af077e6a11de4cc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH3/EX3.11/Ex3_11.sce | a033bf8a20c5df07e1451b4d8d17395e3abaed49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Ex3_11.sce | //Example 3.11
//Computing DC gain of the system.
clear;
clc;
//------------------------------------------------------------------
//Transfer Function
s=poly(0,'s');
num=3*(s+2);
den=(s^2+2*s+10);
Ys=syslin('c',num/den);
//The DC gain of the system Y(s) as s-->0 is
DC_Gain=horner(Ys,0)
disp(DC_Gain,"The... |
0476d6b1a8702dcf5b4159054adb304c80ae21d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH6/EX6.9/Chapter6_Exampl9.sce | e84995749ac87a07fc660bcbfb8a86b0177b5279 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,646 | sce | Chapter6_Exampl9.sce | clc
clear
//INPUT DATA
cpic=1.94;//specific pressure inkJ/kgK
cpv2=2.805;//specific pressure in kJ/kgK
t21=303;//condenser temperature in K
t1=258;//evaporator temperature in K
t31=293;//subcooled temperature in K
p1=2.36;//pressure in MPa
p2=11.67;//pressure in MPa
hf1=112.3;//enthalpy in kJ/kg
hfg1=1313.7;... |
745d598cff1694487c15b703828deb84a0ff73ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.39/Ex4_39.sce | 568d744b507c533252284c0d5ec1d1bed7df2524 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | Ex4_39.sce | clc
//Variable Initialisation
Ea=600//Input Voltage of motor in volts
Ia=500//Armature Current in Ampere
d1=0.6//Duty Ratio
Ra=0.05//Armature resistance in ohm
Rf=0.07//Field Resistance in ohm
K=15.27e-3//Motor Constant
//Solution
E0=d1*Ea
Pin=E0*Ia
Re=Ea/(Ia*d1)
Eb=E0-(Ia*(Ra+Rf))
W=Eb/(Ia*K)
N=W*60/(2*%... |
7b1c08f06d39a759e6126e71267814379a74c65b | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH13/EX13.4/ex4.sce | b63e40d143164f3d2bc722755a7ffadf8824411b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | ex4.sce | // Chapter 13_Optical Devices
//Caption_Solar concentration
//Ex_4//page 605
JL=150*10^-3 //PHOTOCURRENT DENSITY
Js=3.6*10^-11 //reverse saturation current density
Voc=0.0259*log(1+JL/Js)
printf('Open circuit voltage when solar concentration is used is %1.3f V',Voc) |
374b276a44155128352867e663d992daf027646d | 39d212a1aaf3f1dfc8993d47aef9f7b8d4c34008 | /2.sce | b765e1b0b4fde3c7bc2b3a7105b28a0c24f037da | [] | no_license | majsterkovic/ni-scilab | 25e6ef2c46c0973a48f651b7dfaafed5dbffb5c6 | 05d98042fb4bc424638f0832d1a14bdfce625d53 | refs/heads/master | 2023-03-12T09:50:27.944550 | 2021-03-01T22:35:17 | 2021-03-01T22:35:17 | 343,575,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28 | sce | 2.sce | V=[1,2,3,4]
V = V+1
disp(V)
|
ba1ab2ff13bc78008e4e22d422067eb6b72513f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH14/EX14.7/Example14_7.sce | 684d249e72dddfcd09478004c809606bcaf7dc2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 927 | sce | Example14_7.sce | //Example 14.7
//Program to:
//(a) Convert optical signal powers to dBm
//(b) Convert optical signal powers to dBu
clear;
clc ;
close ;
//(a)Convert optical signal powers to dBm
Po=5*10^(-3); //Watt - GIVEN OPTICAL POWER
dBm=10*log10(Po/1*10^3);
printf("\n\n\t (a)The %1.0f mW of optical power is equ... |
c47fe779ac5704f5a24d0551b70c71d9b37a10b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH22/EX22.15/22_15.sce | 822e2a296955bee96783aa046510e672dd04ceb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | 22_15.sce | //Chapter 22, Problem 15
clc;
p=8/2; //pairs of poles
c=2;
phi=25e-3; //flux
Ia=30; //armature current
Z=900;
T=(p*phi*Z*Ia)/(%pi*c); //torque
printf("Torque = %.1f Nm",T);
|
64294cc9a9ba557de948005b68c2285de7436d6e | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/dc/adit/smart.sce | 6b2500dfc5fa90344a7c0bdc8dfedfb82c49f095 | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | sce | smart.sce | x=1:10; // Init.
// combinations' order does not matter
plot(x,x.*x,'*cya--')
|
8ec890c77c35b06e0452f8005f7ceb86666ead80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3480/CH4/EX4.3/Ex4_3.sce | 3dccea4b66a960844eb6998e476efb84f7b07e5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sce | Ex4_3.sce | //Example 4.3, page 89
clc
n=1.520
f=25//in cm
r2=-(f*(n-1))
printf("\n The radius of curvature is %f cm",r2) |
ff7f72c580fbca43874b4265e007b690820cc250 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH6/EX6.5/6_5.sce | a169fa6d08c44b4c972eacbe25713f07861bce15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | 6_5.sce | clc
//initialisation of variables
d1= 3 //in
d2= 6 //in
sm= 13.6
Q= 0.5 //ft^3/sec
g= 32.2 //ft/sec^2
//CALCULATIONS
v1= Q*(12/d1)^2*4/%pi
v2= Q*(12/d2)^2*4/%pi
hc= (v1-v2)^2/(2*g)
h= ((v1^2-v2^2)/(2*g))-hc
h1= 12*h/(sm-1)
//RESULTS
printf ('difference in level in two limbs of mercury= %.3f in',h1)
|
9e6425bf3dd83d969594d41dfd98e8832172622b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH12/EX12.2/Ex12_2.sce | caa2620c982cc35f8b14fbd0df70a9946ab230fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Ex12_2.sce | //Chapter 12 : Semiconductor Physics
clear;
//Variable declaration
myun=0.36 //mobility of electrons
myup=0.14 //mobility of holes
e=1.6*10**-19
rhoi=2.2 //resistivity
//Calculations
ni=1/(rhoi*e*(myun+myup))/10**18
//Result
mprintf("Intrinsic concentration= %.3f*10**18 m*... |
567cbd6b35098e4a4bb043057d186fcba265e635 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH7/EX7.4/Ex7_4.sce | 8cf0c7c2269c699706273ae2ae2b7e48d47eb261 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_4.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 7 Field Effect Transistors Pg no. 225
clear;
clc;
//Given Data
IDSS=15D-3;//drain saturation current in amperes
gm0=5D-3;//transconductance for VGS=0 Volts in Siemens
gm=2.5D-3;//transconductance in Siemens
//Solution
ID=IDSS*(gm/gm0)^2;//drain current in... |
31e47e89087c8d0bef4acab05a20ea8a25470735 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH5/EX5.4/Ex5_4.sce | f7b4b3116de0fbe720bad0797b0247c7476e648c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 994 | sce | Ex5_4.sce | //clear//
//Example5.4:System gain and upper break frequency
//Page 140
//figure 5.6
clear;
clc;
//STAGE 1
disp("Stage 1");
Rf1=14000; //in Ohms
Ri1=2000; //in Ohms
Av1=1+(Rf1/Ri1);
disp(Av1,"Av");
Anoise1=1+(Rf1/Ri1);
disp(Anoise1,"Anoise");
GBW=1*10^6; //in Hz (from Datasheet)
f1=G... |
2c93871770f96e3b80b16db7b009bfaaf6c4737c | e4381b32d21150427f93b058541bb3343752bb0f | /sablona_berliner/zapisnik/Shrnuti.sce | e4210324ea4c4227dd7d9b5249c098ee519c322a | [] | no_license | pirati-cz/plisty | c095da00bfa89792f8eb676fd5b756fc1454659d | 815dbc58f7a47f1b2740ffa068a2ff5f909ecba8 | refs/heads/master | 2020-12-24T19:04:07.572707 | 2016-05-16T20:52:51 | 2016-05-16T20:52:51 | 58,966,482 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,343 | sce | Shrnuti.sce | <SCRIBUSELEMUTF8 W="191.3385827" H="198.4251968" previewData="iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAACfJJREFUaIHtmclzVccVh8/p7jvfd98oCQkkJBCTBAhkCwiDp+CiYieVGMcpx8487JxUlsnCf0HWWSfbeJMKqbJju4gdDLGNjAELgoxkCQuE0PT0pjv3kIV4LsVlyoBcZVeib/Fev359zr2nz61fn+4LsMYaa6yxxh... |
96bd07b5078a5ce7ee230d2bbcf8eeaf1326457f | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.14/example10_14.sce | 0ecb626b40f3d287ee76c1d40489d180bd95ac17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,813 | sce | example10_14.sce | //Chapter 10
//Example 10_14
//Page 248
clear;clc;
ll=100;
r=0.1;
xl=0.5;
y=10*1e-6;
pd=20*1e6;
pfr=0.9;
v_r=66*1e3;
tr=r*ll;
ty=y*ll;
txl=xl*ll;
z=tr+%i*txl;
vr=v_r/sqrt(3);
ir=pd/sqrt(3)/v_r/pfr;
ir_p=ir*(pfr-%i*sin(acos(pfr)));
ic1=vr*%i*ty/2;
il=ir_p+ic1;
vs=vr+il*z;
ic2=vs*%i*ty/2;
is=il+ic2;
theta1=atan(imag(... |
6ba386e8ecbc8b5d4d24e8221168ad3310960738 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test2-6.tst | b4802597e1a66b434033546ce79bceb25c8b363b | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | tst | test2-6.tst | main
function f();
{
return call inputnum
};
function g(x);
{
return 1 + 3 * x
};
procedure h(x);
{
call outputnum(x)
};
{
call h(call g(call f))
}.
|
758f4981164ef99d2739e344219a5901067398a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH9/EX9.6/example9_6.sce | 838dc190eb0ff7b2e2768e43b0a363f0c392f47a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | example9_6.sce | // to find the shortest pulse width that can be displayed
// example 9-6 in page 262
clc;
//DATA GIVEN
Rs=3.3e+3; Ci=15D-12;// source resistance in ohm and input capacitance in farad
//calculation
printf("shortest pulse width=%.3f micro-second",10*Rs*Ci*2.2*10^6);//here shortest pulse width =10*tuo in seconds whe... |
1e7f7b4d470549b3fa5b077b3d1a78cfc7183e2d | affb43e91a6a0cac39356ff1c5f9f5154b70a4a2 | /Application of DSP/eacho.sce | 22fa0b8d7c23957f68d233a4423531d6e7ee0c59 | [] | no_license | kathan-shah99/Digital-signal-processing | 87fb0615a98a764c546681ffb18fea32d69caa6d | 3d5ad3553152a2b57f98a3b1a26756ebca37d7bc | refs/heads/main | 2023-04-07T06:53:06.263109 | 2021-04-07T03:57:52 | 2021-04-07T03:57:52 | 355,397,284 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | eacho.sce | //---Author :Kathan-shah-----
clc
clear
//--------------------echo-filter------------
//numerator
b = [1 zeros(1,16000) 0.1]; //1 sec delay , 10% attenuation(0.1)
//denomintor
a = [1];
//read audio singal
[x,Fs] = wavread('/Users/kathan/Desktop/test.wav')
Y = filter(b,a,x);
subplot(211)
plot(x)
title("Origna... |
acb72b343329cd10c94c03110ec69c32ebf6f52f | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH7/EX7.7/7_7.sce | 28d4828505bd76d869e80c3234292013e030090e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | 7_7.sce | clc;
clear;
x=poly(0,'s');
p=x^5 - 3.5*x^4 +2.75*x^3 +2.125*x^2 - 3.875*x + 1.25;
disp("The roots of the polynomial are:")
disp(roots(p)) |
1e4e7dc42689398384f072acc90d605f3a3d1f6d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH13/EX13.2/Ex13_2.sce | 24c00ab25307e17785fd1ccfdbc6b6d52cf8f5dc | [] | 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 | 293 | sce | Ex13_2.sce | errcatch(-1,"stop");mode(2);//Caption: Find (a)speed (b)number of poles
//Exa:13.2
;
;
f1=25//Frequency of motor(in hertz)
f2=60//Frequency of generator(in hertz)
p=10//Number of poles
N=(120*f1)/p
disp(N,'(a)Speed(in r.p.m)=')
P=(f2*120)/(N)
disp(P,'(b)Number of poles=')
exit();
|
5c4937fc524cf216360edf8181d8a99b812dd851 | 81a5c9fb4452c596031b1d529ea71e53e423de8d | /evenodd.sce | 49b124829e79d83f05eea152ded69f1e08510b75 | [] | no_license | thevinitgupta/scilab | b9d6b31b27bd3192d3713470c4a51da080d6a572 | c0aa61b0463c3501d43b73fdec07b9dc7fc27b21 | refs/heads/main | 2023-03-22T07:49:10.980286 | 2021-03-12T13:32:10 | 2021-03-12T13:32:10 | 346,394,901 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | evenodd.sce | function evenodd(n)
// Description of name(input)
if pmodulo(n,2) == 0 then
disp("Number is even!")
else
disp("Number is odd!")
end
endfunction
|
7defb9400bccdf4d8aafadc8e734cae6d89c8f1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH5/EX5.1/Chapter5_Example1.sce | d2ca16bb0a8b3f84b0c1b24af9dfe3f595516202 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,472 | sce | Chapter5_Example1.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-5, Illustration 1, Page 111
//Title: Calculation of composition of a saturated mixture
//==========================================... |
52a2c82555779cbe4559dfdffce9716373cc771f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH7/EX7.25/7_25.sce | 2d58ce7247851ba0c634bdbc1b38df002ac55f62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 7_25.sce | clc
//initialisation of variables
V= -0.658 //volt
V1= -0.3363 //volt
n= 1 //electron
F= 96438 //coloumb
R= 8.314 //j/mol K
T= 25 //C
//CLACULATIONS
V2= V-V1
Ksp= 10^(V2*n*F/(2.303*R*(273.2+T)))
//RESULTS
printf (' Solubility constant = %.1e volt',Ksp)
|
89c5b15b5956bf26da587597b4a3635630f39526 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH1/EX1.1.10/example1_10.sce | b9bc2f981c37afea0947937ad3069934739605d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | example1_10.sce |
//exapple 1.10
clc; funcprot(0);
// Initialization of Variable
rho=1000;
mu=1.42/1000;
g=9.81;
pi=3.14;
l=485;
h=4.5
e=8.2/100000;
Q=1500*4.545/1000/3600;
disp("assume d as 6cm");
d=0.06;
u=4*Q/pi/d^2;
Re=rho*d*u/mu;
rr=e/d;//relative roughness
//using moody's chart
phi=0.0033//friction coeff.
d=... |
4cbf7afb38a7c706aa17d8c92b5b76bc8610199d | 717ddeb7e700373742c617a95e25a2376565112c | /2825/CH4/EX4.13/Ex4_13.sce | b4973df752cd080d05fc265e5b154d00c13c14c1 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,094 | sce | Ex4_13.sce | //Ex4_13 Pg-245
clc
V=20 //source voltage in V
Vz=12 //zener voltage in V
Vs=V-Vz //voltage across resistor in V
Rs=330 //series resistance in ohm
RL=1.5*10^3 //load resistance in ohm
disp("Voltage across resistor ")
printf(" = %.0f V \n ",Vr)
disp("(1) Current through series resistor Is")
Is=Vr/... |
da0f2eca41041c7fd7fe744ec9a1d308b58e246d | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH6/EX6.3.a/Example_6_3a.sce | d8882fd860cac8f7d4035f9bd83ff411c14ac3dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Example_6_3a.sce | clear;
clc;
printf("\tExample 6.3\n");
//From draph in the question
//stress and strain can be obtained
si2=150; // in MPa
si1=0;
e2=0.0016;
e1=0;
d0=12.8*10^-3; //Initial Diameter in m
printf("\n\tPart A");
//Young's Modulus = stress/strain
E=(si2-si1)/(e2-e1);
printf("\nModulus of el... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.