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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f508135941ceb56ebe4bb6c6ac2fcef11ab657a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3517/CH2/EX2.11/Ex2_11.sce | 7818798be01e7d30853324a4d9fea92d034ee6cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Ex2_11.sce | //Caption:Calculate output voltage for (a)10V and (b)20V
//Ex2.11
clc;
clear;
close;
E1=10//Input voltage(in volts)
E2=20//Input voltage(in volts)
c=1//Capacitance(in micro farad)
r=1//Resistance(in kilo ohm)
t=100//Pulse width(in ms)
i1=(c*E1*10^(-6))/(t*10^(-3))
eo1=i1*r*1000
disp(eo1,'Output voltage for ... |
d20d9e86c6ef617d14db6a5a24ccf58223bfafc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.7/Ex1_7.sce | cff397a7694338f792ec21fa39fa1589616e7127 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 873 | sce | Ex1_7.sce | clear all;
clc;
L = 24;//length of the bar in ft
d1 = 9/8;//diameter of the bar in inches
l1 = 6;//in ft
d2 = 1;//in inches
l2 = 12;//in ft
d3 = 5/4;//in inches
l3 = L-l1-l2;//in ft
P = 10000;//axial compression in lb-wt
E = 28*10^6;//modulus of elasticity in lb/in^2
A1 = 0.25*%pi*d1^2;//in in^2
A2 = 0.25*%... |
760512abf51fbdd830b28f9461c065e0a09300f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.26/Ex11_26.sce | 56f359ab616790d866e203fcbce7525c8304d12a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,085 | sce | Ex11_26.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.26\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.26 (page no. 603)
// Solution
//From the table 11.7,
//For the oil side,a resistance(fouling factor) of 0.005 (hr*F*ft^2)/Btu can be used
//and for the water side,a fouling factor of 0.001 (hr... |
71c494887548839fa0ca70509fbe5baed7302139 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/percent/%loc.sci | 37ac52c0b6cd0e85485d80feca295def502d55bc | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sci | %loc.sci | //[r]=%loc(l1,l2)
//%loc(l1,l2) correspond a l'operation logique l1==l2 avec l1 une liste
//et l2 une matrice de caracteres
//!
r=%f
//end
|
1a16bffe70277a6faa18e84bd6954d59c262302b | 2baf436eac9d2d0bc7964862fa2111b96f11f1ef | /scilab_test.sce | a359a0f4e003615976b0aad1a09f5602881902f1 | [] | no_license | mohan08p/dockerimages | f49919d437547f21eb348fef7d1e6c0df05f7fe6 | 97a2a69c02e57a990c97ddfe5228f6443e8c95c2 | refs/heads/master | 2021-01-18T19:42:09.495953 | 2015-09-21T14:19:39 | 2015-09-21T14:19:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,652 | sce | scilab_test.sce |
clear
// this function removes unwated rows containing spaces
function back = remove_space(r_1)
count=1;
for i=1:size(r_1,1)-1
if ((r_1(i)=="") & (r_1(i+1)=="")) // if there are consecutive null cells, ignore them
// ignore
else
temp(count)=r_1(i);
... |
2209f69fc5439a8d6c5294ce2b84f0821921c011 | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/spibi_cutoff_mn.sce | 1e59cb88ac43cee5b033517034895ded8c0f2a3b | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,631 | sce | spibi_cutoff_mn.sce | clear;
lines(0);
cutoff = 1.0e-25;
np=50;
q=2;
chi=0;
//
nf=666;//number of the latest file
//
kw=0;
for w=2.06:0.02:2.08
kw=kw+1;
s0 = '~/imc/StarBrush/Neutral/n' + string(np) + '/q' + string(q) + 'den/chi'+string(chi)+'/mn' + string(w) + '/' ;
dmax = 1;
sigtr=0;
sig1=0;
sig2=... |
a50cabcaa3068355bc25272e6233a083ea66642f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH12/EX12.2/Chapter12_Example2.sce | d9126dce9805eae511aac409fa088ff88623ca68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sce | Chapter12_Example2.sce | //Chapter-12, Example 12.2, Page 504
//=============================================================================
clc
clear
//INPUT DATA
Do=0.0254;//Outer Diameter of heat exchanger tube in m
Di=0.02286;//Inner Diameter of heat exchanger tube in m
k=102;//Thermal conductivity of the tube in W/m.K
hi=5500;/... |
2d6f9e611c3a37cf7805dddffbc426b021caeded | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH5/EX5.23/Ex5_23.sci | feea174846599a15fad0203974a3b4c1acb869ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sci | Ex5_23.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.23
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(48/(s*(s+2)*(s+4))))//the given transfer function assigned to variable h assume K=1
scf(... |
4b788c014ed9bfa29a3afbb6bfd01f23429af9a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.9/example_5_9.sce | 07c6d9880282cd5db8f33890347941f405978d22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | example_5_9.sce | syms H1 H2 H3 G1 G2 G3 G4
//shifting summing points before G1 and take off points after G4
a= G1*G2/(1+(G1*G2*H1))
b= G3*G4/(1+(G3*G4*H2))
c=a*b
Y= c/(1+(c*(H3/(G1*G4))))
disp(Y,"C/R = ")
|
426f2b13a263362d24c831ce19a69ed4567c61f9 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/math/pi/pi_polygones.sce | 4c897949ad91e45df65c4622d65beda2f7dd8451 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 203 | sce | pi_polygones.sce | // Calcul de %pi
// S. CELLES
// Méthode des polygones (inscrits et circonscrits)
// Algorithme d'Archimède (encadrement de pi)
// http://membres.lycos.fr/villemingerard/Geometri/PiCalcul.htm
clear
|
7e3cbfeb6d3f3ff5eac62dfe5abeec5e1f9c2d1a | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /src/graphisme/Camera3DDraw.sci | 9a117d643e2114a9a5e3f3f1c8da6d8d788617d3 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,196 | sci | Camera3DDraw.sci | function Camera3DDraw(scale,M)
// cette fonction prepare un objet camera pour
// l'affichage
[xc,yc,zc] = Camera3D(scale,M)
//// x axis
plot3d (xc(1:2), yc(1:2), zc(1:2));
hr1 = gce ();
hr1.thickness=1;
hr1.foreground=5;
//
//// y axis
plot3d (xc(3:4), yc(3:4), zc(3:4));
hr1 = gce ();
hr1.thickness=3;
hr1.foreground=... |
44d1d336362b6b3589d9f33695030e15d91cc7df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH23/EX23.20/Ex23_20.sce | 198efd6e719f8354c4631344db3742f861c5f30a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | Ex23_20.sce | clear
//Given
l=1.4*10**-10 //m
h=6.63*10**-34
l1=2.0*10**-10
c=3*10**8 //m/s
//Calculation
E=h*c*(1/l-1/l1)
//Result
printf("\n Energy of the scattered electron is %0.2f *10**-16 J",E*10**16)
|
94294c5be1486d98136c36b42b661ab966f7e972 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH9/EX9.13/Ex9_13.sce | 76fdfb76dfbf4e610bcf07685730edc7a67d80f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,295 | sce | Ex9_13.sce | //chapter-9 page 414 example 9.13
//==============================================================================
clc;
clear;
//For a negative resistance parametric amplifier
fs=2*10^9;//Signal Frequency in Hz
fp=12*10^9;//pump Frequency in Hz
fi=10*10^9;//idler Frequency in Hz
fd=5*10^9;//Frequency in Hz
R... |
c21e6873237871835034aa12e2a301cbdf88a1f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH11/EX2.17/Ex_B_2_17.sce | cdfb1d206b3772bd0881fcc89cc72d9173740b73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex_B_2_17.sce | //Part B Ex 2.17
clc;clear;close;
format('v',7);
hex='F851';//given hexadecimal value
dec=hex2dec(hex);//equivalent decimal value
bin=dec2bin(dec);//equivalent binary value
disp(bin,"Equivalent binary value is");
|
2fceba6e380cd0fc0d35b6a3edb1915883039775 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH1/EX1.8/ex1_8.sce | 9a551c6e4d09dfd1d68f699eab3d2eaf7061f3cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | ex1_8.sce | clc;clear;
//Example 1.8
//given values
Q=3.2*10^-19;//charge on alpha-particle in C
m=6.68*10^-27;//mass on alpha-particle in kg
B=1.5;//transverse magnetic field of flux density in Wb/(m^2)
v=5*10^6;//velocity of alpha-particle in m/s
//Calculation
F=B*Q*v;//
disp(F,'The force(in N) on particle is');
R=... |
3771e9b3d961a71251c7c00e24046ca9400c0ce8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH14/EX14.6/14_6.sce | 82e7a48c601d72d710c67f939543543b18cf561d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,338 | sce | 14_6.sce | //To find gyroscopic couple and effect
clc
//Given:
m=3500 //kg
k=0.45 //m
N=3000 //rpm
//Solution:
//Calculating the angular speed of the rotor
omega=2*%pi*N/60 //rad/s
//When the ship is steering to the left:
R=100 //m
v=36*1000/3600 //m/s
//Calculating the mass moment of inertia of the rotor
I=m*k^2 //k... |
9ea4d92c28ad6487b2a9d140451f57e93ba24a8c | 0ff544e93a68289ecf42fadda24716ff0dae093c | /the-basics/file.tst | 0f214dd4365006ef8505f27459ca5060a41f8a41 | [] | no_license | opeadeyomoye/learning-python | b34b0b1a44c8cc030260ea434413c9c002c737fd | 01727fc9e5060305bacc644781bfc5dfca7e5982 | refs/heads/master | 2021-05-08T00:11:39.204044 | 2017-12-17T23:47:50 | 2017-12-17T23:48:00 | 107,610,807 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | tst | file.tst | This is one cool exercise.
Writing stuff to files, that is.
Surprised the 'open' keyword was expressly given to file opening. |
3ab05c9f9db8bdc10c40832ca30c4da1ed22662d | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH8/EX8.3/8_3.sci | e0af86865a4a6158bb1070eb09cfefb687885e0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,332 | sci | 8_3.sci | //Harmonic and Powerfactor with the Converter system//
//Example 8.3//
Id=200;//rated dc current in amperes//
I2=0.817*Id;//AC line current in amperes//
printf('AC line current of the thyristor=I2=%famperes',I2);
E2=415;//AC line voltage in volts//
Edc=400;//dc terminal voltage in volts//
Xt=0.04*E2/I2;//effecti... |
a2de4cb7e0028215a195ea37d5af7f06d08e79e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.14w/16_14w.sce | 1929d73aa178152bb50e5130125e16abc18051c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | 16_14w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.14w
//calculation of the speed of the sound in air
//given data
nu=800//frequency(in Hz) of the tunning fork
l1=9.75*10^-2//distance(in m) where resonance is observed
l2=31.25*10^-2//distance(in m) where resonance... |
c25c927be57f0616a405a37383540bb5ae4d79f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.14/34_14.sce | d1577e171ce9b9336ec25131caf3ca3d4e7754fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | 34_14.sce | //ques-34.14
//Determining transmittance of a solution
clc
ratio1=100/80;//= Io/I1
ratio2=100/60;//= Io/I2
A1=log10(ratio1);
A2=log10(ratio2);
A=A1+A2;
//For, log10(tran) = A
tran=0.48;
printf("The percentage transmittance of the solution is %d.",tran*100);
|
f448b7810eb52bf0528eaf9534731f435808f5bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH6/EX6.8/6_8.sce | 705395fe473e9a33826349df27de76cbb8d2fe02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_8.sce | //clc();
clear;
//To calculate the distance between two adjacent atoms
MW=23+35.5; //Molecular weight of NaCl
N=6.023*10^23;
M=MW/N; //mass of NaCl molecule in gm
m=2.18; //mass of unit volume of NaCl in gm
Nm=m/M;
disp(Nm);
Na=2*Nm; //number of atoms per unit volume
V=1; //vo... |
bc344c6ffe69812f089c8490f3bc93b86857a36e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.25/Ex3_25.sce | ca1738c580386011ffa6a15e9ebac7ee0480029e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 776 | sce | Ex3_25.sce | //Example 3_25
clc;
clear;
close;
format('v',6);
//given data :
R1=12;//ohm
L=50;//mH
R2=50;//ohm
C=50;//micro F
V=200*expm(%i*30*%pi/180);//V
f=50;//Hz
XL=2*%pi*f*L/1000;//ohm
XC=1/2/%pi/f/(C*10^-6);//ohm
Z1=R1+%i*XL;//ohm
Z2=R2+%i*XC;//ohm
I1=V/Z1;//A
I2=V/Z2;//A
I=I1+I2;//A
Imag=abs(I);//A
Iang=a... |
204dadc5398256b403d79c81b8dc58da84324cf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.20/20.sce | 686d7a165e54123e84c26ed4dac2af7f2e9d7ac8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | 20.sce | clc
clear
//Input data
C=200 //Velocity of object in m/s
mol=4 //Molecular weight of helium in kg/mol
k=1.67 //Adiabatic constant
Ri=8314 //Ideal gas constant in J/mol-K
T=288 //Temperature in K
//Calculation
R=Ri/mol //Specific gas Constant in J/kg-k
a=sqrt(k*R*T) //Velocity of sound in m/s
M=C/a //Mach... |
3f2922902ab90332a0378e11bea6a11c5e6f5b45 | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /bk/others/p2r/examples/examples5.tst | 0fe0afb77cdecb62e8861bfb2237e73edd20be81 | [] | no_license | ZVlad1980/doo | a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8 | e81be8f524b78b9a6ec06b7f83a8c13354fc6412 | refs/heads/master | 2021-08-17T02:03:54.553822 | 2017-11-20T17:21:03 | 2017-11-20T17:21:03 | 111,440,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | tst | examples5.tst | PL/SQL Developer Test script 3.0
13
-- Created on 09.09.2014 by ZHURAVOV_VB
declare
-- Local variables here
p xxdoo_p2r_parser := xxdoo_p2r_parser(':bookname/:callback(\d+)?/:id(\d+)?','book//1');
l_key varchar2(1024);
l_value varchar2(1024);
begin
-- Test statements here
p.first;
while p.next(l_key, l_... |
1a68cb2addc7821ab6415cf034bfa701f74b5e6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2720/CH5/EX5.11.1/ex5_11_1.sce | 8992808e6fb1e9f37f538cfc0156e31d761de417 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_11_1.sce | // Exa 5.11.1
clc;
clear;
close;
// Given data
bita = 50;
I_B= 20;// in µA
I_B=I_B*10^-6;// in A
I_C= bita*I_B;// in A
I_E= I_C+I_B;// in A
I_E = I_E * 10^3;// in mA
disp(I_E,"The Emitter current in mA is");
|
e1ba91598f7d433a64f9a026c1e67923b6b04bc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH29/EX29.5/29_5.sce | b43ef2c8f1a1bdd1082072912d14e61ba97a4512 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 29_5.sce | clear//
//Variables
Av = 60.0 //Voltage gain
A1v = 80.0 //Voltage gain with negative feedback
//Calculation
beta = (1 - Av/A1v ) / Av //feedback ratio
beta1 = 1/Av //feedback ratio which causes oscillation
//Result
printf("\n Value... |
64b50a4accdc43e13a5c10fe1dbf74c9c246b0a3 | 2abc0ac2745749ba8e8004d0b6e85f769175d540 | /Vtol_NonLinear.sce | 6f329ac7a5220ffa3a4a5af14bd7d99ad462d22d | [] | no_license | jfloreshu/Vtol_scilab_LQR_deterministic | 9d17da342635539e6b9f3a6b6d128dc694be5656 | 6008f2ecd39c92095881f8f759c5b0a85e71bc6e | refs/heads/master | 2022-12-01T22:32:35.709043 | 2020-08-16T03:43:36 | 2020-08-16T03:43:36 | 287,854,224 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 882 | sce | Vtol_NonLinear.sce | function xdot=Vtol_NonLinear(u1,u2,u3,u4,u5,u6,u7,u8)
// This is nonlinear Pendulum Model
// Load the parameters
exec('Vtol_Parameters.sce', -1);
// state variables
x=u1;
y=u2;
theta=u3;
varx=u4;
vary=u5;
vartheta=u6;
// control variables
u_1=u7; // fuerza F1
u_2=u8; // u2=F2-mg
// Modelo Mo... |
725cdd05b7cf93bee977378c10e6853d3fbaf5a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH10/EX10.4/Ex10_4.sce | fd29f7240b7e54bbd0b711032fcae875cfe56634 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | Ex10_4.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 10 : SYNCHRONOUS MOTOR
// Example : 10.4
clc;clear; // clears the console and command history
// Given data
P = 4 // number of poles
f = 50 // supply frequency in Hz
V_t = 1500 // terminal volt... |
90cbb359434eb0c299937d33af30619b31fe66ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH3/EX3.17/Ex3_17.sce | bd38ed1063248afc37ce77b816a2fd924876a3ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,033 | sce | Ex3_17.sce | clear ;
clc;
// Example 3.17
printf('Example 3.17\n\n');
printf('Page No. 80\n\n');
// given
// C_T = 7*x + (40000/(x*y)) + 6*y + 10
//Differentiating C_T with respect to x and y:-
//dC_T/dx = 7 - (40000/(x^2*y))
//dC_T/dy = - (40000/(x*y^2)) + 6
//For optimum conditions :- dC_T/dx = dC_T/dy = 0
//dC_T/d... |
b91142616fda58d16b8659381b45a06528c125f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH2/EX2.11/exa_2_11.sce | 6757db6ca6e9198d5aa43b49e974336b345dca5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | exa_2_11.sce | //Exa 2.11
clc;
clear;
close;
//given data
d_i=.1;// inner dia in m
r_i=d_i/2;// in m
Ti=473;// in K
T_infinite=293;// in K
k=1;// in W/mK
h=8;// in W/m^2K
rc=k/h;// in m
disp(rc,"Critical radius in meter");
//when
ro=rc;
q_by_L= (Ti-T_infinite)/(log(rc/r_i)/(2*%pi*k)+1/(2*%pi*rc*h));// in W/m
disp(q_by... |
2224a79d94fd327797ad896598c8c11813b44e16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH6/EX6.2/Chap6_Ex2.sce | 84ee3b54585a66b3f09db0e843e094572030b59a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,788 | sce | Chap6_Ex2.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-6, Example 2, Page 151
//Title: Bubble Size and Rise Velocity in Geldart B Beds
//==========================================================================================================
clear
clc... |
e48a4f961fb0f0f58f7948cbd7e412dacdfec434 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH6/EX6.4/Example6_4.sce | c66ceb845e7c5e5a812f02bb065ac178eab9c132 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Example6_4.sce | clc
//Given that
E = 7.5e11 // Energy in kWh
c = 3e8 // speed of light in m/s
// sample problem 4 page No. 223
printf("\n \n\n # Problem 4 # \n")
printf("\n Standard formula used \n E = m*c^2")
m = (E *3.6e6) / c^2// calculation of Amount of mass consumed
printf ("\n Amount of mass consumed is %d kg.", m)
|
e7dde655b61c5f3b3883d9bdca94abf30cdf65d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH10/EX10.14/example_10_14.sce | 952ad78d4abd3b8369c4a878b79c03482a480f97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | example_10_14.sce | clear;
clc;
disp("--------------Example 10.14---------------")
// function to chexk if k >=7 and display appropriate result
function[] = check (m)
n=2^m - 1;
k=n-m;
if( k > = 7)
printf(" m = %d :- The code is C(%d, %d) or k = %d and n = %d.\n",m,n,k,k,n);
else
printf(" m = %d :... |
59e1cd05a08223477c178d314d70b1caf6c1b7fd | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /quality/test/garant6x/time_machine.TST | 7821494b921652c13f992a38d5645b51e7ed12cd | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 467,032 | tst | time_machine.TST | {\rtf1\adeflang1025\ansi\ansicpg1251\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1049\deflangfe1049{\fonttbl{\f0\froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}{\f1\fswiss\fcharset204\fprq2{\*\panose 020b0604020202020204}Arial{\*\falt Times New Ro... |
c7523bc0e4b42fc10375d0a65b7eacfeec9174dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH5/EX5.1/5_1.sce | b8a8954319de2381fb5e3a79f363701215b11ec1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | 5_1.sce | clc
//Initialization of variables
N1=1
N2=1
N3=3
N4=1
//calculations
N=N1+N2+N3+N4
sig=factorial(N) /(factorial(N1) *factorial(N2)*factorial(N3)*factorial(N4))
//results
printf("No. of ways of arranging = %d ",sig)
|
f975d81730e4b0a4a03b0a1de5e97be783848a9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH7/EX7.5/Example_7_5.sce | c1407bb8fde0a9c2ebfe057e0f4e6c2578fb15ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_7_5.sce | //Example 7.5 Find the index number by the method of aggregates and method of relatives
clc;
clear;
BP=[35 30 40 107];
CP=[42 35 38 120];
PR= (CP./BP)*100;
SAI=(sum(CP)/sum(BP))*100;
RI=sum(PR)/4;
disp(RI, "Simple A.M of price Relative index =",SAI,"Simple Aggregrative Index = ",PR,"Price Relative = ",CP,"Cu... |
2955b93b34473d3d7e7a109968bcf2b47b616f8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH12/EX12.8/Ex12_8.sce | d13665cc17005f360f4bba9f75c9e13190b9ea2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,395 | sce | Ex12_8.sce |
// Given:-
V = 35.0 // volume of the vessel in m^3
p1 = 1.5 // in bar
T1 = 120.0 // in degree celcius
... |
140797bdf678c0cb4598cdf3b177382b7044753e | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH3/EX3.5/3_5.sce | 7bc6cc116c808c6bde76b53f73950ae64a6f71aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | 3_5.sce | clc
//initialisation of variables
Gt= 0.25 //in
St= 0.25 //in
Gw= 3.5 //lb/sq ft
Sw= 10 //lb/sq ft
Sb= 36 //in
Sb1= 18 //in
Sb2= 12 //in
Sb3= 6 //in
Sy1= 6 //in
Sy2= 12 //in
Sy3= 6 //in
Gb= 1 //ft
Sh= 24 //in
Gh= 1 //ft
//CALCULATIONS
W= ((Sb*Sh)/(12*12)-(Gh*Gb))*Sw+(Gh*Gb)*Gw
x= ((Sb*Sh)*Sw*(Sb/24)/(... |
e261bbc62cae5c26bbed1d00307b4eaf6fab7468 | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/dc/PCM_2.sce | afbd1d4cce38ddc854c87c521bfdb4619c71ba4b | [] | 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 | 791 | sce | PCM_2.sce | clf();
a=gca();
a.x_location="middle";
p=0
a=1
w=1
t=[0:0.001:2*%pi]';
wave=a*sin((w*t)+p);
subplot(2,1,1);
plot2d1(t,wave);
T=2*%pi/w;
//Sampling
ST=T/10;
q=0:ST:2*%pi;
n=size(q,"*");
//for i=0:ST:n
// samples(i)=a*sin((w*q[i])+p);
//end
sampled_wave=a*sin((w*q)+p);
subplot(2,1,2);
b=gca();
b.x_location="middle";... |
a3e9a855c4eff4edb25421c22c5673a5ff09cd3e | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/australian/data4.tst | 62d01f9cc363792a565ee1cd809a210dc67a6e7a | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,429 | tst | data4.tst | 0 0.399699 0.290179 0 0.230769 0.375 0.00578947 0 1 0.0298507 0 0.5 0.092 0.00018 class0
1 0.235639 0.0446429 0.5 0.538462 0.875 0.00877193 0 1 0.0298507 1 0.5 0.2 0.00108 class0
1 0.408571 0.0178571 0 0.461538 0.375 0.0175439 0 0 0 1 0.5 0.065 0 class0
0 0.236842 0.0164286 0.5 0.230769 0.375 0.0189474 1 1 0.0597015 0 ... |
f3f6617a995c8bbaacf6a230450c844e8235d3c3 | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /Uppsala Biomodel/Project1/stochastic.sce | cf770013807eb51440a9948cd7cdf7d1c7af89ae | [] | 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 | UTF-8 | Scilab | false | false | 984 | sce | stochastic.sce | b=0.7; g=0.05; mu=0.01; steps=8000
S=zeros(20,steps)
I=zeros(20,steps)
R=zeros(20,steps)
sensibleinitial=floor(rand()*100)
sensibleinitial=80
for k=1:20 do
N=100; s=sensibleinitial; i=N-sensibleinitial; r=0;
for j=1:steps do
if rand() < mu then
s=s+1, N=N+1;
end,
... |
875e9a9c620ba09ac38a338caa47d23c1b50b898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH6/EX6.10/ex_10.sce | 0aa0db774489090224b09c5d47ed7260dfca4a01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | ex_10.sce | // PG (365)
deff('[z]=g(x,y)','z=-y')
[y,x] = Euler1(0.25,1,2.25,0.25,g)
//----------------------------------
deff('[z]=f(x,y)','z=x-y^2')
[y,x] = Euler1(0.25,0,3.25,0.25,f)
|
ec9ff3d3a199786aded2aad4c7c75eb332c7ab00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH9/EX8.1/EX8_1.sce | dde317d33a316efb6783f271cc7cd07730606430 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | EX8_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 08
// Example No. 8_1
clc; clear;
// A shunt extends the range of a 50-uA meter movement to 1 mA. How much is the current through the shunt at full-scale deflection?
// Given data
It = 1*10^-3; // Total Current=1 mAmps
Im = 50*10^-6; // Current (caus... |
b890b6687c4ed68a9e04f2fffee612422b3735f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH8/EX8.4/ex8_4.sce | d0507decc8953932605dbd7d20eb66d47c3995db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | ex8_4.sce | // Exa 8.4
clc;
clear;
close;
format('v',5)
// Given data
I_Don = 10;// in mA
V_GS = -12;// in V
V_Ton = -3;// in V
if V_GS<0 then
disp("Since the value of V_GS is negative, hence the device is P-channel")
end
K = I_Don/((V_GS-V_Ton)^2);// in mA/V
V_GS = -6;// in V
// The drain current,
I_D = K*( (V_... |
0e42e7d486253985d52128e976c49f21d350660a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.4/Ex5_4.sce | bf936b30312565c78197ffb6a1273aa07463f202 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Ex5_4.sce | //Ex:5.4
clc;
clear;
close;
ds=0.020;// material dispersion
c=3*10^8;// the speed of light m/s
y=1.3;// wavelength in um
M=ds/(c*y);// material dispersion parameter in ps/nm/km
w=6;// spectral width in nm
l=1;// length in km
rm=w*l*M;// rms pulse broadening in ns/km
printf("The material dispersion parameter ... |
287bc877185cef514fa0a57f987d916551d94d8b | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/envelope.tst | 8a16e1c4e234c13d60d3f32ddbbc629654134d58 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 920 | tst | envelope.tst | units SI
# test 2-phase VL envelope
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + methane propane n-hexane water
env = Envelope.PTEnvelope()
env.In.Fraction = 0.15 0.15 0.2 0.5
# I need temperatures at these pressure values
env.Pressures = 101.325 202.65 303.975 405.3 506.625 kPa
# add a bubbl... |
245f4f01152787e85a7cca7255cdc4e559067915 | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH5/EX5.18/Example5_18.sce | fd4261063334e3fde6b37d91bedae947b3031f1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,597 | sce | Example5_18.sce | //Gram - Schmidt process for cubic polynomial least squares approx
clc;
clear;
close();
format('v',8);
funcprot(0);
disp('The orthogonal functions : ')
x = poly(0,'x');
ph0 = 1;
disp(ph0 , 'phi0(x) = ');
K1_0 = -integrate('x','x',0,1)/integrate('ph0^2','x',0,1);
ph1 = x + K1_0*ph0;
disp(ph1 , 'phi1(x) =... |
0f9d9a1174c30ad85cb4e749404f6cd400bcbb05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH6/EX6.10/EX_6_10.sce | a805044ee0645742dff2515107fce17d096b0e8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | EX_6_10.sce | // Example 6.10;//input & output impedance
clc;
clear;
close;
A= 10000;// open voltage gain
Beta=0.02;// feedback ratio
Zi=1;//input impedance without feedback in kiilo ohms
Zo=10;//output impedance without feedback in kiilo ohms
Zif= (1+A*Beta)*Zi;//input impedance with feedback in kiilo ohms
Zof=(Zo/(1+Beta*... |
3a20255fd1e81f7608ca0eef9106d9cd10d71465 | a006a53d954de031fd82f26f4fc82c8fb610293c | /demos/scilab_sum.dem.sce | d1f5f93fbf28e29d74619eb020ab1c727a44b268 | [] | 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 | 250 | sce | scilab_sum.dem.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
function demo_scilab_sum()
mode(-1);
lines(0);
disp("scilab_sum(3,4)");
disp(scilab_sum(3,4));
endfunction
demo_scilab_sum();
clear demo_scilab_sum; |
18ed6a3022e22623e61942f6286e0e6847e660d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH2/EX2.22/Ex2_22.sce | 98cecd5016cf914644f37b3d96f7062f1654a60a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ex2_22.sce | clc
T1=500
disp(" Temperature 1 = "+string(T1)+"K") //initializing the value of temperature 1.
Nv=2*10^19
disp(" Nv = "+string(Nv)+"cm^-3")//initializing the value of effective density of state for valence band .
T2=300
disp(" Temperature 2 = "+string(T2)+"K")//initializing the value of temperature 2.
NV=(Nv*((5... |
a8da1a93ecd696a011ca9c070c4a333e1cec648f | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/CDO_Pricer/nsp2/loader.sce | 3921e66bea4eb0becda91b59db2c4b717882a6d8 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | loader.sce | // generated by builder.sce: Please do not edit this file
// ------------------------------------------------------
libnsp_cdo_path="./" // get_file_path('loader.sce');
link(libnsp_cdo_path+'/../src/.libs/libcdo.so');
link(libnsp_cdo_path+'/../demo/.libs/libdemo.so');
addinter(libnsp_cdo_path+'/libnsp_cdo.so','libnsp_c... |
cfac7b86c8f1a60bcb8dae488884b9824c98ec59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH13/EX13.5/13_5.sce | fbfbf7522788c5c8e6351c6caa96237bf2fc6840 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | 13_5.sce | clc
//initialisation of variables
clear
T= 25 //C
dF1= 61.44 //kcal
dF= 54.65 //kcal
R= 4.576 //cal deg^-1 mole^-1
//CALCULATIONS
Kf= 10^(-(dF1-dF)*10^3/(R*(273.2+T)))
//RESULTS
printf ('Kf at this temperature = %.2e ',Kf)
|
0ce64a7c4aaaa81d2d2ae40567e968c7775db771 | e3e53203f6ff94ab1048854f3bfdd65ff70841f4 | /Assignment4/Eigen values.sce | 70d78e999ac13a0429ff93ec66eeaccc3439b82d | [] | no_license | HMThrupthi/Linear-Algebra_Scilab-Assignment | 8a0f43369416fe311c44fcdd545e1d392a916963 | 4b7ae767f3c38f059d39224488239e1600f933ca | refs/heads/master | 2022-06-29T16:17:56.088443 | 2020-05-11T13:03:55 | 2020-05-11T13:03:55 | 228,646,945 | 1 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,267 | sce | Eigen values.sce | //Write a Sci-Lab Program to find the Eigen values and Eigen vectors of any square matrix of size 3*3.
//vectors are stored in the columns of A
clc;close;clear;
disp('Enter the vectors to be stored in matrix A');
a11=input("Enter a11: ");
a12=input("Enter a12: ");
a13=input("Enter a13: ");
b21=input("Enter b21:... |
63c9376875a686dd5886efebd2ccce304f5ec4bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.83/Ex4_83.sce | e4ea7029e351a6a356820c7cd58cceb96eaef4be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_83.sce | clc;
// from fig 4.79
vo=206; // output voltage
il=8; // load current
ifl=0.2; // field current
Eo=280; // open circuit voltage for which field winding current is to be determined
r=0.5; // net resistance
n=800; // d-axis ampere turns
// with saturation ignored output voltage vd is given by vd=(n*if-10*il)K-il*... |
dd1c107eaba852900c08acf1d45fa3a522648533 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/Thermal/fitfoster4.sci | 314f2c7de100d364be56efc2c97af0ce21bf1777 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | sci | fitfoster4.sci | //Function that fits the thermal impedance response of 4 order Foster Network
//The data will be a table with tow rows first row is time second temperature
function [c]=fitfoster4(data)
//we extract the coefficients
//Initial values
c0=[1;1;1;1;1;1;1;1];
[copt, err] = datafit(myerror, data, c0);
//We extract the t... |
d2c2c8b1a053e89c80aac145802440197973c81c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH9/EX9.6/9_6.sce | ef05f635ec7ba02186e6d657f181558a2052afe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | 9_6.sce | clear//
//Variables
VS = 12.0 //Source Voltage (in volts)
RS = 3.0 //Source resistance (in ohm)
//Calculation
IS = VS / RS //Source current (in Ampere)
//Result
printf("\n Current source value is %0.3f A.",IS)
|
c2d9eb98ff352ce99504e4c963c012ca78a67660 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH2/EX2.11/25ex5.sce | 277d8794a5daa1eed8d90ea1fb1d1c46a275326b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 25ex5.sce |
//x/12a^2b - y/18ab^2
clear;
clc;
close;
d=int32([18,12]);//L.C.M of denominators
k=lcm(d);
//"L.C.M of a^2*b and a*b^2 is a^2*b^2"
x_coeff=36/12;
y_coeff=36/18;
disp('ans=')
mprintf("(%ibx-%iay)/%ia^2b^2",x_coeff,y_coeff,k)
|
a1102dc751cc875d4f4954f60ce84e2f4902b9cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH4/EX4.3/4_3.sce | 4fa65963f63a2f912add32a28bc63cb731af814c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,204 | sce | 4_3.sce | //example 4.3
//least square curve fitting procedure
//page 130
clc;clear;close;
x=[0 1 2 4 6];
y=[0 1 3 2 8];
z=[2 4 3 16 8];
for i=1:5
x2(i)=x(i)^2;
y2(i)=y(i)^2;
z2(i)=z(i)^2;
xy(i)=x(i)*y(i);
zx(i)=z(i)*x(i);
yz(i)=y(i)*z(i);
end
S_x=0,S_y=0,S_z=0,S_x2=0,S_y2=0,S_z2=0,S_xy=0,S... |
165e21353c63e115299c515d2bad8509395d418b | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH21/EX21.4/example4.sce | 178dbbf10875d6950620cab9200d2464504eed1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | example4.sce | // find pole frequency ,Q,cutoff frequency
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 21-4, page 811
clear;clc; close;
// Given data
C1=330*10^-12;// capacitance in faraday
C2=440*10^-12;// capacitance in faraday
R=51*10^3;// res... |
c51c94d604206b168e04184b8c7f9bc379158909 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH11/EX11.15/11_15.sce | 9c20a70913db645a6de3c6300a3d601c42eae180 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 11_15.sce | clc;
clear;
//from the table given in the sum, first observation is taken to calculate the unit cell and dimension
theta=6.05 //degree in radians
lambda=71 //wavelength in pm
h=1 //lattice parameter for x axis
k=0 //lattice parameter for y axis
l=0 //lattice parameter for z axis
//calculations
sin_square_the... |
de10cb3a71b25a059ff3dc32d273e0d1ea0167fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH6/EX6.3/ch6ex4.sce | fcd5a74cb9e50c6dfd780868ec8415a84fd2bb52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | ch6ex4.sce | n=0:10;
for n=0:10
//if(n%2==0)
// a_n=0;
//else
if (n==4*n-3)
a_n=2/(%pi.*n);
else if (n==4*n-1)
a_n=-2/(%pi.*n);
end end end
b_n=zeros(1,length(n));
size(n)
size(a_n)
size(b_n)
disp(b_n(1))
C_n=sqrt(a_n.^2+... |
b55899252b9282ace8763cbfc133e6c36efce349 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH15/EX15.9/15_9.sce | 77b2376cc9a8a0a009c63a817f600564f71c36f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,884 | sce | 15_9.sce | clear;
clc;
//Example - 15.9
//Page number - 526
printf("Example - 15.9 and Page number - 526\n\n");
//Given
T = 27;//[C] - Temperature
z_1 = 0.4;
z_2 = 0.3;
z_3 = 0.3;
// log(P_sat) = A - B/(t + C)
// For propane
A_1 = 13.7713;
B_1 = 1892.47;
C_1 = 248.82;
// For i-butane
A_2 = 13.4331;
B_2 = ... |
9ddeb81b7c4d6f2500c555e853b77faf735fb243 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH14/EX14.14/P14_Derivation_of_torque_cone_clutch.sce | 7db96f9f3b1821f4ebcb253b7e5403883f0bbdcb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,075 | sce | P14_Derivation_of_torque_cone_clutch.sce | clc
//Example 14.14
//Derivation of torque capacity of a cone clutch
//------------------------------------------------------------------------------
//This example is derivation based, hence the code will comprise only of statements printed to text file
//Printing result file to .txt
res14=mopen(TMPDIR+'14_de... |
be177e3c953c8512a15faf944dc88679a3539dda | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/oldsave.man.tst | 5d68e8ec6de93d24556b110e93dc1c08e5246123 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | tst | oldsave.man.tst | clear;lines(0);
a=eye(2,2);b=ones(a);
oldsave('TMPDIR/val.dat',a,b);
clear a
clear b
oldload('TMPDIR/val.dat','a','b');
// sequential save into a file
fd=file('open','TMPDIR/foo','unformatted','unknown')
for k=1:4, x=k^2;oldsave(fd,x,k),end
file('close',fd)
fd=file('open','TMPDIR/foo','old','unknown')
for i=1:4, oldlo... |
7f2b9475b52525a67f90e4f31f7cee373f514dc0 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_9/biseccion2.sce | e4dc3bad118f47a680167b301a4e4eb19be6a49c | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | biseccion2.sce | function z=biseccion2(f,a,b,Tol)
c=(a+b)/2
err=(b-a)/2
z=[a b c f(a) f(b) f(c) err]
n=ceil(log2((b-a)/(2*Tol)))
while err>Tol
if f(a)*f(c)<0
b=c
else
a=c
end
c=(a+b)/2
err=(b-a)/2
z=[z;a b c f(a) f(b) f(c) err ]
end
... |
5cb80c65aa32799f5cc9097f5468d0fd2a77519f | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH3/EX3.11/ch3ex11.sce | 4d976467e575674a2277b8c03ae52777b4e830ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | ch3ex11.sce | //signals and systems
//time domain analysis of discreet time systems
//impulse response with initial conditions
clear;
close;
clc;
n=(0:19);
x=[1 zeros(1,length(n)-1)];
a=[1 -0.6 -0.16];
b=[5 0 0];
h=filter(b,a,x);
clf;
plot2d3(n,h); xlabel('n'); ylabel('h[n]'); |
6ef980c830c81720fc606b603f1d7c026df0a57d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH3/EX3.19/Ex3_19.sce | 8fdfac09fc096d803cd4f31fceaf124d672c19e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | Ex3_19.sce | //Ex3_19 Pg-193
clc
disp("We have Iv=40*iD")
Iv=1 //luminous intensity
iD=Iv/(40*10^(-3)) //LED current
printf("LED current = %.0f mA",iD)
|
1ac72b229d6e40011b0814754a34e5500fd96ad7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH6/EX6.3/EX6_3.sce | 8ac0c7fecdf56d0dad5566d9b6d16931a7a040aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,016 | sce | EX6_3.sce | //Chapter 6, Example 6.3, page 228
clc
//Initialisation
f=300*10**6 //frequency in Hz
l1=4*10**3 //distance in m
l2=6*10**3 //distance in m
h1=20 //height in m
c=3*10**8 ... |
b4c4c1f309bdca4dd4aca0dbc0a4d5dea23110a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.27/3_27.sce | 63925557bdcd95cd5e56caf0f33cadec91b52c0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | 3_27.sce | function p=parallel(r1,r2)
p=r1*r2/(r1+r2)
endfunction
L=25/1000
//at t=0-
R1=parallel(150,75)
iL_0m=30/2
disp(iL_0m)
R2=parallel(150,50)
ix_0m=R2/(R2+75)*30
disp(ix_0m)
//at t=0+
iL_0p=iL_0m
T=L/(75+50)
iL_inf=0
//at t=0.2ms
t=0.2E-3
iL=iL_inf+(iL_0p-iL_inf)*exp(-t/T)
ix=-iL
disp... |
e495686100455743265fceeb67ba8136e0701bf4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH1/EX1.54/ex_1_54.sce | 64c03d57017694aba7c58cf70ca396cd8e1c7d6e | [] | 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 | 403 | sce | ex_1_54.sce | errcatch(-1,"stop");mode(2);//Example 1.54://readings
;
;
x=25-21.9;//in mm
r=2.1;//probable error
SD=r/0.6745;//standard deviation
y=x/SD;//ratio
NR=2*0.3413*100;//no. of readings having deviation with in 3.1mm
NR1=100-NR;//no. of readings EXCEEDING deviation OF 3.1mm
nor= round(NR1/2);// noumber of readings having de... |
9ac829a6f6394fbf4f9a9c2e315a5624e469007d | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH3/EX3.19/3_19.sce | 263ab07baa6b8ec9a1a03a48d579121ba65271b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | 3_19.sce | //chemical kinetics and catalysis//
//example 3.19//
T1=300;//temperature in kelvin//
t1=20;//half time of chemical reaction in min at T=300K//
k1=0.6932/t1;
printf("Rate constant of the reaction at T=300k is %f/min",k1);
T2=350;//temperature in kelvin//
t2=5;//half time of chemical reaction in min at T=350K//
... |
2bb753b6c5fdee1b9924dbf19e27578b894f3f4a | 99602a3df67f0bf806ffb5e714bbafcdd7d6ae88 | /tp/tp1/rdfMoments.sce | d3e2ecc389cad4fe72ad2d2463d84370e8225ffa | [] | no_license | BenjaminVanRyseghem/RDF | cbe77b76bb18680c03f16360fdad40723de25a68 | e9ed372d66fa4152426b3b1115448323ed0e9b58 | refs/heads/master | 2023-08-31T14:15:37.668811 | 2013-04-11T15:49:58 | 2013-04-11T15:49:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,895 | sce | rdfMoments.sce | // -----------------------------------------------------------------------
// Extraction d'attributs de forme,
// Module RdF, reconnaissance de formes
// Copyright (C) 2010 Universite Lille 1
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public Lice... |
72df355480c9fa9fce25706bd16b6793c3b0e8c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.15/Ex4_15.sce | d9c5555381c3f404b683a89775f978fdf9ef5e78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex4_15.sce |
// Ex4_15
clc;
// Solution:
L1=(5.5-3.5);// Case 1
L2=2-0;// Case 2
L3=1.5-.5;// Case 3
ELML1=1+0+2;
ELML2=1+1+2;
ELML3=0+1+1;
printf("The order for Case 1 is %f and emission is type (%f) M2,Case 2 is %f and emission is type (%f) E2,Case 3 is %f and emission is type (%f) E1,Case 4 is not possible.",L1,EL... |
571adbddd36515f757adcae5579ec5425d11947b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH9/EX9.6/Ex9_6.sce | ae19fed199ae6747c0b2243275a3475d3a6bf7a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | Ex9_6.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 9 : Sinusoids and Phasors
// Example 9 - 6
clear; clc; close;
//
// Given data
I1 = complex(4*cosd(30.0000),4*sind(30.0000));... |
c12db9dc1323e69247a5d2c0f57746bc8a9f9057 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH5/EX5.10.b/5_10_soln.sce | ca012b9cd6c6bf87ffb53a8159d6b1b94dda94cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | 5_10_soln.sce | clc;
pathname=get_absolute_file_path('5_10_soln.sce')
filename=pathname+filesep()+'5_10_data.sci'
exec(filename)
// Solutions:
// Pump input power,
IP=Ta*N/9550; //kW
// Electric motor input power,
EIP=IP/(eta_o/100); //kW
// rounding off the above answer
EIP=fix(EIP)+(fix(round((EIP-fix(EIP))*10))/10); //kW
// Yearly... |
80526a42eba301b7f3321dbc5a6631ff649b08d6 | 8aff21ee3944bdacbff38a386556c89c38377c6a | /evalfr.sci | 83aac3d5448ac02d74f446f797f5555f76808cb8 | [] | no_license | rutup1595/control-system | bd4704a4aa437a66260301a22adb5e55b49c5c84 | b30d559d8835cd278cc6d6bb81f821cdfcc9ee55 | refs/heads/master | 2021-01-17T10:17:03.192056 | 2019-10-10T05:28:46 | 2019-10-10T05:28:46 | 59,283,553 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,816 | sci | evalfr.sci |
function[fr]=evalfr(sys,f)
//
//Calling Sequence
//function[fr]=evalfr(sys,f)
//Parameters
//sys- SISO or MIMO or array of SISO models
//f - complex frequency at which the response is to be evaluated
//Description
//evalfr calculates frequency response at complex frequency f
... |
4c976c68d78ac6512be847d18736d37cee151f39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH10/EX10.16/Ex10_16.sce | 70b6c9e487c96d5c3c86d89994aebb2f5ab0c4a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | Ex10_16.sce | //Initilization of variables
V=[1728*10^3,432*10^3,7.54*10^3]
x_bar=[60,140,60] //mm
y_bar=[30,20,30] //mm
//Calculations
x=(V(1)*x_bar(1)+V(2)*x_bar(2)+V(3)*x_bar(3))/(V(1)+V(2)+V(3)) //mm
y=(V(1)*y_bar(1)+V(2)*y_bar(2)+V(3)*y_bar(3))/(V(1)+V(2)+V(3)) //mm
z=120 //mm from symmetry
//Result
clc
printf('The ce... |
34ae5480c1c2cff2eb9f7ace531b86e453a93f5d | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/Python/MultiRegions/Tests/CurvedGeom.tst | 87e726afd28fbb995a3d29cf79f1078af0dcea06 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 553 | tst | CurvedGeom.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description> Integral in standard 2D quad region </description>
<executable python="true"> CurvedGeom.py </executable>
<parameters></parameters>
<metrics>
<metric type="regex" id="1">
<regex>L infinity error: ([-+]?[0-9]*\.?[0-9]+(?:[eE... |
d522617abdcd2b1ab02790075b728a6bd32cf843 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH7/EX7.4/ex_7_4.sce | 2536351fdc47a04a280ee954e78107234da0ef05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | ex_7_4.sce | // example 7.4
// solve by shooting method;
// u''=2*u*u';
// u(0)=0.5; u(1)=1;
// let -> U1(x)=du/dx;
// U2(x)=d2u/dx2;
// U(x)=[U1(x);U2(x)]
// hence ;
// dU/dx=f(x,U);
h=.25;
ub=[.5,1];
up=[0:.1:1];
x=0:h:1;
deff('[w]=f(x,U)','w=[U(2); 2*U(1)*U(2)]')
[U] = sho... |
7e633c91f10cbfc3e1f85b5f5c68588bfcf65cd4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/util/mlog.sci | 1badb9fc3e7622ed7d09c578abb934f3f4677ece | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sci | mlog.sci | function x=mlog(a)
// mlog - logarithm
//%CALLING SEQUENCE
// x=mlog(a)
//%PARAMETERS
// a : square hermitian matrix
// x : square hermitian matrix
//%DESCRIPTION
//This macro is called by the function log to compute square matrix
//neperian logarithm.
//!
[m,n]=size(a)
if m<>n then error(20,1),end
if a<>a... |
3b7d4f5704da2c961fdc86504064b8715775387f | 12636981a5302a614e1005bab7d20fa7e4fcda56 | /Resolução de sistemas/seidel.sci | fcc50bb8bbed35122888b597e5af3f6ba3aed80a | [] | no_license | willcribeiro/CN | 080593d5b9ce2f3ea04a6bee2f9df9abde77bc17 | d2329b39ac26221e544b497c88f3e2a2799118d6 | refs/heads/master | 2020-05-24T22:56:53.422197 | 2017-04-18T12:22:52 | 2017-04-18T12:22:52 | 84,888,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sci | seidel.sci | function [x,i] = seidel(A,b,p)
[n c] = size(A);
[B d] = iteracao(A,b);
xold = ones(3,1);
x = xold;
Er = 1
i_max = 40;
i=0;
while (Er>=10^(-p) & i<= i_max)
for (i = 1:n)
x(i) = B(i,:)*x + d(i)
end
Er = max(abs(x-xold))/max(abs(x))
xold = x;
... |
333725aad17e196a902ae5c88228f8e66428e936 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/sci_load.sci | 953b7afee7765897b1b21dbcadbf048d682fe601 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sci | sci_load.sci | function [stk,txt,top]=sci_load()
// Copyright INRIA
txt=[]
if rhs<=0 then
stk=list('load(''scilab.save'')','0','0','0','0')
return
end
args=[]
for k=1:rhs
args=[args,stk(top-rhs+k)(1)]
end
stk=list('mtlb_load'+rhsargs(args),'0','0','0','0')
|
3167d886955fa799b0e7fd6c9f735c1b92e59f18 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/percent/%lom.sci | 3587140193e0b932276cecb15915ac7e3da1fdcd | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sci | %lom.sci | //[r]=%lom(l1,l2)
//%lom(l1,l2) correspond a l'operation logique l1==l2 avec l1 une liste
//et l2 une macro
//!
r=%f
//end
|
2dac3a366269b977990f6b7c236c6e7fd4bbef9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3588/CH9/EX9.2/EX9_2.sce | 659f54494678f8bed3012de9eb8e5d0bf68d6308 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | EX9_2.sce | //Clearing console
clc
clear
//Intializing Variables
t = 0.2
p = 7.4*(10^-4)
FBx = 0
FBy = -386.4
//As the x component of the body force is zero, the x components of the nodal force vector will be zero
f1x = 0
f2x = 0
f3x = 0
//The y components of the nodal force vector
f1y = p*t*FBy*integrate('2*x*(1-x)','x',0,1)
f... |
4d491520c8a41a8bb8cd74f115a3e1e4783321c5 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/Draw_SMB2ID.sci | 7a02415d7db8fde94f78b65253190738da7818e9 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,555 | sci | Draw_SMB2ID.sci | function [ID] = Draw_SMB2ID(Smb_I,Smb_L,Smb_Ff,Smb_Fm)
// Ouput variables initialisation (not found in input variables)
ID=[];
// Copyright (c) 2003 LIAMA
// File name: Draw_3D
// Author: Kang Mengzhen Version: 1.0 Date: 2003-6-20
// get interger ID of smb filename from file smb/IDsmb.m
// input: 4 ... |
0a73bacb1c28d6778488de62584371dc245ee1b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH2/EX2.13/Ex2_13.sce | 874d95aac32a66c8bd412b574f5b756f33b2760a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,116 | sce | Ex2_13.sce | //Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.13
clc
clear
//Given Data:-
d=25; //Diameter of the Jet, mm
V=27; //Velocity of the Jet, m/s
AoD=140; //Angle of Deflection, degrees
//Data Used:-
rho=1000; //Density of... |
58c1eb2261cb100b6f5e0253953ed744718e8585 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/linprog/Employee Scheduling.sce | 5fdce028a3df848f4597c6aaaa123bfc6668a1dd | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,144 | sce | Employee Scheduling.sce | //Employee Scheduling
//Macrosoft has a 24-hour-a-day, 7-days-a-week toll free hotline that is being set up to answer questions regarding a new product. The following table summarizes the number of full-time equivalent employees (FTEs) that mustbe on duty in each time block.
//
//Interval Time FTEs
// 1 ... |
e1d4d1ddc160edf07dc1cfbb6ece67629a49684f | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH6/EX6.2.a/Example_6_2_a.sce | a7d14d581126aa1598e0c0578d90ffffc3d091f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 710 | sce | Example_6_2_a.sce | // Chapter6
// Page.No-193, Figure.No-6.4(c)
// Example_6_2_a
// Bandwidth of the amplifier
// Given
clear;clc;
R1=100*10^3;R2=100*10^3;R3=100*10^3;Rf=1*10^6;Rin=50;
Ci=0.1*10^-6; // Capacitance b/w 2 stages being coupled
Ro=Rin; // ac output resistance of the 1st stage
Vcc=15;
UGB=10^6; // Unity gain bandwid... |
5df539d16afeb29b0b16c27cd117af442e734b18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH3/EX3.10/Example3_10.sce | 57bbd83150ce4e526b7e564c4730a59bb9d5e36e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Example3_10.sce | //Example 3.10
clear;
clc;
C=1*10^(-9);
Q=2;
n=(4*Q^(2))+4;
C1=n*C;
C2=C;
f0=10*10^(3);
k=(n/(2*(Q^(2))))-1;
m=k+((k^2-1)^(0.5));
k1=(m*n)^(0.5);
R=1/(k1*2*%pi*f0*C);
R2=R;
R1=m*R;
printf("Designed Unity Gain Low Pass Filter :");
printf("\nR1=%.2f kohms",R1*10^(-3));
p... |
8126143599a69648bd7fdf80b217df1a033c7b20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH3/EX3.4/Ex3_4.sce | e9a3a72bea6e3b7163f5b7ad7163bb730dccf39b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Ex3_4.sce | //Caption: Nquist Rate
//Example 3.4
//page no 105
//Find Nquist Rate of Continous signal
//given
clc;
clear;
w1=50*%pi;
w2=300*%pi;
w3=100*%pi;
f1=w1/(2*%pi);
f2=w2/(2*%pi);
f3=w3/(2*%pi);
fmax=f2;//fmax = Highest frquency component of the message signal
disp("Highest frquency component of the message... |
ac2b6ff6eee3c7bc2b9cfb1eec279491a64e785d | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.4/4.sce | 260a8d88c898d54b43539d9eecc51012754af614 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | 4.sce | clc
n_turbine=0.9;
n_pump=0.8;
p1=80; //bar
p2=0.1; //bar
v_f=0.0010103; //m^3
//At 80 bar, 600 0C
h1=3642; //kJ/kg
s1=7.0206; //kJ/kg K
s_f2=0.6488; //kJ/kg K
s_fg2=7.5006; //kJ/kg K
h_f2=191.9; //kJ/kg
h_fg2=2392.3; //kJ/kg
x2=(s1-s_f2)/s_fg2;
h2=h_f2+x2*h_fg2;
W_turbine=n_turbine*(h1-h2);
W_p... |
02467683231ea8b0a36f12cd40d5ca2c8b97ea34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH20/EX20.7/Ex20_7.sce | 2932f70e05f15da77f4625af243a7c2ca078e6af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | Ex20_7.sce | clc;
close();
clear();
//page no 627
//prob no. 20.7
L=2.7*.8; //loss in dB
mprintf('The loss usong multimode cable is L= %.2f dB',L);
|
1fa69f626ea0d7781657508c9334221fd111b9ea | a4633944be5b5077362ba6447966bb694c6647ee | /自由課題/channel.sci | 768abffd4c35d30e72a6baf039588d59a4a95125 | [] | no_license | zeno0119/37-communication | 79e47660c2ef7cfe08f25457ea577be3f850d000 | b879c29b9b21bf226be24749d95e06fc875e02f5 | refs/heads/master | 2022-12-18T02:53:01.006966 | 2020-09-11T05:45:14 | 2020-09-11T05:45:14 | 293,683,600 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sci | channel.sci | function [noise] = add_noise(wave)
noise_ = rand(1, length(wave), "normal")
noise = wave + noise_
endfunction
function [echo] = add_echo(wave)
t = (0:(0.2 * fs))/fs;
p1 = log(20*t+1)*500+sin(t);
p2 = exp(-100000*(sin(p1)^2)) * 0.2;
echo = convol(p2.*exp(-t*4),wave);
endfunction
|
b31cce9c3725f4603557dab315b5ca247a12774d | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD2/AlleI/trajectoireAllee.sce | 019293806628bedd1650fb824c059ab54d175105 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | trajectoireAllee.sce | clear;
clf;
a = 1.2; h = 0.1; // variables globales de population initiale et pas de temps
r=0.4; K=2; A=1; // variables globales de la formule de la vitesse d'accroissement
function f = logistique(x); // fonction qui calcule la vitesse d'accroissement
f = r * x .*((x/A -1).* (1 - x / K)) + I; // opérations vecto... |
f19ec7485754004685e202eeaa40642f919ee4b3 | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/drawKeypoints.sci | 30d87bc2ead67140b347c4e10a09d71328b921a0 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 2,635 | sci | drawKeypoints.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
4d16cc7c6cc227804d026f0810f8d7df61f61d38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH10/EX10.2/Ex10_2.sce | 84a01dc4f79c30fe2f44bc3d852a0b71ffcf33d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Ex10_2.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 10 Feedback in Amplifiers Pg no. 330
clear;
clc;
//Given
Vi=25D-3;//input voltage in volts
A=300;//open loop gain
B=0.01;//feedback factor beta
//Solution
disp("(i)");
Afb=A/(1+A*B);//closed loop gain
printf("Afb = %d\n ",Afb);
disp("(ii)");
Vo_dash... |
226bf1fd4cf97c641e2aac23784a95ed3f62cc22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH6/EX6.8/6_8.sce | 57e7a535df5dea05034272b8ba036d06023597ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | 6_8.sce | clc
//initialisation of variables
F= 800 //lb
muk= 0.10
Do= 5 //in
Di= 3 //in
//CALCULATIONS
M= 2*muk*F*((Do/2)^3-(Di/2)^3)/(3*((Do/2)^2-(Di/2)^2))
//RESULTS
printf ('M= %.f lb in',M)
|
cf12d54a3cec26761380fb990fcc9d163e50c422 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /pacman.sce | 0edf891f40b51c22f7098f6c539f7121d282a850 | [] | 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 | 52,220 | sce | pacman.sce | Name=pacman
PlayerCharacters=pacman_player
BotCharacters=pacman.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=pacman_player
AddedBots=pacman.bot;pacman.bot;pacman.bot;pacman.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;0
MapName=pacman.map
MapScale=10.0
BlockProjectilePredictors=false
BlockC... |
c530adacf6652c567da228326c8dad3718dcf816 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.21/Ex15_21.sce | 6342c129ae3accfacd48df66656813d6e24ad607 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Ex15_21.sce | //Finding loss
//Example 15.21(pg. 407)
clc
clear
A=30//area of hysteresis material in cm^2
s1=0.4//scale is 1cm=0.4Wb/m^2
s2=400// and 1cm=400AT/m
V=1.2*(10^-3)
f=50//frequency in Hz
H=A*s1*s2//hysteresis loss/m^3/cycle in joules
Hp=H*V*f//hysteresis power loss in Watts
printf('Thus hysteresis power loss is... |
5b6087d7ec811fa7eaf1d359f6471fe529ded996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH16/EX16.3/Ex16_3.sce | a9db96f6c95c33a0a57a3a1ae82ecc9dfa641759 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Ex16_3.sce | clc
clear
//Initalization of variables
eff=0.585
heat=800 //Btu
t1=80+460 //R
p1=14 //psia
n=1.4
R=53.35
cr=9
cp=0.24
J=778
//calculations
W=eff*heat
v1=R*t1/(144*p1)
v2=v1/cr
t2=1301 //R
t3=t2+ heat/cp
v3=v2*t3/t2
v4=cr*v3
mep=W*J/(144*(v4-v2))
//results
printf("Mean effective pressure = %.1f psi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.