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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce7746dd09d7ebf8be357d9ac44ce9013195f1f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH8/EX8.5/Ex8_5.sce | 124fd881e912ab24f7b31b202d0714dba23619fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | Ex8_5.sce | //cption:Find value of current
//Ex8,5
clc
clear
close
V=10//voltage across resistor(in V)
R=1000//resistance(in ohm)
i=V/R
disp(i,'value of current(in A)=') |
23b2ec30396c4de64d8f905531a6ffaa20b025c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH3/EX3.9/Ex3_9.sce | 8d9af4f1da9a8687d57f9a16cf96b3be29b92b4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 871 | sce | Ex3_9.sce | clear;
clc;
printf("\t\t\tProblem Number 3.9\n\n\n");
// Chapter 3 : The First Law Of Thermodynamics
// Problem 3.9 (page no. 99)
// Solution
m1=10000; //Unit:kg/hr //An inlet steam flow
v1=0.05 //Unit:m^3/kg //Specific volume of inlet steam
d1=0.1 //Unit:m //Inlet diameter //100 mm =0.1 m
A1=(%pi/4)*d1^2 ... |
adfbe63c6bb97cbc144fcab61362594b2ed14267 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH3/EX3.2/Ex3_2.sce | 48159607bc7946517373e1cc5e729dd309991521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | Ex3_2.sce | //Chapter 3, Example 3.2, Page 79
clc
clear
// Estimate the mass of Ga
//Based on equation 3.16
av = 15.835 // MeV
as = 18.33 // MeV
ac = 0.714 // MeV
aa = 23.30 // MeV
ap = 11.2 // MeV
A = 70
c2 = (1/931.5)
mn = 1.0072765
mp = 1.0086649
me = 0.00054858
a = av*A
b = as*A**(2/3)
c = ac*(31**2/A**(1/3))
d = aa*((A-62)**2... |
2e5a82f9e50d92e6d4ebede024a2fbcee6db87ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH5/EX5.4/ex5_4.sce | f9ec4d37109070ab5dcd7b7ec9d6ce353787717a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | ex5_4.sce | clc
Ts=1;
n=3;
Pd=0.9;..//detection probability
Gt=10^5;..//transmitter gain
k=1.38*10^-23;..//boltzmann constant
tau=10^-6;
To=305.8;
Ae=8;
Pfa=10^-6;..//probability of false alarm
Pt=10^5;..//transmitter power
F=1;..//noise factor
sigma=3.2;
Bn=1/tau;..//bandwidth
pi=3.14;
Fn=3.162;
e=2.72;
Ltot=67.6... |
2e5652a8af07ea5646becc9f9a9a1741153d2adf | 2e3201c4484a350d52813c96bfdcfb879dd18cb4 | /psnr.sci | 402beb766e76fdb2ed48488ad6f548e993b8e8b4 | [
"MIT"
] | permissive | AbhishekSalian/Image-Restoration | 81c812f3af4d133af0156b941d53f04293016cf1 | ad8e59087ebe4a86008d0ebe70d6e315efed4a3c | refs/heads/master | 2021-07-15T03:59:05.671815 | 2020-06-19T14:14:28 | 2020-06-19T14:14:28 | 178,452,443 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sci | psnr.sci | function y=psnr(I_a,I_b)
[m,n]=size(I_a);
I_a=double(I_a);I_b=double(I_b);
mse=0;
for i=1:m
for j =1:n
mse = mse+(I_a(i,j)-I_b(i,j))**2
end
end
mse=mse/(m*n)
max_pix=max(I_a)
output=10*log10(max_pix**2/mse);
y=output;
endfunction
|
7d79997851bcdbae402b3bf9631c4a0053214566 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Experimentation/5. Automated_script/tests/linear_regression2.sce | a076727ea9704e166471cd8127ec7bb842a15072 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | linear_regression2.sce | // Demo script for linear regression
getd('../')
data_url = 'https://raw.githubusercontent.com/franklinwillemen/Machine_Learning/master/Regression/Simple_Linear_Regression/Salary_Data.csv'
machineLearnCustomURL('custom', data_url, 'preprocessing.py', 'soumitra', '35.196.55.90', 'abc123'); |
868b48a823a265461a6d5f269ca4cebb523c978a | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH22/EX22.9/ex_22_9.sce | 22bb0b748424f2bd574c254bb29780697bccb991 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | ex_22_9.sce |
//solution
//given
n=25
d1=25//mm
t1=18//mm
tu=300//N/mm^2
effm=0.95
Cs=0.1
ft=6//N/mm^2
rho=7250//kg/m^3
D=1.4//m
R=0.7//m
As=%pi*d1*t1//area of plate sheared
Fs=As*tu//N
Eps=0.5*Fs*t1//N-mm//energy req per stroke
Epm=Eps*n/1000//N-m
P=Epm/(60*effm)//W
printf("power req is,%f W\n",P)
//let t be thickness and b be wid... |
898bdcb9dbf25e90b57121349b132cc9265fa2aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH6/EX6.7/Ex6_7.sce | 2a8fbbd62443cbf6c0198d471672a1cc47d965e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,402 | sce | Ex6_7.sce |
//To determine the illumination over a disc
//Page 330
clc;
clear;
MSCP=300; //Uniform intensity of the lamp or Mean Spherical candle power
Vd=6; //Vertical distance of the lamp from the disc
R=6/2; //Radius of the disc
Reff=60/100... |
1be6946738806c74c9770c2ff422c56d54496edc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH4/EX4.5/Ex4_5.sce | 886ff8ee6250bcc22d4f97ed2b1c30fdc25a53aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_5.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w=80//lbf
p=4//ft
d=20//stroke/min
d1=3//in
p1=0.6//sec
h=2//ft/s
g=32.2//ft/s
t=60//sec
//CALCULATIONS
P=t/d//sec
U=2*%pi/d1//sec^-1
V=U*sqrt(h^2-(3/4)^2)//ft/s
K=(w*V^2/(h*g))//lbf
M=U^2*h//ft/s^2
... |
655192bc4f28676b5931a74401ae367bf7433817 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH7/EX7.3/Ex7_3.sce | 095c506b28753e0cbf5a686c02f2c47588eaba88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,015 | sce | Ex7_3.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 7.3
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
neu_absor=0.80; //Absorbed Neutrons of Uranium_235 in perce... |
f3bb5194789b9400bff6f106aaa3bcce5cd8c51e | 27be2dd7284eb8d71ea19e6b077993d7ff6afd16 | /LyraTalked.sce | 0846a64a311044a9721e4ef958a8b39d672344e0 | [] | no_license | mtxslv/numericalcomputation | 3b0ec7d1183c03c91c145de0fb1db9fff0a75e61 | 15ce639e5e370fb21fb1ce9878004270ee814e73 | refs/heads/master | 2020-03-26T06:10:14.116677 | 2019-11-14T11:41:38 | 2019-11-14T11:41:38 | 144,592,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 63 | sce | LyraTalked.sce | for i = 1:1:10
disp('Lyra talked with her daemon');
end
|
47ffa56552620aacec46f61a20e02b9799e4aeee | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.22/Example6_22.sce | d28d5f2a02bf39d40180ff64c5285728235fefb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | Example6_22.sce | //Example 6.22.
clc
format(6)
alpha_dc=0.99
ICBO=50*10^-6
IB=1*10^-3
IC=((alpha_dc*IB)/(1-alpha_dc))+(ICBO/(1-alpha_dc))
IC1=IC*10^3
disp("Assume that, IB = 1 mA")
disp(IC1,"IC(mA) = ((alpha_dc*IB) / (1-alpha_dc)) + (ICBO/(1-alpha_dc)) = ")
IE=IC+IB
IE1=IE*10^3
disp(IE1,"IE(mA) = IC + IB = ") |
42311b8a7f449d16fe2917b27f2cf5f54ae9022e | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH8/EX8.15/8_15.sce | db7566f603edad2cb8d478caf1792be86851c88c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_15.sce | //pathname=get_absolute_file_path('8.15.sce')
//filename=pathname+filesep()+'8.15-data.sci'
//exec(filename)
//Specific heat of water:
Cpw=4.18
//From steam tables:
h2=2960.7 //kJ/kg
s2=6.3615 //kJ/kg
s3=s2
x3=0.863
h3=2404.94 //kJ/kg
h7=358.59 //kJ/kg
s10=s3
x10=0.754
h10=1982.91 //kJ/kg
//Mass pf moist... |
77bd83614ca42cb30cdeba39f7a7e9e063b8527c | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH3/EX3.2.2/Example_3_2_2.sce | 2caacce8adc0f2ffeca8aff21b89d7362d576b32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,566 | sce | Example_3_2_2.sce | //Example 3.2.2 Page 52
//Non-Linear Dynamics and Chaos, First Indian Edition, Print-2007
//Steven H. Strogatz
clear;
clc;
close;
//General INTRODUCTION
disp("To show their is Transcritical Bifurcation show :")
disp("1. Their are always two fixed points ,")
disp("And they change their Stability around Bifu... |
d90cfbd80eaa03c43d07dd050c720199ab58b807 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH9/EX9.13.a/ex9_13_1.sce | c1be813e6722d338767932d7d3fb1421da5c70e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | ex9_13_1.sce | s=%s;
H=syslin('c',(8*(s+4))/((s-1)*(s-2)))
fmin=0.1;
fmax=100;
bode(H,fmin,fmax)
show_margins(H)
gm=g_margin(H)
pm=p_margin(H) |
213ba57509ecc994e0d3aa2067871bd0437e47da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH1/EX1.3/Ex1_3.sce | 8fce5f06036128040b7e1510d5360ab9b42b1cc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ex1_3.sce | //Initialization of variables
R=400 // N
F2=200 //N
Theta1=((120*%pi)/180) //radians
Theta2=((20*%pi)/180) //radians
Theta=Theta1-Theta2 //radians
//Calculation
F=sqrt(R^2+F2^2-(2*R*F2*cos(Theta))) //N Applying the Rule of Cosine
Theta_r=asin((400*sin(Theta))/F) //radians Applying the rule of sines
Theta_R=(Th... |
65b05e8d3e04b2f2a87d1e0e780a146732fb8aca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH4/EX4.9/Ch04Ex9.sce | 679814534ec1981030eb4d05676550de038f3742 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Ch04Ex9.sce | // Scilab Code Ex4.9:: Page-4.9 (2009)
clc; clear;
theta = 30; // Angle which the plane of vibration makes with the incident beam, degrees
// As intensity of ordinary and extraordinary ray are
// E_E = A^2*cosd(theta)^2 and E_O = A^2*sind(theta)^2, solving for E_E/E_O
EE_ratio_EO = cotd(30)^2; // Ratio of o... |
084bbf36aea04cae6f07e6da103aa1ce075e0f92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH9/EX9.1/Example9_1.sce | 192c3b05546b94632a13989e4695944aaf3524c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,193 | sce | Example9_1.sce | //clear//
//Caption: Program to find magnetic field and force produced in a square loop
//Example9.1
//page 263
clc;
x = sym('x');
y = sym('y');
z = sym('z');
ax = sym('ax');
ay = sym('ay');
az = sym('az');
I = 15; //filament current in amps
I1 = 2e-03; //current in square loop
u0 = 4*%pi*1e-07; //free spa... |
dfc81bcf30f74498a83bf2e2dd778928bfddb781 | 3b68afeab7136e24e06dfb8b19290e206726ae55 | /2013/Investigating the Limits of Monte Carlo Tree Search Methods in Computer Go/experiments/test files/seki/g_seki_moves.tst | 33b94524e31441f0a644412bb60e99cd8ff695bb | [] | no_license | AbhishekYMCA/papers | 7719245f720ba5e0cb3545544b8e806f5a50c9cf | babc9fe07190401b33dd622f3861d1a6f08345b8 | refs/heads/master | 2021-07-19T14:35:59.029459 | 2017-10-29T06:33:28 | 2017-10-29T06:33:28 | 108,710,966 | 0 | 0 | null | 2017-10-29T06:32:20 | 2017-10-29T06:32:20 | null | UTF-8 | Scilab | false | false | 2,305 | tst | g_seki_moves.tst | #-----------------------------------------------------------------------------
# Position evaluation tests involving seki on the 9x9 board.
# All these positions are win for white so the uct_value should be high.
#-----------------------------------------------------------------------------
#---------------------... |
61c283b454fbb39346a2bb5f40743eb0c92d718b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH6/EX6.1/Ex_6_1.sce | 4d7ae872e7617a6d8bbac794fc1687175459c109 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Ex_6_1.sce | // Exa 6.1
format('v',7);
clc;
clear;
close;
// Given data
Vf= 0.0125;// in volt
Vo= 0.5;// in volt
Bita= Vf/Vo;
// For oscillator A*Bita= 1
A= 1/Bita;
disp("Amplifier Should have a minimum gain of "+string(A)+" to provide oscillation")
|
ca7ba7645aa46e9dc18fb5c0335865eaa439d07f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH6/EX6.2/exa_6_2.sce | 6f2d2e4dac821bea40fd739f335d1d537a997baf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_6_2.sce | // Exa 6.2
clc;
clear;
close;
// Given Data
f_H= 2;// in kHz
f_H= f_H*10^3;// in Hz
C=0.033;// in micor F
C=C*10^-6;// in F
C_desh= C;
R= 1/(2*%pi*f_H*C);// in ohm
R=R*10^-3;// in kohm
R=2.7;// k ohm (Standard value)
R_desh= R;
// So 2*R= Rf*R1/(Rf+R1) = 0.586*R1^2/(1.586*R1)
R1= 2*R*1.586/(0.586);// in ... |
f547a1030fcc52b9491efca036803009c04a03a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.7/EX17_7.sce | d3f43d439c47e025b59f14bac2b8ba39c30dff4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | EX17_7.sce | clc;funcprot(0);//EXAMPLE 17.7
// Initialisation of Variables
N=2000;...........................//Engine rpm
k=0.5;..............................//Four stroke engine
Disp=0.025;........................//Engine displacement in m^3
Pmb=6;..............................//Brake mean effective pressure in bar
mf=0.018;... |
e11e7d5d41f5ed9c31f908f15a6f42ad629b9cf7 | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/rgb2lab.sci | 7f331a1e5382ff3876301948fecccac3e3f4ae35 | [] | no_license | AshishMantosh/FOSSEE-Image-Processing-Toolbox | ee9c1a00f97627f372fae1d7d851c4905ac9d83e | e4fbe1891e13e4dc9b62513f0aef2b101638f084 | refs/heads/master | 2021-01-01T19:05:15.966438 | 2017-07-27T07:16:11 | 2017-07-27T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,911 | sci | rgb2lab.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_... |
7a74326287da85ee8c22d033e9cd8de8679636d3 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/course/scilab-waves/string/runanimstringlaxwend1.sci | 9865b94d5bc25422f0c671db31278d600ca55dc8 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,070 | sci | runanimstringlaxwend1.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
//clf;
clc;
// Constants
g = 9.81;
u0 = 0;
v0 = 0;
b = 0.1;
h0 = 5030;
damp=0.0001;
force=0.0;
forcefreq=0.1;
k=2.5;
// Define the x domain
ni = 1001;
xmax = 10.0;
dx = xmax/(ni-1);
x = 0:dx:xmax;... |
537b9f6f1284dc422019ba06825d5fa73a89bd26 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/TD78LPW/ATWM1_Working_Memory_MEG_TD78LPW_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 3f6bfb901d2ca9e1a526f3b712ce076a4158639b | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,599 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
6930c06c0ac35dda30bc25ef0c2b95d5f6407ca6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH7/EX7.3/ch7_3.sce | e1bf99a8a3085cb401dd2d60d9d22d6ad2784e4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | ch7_3.sce | //chapter 7
//example 7.3
//page 201
clear;
clc ;
//given
thetaJC=1; //junction to case thermal impedance in degreeC/W
Tj=90; //junction temperature
Ta=25; // ambient temperature
Vce=25;//collector to emitter voltage in volts
Ic=1;//collector current in A
Q=Vce*Ic; //transistor power dissipation in W
th... |
afe94911bb87814935bec9e4300936c8c46708ba | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/turboexp.tst | 86363d770a451fddfa34375c602cdf17345c1dc0 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,698 | tst | turboexp.tst | # turboexpander test (from old Hysim manual)
units Field
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + Nitrogen Carbon_Dioxide Methane Ethane PROPANE
thermo + ISOBUTANE n-BUTANE ISOPENTANE n-PENTANE n-Hexane
# define plant feed
feed = Stream.Stream_Material()
feed.In.T = 60
feed.In.P = 600
feed.In.Mol... |
5f6869d08707729bfa1c9759543d4ad0d8507652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH18/EX4.1.1/U4_C1_1.sce | 12a6f9e37e26092be91d49791a1bf9f1c8dcb7c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,445 | sce | U4_C1_1.sce | //variable initialization
z=2 //atomic no. of He
a0=0.529 //radius of first Bohr orbit of H atom (Å)
n=1 ... |
fe1a60f58f63ba1be431bbee96d8b35b814e9bf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.5/ex1_5.sce | a7ac68498dc071489595037ecec4a68075d285e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 885 | sce | ex1_5.sce | //Chapter-1, Example 1.5, Page 21
//=============================================================================
clc;
clear;
//INPUT DATA
t1=40;//temperature in degree centigrade
t2=100;//temperature in degree centigrade
R1=3.146;//resistance of platinum coli at t1
R2=3.767;//resistance of platinum coli at t2... |
a33549dbb0f30e69d6d9b5ed2b631a3a3a11020d | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /help/fr_En/ANALOG_READ_SB_help.tst | a580e42bb4ced58a2793bcb3ca6b95aa9bd35a00 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,306 | tst | ANALOG_READ_SB_help.tst | \name
ANALOG_READ_SB
\palette
Arduino
\smalldescription
Permet de réaliser l'acquisition d'une grandeur analogique sur le port Analogique d'une carte Arduino.
\description
La carte Arduino UNO possède 6 ports d'entrées analogiques (de A0 à A5), la carte Arduino Mega possède 16 ports d'entrée analogique (de... |
1882215f67717642575e6b28c9104d2541a57f96 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH6/EX6.2/6_2.sce | 35f328b295bdfcd220cd459194b2dd5a56cfd096 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 6_2.sce | clc;
R=8.3145;
m_o=31.999;
m_n=28.013;
m_a=39.948;
m_c=44.010;
R_O=R/m_o;
R_N=R/m_n;
R_A=R/m_a;
R_C=R/m_c;
miO=0.2314;
miN=0.7553;
miA=0.0128;
miC=0.0005;
R_=(miO*R_O)+(miN*R_N)+(miA*R_A)+(miC*R_C);
m_=R/R_
disp("specific gas constant of air is:")
disp(R_)
disp("molar mass of gas is:");
disp(m_)
|
29fa439f0f04412466371b1f7052068187f42064 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH15/EX15.6/15_6.sce | e7b34266b4455bf8b62a03a4943c01d67664bc1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | 15_6.sce | clc
//initialisation of variables
K= 1.75*10^-5
c= 0.01 //M
//CALCULATIONS
r= 10^(-0.509*sqrt(c))
Ka= K/r^2
//RESULTS
printf ('ionisation constant = %.2e ',Ka)
|
e33a21fabf0b6602b624db3255422231337617e2 | 18c18087473a2a88c5f8dc32861ed8b8f8af77de | /Pratica 1 - Perceptron.sce | b8018191923fa04c4d2937f7954adc4ed9b30788 | [] | no_license | zolpy/GCC159_Redes_Neurais_Artificiais | 9bb5b31ba11b62f32461de91f90bad9e7201d77d | 10aba6bb46bf257d4dfce1f0508450b199ba37db | refs/heads/master | 2021-05-18T19:18:04.739038 | 2020-03-30T17:25:52 | 2020-03-30T17:25:52 | 251,374,647 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sce | Pratica 1 - Perceptron.sce | //1a EXPERIÊNCIA: Perceptron
//Aluno de Mestrado: Luiz Carlos Brandão Junior
//f(u)=1 se u>0 e f(u)=0 se u <0
//y=[0 0 0 1] a saida para o AND
clear;
clc;
//Declaração das Variaveis e seus valores
b=-0.6;
w1=0.4;
w2=0.4;
w3=0.7;
w4=0.8;
//declaraçã das funções
function y = yperceptron(x,w,b)
u... |
aaa37a3cfd57d30acc2e726d84388aef21b8e651 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.17/Ex2_17.sce | 30c3a2492b1586bbd98c14e255b9a960ce36fa9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,030 | sce | Ex2_17.sce | //Calculations on dual combustion cycle
clc,clear
//Given:
P1=1 //Pressure at 1 in bar
T1=50+273 //Temperature at 1 in K
r=14,rho=2,alpha=2 //Compression ratio, cut off ratio, pressure ratio
g=1.4 //Specific heat ratio(gamma)
cp=1.005 //Specific heat at constant pressure in kJ/kgK
cv=0.718 //Specific heat at co... |
50c9f9df39c9ec324318cf97042c3edb67f14a7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.21.c/21_c.sce | f551d4a7336a1f04dee2f51de2c25c7ffcd5e651 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | 21_c.sce | //subtraction using 1's complement//
//Example 21.c//
//subtraction in one's complement using 8 bits//
clc
//clears the window//
clear
//clears all the existing variables//
x='11011'
y=bin2dec('11011')
z=bin2dec('11001')
c=(bitcmp(z,5));//finding 1's complement//
a=y+c+1
a=a-bin2dec('100000');
a=dec2bin(a... |
89c456004074d2d066fe2992004ff560ddb38a8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH8/EX8.2/Ex8_2.sce | 7c73b69165693a67798f7d633af5fc98f285ea66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 723 | sce | Ex8_2.sce | //Example 8.2
//True Strain
//Page No. 288
clc;clear;close;
//case 1
Af=100; //in mm^2
Lf=60; //in mm
A0=150; //in mm^2
L0=40; //in mm
ef1=log(Lf/L0);
ef2=log(A0/Af);
printf('\nTrue Strain to fracture using changes in length = %g\nTrue Strai... |
dfef20533e301a98a1ae2c4fab8a5ab02be5e3ea | 87749481136b7b72a47930f587f27667e0c0f97d | /DFT/FFT.sci | d62980e5e608d78acd5b2bb4d931892cba32093a | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sci | FFT.sci | function f = FFT(x)
n = length(x);
if n == 1 then
f = x;
else
m = n/2;
odd = FFT(x(1:2:(n-1)));
even = FFT(x(2:2:n));
d = exp(-2 * %pi * %i / n) .^ (0:m-1);
z = d .* even;
f = [ odd + z , odd - z ];
end
endfunction
|
99f6eab915a2db1e10e9851357fc02e299ca883b | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH29/EX29.3/Example29_3.sce | 4d6f31d4dba82242a132efe25ea214bbf1b23002 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | Example29_3.sce | //Given that
B = 80*10^-3 //in T
V = 1000.0 //in V
q = 1.6022*10^-19 //in C
x = 1.6254 //in m
conv = 1.6605*10^-27 //in kg/u
//Sample Problem 29-3
printf("**Sample Problem 29-3**\n")
m = poly(0, 'm')
r = x/2
//r = m*v/(q*B)
//v = q*B*r/m
m = 0.5*(q*r*B)^2/V/q
printf("The mass of the particle is %ek... |
8668055f02e2ad6916b8c03fbeb3126b7624e2a4 | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /arxtest.sce | 420b31626f1a0c573bc47d351f57fae4f6971026 | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | arxtest.sce | exec('armac1.sci',-1);
process_arx = armac1([1 -0.5],[0 0 0.6 -0.2],1,1,1,0.05);
loadmatfile('Arxsim.mat');
data = [Arxsim(:,1) Arxsim(:,2)];
u = prbs_a(5000,250);
xi = rand(1,5000,'normal');
y = arsimul(process_arx,[u xi]);
z = [y(1:length(u))' u'];
zd = detrend(z,'constant');
// Compute IR for time-delay e... |
90d8c955886fdfa191997e89aabb38a683bf063b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.23/Ex4_23.sce | 9f053e255793d830338993954ff2b6015de724fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | Ex4_23.sce | clc;
clear;
myu=1.5 //refractive index of glass plate
n=30 //no of fringes
d=0.018 //thickness of the plate in mm
//calculation
lambda=(2*(myu-1)*d)/n
mprintf("The wavelength of light used is = %4.0e m",lambda)
//The answer provided in the textbook is wrong.
|
a9c3594ad451d5bdbcd4fe1690770e0a9d3b72a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH2/EX2.1/S_2_1.sce | 357f8c861cba6daa41bcb848cc320be35bcf49f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | S_2_1.sce | clc;
//Getting resultant of two vectors
P=40; // N Magnitude of vector P
Q=60 // N Magnitude of vector Q
// imagine triangle for triangle law of vectors
B=180-25;// degree , Angle between vector P and vector Q
//R- Resultant vector
B=B*%pi/180;// conversion into radian
//R^2=P^2+Q^2-2*P*Q*cos(B); Co... |
f3793351fc55f047f027c2cde610fa2d125d63b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH9/EX9.8/ex9_8.sce | f775bab28b7d91ae6a3fe0f79ae2050b7fc327a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | ex9_8.sce | clc;
Q=10; //Heat in kilo calorie
m=1; //mass in kg
delT=24; //change in temperature in degree celcius
c=Q/(m*delT); //calculating specific heat in kcal/(kg.degree celcius)
disp(c,"Spacific Heat in kcal/(kg.degree celcius) = "); //displaying result. |
6e50c337e32cd073244ac298d241ea4c4e2351dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH10/EX10.4/Example10_4.sce | f2dde6e6f88dc1e0c08690f5f7c36a9f0e207626 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Example10_4.sce | //Example 10.4
clear;
clc;
VCC=5;
Vpeak=1;
Vth=((2/3)*VCC);
Vthmin=((2/3)*VCC)-1;
Vthmax=((2/3)*VCC)+1;
Vtl1=Vthmin/2;
Vtl2=Vthmax/2;
f0=50*10^3;
Dper=75;
C=1*10^(-9);
Rsum=1.44/(f0*C);
A=[1 -2;1 2];
B=[0;-Rsum];
R=linsolve(A,B);
RA=R(1,1);
RB=R(2,1);
Tl=RB*C*log... |
9507b4e76b7e870bf17cf2c09d7ea67a554102b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH5/EX5.8/EXP5_8.sce | c744c2dcf08b57c54374c4abb509e63c79bb1677 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,203 | sce | EXP5_8.sce | clc;funcprot(0);//EXAMPLE 5.8
// Initialisation of Variables
H=10;.......//Required time to successfully carburize a batch of 500 steel gears
t1=1173;......//Temperature at carburizing a batch of 500 steel gears in K
t2=1273;.......//Temperature at carburizing a batch of 500 steel gears in K
Q=32900;........./... |
823651a26ba03ff4397f10dc5ed3de94f9794787 | 903f095ccddc6ac2990aff02be300cd6229a2a99 | /practical-classes/jacobi-iterative-method.sce | 0df64cb44ec0f53bb293197881c6cc30eba20201 | [] | no_license | pdelfino/linear-algebra-numerical-methods | dfb39b8500eba28cc884ecb31a948f51517f1503 | 065353c0be82db134506a7b4922e08cfe77d918c | refs/heads/master | 2021-06-10T20:45:46.654441 | 2020-06-15T11:48:01 | 2020-06-15T11:48:01 | 98,227,297 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,069 | sce | jacobi-iterative-method.sce |
//function [iter_x,norm_dif,k,residual_norm] = jacobi_algorithm(A,b,x_zero,E_tolerance,M)
diagonal_elements = diag(A)
diagonal_matrix = diag(diagonal_elements)
inverse_diagonal = inv(diagonal_matrix)
[row_num,col_num]=size(A)
r_matrix=zeros(row_num,col_num)
r_matrix(row_num,1)=A(row_num,1)
r_matrix(1,col_num)=A(1,col... |
1fea2f37c09be9a7d41bf3eaf20623e8a7b3742e | 786f4889a44528121ba13abdf284f206c1e6553a | /poisson/test_poisson.sce | a3bc85415e421f2f2acae117aafaecea00281bd4 | [] | no_license | Arttaaz/MNBPLS | a151d44e13da5016e60944d7df539f4470286449 | 48eb509fdc834218e57738ffa0c391617e8fd359 | refs/heads/master | 2020-04-28T10:37:25.692040 | 2019-03-17T21:54:28 | 2019-03-17T21:54:28 | 175,208,639 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,476 | sce | test_poisson.sce |
// Initialise f(x,y)
function [f]=init_field(y,x)
f = sin(2*%pi*x) * sin(2*%pi*y)
endfunction
// Solution de référence du problème laplacien(psi(x,y)) = f(x,y)
function [ref]=solution_field(y,x)
ref = (-1)/(8*%pi^2) * init_field(y, x)
endfunction
// Affichage de la fonction f, de la solution de référence e... |
16e9f44625b653a0ca26bf6f322f20b6fb7f7367 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH4/EX4.28/Ex4_28.sce | f9f2f8e8a247d4cc635e372ab0cc46c13b414ea2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | Ex4_28.sce | clc
// Given that
n = 0.25 // Value of exponent of time in Taylor's tool life equation
C = 75 // Value of constant in Taylor's tool life equation
Lc = .15 // Labour cast in $/min
Tc = 2.50 // Total cast of tool in $
t = 2 // Change time for tool in min
// Sample Problem 28 on page no. 271
printf("\n # PROBLEM 4.28 # ... |
113448fe1a320192492da06c06063319c1a0f8c8 | 8016059350f017142cd5cdf2df5cabf94cf3c477 | /Digital Communication/unit impulse.sce | 1e964c9d25a07a6281a76476c061919178f7f081 | [] | no_license | aftalam/5th-sem-labworks | 07062dc9824af810a7d7970c7907ab999fda7c52 | d3c858587369757ccbed96bc9b29e8a1fa709824 | refs/heads/master | 2022-11-11T23:58:51.147782 | 2020-07-05T18:13:59 | 2020-07-05T18:13:59 | 275,115,844 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | unit impulse.sce | //Implementation of Unit Step & Impulse Signals
clc
clear all
t = -10:10;
u = [zeros(1,10),ones(1,11)];
i = [zeros(1,10),ones(1),zeros(1,10)];
subplot(2,2,1)
plot(t,u)
xtitle('Unit Step Continuous','Time','Amplitude')
subplot(2,2,2)
plot2d3(t,u)
xtitle('Unit Step Discrete','Time','Amplitude')
subplot(2,2,... |
3637cb953c38b883794c2615faadd37269b415d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH10/EX10.2/Ex10_2.sce | 3c3edc928bc6539bcf0ae7ea62cf728330718558 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,121 | sce | Ex10_2.sce | // Calculating the main dimentions of squirrel cage induction motor
clc;
disp('Example 10.2, Page No. = 10.14')
// Given Data
P = 15;// Power rating (in kW)
V = 400;// Voltage rating (in Volts)
rpm = 2810;// r.p.m.
f = 50;// Frequency (in Hz)
e = 0.88;// Efficiency
pf = 0.9;// Full load power factor
ac = 2500... |
228bff8e0a01c7ba7eb3813ce897d7c8f5794b94 | 337f9a673603d008cbd1b3cef9500ae806fef452 | /artigo/mamografias.sce | da73712dcc09bf98b3c5bc2360d5e4b6c7f344a8 | [] | no_license | Gervaes/PDI | 6608e3ce8dcde1373512429039e3e51de32de2d1 | 912a9f1b6e40facdbef75d8c298a52127f5403e7 | refs/heads/master | 2021-04-12T04:31:13.241166 | 2018-06-21T14:01:39 | 2018-06-21T14:01:39 | 125,973,311 | 0 | 2 | null | 2018-03-29T19:52:56 | 2018-03-20T06:48:59 | Scilab | UTF-8 | Scilab | false | false | 7,196 | sce | mamografias.sce | //Leitura da imagem
mammogram = imread('D:\github\PDI\artigo\mammogram.png');
mammogram = rgb2gray(mammogram);
//image size
[rows,columns] = size(mammogram);
w = 3; //window
u = 0.3; //k
R = 1;
//Binarization of the input image
function [value]=Binarization(i,j)
if mammogram(i,j)<= TH(i,j) then
value = 0... |
296d106cb7d656d57842bef7e0c42d54602b9968 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH12/EX12.8/12_8.sce | a23400a16130c4de1191e5025463a32e7c92834d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | 12_8.sce | clc
b=250 //mm
BM=350*10^3 //Nm
SigmaCu=30 //N/mm^2
SigmaY=400 //N/mm^2
d1=sqrt(BM*10^3 /(0.15*SigmaCu*b))
lever=3*d1/4
As=BM*10^3/(0.87*SigmaY*lever)
printf("As=%f mmm^2",As)
|
563e57a75622999ebd5511e7a7999752481381ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.17.1/Ex4_17.sce | fd33bc6df27d8f58dbd3a3839b085fe278ccf771 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | Ex4_17.sce | clc
clear
//Conditions at 10 bar pressure
P=10; //in bar
Tsat=179.9+273; //in K
Tsup=350+273;
x=0.9; //Dryness Fraction
Hf=762.8; //in kJ/kg
Hfg=2015.3; //in kJ/kg
Hg=2778.1; //in kJ/kg
Vg=0.194; //in m^3/kg
Cps=2.1; //in kJ/kg ... |
fc25941d7c15e2c82ccc1d7c43d3c7525c559768 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH3/EX3.7/ex3_7.sce | 5fca7cb5c2809562542082c0fc06564234e82761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | ex3_7.sce | //ex3.7
V_IN=24;
V_Z=15;
I_ZK=0.25*10^-3;
I_ZT=17*10^-3;
Z_ZT=14;
P_D_max=1;
//output voltage at I_ZK
V_out_1=V_Z-(I_ZT-I_ZK)*Z_ZT;
disp(V_out_1,'output voltage in volts at I_ZK')
I_ZM=P_D_max/V_Z;
//output voltage at I_ZM
V_out_2=V_Z+(I_ZM-I_ZT)*Z_ZT;
disp(V_out_2,'output voltage in volts a I_ZM')
R=(V_I... |
16b56bdc0a13950eb0c344b34a3595e4314d567c | 3f321619d7f900b79810e0b5e3722b405b099c72 | /PFM-I/cms1329-assin1-30-10-13/que12.sci | de49451d72de158bae7a0decc24e68bfaabe3adc | [] | no_license | mina20/cppLinux | a1c1b3dfd78a3edc69e08d50c532b9325a9b4110 | d0b4e950d962315b36f3202920ddda37ac744911 | refs/heads/master | 2020-12-02T22:47:50.704032 | 2017-07-04T06:42:28 | 2017-07-04T06:42:28 | 96,184,034 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sci | que12.sci | //Largest factor
function[a]=fact1(x)
c=factor(x)
disp('Factors are',c)
a=max(c)
endfunction
|
451d13db9f244380097f6dc86dcca0be72f37c34 | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP2/solsup.sci | be7b2aa37dcc833056622be17c1d6b39edb5bac3 | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sci | solsup.sci | function[x] = solsup(u, b)
// computes the solution of ux = b where u is a upper triangular matrix
[n m] = size(u);
if n <> m
error('not a square matrix');
end
[n2 un] = size(b);
if n2 <> n | un <> 1
error('wrong dimensions for b');
end
for i = 1:n
for j = 1:i ... |
61e69ee34155add585bc21581841d6be0df5ccfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.14/ex2_14.sce | 49c692f54ad0b152c75cb43b6f035178c92c032b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | ex2_14.sce | Vm=1; //Assuming Vm=1
function y=f(t),y=sin(t)*sin(t),endfunction //Defining Voltage Equation
T=%pi;
Res=sqrt(intg(%pi/6,%pi,f)/(T));
disp("Volts",Res,"Rms voltage value"); |
b01dcd52464c1fa2c8413e35d9282adc6d7acc0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3129/CH16/EX16.2/Ex16_2.sce | 9b4ee37bcd72e4a74dd8c529f5284a5c3ff7add1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,808 | sce | Ex16_2.sce | //Finding the Performance Parameters of a Three-Phase Induction Motor with Stator Voltage Control
//Example 16.2(Page No- 702)
clc
clear
//given data
p = 4;
f = 60;//Hz
Vl = 460;//V
Vs = Vl/sqrt(3);
Rs = 1.01;//Ohm
R_r = 0.69;//Ohm
Xs = 1.3;//Ohm
X_r = 1.94;//Ohm
Xm = 43.5;//Ohm
w = 2*%pi*f;
w_s = w*(2/4... |
16291ed4e3d8228c23feb30f1300bf6c747cdf8f | 881ffb027c7a05e95cd38ac9efc94f08969b4701 | /cadenasMarkov.sce | 375b2bc226dab7dd612220e68882ef04aec5530e | [] | no_license | wilmercastrillon/scripts-scilab | 754c40a950774041c1152ced887f90cfd9d6f634 | de1e9989340a6bed25a48a02696a00f16321c39c | refs/heads/master | 2020-03-06T21:23:13.880315 | 2018-05-10T04:04:46 | 2018-05-10T04:04:46 | 127,076,243 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,705 | sce | cadenasMarkov.sce |
function x=probabilidadEstadoEstable(m)
s = size(m)(1);
printf("### Probabilidades de estado estable\n\n");
a = m';
b = 1:s;
for i = 1:s-1
a(i,i) = a(i,i)-1;
a(s,i) = 1
b(i) = 0
end
a(s,s) = 1;
b(s) = 1;
b = b';
printf("Sistema a solucionar:\nMatriz ... |
7b8d5ed8cd64c911369ffe6ddfb5d41be55c4f55 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mlink_dsp_load.sci | c86aea0e3d076705f5638a97b88e91136b3aacbd | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 302 | sci | mlink_dsp_load.sci | function result = mlink_dsp_load(connection_id, dsp_firmware, dsp_params)
result = call("sci_mlink_dsp_load",..
connection_id, 1, "i",..
dsp_firmware, 2, "c",..
dsp_params, 3, "c",...
"out",..
[1,1], 4, "i");
endfunction
|
ede2802a5182376bd4e10153c96de6eb3514e4bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH5/EX5.3/5_3.sce | 6fd3415ab3cb0721473563613a658cc7e1091869 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | 5_3.sce | clc
//initialisation of variables
Q= 10 //gpm
d= 1 //in
//CALCULATIONS
v= Q*4/(%pi*d^2*3.12)
//RESULTS
printf ('veloctity = %.1f fps',v)
|
536824ad26b9341be97ba97f1dfe0e9871c6dfbe | 05db16b4f57b0182fa452e2c11554c3de6fff271 | /branches/vac4.52_sac_cuda/dev/vac4.52mkg_24_06_2010/scilab/get_body.sci | ba7de6bb3b7a5b24742e98f5b026b368eef15e5f | [] | no_license | SpungMan/smaug-all | 09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b | 01df12e98c734529ff984662badc26eaa3a9138b | refs/heads/master | 2021-11-29T14:09:47.094457 | 2018-06-08T09:48:05 | 2018-06-08T09:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,871 | sci | get_body.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// Read a snapshot from a VAC data file (binary or ascii).
// First X and w are read, (X is capitalized to avoid possible conflict with
// the name of its first component). Transform X and w according to Transform
// if generalized co... |
4926a6821086a9f2fc1a00921db271b9aa926a35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH1/EX1.10/example1_10.sce | 54a91539106a0f167fa5a6245556ecc7afb92b36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | example1_10.sce | // To find Average deviation
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 1-10 in Page 10
clear; clc; close;
// Given data
// These are the data found out... |
5379bda8a8a2898950c8800c97b19a94b5f0de59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH7/EX7.13.4/Ex7_4.sce | 6af4164a544d7035e55e7e9a9ba69e0943616ec6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | Ex7_4.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 7:Junction Transistor Characteristics
clc;
clear;
//given data
b=125;//b=forward current transfer ratio or dc current gain
Vbe=0.6; //base to emitter voltage in V
Ib=(10-Vbe)/(310*10^3); //base current in A
disp('mA',Ib*10^3,'Ib=');
Ic=b*Ib; ... |
971a4b97a080421912a882ce5f635ac647dc4921 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH45/EX45.4/example_4.sce | 0a2ae0a5d36d8e72592bb7646565c6047e52195c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | example_4.sce | //Example 4
//Chapter 45
//clc()
m=3
m1=5
lambda=5460//in A
d=31700//in A
theta=asind((m*lambda)/d)
disp(theta,"The first order diffraction pattern in degree=")
D=m/(d* cosd(theta))
disp("Solution (a)")
disp(D,"The dispersion in radian/A=")
disp("Solution (b)")
N=8000
lambda=5460
R=N*m1
delta_lambda=lambda/R
disp(delta... |
998a598aba467fe933f47b59447312cc63a49cc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH9/EX9.9/Ex9_9.sce | 923eb77cb818c7e6c3053abd8c6a2b9135de2ac0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | Ex9_9.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 9.9
//calculation of maximum and minimum value of capacitance and tandelta
//given data
R3min=100//minimum value of R3 resistance(in ohm)
R3max=11100//maximum value of R3 resistance(in ohm)
R4min=100//minimum value of ... |
646d2b802c902f7561beefda408ef82d66c61e90 | c61d570c37971fa455028a89d2163f455f91c291 | /taylor_derivNumer.sce | 5274a8a6322f4cf6b3d5cc2060a565589485da0d | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | taylor_derivNumer.sce | //Exercicio
//Usando a aproximação por diferença progressiva O(h), diferença Progressão regressiva O(h) e por diferença centrada O(h^2).
//estimar a derivada 1° de f(x) = 25x^3 - 6x^2 + 7x - 88
//para x = 2, com passo de 0,5 e 0,25.
// camparar com o vbalor real.
clear
xi = input('Entre com o valor de xi: ');
h = inp... |
519490be568485b68c159730e389f93a9ef10477 | c8c6673c602ed995c0af8bf1320fb7e2b20973b3 | /A1/results/c4.5/result0.tst | 74a2bce947b940e436fee054e7b271dc15d974a7 | [] | no_license | minminmail/PrepareData | f27d8c7d92d789238572cba918283fe32abf5590 | c49d83f50fa79074cd7e8554888a42b99f85bc99 | refs/heads/master | 2023-07-05T03:49:03.428530 | 2021-08-30T22:08:57 | 2021-08-30T22:08:57 | 396,642,286 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | tst | result0.tst | @relation distaa1828a1828
@attribute 5.3 real[0.19,16.0]
@attribute 5.5 real[0.0,12.0]
@attribute green{green,red}
@inputs 5.3,5.5
@outputs green
@data
green red
red red
green green
green green
green green
green green
green green
green green
green green
green green
green green
green green
red green
red green
The big d... |
e0ff4921d186ed4baa2048d245cfd6f5507c17b1 | 717ddeb7e700373742c617a95e25a2376565112c | /1388/CH3/EX3.2/3_2.sce | 45200a6b6af1dae1b3d851cb53df16a2ac9a8aad | [] | 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 | 210 | sce | 3_2.sce | clc
//initialisation of variables
P= 0.0060 //atm
Vl= 0.0181 //l
H= -10730 //cal
V2= 22.4 //l
//CALCULATIONS
W= (V2-P*V1)*(1.987/.08205)
E= H+W
//RESULTS
printf (' increase in energy= %.f cal ',E+4)
|
86cfd3b8f9d7e2cf558a40dba730620e879ab123 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH8/EX8.10/ex8_10.sce | d02c75096f7a342e4bb1b482b212aef2db7621bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | ex8_10.sce | // Exa 8.10
clc;
clear;
close;
format('v',7)
// Given data
N = 1000;
a = 5;// in cm^2
a = a * 10^-4;// in m^2
l_g = 2;// in mm
l_g = l_g * 10^-3;// in m
B = 0.5;// in T
miu_r= %inf;
phi = B*a;// in Wb
miu_o = 4*%pi*10^-7;
S = l_g/(miu_o*a);// in AT/Wb
// Calculation of current with the help of flux
//p... |
a54984468c77a602f19d1dcfaf9b0448210970e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH7/EX7.2/7_2.sce | dd3ab1a6f1ac03a2e93239eec5f694000fd051c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | 7_2.sce | clc();
clear;
// To calculate the charge carrier density and electron mobility
RH=3.66*10^-4; //hall coefficient in m^3/coulomb
sigma=112; //conductivity in ohm-1 m-1
e=1.6*10^-19;
ne=1/(RH*e);
//sigma = e*ne*(mew_e+mew_h)
//assuming mew_h = 0
mew_e=sigma/(e*ne);
printf("the charge carrier density per m^... |
5b3dd88b7b563cbe25e41f50fe249612eaa07551 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH3/EX3.8/Ex3_8.sce | 7f6fd194d2537560cde94d89c4f97e26ff453179 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sce | Ex3_8.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 3 Example 8")
T1=(627+273);//initial temperature of air in nozzle in K
T2=(27+273);//temperature at which air leaves nozzle in K
Cp=1.005*10^3;//specific heat at... |
1e6d859e0e0f7dc3c7f922744a5923111e984d00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.1/ex1_1.sce | 18b12b3b41dd2ee8a8d268a9ceea62ed67d62534 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | ex1_1.sce | // Exa 1.1
clc;
clear;
close;
format('v',9);
// Given data
E_G = 0.72;// in eV
E_F = (1/2)*E_G;// in eV
k = 8.61*10^-5;// in eV/K
T = 300;// in K
// The fraction of the total number of electrons
n_C_by_n = 1/( 1 + (%e^((E_G-E_F)/(k*T))) );
disp(n_C_by_n,"The fraction of the total number of electrons is");... |
f7ec5d32b2d1485a119b8b420bf9fffa94ebe0f5 | e9dd4206710f078df0cbbfefc5d59466b8ade810 | /SCILAB/max_min.sce | a4499914b8eaa7c92d49de020d104e50f4fb27db | [] | no_license | symtalha14/Numerical-Computation | 28263659bfbbf2eb14d376b085b0355742257d82 | 9fcdaf2c958c6cd4a2a57157bf4fb4b2e3b9c253 | refs/heads/master | 2020-09-14T01:25:54.180235 | 2019-11-22T11:07:48 | 2019-11-22T11:07:48 | 222,967,340 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | max_min.sce | //5x3 matrix
A=[15 12 13;42 25 66;32 82 90;101 1 -12; 3 134 -15]
function [Max,Min] = max_min(A)
f=10
Max=A(1,1)
Min=A(1,1)
for i=1:5
for j=1:3
if A(i,j)>Max then
Max=A(i,j)
end
if A(i,j)<Min then
Min = A(i,j)
end
... |
e72a99e08809a61ab97dd3468dad649377d18623 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/histogrammeFct.sci | b5fb5cb65d17507809495c35e504dda1ddae7e54 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sci | histogrammeFct.sci | // Fonction pour faire l'histogramme
function histo=histogrammeFct(image)
SizeX = size(image, 1); //On récupère la longueur de l'image à modifier.
SizeY = size(image, 2); //On récupère la largeur de l'image à modifier.
histo = zeros(1, 256); //On crée une matrice nulle qui va contenir l'image modifiée (ic... |
887ad75c03db07ef8ee13476aeb29d187b286f5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH9/EX9.20/Ex9_20.sce | d60afeeef921262c823802b7188759df3e3ffd82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Ex9_20.sce | //Ex 9.20
clc;
clear;
close;
format('v',5);
fNO=50;//Hz
Q=20;//Quality Factor
disp("Various design parameters are :-");
C=1;//micro F//Chosen for the design
disp(C,"Capacitance C(micro F)");
R=1/(2*%pi*fNO)/(C*10^-6)/1000;//kohm
disp(R,"Resistance R(kohm)");
disp("Use R=3.2 kohm");
//Q=(RA+RB)/4/RA
RA=1;/... |
aa66d64ce7802acf6050b41917613ef48ff7aa92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH3/EX3.4/Chapter3_Ex4.sce | a4028847d44841c693f0048e0b98ee83c8389521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,351 | sce | Chapter3_Ex4.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc.,USA,pp 436.
//Chapter-3 Ex3.4 Pg No. 101
//Title:Volume of reactor for Gas Phase isothermal reaction
//==================================================================================================================
clear
clc
//INPUT
//Fi... |
db3ad72d8910a31a85134ee9203e59be82fc94c8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH1/EX1.18/Example1_18.sce | f4a5570d851caeab632416122a520c5f89b24d4b | [] | 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 | 236 | sce | Example1_18.sce | errcatch(-1,"stop");mode(2);//Example 1.18
//Program to Compute Cross-correlation of given sequences
//x(n)=[1 2 1 1], h(n)=[1 1 2 1];
;
;
;
x=[1 2 1 1];
h=[1 1 2 1];
h1=[1 2 1 1];
y=convol(x,h1);
disp(round(y));
exit();
|
fc0e61db4fcb4de609c681062a1aea1bcfc2ebb3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/signal/%asn.sci | a239582842d2200307c0f78932ba8d4e372ae697 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sci | %asn.sci | function [y]=%asn(x,m)
//Calculates the elliptic integral:
// y = integral from 0 to x of
// [1/(((1-t*t)^(1/2))(1-m*t*t)^(1/2))]
//For vector arguments y is a vector
// x :Upper limit of integral (x>0)
// m :Parameter of integral (0<m<1)
// y :Value of the integral
//
//!
//Author F.D.
m=real(m);
if m<0 then... |
76cbf6b9fbf12ae8d19998fc5f7ef3f5f3965896 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH2/EX2.6/Ex2_6.sce | 21e3fa9c452040abc22bcc385dc0817c32459d42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | Ex2_6.sce | //Ex2_6
clc
Vi=10
disp("input voltage,Vi = "+string(Vi)+" volts") //initialization
Vim=Vi*sqrt(2)
f1=50
disp("frequency,f1="+string(f1)+" hertz") //initialization
RL=1100
disp("resistance,RL = "+string(RL)+ " ohm") //initialization
C=50*10^(-6)
r=1/[(4*sqrt(3))*f1*RL*C] // Formulae
disp("Ripple factor,r = ... |
6360d57ed28ed0c33098abb3688f03f8d79a03ce | e84c695e8b1696d2aeef6bd6e769c7948dbeb16a | /cn/sistemas_edo.sce | d882a4188120e423c51bc222674f5435df11279b | [] | no_license | xarmison/disciplinas | 33bdef9ced6b7fd2da82d9929eb06a2fe5f66143 | 0fd6cd2241ab5108061e46f95f6db01b1ad8a350 | refs/heads/master | 2022-01-05T16:37:51.066680 | 2019-06-29T15:35:46 | 2019-06-29T15:35:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,605 | sce | sistemas_edo.sce | // Sistema de EDOs
function w = gy(x, y, z)
//w = -0.4427 * sqrt(y) + 0.23 * (4 + 4 * sin(x));
w = -0.217730593 * sqrt(y) + 0.221793635 * (8 + 6 * sin(x))
endfunction
function w = gz(x, y, z)
//w = -0.4427 * sqrt(z) + 0.4427 * sqrt(y);
w = -0.305476022 * sqrt(z) + 0.217730593 * sqrt(y)
endfunction
fun... |
8435ecec5583e95ad6a868f02533960d27b938b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH8/EX8.2/Example_8_2.sci | c4d187e29a0327fa50ceec8c8bd069d98627ab10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sci | Example_8_2.sci | clear;
clc;
printf("\n Example 8.2");
//From the gel polarisation model:
//J = (1/A)(dV/dt) = hD ln(Cg/Cf)
//Cf = Co(Vo/V)
//where Co and Vo are the initial concentration and volume,respectively and Cf and V are the values at subsequent times
//Combining these eq gives
//dV/dt =... |
94b57e11091308d945553d916011e8992b561be9 | 0e637a0e41450cddb847e0328eaebb9365cefdd4 | /2nd assignment/convolution.sce | 74e8e26d8717d81e524308d8b884f60b798d0323 | [] | no_license | mehtasankets/CASP | 32c7ea00fca072e85d664f4acd050edee5f26a5f | 5dbdd3c14b1b2620c29ab5bfdad640f4529d779c | refs/heads/master | 2020-04-28T09:20:00.026745 | 2011-11-03T08:33:12 | 2011-11-03T08:33:12 | 2,700,756 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | convolution.sce | count = input("Enter lenght of x() :")
for i = 1:count
printf("Enter x(%d) :",i)
x1(i) = input(" ")
end
count = input("Enter lenght of h() :")
for i = 1:count
printf("Enter h(%d) :",i)
h1(i) = input(" ")
end
x = x1
h = h1
len = length(x) + length(h) - 1
for i = 1:len - length(x)
x($ + 1) = 0
end
... |
7a3abca09038c14185f43b5c599e0a4cc2b864d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH5/EX5.5/Ex5_5.sce | 73e5126ee52d1429724593f7c9058a1b88e2dde3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex5_5.sce | clc//
//
//
//Variable declaration
k=1.38*10^-23; //boltzmann constant(J)
T=24600; //temperature(K)
m=9.108*10^-31; //mass(kg)
//Calculation
vF=sqrt(2*k*T/m); //fermi velocity(m s-1)
//Result
printf("\n fermi velocity is %0.2f *10^6 m s-1",vF/10^6)
|
347f484e5a4200c6b20967df915f62894dd5003d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH2/EX2.4/ex2_4.sce | c95a19a00c17224d682532be44500a06dd9c30b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | ex2_4.sce | // Example 2.4, page no-117
clear
clc
//(a)
p_diff=500
pdiff=p_diff*13.546/10000
printf("(a)\np1-p2 = %.3f kg/cm^2",pdiff)
//(b)
p1=6770
p_atm=10300
abs_p1=p1+p_atm
printf("\n(b)If p2 is open to atmosphere:\nAbsolute Pressure P1 = %d mmWG abs.",abs_p1)
//(c)
P1=500
P1_gauge=P1-760
printf("\n(c)If p... |
ca9106e2c45fa0cdd6297c66dc4b6ce3c2193d7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.31/P2_31.sce | f596eea0c6094a8823b6863589017699258dd7fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | P2_31.sce | //EXAMPLE 2.31, Stability for causal system.
//h[i]=impulse response of LTI system.
clear;
clc;
n= -5:0.001:5;
a=0.6;
for i=1:length(n)
if (n(i)<0)
h(i)=0;
else
h(i)=abs(a^n(i));
end
end
S=sum(h);
if(S<%inf)
disp('BIBO stable system');
else
disp('BIBO unstable system');
... |
9521f76c07ed42cf52792ad2eed10164f8178b39 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/newtry3.sce | e9dac0b83dddd9b9a69ab3f0d8df615b796103c1 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,430 | sce | newtry3.sce | clc
clear
x=8
z=25
iter=1000
a=zeros(1,z)
rag=zeros(iter)
ryg=zeros(iter)
jl=0.8
v=8
cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20
]
tim=[0 12 6.2 5.6 27 17 20 29 44 18 16 23 24 34 11 9 11 11 13 17 14 30 25 28 27;
12 0 5.2 9.9 39 29 32 40 52 29 27 34 36 46 23 20 23 15 18 24 21 ... |
90f5485c719c503c4c0ac4772883291193927051 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH6/EX6.1/ex6_1.sce | 6e9ad16edb481a6f12d040bcd705bfa7cc58dbfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | ex6_1.sce | //Ex 6.1
clc;
syms s;
v=10;
R=4;
L=2;
C=0.125;
V=laplace(v);
I=V/(R+L*s+(1/(C*s)));
i=ilaplace(I);
disp(i,'i(t)='); |
22b944e6bdd39f584a1d2a348d8fb0e4223295d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.7/ex7.sce | 05a8e020333cfd8328944c12e87573c26f567b35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | ex7.sce | // Example 6.7 : Application of miller's theorem
// 6.7a
// By miller's theorem
Z=1000*10^3; // (ohm)
K=-100; // (V/V)
R_sig=10*10^3; // (ohm)
Z_1=Z/(1-K);
disp(Z_1,"Z_1 (ohm)")
Z_2=Z/(1-(1/K));
disp(Z_2,"Z_2 (ohm)")
VobyVsig=-100*Z_1/(Z_1+R_sig); // VobyVsig=(V_o/V_sig)
disp(VobyVsig,"(V_o/V_sig) (V/V)")
... |
3da0cc3c4f6a755fab742f08e9daf1566b1fc3e5 | cb412970af67cd342235f1ad29668c7ac9a2dfed | /mt_tutorial41/mt_demo.sci | 0fd1931255adf47b8b78cb9bbefa62417c120d50 | [] | no_license | dowaiko/mt_tutorial41 | cdab43af761897afc940ae64deb7df423bdd5776 | d21788c424e2c1df2ecc46ca6ae270e393433e85 | refs/heads/master | 2020-04-10T13:25:27.584350 | 2019-05-31T13:37:08 | 2019-05-31T13:37:08 | 161,050,504 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,635 | sci | mt_demo.sci | clear;
printf('\n');
printf('************** mt demo ****************');
printf('\n');
printf('Enter a File Name of UNIT SPACE');
UnitSpaceFile = input('File Name(.xls)?: ',"string");
//printf('./' +UnitSpaceFile+'.xls\n');
MT_Mat_Sheets = readxls('./' + UnitSpaceFile + '.xls'); // EXELファイルの読み出し
Sheet ... |
2b84700492e2a8e17bbfdd6bf4e30c1c8f3913c1 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/funcionTangenteMaclaurin.sci | 3b4c00419031c6795d95a279139d9c9c4cba6726 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,263 | sci | funcionTangenteMaclaurin.sci | //Serie de Maclaurin de la serie geométrica
//function [et, ea, aprox] = funcionTangenteMaclaurin(x, iter)
//Entrada:
//x : valor en que la serie sera evaluada
//iter : cantidad de terminos de la serie
//Salida:
//et : vector de errores relativos
//ea : vector de errores aproximados
//aprox : vector con valores... |
4bb3d00d611151d63805bd0aab4f6b0cd8000567 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.16/Chapter6_Example16.sce | 9f028d17b1a7dfa808bfc57e54cccb62887ae415 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Chapter6_Example16.sce | clc
clear
//Input data
P=10^5;//The average pressure of the steam in a double acting steam engine in newtons/m^2
L=1;//The length of the stroke in m
A=0.15;//The area of the piston in m^2
N=5;//Number of strokes in strokes per second
//Calculations
P=(2*P*L*A*N)/1000;//The power of the engine in kilowatt... |
4ebadb2d2ae6a971ea2e80c98d81fe73a74947e1 | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /sci_gateway/cpp/loader.sce | c82304fe9f83b985d49fa54dfc9ae790b4eb85b6 | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,599 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
libSkeleton_imagepr_path = get_absolute_file_path('loader.sce');
//
// ulink previous function with sam... |
61c33fbc938289a1a8e60f6688b9ede89862be4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH8/EX8.18/example18.sce | 99e5d5c2c121b30f6aab979319dffd9dc86afe6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | example18.sce | clc
clear
//input data
Q1=120//Discharge of each of the multi stage pump in parallel in first case in m^3/s
Q2=450//Discharge of the multi stage pump in second case in m^3/s
H1=16//Head of each stage in first case in m
D1=0.15//Diameter of impeller in first case in m
H=140//Total head developed by all pumps in s... |
53a77a75e434ffdac74eaa1358a16a09aca74988 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH14/EX14.13/Example14_13.sce | fdbb0734fdb261790e0e6c78b1543853c2ef9792 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | Example14_13.sce | close();
clear;
clc;
//(a)
//from solved example 14.12 and 14.9
Ra = 0.05; //ohm
V = 230; //V
Pc = 920 + 1800; //W
If = 4; //A
Ia = sqrt(Pc/Ra);
Il = Ia - If;
mprintf("(a) At load of %0.2f A ,the generator achieves maximum efficiency\n\n",Il);
//(b)
//output power 'Po'
Po = Il*V; //W
Pa = Ia^2 * Ra;
//... |
a728fd1be656d3222268d277036b191949815d08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.17/Ex1_17.sce | cae53386ac91f4f409a6ff8054d68294cbd3ce38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 887 | sce | Ex1_17.sce | //water//
//page 1.31 example 1//
clc
Purity_Lime=.90
Purity_soda=1
W1=136;//amount of CaSO4 in ppm//
W2=49;//amount of H2SO4 in ppm//
W3=95;//amount of MgCl2 in ppm//
W4=60;//amount of MgSO4 in ppm//
M1=100/136;//multiplication factor of CaSO4//
M2=100/98;//multiplication factor of H2SO4//
M3=100/95;//m... |
4abba3f9382366da9dac26466f394ddcaeb7518f | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_dirsum.sci | 0d10d65e884497e7aec65ea9af5af5baf7530656 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sci | PIL_dirsum.sci | // **** Purpose ****
// calculate the direct sum of two matrix
// **** Variables ****
// A: nxn, real or complex
// <= matrix A
// B: nxn, real or complex
// <= matrix B
// C: nxn, real or complex
// => direct sum of A and B
// **** Version ****
// 05/01/2014
// **** Comment ****
function [C]=PIL_dirsum(A,B)
A_c=l... |
6f9491fbcf62426a304f21312827d2ffc89cdcf7 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/course/scilab/basics_importdatafile/wav2d_load.sci | 416cbd9aa26820bde694c0d4c4324e2c0c0303df | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sci | wav2d_load.sci | %Example importing data from ascii file using the load command
%use with matlab script wav2dtest
%Load results and assign to cell array
load 'wav2dtest.out';
for ic=1:11
res{ic}=wav2dtest(1+(ic-1)*100:ic*100,1:100);
end |
e2a42ca14849b7b2d710ab58c8cea0c5d1dfdef6 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH17/EX17.8/EX17_8.sce | 61c7cf055223d8e2ed17e01fac8cdc6984d5711f | [] | 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 | 164 | sce | EX17_8.sce | errcatch(-1,"stop");mode(2);//Example 17.8
p=0.10//in w
t=24//in h
Energy=p*t
disp(Energy,"Energy in kwh=")
cost=Energy*0.12
disp(cost,"Cost in dollars=")
exit();
|
1bd25ff962c81699400db66ac49b689834a9525d | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH13/EX13.1/ex_13_1.sce | 1e73b909bad27715d094c118578eb60c713dc3ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | ex_13_1.sce | //exmaple 13.1//
clc
//clears the screen//
clear
//clears all existing variables//
a=31;
//rising edge//
b=241;
//falling edge//
c=8;
//in MHz//
t=1/c;
pw=(b-a)*t;
//pulse width//
disp(pw,'pulse width measured by microcontroller(in microsec) is :') |
ce58a2fbb9231d8675f34b7ab242adaca4d05fe9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH2/EX2.3/ex_3.sce | ce3d244e0386652753ee079d00b0b3009840523c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | ex_3.sce | // EXAMPLE ( PG 66)
// To find largest root, alpha, of f(x) = x^6 - x - 1 = 0
// using secant method
deff('[y]=f(x)','y=x^6-x-1')
a=1
b=2 // Initial approximations
// we call a user-defined function 'secant' so as to find the approximate
// root of the equation with a defined permiss... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.