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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7bc2d287843ba079cd7b4c801f93360cb6c1c01e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH19/EX19.13/Ex19_13.sce | 6c782e0bba3d9beb2f3ef05df5470a2521a6d4d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | Ex19_13.sce | P=500//in kN
Pu=1.5*P//in kN
fck=15//in MPa
fy=250//in MPa
l=3//unsupported length, in m
//assume 1% steel
Ag=Pu*10^3/(0.4*fck*0.99+0.67*fy*0.01)//in sq mm
L=sqrt(Ag)//assuming a square column
L=315//in mm
emin=l*10^3/500+L/30//<20
emin=20//in mm
ep=0.05*L//<emin, hence the column is to be checked for bendin... |
62563fde6b7c7bf877c0e7260ed8ca1f97cfeda1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH5/EX5.3/Ex5_3.sce | 3262a4955d92c3fb99988c5fa5917d30a0be858c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_3.sce | // Exa 5.3
clc;
clear all;
// Given data
// 3 1/2 digit display
V1=1; // Volts
V2=10;//Volts
// Solution
disp("Number of full digits is 3.");
n=3;//Full digits
Reso=1/10^n;
printf(' Resolution = %.3f . Hence, meter cannot distinguish two values if their difference is less than %.3f \n ',Reso,Reso);
... |
7c7aac4e359f81270fb8683e04c07f6815f37da4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH12/EX12.5/12_5.sce | 8ae301f053429d776241b7ead252d6cd24d64576 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_5.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 12.5
//calculation of the total mechanical energy of the system
//given data
m=40*10^-3//mass(in kg) of the particle
A=2*10^-2//amplitude(in cm) of motion
T=0.2//time period(in s) of oscillation
//calculation
E=(... |
726a9bae37aa4f17f30c52b1a1632682cc631861 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH2/EX2.3/ex2_3.sce | 2aeb7db96d5b0bf1368943bfe668a33063f9bd6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | sce | ex2_3.sce | clc;
disp((1.5*10^11)/(3*10^8),"Time in second = "); //using t=s/v |
d52f256e8669bb4a6fa65688cfb8513bb110827b | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqPWMInit.sci | 7899ec9f1d05b130efa76355e90b04cb959459c0 | [
"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 | 2,698 | sci | mdaqPWMInit.sci | function mdaqPWMInit(arg1, arg2, arg3, arg4, arg5, arg6)
link_id = -1;
if argn(2) == 5 then
module = arg1;
period = arg2;
active_low = arg3;
channel_a = arg4;
channel_b = arg5;
end
if argn(2) == 6 then
link_id = arg1;
module = arg2;
peri... |
5709cda5937fa76ec1457ea41bab8d63aca401c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH3/EX3.3/exa_3_3.sce | a3b334d43b44b24416a17895605039b61675514a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | exa_3_3.sce | // Exa 3.3
clc;
clear;
close;
// Given data
T=300;// in K
V_T= T/11600;// in V
v= 0.3;// forward bias voltage in volt
I= 10;// leakage current in micro amp
I=I*10^-6;// in amp
id= I*(%e^(v/V_T));// in amp
disp(id,"The diode current in amp")
|
64fbc8cce4b1782f9050791ab784f9513183a8b2 | af7cd799acb90ee773382c3b1b8630e092971cd8 | /tp-cn/gauss.sce | 3a845cbf8184c1d8dde0bc6aab134dd831ec4ec4 | [] | no_license | Souad742/my-repo | 1e080b1a593aa1f8f24edd2ed4a766680344510f | 3c0df0e0cf230cbd6160d8e9a08ca7b51bdbf324 | refs/heads/main | 2023-02-03T05:06:47.269245 | 2020-12-18T23:32:27 | 2020-12-18T23:32:27 | 305,127,993 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | gauss.sce | function [x]= gausssolve(A,b)
n=size(A,1);
mik=0;
for k=1:n-1;
for i=k+1:n;
mik=(A(i,k)/A(k,k));
b(i)=b(i)-mik*b(k);
A(i,(k+1):n)=A(i,(k+1):n)-mik*A(k,(k+1):n);
end;
end;
x(n)=b(n)/A(n,n);
for i=n-1:-1:1
x(i)=(b(i)-A(i,(i+1):n)*x((i+1):n))./A(i,i);
end
endfunction
|
8fb25d405a6eb069c27a59c8a9f427ca3b4925a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH7/EX7.12/Ex7_12.sce | f9fa25671a8bddbe1741591986cc2f4e3f06be6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Ex7_12.sce | clear
//
//
//
//Variable declaration
lamda=1.54*10**-10 //wavelength(m)
n=1 //order
theta=19.2*%pi/180 //glancing angle(radian)
h=1
k=1
l=1
//Calculation
d=n*lamda/(2*sin(theta))
a=d*sqrt(h**2+k**2+l**2) //cube edge of unit cell(m)
//Result
printf("\n cube edge of unit ce... |
a6d4cfc810f2b0901d344faf54b0429b6f106fca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH2/EX2.14/Ex2_14.sce | 2926ba5809745a33a6bed1ef0e8b8087b15e20ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | Ex2_14.sce | clc
w = 2 // width in mm
t = 5 // thickness in mm
theta=6 // shear in degrees
tau = 382.5 // ultimate shear stress in MPa
F = w*t*tau*1000 // cutting force in N
l = t/sin(theta*%pi/180) // length to be cut in mm
F_i = l*t*tau // cutting force in N
printf("\n cutting force with parallel cutting edges = %0.3f MN\... |
890d1416fa9751650d3788f89a6f61481ab827e2 | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/satimage/data.tst | aaf392e49e1410bddfbd6fbfec4601cccba691a6 | [] | 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 | 246,745 | tst | data.tst | 80 102 102 79 76 102 102 79 76 102 106 83 76 99 108 85 76 103 118 88 80 107 118 88 79 107 109 87 79 107 109 87 79 107 113 87 class2
76 102 102 79 76 102 106 83 76 102 106 87 76 103 118 88 80 107 118 88 80 112 118 88 79 107 109 87 79 107 113 87 79 103 104 83 class2
80 98 106 79 76 94 102 76 76 94 102 76 80 107 113 85 80... |
a155d659c42972cc60e7f96ce430e3c18021df53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH7/EX7.8/ex7_8.sce | 3c883ef58e6b0b3556b2211edc5c328129c353ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,048 | sce | ex7_8.sce | clc;
m=0.05; // mass flowrate of Freon 12 in kg/s
p1=300; // Pressure of Freon 12 at inlet in kpa
t1=5; // Temperature of Freon 12 at inlet in degree celcius
p2=1.2; // Pressure of Freon 12 at outlet in MPa
t2=80; // Temperature of Freon 12 at outlet in degree celcius
W=-2.3; // Power consumption of compressor in... |
135515c5c07a100fd2d7d43df6a83edecad8bdc9 | c565d26060d56f516d954d4b378b8699c31a71ef | /sinetest_manual/sine test/sine.sce | 9ae465d8155b011760e952f7585381b2df754c65 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 914 | sce | sine.sce | clear data7; exec('sec.007.txt'); getf('labelbode.sci');
T = data7(:,1); fan = data7(:,3); //T is time, fan is fan speed
u = data7(:,2)-20; y = data7(:,4)-28; // u is current, y is temperature
f=0.007;
p=length(u);// u is current
data_width=3;
p2=(p/data_width);
p1=round(p2);
[q,k]=max(u((p-p1):p,1));//q is max... |
7097373ad394bb90251bba22f34ddc419e23b11b | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Kyoukai.sci | 4090c2da01e267a0bdf99212ba7e67fb32c0b078 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,203 | sci | Kyoukai.sci | // 08.05.18
// 08.05.19
// 08.05.20
// 08.05.30
// 08.09.19
// 08.10.26
// 09.01.15 "e"
// 09.05.18
// 09.12.05
// 16.11.03 Eps=10^(-5)
// 16.12.05 Eps=10^(-7)
function PLall=Kyoukai(varargin)
global XMIN XMAX YMIN YMAX
Nargs=length(varargin);
Eps0=10^(-7);
DataL=[];
for I=1:Nargs
Tmp=varargin(I);
i... |
5addbad68e408c3340e48b903ac3d2faa0e0da41 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/mlt.tst | 73d1141297aa061effcebfeb9d4a67682555bdf9 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,260 | tst | mlt.tst | qatel qtilt V;PRF;FIN;SG;1;PST
indika jindika V;IPFV;FIN;MASC;SG;3;PST
sama' semgħet V;PRF;FIN;SG;2;PST
samat samtet V;PRF;FIN;FEM;SG;3;PST
irrisponda irrisponda V;PRF;FIN;MASC;SG;3;PST
gidem gidem V;PRF;FIN;MASC;SG;3;PST
miet mmut V;IPFV;FIN;SG;1;PST
ħolom ħolmu V;PRF;FIN;PL;3;PST
jaf taf V;IPFV;FIN;SG;2;PST
iddawnlow... |
76d6f52402ec7cba3473d39e76ee3aee7226ad3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH3/EX3.14/example14.sce | 6fe122127a61b47dbf90c5f3e93e05eb6508b9d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 958 | sce | example14.sce | clc
clear
//input data
dH=0.14//Rise in static pressure of the air by fan in m of water
N=650//The running speed of the fan in rpm
P=85*0.735//Power consumed by the fan in kW
H1=0.75//The static pressure of the air at the fan in m of Hg
T1=298//The static pressure at the fan of air in K
m=260//Mass flow rate of... |
270d6bbe7a7dd533681d813d4478d4180e21fdd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH6/EX6.22.2/Example_6_22_2.sce | 0735e1d0a7896ccfc0a69dcefb75fce7482f0af8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Example_6_22_2.sce | // Example 6.22.2 page 6.69
clc;
clear;
n1=3.5; //refractive index
n=1; //refractive index of air
F=0.69; //transmission factor
eta = 100*(n1*(n1+1)^2)^-1; //computing eta
printf("\neta external is %.1f percent i.e. small fraction of intrnally generated opticalpower is emitted from the device.",... |
381f6fd4619ac68585409a0b4723046940e8b700 | 4dd80e07c98afab68d53d3c1c1d50f713f8d4d90 | /UNIT1/lu_decomp.sce | 1c87e67db46ffe256728f6e18a52cebfa294394c | [] | no_license | AnanyaV0308/SCILAB | 4df7069274ffd6a704c572f8b476ff21625122a5 | fd9498813a0c31f698e30557107f3840371cd18a | refs/heads/master | 2020-12-30T08:05:35.318270 | 2020-06-03T10:30:09 | 2020-06-03T10:30:09 | 238,921,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | lu_decomp.sce | clc
funcprot(0)
format('v',10)
mat1 = input("Enter a matrix[NxN]: ")
function lu_decomposition(mat1)
U = mat1;
disp(mat1,"Matrix A = ")
m = det(U(1,1));
n = det(U(2,1));
x=n/m;
U(2,:) = U(2,:) - U(1,:)/(m/n);
n= det(U(3,1));
y=n/m;
U(3,:) = U(3,:)... |
9b724de1d9a42a82d5d6a5a7d96485a2d23806b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH8/EX8.6/exp8_6c.sce | b2c405027ab8bed88f5411f31eef99beab176b91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | sce | exp8_6c.sce | clear
clc
disp("example 8.6")
mh=205//mean height
a=1000*10^6//in miters
r=1.25//annual rain fall
er=0.8//efficiency
lf=0.75//load factor
hl=5//head loss
et=0.9//efficiency of turbine
eg=0.95//efficiency of generator
wu=a*r*er/(365*24*3600)
printf("\nwater used is \t\t%fm^3/sec",wu)
eh=mh-hl
printf("\neff... |
f8456d71c613a9d9d024cbe3a7712a87f3343185 | b846ffaa3e3e3311c37e95270bbe930fdf91a314 | /simpson1-3.sci | ae1930d67ea61fe4f5f998804831ad01bca67456 | [] | no_license | rahulgarg28071998/mathlab-practical-scilab | 100a15f74f94942d32a8be8125b4020a7e265ede | a83cc6b817fcca9268a59583eab372109552f2f8 | refs/heads/master | 2020-03-11T15:22:05.161498 | 2018-04-18T15:19:11 | 2018-04-18T15:19:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sci | simpson1-3.sci | clc
clear
deff('y=f(x)','y=x/(x*x+5)')
a=input("enter lower limit")
b=input("enter upper limit")
n=input("enter number of sum intervals")
h=(b-a)/n
x(1)=a;
sum=f(a);
for i=2:n
x(i)=x(i-1)+h
end
for j=2:2:n
sum=sum+4*f(x(j));
end
for k=3:2:n
sum=sum+2*f(x(k));
end
sum=sum+f(b);
val=sum*h/3... |
d83254330c5aee3932d5657cf59119806db93e41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH7/EX7.6/Ex7_6.sce | 13d5d80e2eaac74bd935e0bffda492f89ef3474b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Ex7_6.sce | //Ex_7_6
clc;
clear;
close;
format('v',6);
//given data :
IE=10;//mA
IB=5;///mA(Base Current)
IC=IE-IB;//mA(Collector Current)
BetaR=IC/IB;//unitless
alfaR=IC/IE;//current gain
disp(BetaR,"BetaR=");
disp(alfaR,"alfaR=");
//Answer is wrong in the book.
|
9b8a91d1c95a5a451de4c874ba843c1191fed180 | d9e20e3e491ed05049f4f1a44021e96499a581ba | /src/estimadorpolinomialq2.sce | 867171c6893e245e5f5568612cccfa33e814b9be | [] | no_license | josenalde/applied-math | 1e13000bec5e92fa828bee3193607cf8a200a604 | 76a9aab93d69e4be6b564cae72c441bc648444d4 | refs/heads/master | 2021-01-10T09:21:01.369665 | 2020-09-21T22:56:42 | 2020-09-21T22:56:42 | 46,852,259 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,532 | sce | estimadorpolinomialq2.sce | // questao 2, lista 5
// Prof. Josenalde Oliveira - TADS MA II - Out/2015
x = 10:10:100;
fx = [380.43 397.5 412.01 423.96 433.35 440.18 444.45 446.16 445.31 441.90];
for i = 1:length(x)-1
dx(i) = (fx(i+1) - fx(i)) / (x(i+1) - x(i));
end
printf("Primeira Diferença:\n")
disp(x')
disp(dx)
for i = 1:length(dx)-1
... |
80cdb43d2cd1cfc6a11541af77c8dea9dca1233a | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/descomposicion.sci | 22664aefa154d97b0f91d6b3b72edcfe539f726f | [] | 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 | 571 | sci | descomposicion.sci | // Estimación de la descomposición de un contaminante en un reactor
// function [c, t] = descomposicion(Cinicial, k, stepsize, tfinal)
// Entrada:
// Cinicial : Concentracion inicial del material radioactivo
// k : constante de proporcionalidad
// Salida:
// t : vector de tiempo en minutos
// c : vector concent... |
5f069ef3e0450b2b4f89e5877ec8fdae34c93b93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH4/EX4.27/27.sci | f599e5dde52c5ea8cd95fe84e3a26412aaa01bff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sci | 27.sci | clc;
clear all;
disp("The Time lag")
x=300/1000;//m
rho=1600;// kg/m^3
k=0.65;//W/(m.C)
c=440;// J/(kg.C)
n=1/24;// h^-1
n
a=k*3600/(rho*c);
a
deltau = (x/2)*(1/(3.1416*a*n)^(0.5));
disp("h",deltau,"time lag =")
|
1d337537e4b2adf1f57c6217415c37a717c6884f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH10/EX10.3/Ex10_3.sce | 1cf437f32f205f957d5fe8b6c3996cf455da1530 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,350 | sce | Ex10_3.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 10 : Sinusoidal Steady State Analysis
// Example 10 - 3
clear; clc; close;
// Given data
Z11 = complex(8.0000,8.000);
Z12 = c... |
cb9858145fe7a91cc9a8a24698608375d309940e | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH3/EX3.4/example3_4_TACC.sce | 88261fcc166332da6f1a1a8865d2ac7fe843fa47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | example3_4_TACC.sce | //example 3.4
clear;
clc;
//given:
disp("C7H16(l) + 11O2(g) -> 7CO2(g) + 8H2O(l)");
n=-4;//change in no. of moles when reaction proceeds from reactants to products
T=298;//temperature of the process [K]
R=8.314;//universal gas constant [J/K/mol]
Qv=-4800;//heat energy at constant volume [KJ]
//to find ... |
e6659f57b700a921a7e6370d7606d079ab7ad68b | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH8/EX8.03.02/8_03_02.sci | 971d4fef4a55f6cd2dfaaac2eca9c7fd9d1b57b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sci | 8_03_02.sci | //coefficient//
p=poly([5],'s','coeff');
q=poly([5 3 1],'s','coeff');
G=p/q
H=0.6
y=G*H //type 0
//refering the table 8.2 given in the book ,for type 1 Ka=0 & Kv=0
syms s
Kp=limit(s*y/s,s,0) // Kp=positional error coefficient
|
aeff08d1dc296d00a262ffda13a6dfda11638f30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH14/EX14.12/14_12.sce | 62029aa1eb962f3a0a0770bbcfb3d0b098f6ba84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | 14_12.sce | clc
//initialisation
s=1.5//cal cm^-2 min^-1
k=0.0027
//CALCULATIONS
td=-(s/(k*60))
//results
printf(' \n temperature gradient= % 1f c cm^-1',td)
|
dd7c3a62221a3b168cabd7447e8cee36de5d93bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH6/EX6.12/12.sce | c5b047d6ff250f9e00bafb33b1e650e7b56191a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12.sce | clc
T_w1=323; //K
T_w2=343; //K
T_o1=513; //K
T_o2=363; //K
SG_oil=0.82;
c_po=2.6; //kJ/kg K
c_pw=4.18; //kJ/kg K
T0=300; //K
m_o=1; //kg
//Heat lost by oil=Heat gained by water
m_w=(m_o*c_po*(T_o1-T_o2))/(c_pw*(T_w2-T_w1));
dS_w=m_w*c_pw*log(T_w2/T_w1);
dS_o=m_o*c_po*log(T_o2/T_o1);
dAE_w=m_w*[c_pw... |
9d546d3d99804251e0e1c6bc8b5ad508a0a075cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH13/EX13.7/Example_13_7.sce | 122c9b434a3584ecd7fbed9b8136ba775bd4c3ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 847 | sce | Example_13_7.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 13.7
//Caption : Program to Find the Composition of Product Steam at Equillibrium
T=1393.15;//K
P=1;//[bar]
x=10^4/T;
//C2H2 --> 2C + H2 (I)
//2C + 2H2 --> C2H4 (II)
/... |
5004aee87a51cce71c7f66cb13f6ceafad8f5599 | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /pushswap42/scripts/docker_file/test_500/test15.tst | 6e6647a8f9b331bd1b4321c5074e80c000757fc3 | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,898 | tst | test15.tst | 30043 48673 46665 12826 1898 23725 31306 1379 49785 27721 21445 39335 19044 13538 41517 41942 467 14409 32608 42791 42714 14457 4575 9907 4243 30603 10152 11205 23035 14490 33416 39897 23438 47573 33627 19161 36977 35592 24574 7144 8069 42399 14399 24144 40412 5842 22566 18811 10948 9327 40737 45096 29680 42424 32436 4... |
1eb22133e7c4fec558c922dd6bce6f6a502b11c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH6/EX6.5/Ex6_5.sce | ccf43d8445fa23dc959e2d39b26bf5fbd246856e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | Ex6_5.sce |
//determine the shaft power hydraulic efficiency
//ex 6.5 pgno.151
clc
N=1260 // runner speed
Q=0.4 // flow rate
H=92 // head
g=9.8 //constant
a1=20 // van angle
R1=(2*600)/1000 // radius at inlet
r1=600/1000
B1=30/1000
p=1000 // power
hp=360e3
V1f=(Q/(%pi*R1*B1)) // velocity of flow
mprintf(' V1f =... |
eb5aa8bb93d33523d6037cf9f33837ba670f592a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.20/Ex4_20.sce | 9e0844cca868c6470fc25d8416197fe89d8b5ba3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex4_20.sce | //Example 4.20:
clc;
clear;
close;
//given data :
format('v',5)
A=50;//gain without feedback
Af=25;//gain with feedback
Beta=(((A/Af)-1)/A);//feed back ratio
Ad=40;//new gain after ageing
Af1=(Ad/(1+(Beta*Ad)));//new gain with feedback
df=Af-Af1;// reduction in gain
pdf= (df/Af)*100;//percentage reduction in gain
disp... |
12f97391574f552a9068df20f6605ad588ab27db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH22/EX22.13/22_13.sce | 3761be07dac5878103d135e2d1242cf652e3c774 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 22_13.sce | //Chapter 22, Problem 13
clc;
V=240; //supply voltage
Ia=50; //armature current
Ra=0.2; //armature resistance
E=V-(Ia*Ra); //back e.m.f
printf("Back emf = %d V",E);
|
bd83e9f74bee65a72abd8853fd265e1cd9c561d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH5/EX5.3.2/Example5_2.sce | 81f661bd12f240895dcdf74d3f8582ecc1ef0cf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Example5_2.sce | //Chapter-5,Example5_3_2,pg 5-6
h=6.63*10^-34 //Plancks constant
m=9.1*10^-31 //mass of an electron
wavelength=10^-10 //de Broglie wavelength of an electron
v=h/(m*wavelength) //... |
83d65f8f285ef1ad369f161a19948470c74df58c | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/adc.instr.tst | 7842ee92743ef2aa461b9431483906117dc1a09e | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,558 | tst | adc.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000080 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x000000b4 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x00 0x1c adc r0, r0
0x2: 0x10 0x1c adc ... |
a72f07ebfcce2b7810d87e01e1ece1ba71beb9a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.1/Ex12_1.sce | 617ade179b8e6846667d15600f627a44c4ad631e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Ex12_1.sce | //Chapter 12
//page no 431
//given
clc;
clear all;
Pt=10; //in microW
Pr=1; //in microW
PtdBm=10*log10(Pt*10^-6/10^-3) //in dBm
printf("\n Transmitter Power = %0.0f dBm",PtdBm);
PrdBm=10*log10(Pr*10^-6/10^-3) //in dBm
printf("\n Receiver Power = %0.0... |
bb0557e41db63bf19bf991bac18bbb0efec5d6a3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos/lnkptrcomp.sci | bd2694c9a50a0945960230838c7ec1f2b892b0f8 | [
"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 | 276 | sci | lnkptrcomp.sci | function lnkptr=lnkptrcomp(bllst,inpptr,outptr,inplnk,outlnk)
// Copyright INRIA
lnkbsz=[];
for blkout=1:length(bllst)
for portout=1:outptr(blkout+1)-outptr(blkout)
lnkbsz(outlnk(outptr(blkout)+portout-1))=bllst(blkout)(3)(portout)
end
end
lnkptr=cumsum([1;lnkbsz])
|
8fec6d3a6c7f1f3e7bf0285e8cba5adb1b70b74e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.20/Chapter1_Example20.sce | 56e2bfde12a67eae98d1693c71f985e834621cd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | Chapter1_Example20.sce | //Chapter-1, Example 1.20, Page 1.46
//=============================================================================
clc
clear
//INPUT DATA
IL=50;//Load current in A
V=220;//Terminal voltage in V
Ra=0.3;//Armature resistance in ohm
Rsh=220;//Field resistance in ohm
N=1200;//Speed of the motor in rpm
//C... |
0f39c7e97e6a21271afc19c135592b3e04e8b603 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH8/EX8.16/Ex8_16.sce | f485565eb3fe2b4376e284760922a564836ed084 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 936 | sce | Ex8_16.sce | clc
L=2.5*10^-6
disp("L = "+string(L)+" meter") //initializing value of length of channel.
un=800
disp("un = "+string(un)+"cm^2/V-s") //initializing value of mobility of n-channel MOS transistor.
VT=0.8
disp("VT = "+string(VT)+" V") //initializing value of threshold Voltage.
Vgs=1
disp("Vgs = "+string(Vgs)+" V"... |
fa9a7d09de153043527b9d426ed57c881ba1149a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH7/EX7.8/Example7_8.sce | 5fc3337ee5c6148065720a6f7ea41a2189696d9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Example7_8.sce | //Ex 7.8
clc;
clear;
close;
format('v',7);
//Given data :
n1=6;//cylinders
IP=150;//KW
N=800;//rpm
TwoLN=320;//m/s
Lbyd=1.2;//stroke to bore ratio
Pmi=650;//Kn/m^2
//Calculation
//IP=n1*Pmi*(%pi/4*d^2)*L*n/60;//KW
d=sqrt(IP/n1/Pmi/(%pi/4)*2/TwoLN*2*60);//meter(L*N replaced by TwoLN/2)
L=Lbyd*d;//in m... |
dec31e3c938b54d40d355e306e93a253ea200a69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH13/EX13.1/Ex13_1.sce | 2d59a760daf91717759a0c903e8622f79dce90ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex13_1.sce | //Initilization of variables
W=2 //lb
F=1.5 //lb
g=32.2 //ft/s^2
//Angles are with respect to the plane
theta1=10 //degrees
theta2=30 //degrees
//Calculations
//Now here the forces are considered as parallel and perpendicular to the plane
//Applying Newtond Principle
ax=(g/2)*(F*cosd(theta1)-(W*sind(theta2))... |
3398a111ad7c15372676b31bbc93d06b120a3f90 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TRI2.prev.tst | be1fd8678668bc57a4a64f8f705d9dbdbbe5f551 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,784 | tst | TRI2.prev.tst | ---- j = 2
f = [[[1],[1,2],[1,5,4],[1,9,16,8],[1,14,41,44,16]], [[0],[0,0],[0,0,0],[0,0,0,0],[0,0,0,0,0],[1,20,85,146,112,32]]]
q = [[[0]], [[0]]]
s = [[[1]], [[0]]]
f = [[[1],[1,2],[1,5,4],[1,9,16,8],[1,14,41,44,16]], [[0],[0,0],[0,0,0],[0,0,0,0],[0,0,0,0,0],[1,20,85,146,112,32]], [[1],[1,2],[1,5,4],[1,9,16,8],[1,14... |
37e0e74f851a0260d81cd7a15860226bcdd9face | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/deleta_bit2.sci | ca7baebcd0cff7162a5e4905c5cb4e626c5c2a40 | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sci | deleta_bit2.sci | function im=deleta_bit2(im,bit,lowdev,highdev,nbig)
if(bit==1)
[lab,n]=bwlabel(im,4);
else
[lab,n]=bwlabel(1-im,4);
end
lab=lab(:);
for i=1:n
tam(i)=length(find(lab==i));
end
med=mean(tam);
dev=sqrt(variance(tam));
if(nbig>0)
big_i=ones(n,1);
for i=1:nbig
[m,j]=max(tam.*big_i);
big_i(j)=0;
end
ruim=(t... |
3c2d9e94d592ebd8167afd7d7af5353fcb8faea1 | b602f16275ae13b51d284e411b450ffad2d9a6fb | /Ken_Adams_ecologyLoop.sci | 3718186313af3d32d34e7fcaa74cd6acc13631dd | [] | no_license | panchuanbo/Ecology-Simulations | abedc8388d6111902e34ef3e6aa852f2f36f0bd1 | fb26667424d2b3fef4b99d7e316e6032064c8bf2 | refs/heads/master | 2020-04-28T10:24:28.749386 | 2013-06-23T23:48:56 | 2013-06-23T23:48:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,559 | sci | Ken_Adams_ecologyLoop.sci | function a = init(height, width, start)
for i = 1:height,
b = start;
for j = 1:width,
a(i, j) = b;
if a(i, j) == 4 then
a(i, j) = 5;
end
b = b - 1;
if b < 1 then
b = 4;
end
end
sta... |
edcb7d51da083f250e969e6eb447dafe3f9332b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH6/EX6.2/6Ex2.sce | b07cb08c2d42038b34561767de3b76cce1e0417e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 6Ex2.sce | //chapter 6 Ex 2
clc;
clear;
close;
n=40;
Sum=n*(n+1)/2; //formula for sum of first n natural numbers
avg=Sum/n;
mprintf("The required average is %.1f",avg);
|
6c02cd1b33140a2fe40f3f79db60ac48032eecf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH5/EX5.6.2/Example_5_6_2.sce | 9e0b31470d02e64308157f3695654a3dde4102e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Example_5_6_2.sce | // Example 5.6.2
clc;
clear;
N=16; //Number of ports
Pin=1d-3; //input power
Pout=12d-6; //output power
split_loss=10*log10(N); //computing split loss
excess_loss=10*log10(Pin/(Pout*N)); //computing excess loss
total_loss=split_loss+excess_loss; //computing total loss
insertion_loss= 10*... |
f1688c48b1da913f3f48d80d10e640b8a71146b7 | 8ad9380384d2751d79937ba5d6d581565596b891 | /macros/grid_min.sci | c7b34b2349a08cefb135be0ab6a26ef396001d35 | [
"BSD-3-Clause"
] | permissive | iamAkshayrao/scilab_point_cloud_toolbox | 1d8845f0830ddb623383c8dbfeadc8a3a35e8801 | 5d592a695b7976f4e63f0ae24d0a14937e474642 | refs/heads/master | 2022-12-17T23:14:11.513116 | 2020-09-25T18:57:02 | 2020-09-25T18:57:02 | 290,829,006 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sci | grid_min.sci | function grid_min()
// Filters a point cloud using the pcl::GridMinimum filter.
//
// Syntax
// PointCloud(InputPCDFilename,OutputPCDFilename,options,"grid_min")
//
// Parameters
// inputPCDFilename : PCD file of input pointcloud
// outputPCDFilename : PCD file where the output pointcloud had to be saved
// ... |
097a407ae33e398a6c71a5fca9fb64bfc02b5c9f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH3/EX3.15/Ex3_15.sce | 38f50cc062c93ffc3768ba2019913b9679bc5ebb | [] | 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 | 179 | sce | Ex3_15.sce | errcatch(-1,"stop");mode(2);//Ex:3.15
;
;
L=6;//in henry
r=24;//in ohms
t=0.1;//in sec.
V_s=12;//in volts
i=(V_s/r)*(1-%e^(-t*r/L));
printf("current = %f A",i);
exit();
|
da112274bee9321add2d81d3d07fcfa847a17822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH13/EX13.6/c13_6.sce | e6905b75cfdbc0bf0e0540bef0766b24cf1d4a33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,672 | sce | c13_6.sce | //(13.6) A mixture of 1 kmol of gaseous methane and 2 kmol of oxygen initially at 25C and 1 atm burns completely in a closed, rigid container. Heat transfer occurs until the products are cooled to 900 K. If the reactants and products each form ideal gas mixtures, determine (a) the amount of heat transfer, in kJ, and... |
25ca4121edbf69b42ad4dea17862bbad74cd97fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH5/EX5.7/example_5_7.sce | fcb0ee71426d41a3f9c973c8d76965d4985a4a64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | example_5_7.sce | clear;
clc;
disp("--------------Example 5.7---------------")
d=0;
r=2; // For QPSK, 2 bits is carried by one signal element
N=12; // bit rate = 12 Mbps
S=N*(1/r); // formula for signal rate
B=S; // bandwidth , as d=0
printf("The bandwidth is %d MHz.",B); // display result
|
3d06646f953ffbbb5c338e65a551e545a7a5454d | f81f2aca21a9a22746300d097acd62205d34fb61 | /calcSunCoordinates.sce | 4799d3ae62a74ccca8ae0ff9bb37c61c21cadb0a | [] | no_license | br3688/SunPosition | e695d9f69e6ab8a6b1394ffe0e8c24b42f849d17 | 5169ba7e5374f617487c95c34e0c2410b08d2573 | refs/heads/master | 2020-07-01T04:57:25.732520 | 2016-11-22T18:51:29 | 2016-11-22T18:51:29 | 74,095,307 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | calcSunCoordinates.sce |
function [solarAltitudeAngle,solarAzimuthAngle] = calcSunCoordinates(latitude, dayspassed, solarHourAngle)
solarDec = 23.45*sind(360*(284+daysPassed)/365);
solarAltitudeAngle = asind(sind(latitude)*sind(solarDec)+cosd(latitude)*cosd(solarDec)*cosd(solarHourAngle));
solarAzimuthAngle = asind(cosd(solarDec)*sind(solarH... |
76a6e7b69a8b70389267200730fb00fe8bfd3a87 | d422d2bd9c82ca6a247ec578514ee6d3b5fa48b7 | /local/lctrs/lssn_2/write_sin.sce | f598765b7d60d15d83356bfed1354ef8ce3a6cac | [] | no_license | kirillin/python_ev3 | bee3d9682f848b188d6c3b967f37dfc5a4aa3080 | 58c34ad11588bdc05e53a8466d6a12fe2c1a6ab2 | refs/heads/master | 2020-08-04T22:52:07.665251 | 2017-01-06T15:17:10 | 2017-01-06T15:17:10 | 67,629,534 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | write_sin.sce | clear;
a = 4;
b = 2;
t(:,1) = 0:0.01:10;
t(:,2) = a + sin(t(:,1) + b);
deletefile("/media/data/evo/python_ev3/local/lctrs/lssn_2/data.txt");
write("/media/data/evo/python_ev3/local/lctrs/lssn_2/data.txt", t);
data = read("/media/data/evo/python_ev3/local/lctrs/lssn_2/data.txt", -1, 2);
plot(data(:,1), data(:,2));
|
3e250cf8338bb6bc57a82e5998e309c215084386 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH4/EX4.19/Ex_4_19.sce | 0898afc8b8a81f80675b84395dafbb17937c7d6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex_4_19.sce | //Example 4.19
clc;clear;close;
z=poly(0,'z');
h=[1 2 3];n1=0:length(h)-1;
H=h*(z^-n1)';
y=[1 1 2 -1 3];n2=0:length(y)-1;
Y=y*(z^-n2)';
X=Y/H;
l=coeff(numer(X));
x=l(:,$:-1:1);
disp(H,'h(n)={1,2,3} H(z)=');
disp(Y,'y(n)={1,1,2,-1,3} Y(z)=');
disp(X,'Z transform of input sequence X(z)=');
disp(x,'Inpput S... |
ed7672c4ef3366b0a9c0ba52911f4347f5c3aad0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH7/EX7.6/Ex7_6.sce | 3ece3a10407aec934729a03ce0f00ce906d72d6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,101 | sce | Ex7_6.sce |
//calculating parameters of each coil
I=3//current through the circuit
//for coil A
Ra=12/3//resistance
Va=15//voltage drop
Za=Va/I
Xa=sqrt(Za^2-Ra^2)
//for coil B
Rb=6/3//resistance
Vb=9//voltage drop
Zb=Vb/I
Xb=sqrt(Zb^2-Rb^2)
//for coil C
Rc=9/3//resistance
Vc=12//voltage drop
Zc=Vc/I
Xc=sqrt(Zc^2-... |
a89c870bba3bad99067ba1fbdfc9b147bcb73b85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH6/EX6.14/ex6_14.sce | 97be99d66a93d3f45cbac2816b8044c6b04a693e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_14.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
clear
w=450//lbf/in^2
m=3000//lbf/in^2
g=32.2//lbf/in^2
h=144//in
//CALCULATIONS
M=sqrt(g*m*h/w)//ft/f
//RESULTS
printf('the maximum rim speed of flywheel=% f ft/f',M)
|
911b92aa59ace58a08d69e57bf56860c7333bccd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH5/EX5.8/5_8.sce | 6b44e8cef5c8763e4e87a98949d38135150cc88a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | 5_8.sce | ////
//Variable Declaration
n = 1.0 //Number of moles of CO2
T = 300.0 //Temeperatures of Water bath, K
vi = 25.0 //Initial and final state Volume of Ideal Gas, L
vf = 10.0
R = 8.314 //Ideal Gas Constant, J/(mol.K)
//Calcualtions
pext = n*R*T/(vf/1e3)
pi = n*R*T/... |
7822225ce96609a9c2f2b591d82193fdd3fc8863 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH11/EX11.5/Chapter11_Example5.sce | 2d0c5510ba5ab52a45e0fa030355ee3c05cb7809 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | Chapter11_Example5.sce | clc
clear
//INPUT
l1=1.9;//length of the first bar in cm
l2=5;//length of the second bar in cm
k2=0.92;//thermal conductivity in cgs unit
//CALCULATIONS
k1=k2*(l1/l2)^2;//thermal conductivity if first bar in cgs unit
//OUTPUT
mprintf('thermal conductivity of first bar is %3.3f cgs unit',k1)
|
cc939d279a38a0425834570d5f58f0bed39a8adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH5/EX5.20/Ex5_20.sce | a4c6b64512e0e2cbbda28e98b3c6d630f439ef51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ex5_20.sce | //==============================================================================
// chapter 5 example 20
clc;
clear;
//input data
Ps = 10^7;
V = 33*10^3;
R = 2;
//calculation
I = Ps/V;
Pd = (I^2*R)/1000;
n = ((Ps-Pd)/Ps)*100;
v = I*R;
Vd = (v/V)*100; ... |
0fb885e5d39570e7f1458579d6485081f739aef0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH17/EX17.2.a/17_2_data.sci | 98593f33b023365908f3d143179e889bdbb5f433 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sci | 17_2_data.sci | // Aim:To determine the system accuracy of in SI units
// Given:
// servo valve gain:
G_SV=2.46; //(cm^3/s)/mA
// cylinder gain:
G_cyl=0.031; //cm/cm^3
// feedback transducer gain:
H=4; //V/cm
// mass of load:
M=450; //kg
// volume of oil:
V=819; //cm^3
// system deadband:
SD=4; //mA
// bulk modulus of oil:
beta1=1200;... |
8adf3d61189781537c0bf4c3f887ee94ec37b773 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH12/EX12.3/12_3.sce | 31943959eaf7af0398f0c120d625a4257fce05f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | 12_3.sce | ////Variable Declaration
n = 52 //Total cards
//Calculations
TotalM = n*(n-1)*(n-2)*(n-3)*(n-4)
//Results
printf("\n Total number of Five card arrangment from a deck of 52 cards is %d",TotalM)
|
7a3e31721aaa8dad877b61825c325768fbdf5dd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.16/8_16.sce | 5a3dbd287bb7140eae2cecf154feb70dd5ca50bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | 8_16.sce | //clc()
P = 101.3;//kPa
T = [283 293 303 313];
for i=1:4
Ps(i) = exp(13.8858 - 2788.51/(T(i)-52.36));
end
for j =1:4
Ys(j) = Ps(j) * 78.048 / ((P - Ps(j))*29);
end
disp(Ps)
disp(Ys)
plot(T,Ys,rect = [270,0,323,0.9]);
//Tas = Tg - L *(Y1as - Y1) / Cs
//Cs = Cb + Y1 *Ca = 1.005 + Y1 * 1.2,
L = 43... |
d38a11d093b6099ca6df463761bb6bb4a209bd2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH11/EX11.3/sadiku_11_3.sce | 9046fa37a45e03f01fafaaaeccac35fa4d9daf14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | sadiku_11_3.sce | clear;
clc;
format('v',6);
w=10^6,B=1,a=8,Vg=10;
Zo=60+40*%i,Zg=40,Zl=20+50*%i;
a=(a/8.686);;//Since 1Np=8.686 dB
Y=a+B*%i;
Yl=2*Y;
h=tanh(Yl);
Zin=Zo*(Zl+Zo*tanh(Yl))/(Zo+Zl*tanh(Yl));
disp(Zin,'The input impdence =');
Io=Vg/(Zin+Zg);//at z=0
disp(Io*1000,'Sending end current in mA =');
Vo=Zin*Io;
Vop =... |
f1653fa1199b4beeaa715ca7b8054d1ecc6dfe0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.22/3_22.sce | 56fa15ab4cda5e90cff404e1402a58c10d38637b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | 3_22.sce | clear;
clc;
Pr=90e6
pf=.9;
S=Pr/(3*pf);
P=Pr/3
Q=sqrt(S^2 - P^2);
V1=220e3/sqrt(3);
V2=220e3/sqrt(3);
R=15
X=50;
tr=sqrt(1-(((R*P)+(X*Q))/(V1^2)));
mprintf("tap setting tr= %.4f, ts=%.3f",fix(1e4/tr)/1e4,tr)
|
0cd49a43dc21cefa0453081a3bd98afb2fbf24d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH1/EX1.10/ex1_10.sce | 3fa92acd2c7d5e1ea470997baab193fb537701f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 705 | sce | ex1_10.sce | // Exa 1.10
clc;
clear;
close;
format('v',7)
// Given data
R1= 5;// in ohm
R2= 5;// in ohm
R3= 10;// in ohm
R4= 10;// in ohm
R5= 5;// in ohm
V1= 50;// in V
V2= 20;// in V
//Applying KCL at node A: VA*(R1*R3+R3*R2+R2*R1)+VB*-R1*R3 = V1*R2*R3 (i)
//Applying KCL at node B: VA*R4*R5+VB*-(R2*... |
5b2aaa5c0ff63c89adb773c397bf75d6e34908c7 | d9612cedad2cc7e72324ef98b63e914d2b9580b3 | /a1.sce | ab0bbd66013ffe4311fe3a37ed288d19e8b834db | [] | no_license | DSheth97/Artificial-Intelligence | 1a71c2d43e1f8565cd4a2c902eb6c4be47323df2 | 3ee8c9943db653ae7cd21f6a5cdf16d6c6515bff | refs/heads/master | 2020-06-02T20:22:48.705866 | 2019-07-15T14:32:31 | 2019-07-15T14:32:31 | 191,298,532 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | a1.sce | function yprim=f(t,y) //declaring the ode as given in a function
yprim(1)=y(2);
yprim(2)=-4*y(1) ;
endfunction
t0=0; tmax=5; //defining initial conditions
t=t0:0.05:tmax; //getting t from initial conditions with interval of 0.05
y0=3; yprim0=0;
c10=1; c1prim0=1; //Case A
c20=4; c2pr... |
087e723e60eed22fc76f723c1c6c3f68823040d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH7/EX7.3/7_3.sce | c655297d8199e48261ec3771a584f765e91004b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | 7_3.sce | // example:-7.3,page no.-347.
// program to find required length,d and Q for l=1 and l=2 resonator mode.
a=0.04755;b=0.02215;eipsilar=2.25;tandelta=0.0004;f=5*10^9;c=3*10^8;
k=(2*%pi*f*sqrt(eipsilar))/c // wave number.
for l=1:1:2
d=(l*%pi)/sqrt((k^2)-((%pi/b)^2)); // m=1 & n=0 mode.
disp(d,'d in meter = ')
end
... |
706efaa26bdb464cfecea79462945114696b3b57 | 59561d3d916508d9add37030081f85d2c8e0e5dc | /test.sce | 97ec29b4c831b8ee6d19557bb4b4765a4661cd41 | [] | no_license | THALLIVA/OpenOCR | 65e2e40f9d07e4cae34f28bd272b73042c2c35f2 | 1159fa1e3680dd25341afec3affbe4d9e24931b5 | refs/heads/master | 2020-03-28T20:01:03.654002 | 2018-09-16T19:59:09 | 2018-09-16T19:59:09 | 149,030,373 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,305 | sce | test.sce | //images = [
// "C:\Users\Sanjil\Desktop\OCR\Zero.png",
// "C:\Users\Sanjil\Desktop\OCR\One.png",
// "C:\Users\Sanjil\Desktop\OCR\Two.png",
// "C:\Users\Sanjil\Desktop\OCR\Three.png",
// "C:\Users\Sanjil\Desktop\OCR\Four.png",
// "C:\Users\Sanjil\Desktop\OCR\Five.png",
// "C:\Users\Sanjil\De... |
8ea6c3d9c6ed1a0c719e3a235097cec6d7d07965 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH16/EX16.8/16Ex8.sce | 48b4cd437a0174f13781361f4565ef80252642fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | 16Ex8.sce | //Chapter 9 Ex 8
clc;
clear;
close;
//let B be closed after x min.Then part filled by(A+B) in x min +part filled by A in (18-x)=1
x=poly(0,'x');
for x=1:10
if ((x*(1/24+1/32))+((18-x)/24))==1
break;
end
end
mprintf("The pipe B should be closed after %d min",x);
|
c01352666c840f4bf6042b2ad49a4cfd31923059 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/scilab_enums_runme.sci | 19d98f46e71096c0134f7e7a9868872b1c6d49f4 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | scilab_enums_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:0ae5cb7dfe11dcc8d31bf057892898ff5e9a329633b8f481cca882902bf1752a
size 862
|
4be6cc8c740edd92075dd3d9ba46e23166b56c4e | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /css/Scripts/Funciones/get_contextura.tst | 57bbfd1bec0570dbf60dba01e9fd5ea583b44943 | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 176 | tst | get_contextura.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the function
:result := get_contextura(pcontextura_id => :pcontextura_id);
end;
2
result
1
Gruesa
5
pcontextura_id
1
1
4
0
|
856078f355b54fd3df07d74d599fa69ee512ef69 | 4b1558e166b13f0e90c889b11ee516e4925626ed | /AulaPratica1_Ficha_1.sce | 08eccfdac0df6fd3387a24d3cafd964e0cf51358 | [] | no_license | dalpendre/EI_matematica_discreta | a4712b5c7ea085eb5238a0e45c89733ba25a64b6 | 93cf0c75c41a231aadf919293089ce240695bf10 | refs/heads/master | 2022-08-09T18:27:37.572002 | 2020-05-21T13:00:22 | 2020-05-21T13:00:22 | 254,603,532 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | AulaPratica1_Ficha_1.sce | //1º aula prática MD
//1/numero_pontos-1 (numero_espacos)
/*Exemplo
linspace(1,2,5) --> Devolve valores dos intervalos
*/
clear
clc
/*a=4;
b=5;
c=a+b*/
a=4;
b=5;
//disp('O valor da soma entre a e b é igual a: '+string(a+b))
//disp(a+b,'O valor da soma entre a e b é igual a: ')
//messagebox('O valo... |
516bd58717a79aaab165128e6772fd76ca606c03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH2/EX2.11c/2_11c.sce | 4fe03b5a163cb5089ef43cfcef2531003921c818 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 2_11c.sce | clc
clear
//Initialization of variables
mf=10000 //lb
mr=700 //lb
Cr=0.2
//calculations
Q3=mr*Cr/mf *14600
//results
printf("Heat loss = %d Btu per lb of fuel",Q3)
|
e006ee1cb4d97fe86e737794b7c0acd2cd461e28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH12/EX12.5.1/ex_12_5_1.sce | aea04a352c48861aea68a5871a3b5be707553a0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | ex_12_5_1.sce | //Example 12.5.1 // chart speed
clc;
clear;
close;
//given data :
f=50;// frequency in Hz
period=1/f;
t=5;//in mm/cycle
chart_speed=t/period;;
disp(chart_speed,"chart speed(mm/s) = ")
|
13dc139e2b74068bd01e61a124646970e9758738 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/globlerr.tst | c529ae7e2f9cc2ef2997bb517eb687ba9f9470f8 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | tst | globlerr.tst | (unwatch all)
; globlerr.clp test
(clear)
(open "globlerr.rsl" globlerr "w")
(load "compline.clp")
(dribble-on "globlerr.out")
(load "globlerr.clp")
(show-defglobals)
(dribble-off)
(printout globlerr "globlerr.clp differences are as follows:" crlf)
(compare-files globlerr.exp globlerr.out globlerr)
; close result file
... |
60c768e45ea5dd1139475a5395bae85ad40ac296 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH10/EX10.9/10_9.sce | 1ac10093d411d16bf2891b7f56cdbe09c01a9b05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | 10_9.sce | clc
//initialisation of variables
f= 0.01
d= 3 //in
l= 22 //ft
l1= 20 //ft
w= 20 //ft
h= 5 //ft
h1= 20 //ft
t= 4 //min
g= 32.2 //ft/sec^2
//CALCULATIONS
h2= h+h1
h3= (h-(t*60*%pi*sqrt(2*g/h)/(l1*w*2*64)))^2-4
dh= h2-h3
Q= dh*l1*w
//RESULTS
printf ('Quantiy discharged= %.f cuses ',Q)
|
a16f6b500b38afc0aa1286f27cf0f6f2e4da0dfd | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.12_19.tst | 9207e196c7eb831e0241122a8c633a057c66aaca | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,848 | tst | bow.12_19.tst | 12 7:1.0 18:0.2857142857142857 21:0.25 28:0.2222222222222222 43:0.3333333333333333 46:0.3333333333333333 190:2.0 246:0.5 493:2.0 508:1.0 553:0.25 757:1.0 1019:1.0
12 5:0.018867924528301886 18:0.14285714285714285 31:0.125 147:1.0 188:1.0 190:1.0 255:1.0 411:1.0 493:1.0 583:1.0 738:1.0
12 3:1.0 5:0.1320754716981132 12:0.... |
070d4377e4273b27f9de97bfb961a22e9b915194 | b3c9357cd1290921e67444ae057761959fdf24f1 | /Geral/convid-19/Casos Covid-19.sce | 24f4f1806f534bbf0bce42608cf54f03fce07cc0 | [] | no_license | joaolrneto/Scilab | 91742520422426dc8a772997ef4a5d6376008b6e | f383f87e4585955cf19d0dae1b5c29f93c3f70b4 | refs/heads/master | 2023-02-05T20:13:03.677069 | 2020-12-30T14:53:09 | 2020-12-30T14:53:09 | 264,671,730 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,341 | sce | Casos Covid-19.sce | clc
clear
close()
exec importdata.sci;
exec model2.sci;
exec loss1.sci;
exec loss2.sci;
exec model.sci;
[header, data] = importdata("time_series_covid19_confirmed_global.csv");
//----------Extrai os casos e nomes de todos os países----------------
confirmed = strtod(data(:,5:$));
country = data(:,2);
state = data(:,1)... |
b0122a3745101e546396b9015476471d3043d218 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH10/EX10.2/Ex10_2.sce | 81c9db7dd31b016ba16f15d264e74e32abad7c9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,475 | sce | Ex10_2.sce | clear
//
//
//Initilization of Variables
M=40*10**6 //N-mm //Bending moment
T=10*10**6 //N-mm //TOrque
mu=0.25 //Poissons ratio
P_e=200 //N/mm**2 //Stress at Elastic Limit
FOS=2
//Calculations
//Let d be the diameter of the shaft
//Principal stresses are given by
//P1=16*(%pi*d**3)**-1*(M+(M**2+T**2)**0.5)
//Afte... |
9783525adacaa44b7fdba413c60a45e3ef5a17db | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH30/EX30.1/Ex30_1.sce | f8553fc7c453cc8edd3010254c1a237819699429 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | Ex30_1.sce | clear
// Variable declaration
P=15// kW
n_b=85// The effiency of the gas boiler in %
SCOP=3// An average or seasonal COP (SCOP) of heat pump
// Calcualtion
// For the gas boiler
R_pf=17.65// Rate of primary fuel use in kW
m_co2=0.19// The mass of carbon in kg
R_co2=R_pf*m_co2// Rate of CO_2 emission in kg/h
// For exa... |
2563f651d4591b058c5dc82101cc263d619e2c79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH8/EX8.1/Ex8_1.sce | 625e0c86c7ef49a262b1f356080bc221add07405 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | Ex8_1.sce | // Exa 8.1
// To calculate coverage gain in dB.
clc;
clear all;
Pdiff=-3; //in dB
AMR1=12.2; //in kbps
AMR2=7.95; //in kbps
AMR3=4.75; //in kbps
//solution
//CG(dB)=10log{(DPDCH(kbps)+DPCCH)/(DPDCH(AMR bit rate (kbps))+ DPCCH)}
CG1=10*log10((AMR1+AMR1*10^(Pdiff/10))/(AMR2+AMR1*10^(Pdiff/10)));
CG2=1... |
616e31c7a7323b285784527dc7dde2af85d399f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH30/EX30.3/CD_3.sce | c0f3bdd1fd1dec5958bf177b92893030277a6c92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 690 | sce | CD_3.sce | // sum 30-3
clc;
clear;
N1=1000;
N2=500;
P=2.03*10^3; //from table 30-8
K1=1.26;
Ks=1;
//let Pc be the power transmitting capacity of the chain
Pc=P*K1/Ks;
p=9.52;
n1=21;
n2=42;
V=n1*p*N1/(60*10^3);
//Let the chain tension be T
T=Pc/V;
//Let the breaking load be BL
BL=10700;
FOS=BL/T;
C=50*p;
Ln=(2*... |
c191e81858fb607610551e8562f0602d2d56ea1a | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/49.tst | 959c8c0816edc7fa9185c99401131a6022b9bfc6 | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,079 | tst | 49.tst | 1000 1000
92
603 541 15
299 237 10
539 413 27
411 285 29
947 693 4
211 725 1
483 293 16
611 805 7
379 381 20
171 813 9
195 133 6
755 949 5
619 173 14
51 373 24
571 637 29
419 165 21
43 429 20
651 717 31
203 909 14
715 397 8
531 405 21
659 277 7
443 189 20
531 85 25
771 709 5
187 637 25
875 9... |
56117509b286094d04916f2f9ac0b06723681541 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Barras Verticais.sce | 79280ea37b2c38570996fe55dbd3b37c5aac42bb | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59 | sce | Barras Verticais.sce | clc
clear
close
x=0:.05:5;
y=sin(x.^2);
plot2d3(x,y)
|
4be4f0a0cd0999541b41f4adbb385e250d523c6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH9/EX9.1/Ch09Ex1.sci | 4a457e3f4d9e12e27b03dfef18aa0eab06b45245 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sci | Ch09Ex1.sci | // Scilab Code Ex9.1: De-broglie wavelength of an electron from accelerating potential : Page-202 (2010)
V = 100; // Accelerating potential for electron, volt
lambda = sqrt(150/V)*1e-010; // de-Broglie wavelength of electron, m
printf("\nThe De-Broglie wavelength of electron = %4.2e m", lambda);
// Result
... |
95140b23e41ba31f8f36b978d7c3965258b08d8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH3/EX3.9/example3_9.sce | 5ff62617c7a5597e733a68a05e71d2bd1b441a69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | example3_9.sce | //Chapter 3
//Example 3_9
//PAge 52
clear;
clc;
houses=1e3;
cl=1.5;
dem_fac=0.4;
div_fac=2.5;
factories=10;
md_f=90;
tubewells=7;
mdt=7;
df=1.2;
//Minimum capacity of power station
sum_md=cl*dem_fac*houses;
md_dl=sum_md/div_fac;
md_t=mdt*tubewells;
total_md=md_dl+md_t+md_f;
md_station=total_md/df;
printf("Minimum c... |
e3beb5931f8abe22c9aa59a2f940a87b7e86a589 | d4433dc5a6e90f6a26a4c5d9dee686eade240b25 | /MOUSE.TST | efc4ede6051ac2d2d3cff2942d5e0806b107615f | [] | no_license | qb40/all | 6e2149ef3c6151717e468ca236840de622cf7d2a | e168acb64fbde09277b04515574507dcbe35161c | refs/heads/master | 2022-02-05T17:58:39.207269 | 2014-01-19T13:28:41 | 2014-01-19T13:28:41 | 106,962,623 | 5 | 0 | null | 2017-10-14T21:02:04 | 2017-10-14T21:02:03 | null | UTF-8 | Scilab | false | false | 3,229 | tst | MOUSE.TST | 'successful test
DECLARE SUB mouse.loadprog ()
DECLARE FUNCTION mouse.init% ()
DECLARE SUB mouse.show ()
DECLARE SUB mouse.hide ()
DECLARE SUB mouse.setrange (x1%, y1%, x2%, y2%)
DECLARE SUB mouse.put (x%, y%)
DECLARE SUB mouse.status ()
DECLARE SUB mouse.relativestatus ()
TYPE mouse
left AS INTEGER
r... |
913338a4e264c9b482a94a9e189500a5aa74df44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH1/EX1.23/Ex1_23.sce | f43234268cfb0db073eb6377dc98d8dc46929aa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex1_23.sce | //pagenumber 40 example 23 //figure is not given in the book
clear
nd=10^7;//per cubic centimetre
na=10^17;//per cubic centimetre
voltag=0.1*3800*10^-4*1500*3*10^-3;
disp("hall voltage = "+string((voltag))+"volt");
disp("remains the same but there change in polarity");
|
9bdc38fdc2578b60e24eb85db8ffe7a3df589e5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2549/CH2/EX2.7.5/Ex2_7_5.sce | 19460c9f4c3f41467e4db83bc972b08a8c8916e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Ex2_7_5.sce | //Ex2.7.5
//calculation of voltage across diode connected in parallel.
clc;
clear;
//given
Io1=1*10^-12;//reverse saturation current for diode1
Io2=1*10^-10;//reverse saturation current for diode2
I=2*10^-3;//total current
//room temperature
T=27;//temp in celsius
T=T+273;//temp in kelvin
n=1//n is emission... |
369b1bfa2a2b04dae6189f3293c1265517f8629d | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH10/EX10.14/10_14.sce | 2d7c5ec7172a0ef6060c60fff315aea02a8b5316 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,531 | sce | 10_14.sce | clear;
clc;
printf("\t\t\tExample Number 10.14\n\n\n");
// ammonia condenser
// Example 10.14 (page no.-552-553)
// solution
Ta = 50;// [degree celsius] temperature of entering ammonia vapour
Tw1 = 20;// [degree celsius] temperature of entering water
q = 200;// [kW] total heat transfer required
U = 1;// [... |
1ee6a2c23e63cec8ad5dfcdfbc9b73afe708d379 | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem01/lab01/q05.sce | 44aa9449b0a17ea912605fca0a90f3c961dfc4e7 | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | q05.sce | //Fibonacci Series
clc;
clear;
f(1)=1;
f(2)=1;
for i=3:30
f(i)=f(i-1)+f(i-2);
end
f
|
059d827e696b14007520e5609abdb81c454fa87e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH3/EX3.19.1/Example3_19a.sce | d691e25faa13dde72adc718bdc91e1abb34aef5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Example3_19a.sce | clc
//Given that
lambda = 1 // wavelength in Angstrom
theta = 90 // angle of scattered photon in degree
m_e = 9.11e-31 // mass of electron in Kg
c = 3e8 // speed of light in m/s
h = 6.63e-34 // plank's constant
//Sample Problem 19a page No. 144
printf("\n\n\n # Problem 19a # \n")
printf("\n Standard formula Us... |
55c3a351b49d70173c952d5fb786d96be01b43fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH10/EX10.8/10_8.sce | ea40900057aac16be21d49f626fddfa6dc257220 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | 10_8.sce | clear
clc
//initialisation of variables
d= 8 //in
w= 2 //in
di= 12 //in
wi= 3 //in
a= 24 //degrees
p= 88 //per cent
a1= 85 //degrees
a2= 30 //degrees
p1= 94 //per cent
h= 180 //ft
d1= 18 //in
Cd= 0.92
g=32.2
n1= 111 //rpm
//RESULTS
r1= 1/tand(a)
r2= (1/tand(a1))+r1
r3= 2*r2/3
r4= (1/tand(a2))-r3
... |
45b299379a7ef5005e576aebf095205a758b3ba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH10/EX10.2/2.sce | 5e31ec747430f127f308880a6585f790dbf1e3fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2.sce | clc
//Example 10.2
//Calculate the maximum elevation above the lowest water level in sump at which pump inlet can be placed
P1=3.72//psia 0r lbf/in^2
P2=14.5//psia 0r lbf/in^2
dP=P2-P1//psia 0r lbf/in^2
rho=61.3//lbm/ft^3
g=32.2//ft/s^2
//1 ft = 12 in
//1 lbf.s^2 = 32.2 lbm.ft
h_loss=4//ft
v=10//ft/s
h_max=... |
3e033effc136f31d6c336ba72ca34e0dca156999 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH4/EX4.2/Ex4_2.sce | 110e7e44140b898e60894a1cb240b69f760e3e3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | Ex4_2.sce | clc
//initialization of variables
P= 5*746 // power of fan converted in watt
t=1*60*60 // time converted to seconds
// by first law of thermodynamics Q=delU + W
// Q=0 hence -W=delU
// first we find work input
W=-P*t // work in J
delU=-W // from 1st law
printf("The internal energy increase is "+string(delU)+... |
dea87aa4314b4ed295df3c140600a01a923519d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH5/EX5.4/Ex5_4.sce | e7aaa1a42f74ddf118c4f2d612018c52cfcbd49b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Ex5_4.sce | //Example 5.4, Page number 5.29
clc;clear;close
// variable declaration
delta=0.05 //unitless
n1=1.46//unitless
// Calculation
N_a=n1*(2*delta)**(1/2) // Numerical aperture
// Result
printf("Numerical aperture = %.2f",N_a)
|
5d6cdf77fe4e58721f0e26da9d07108862480ca5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.6/18_6.sce | 6acd2377fc4dcad6ba5d741e6dcfc4e2265dcec9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | 18_6.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.6
//calculation of position of the image of an object placed at a distance from spherical convex surface
//given data
u=-15; //object distance(in cm)
R=30; //radius of curvature of the spherical convex surface(in c... |
0ed6cd13e70683f3648ea6d877b18b2398086fa8 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/gpio_in_fixloc.sce | 094f0963aa1a60332da06588d2a1bca971fd126c | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | gpio_in_fixloc.sce | style.fontSize=14;
style.displayedLabel="<b>GPIO In </b>(Loc. fix)</b><br>%1$s";
pal6 = xcosPalAddBlock(pal6,"gpio_in_fixloc",[],style); //arbitrary waveform generator
|
ad318ceaec5e25fb728b61ec1e9eb3246610d6c5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.8_15.tst | cbb8749a28f407772a341668e20128517d86a1f5 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 23,598 | tst | bow.8_15.tst | 8 13:0.2 24:0.5 25:0.3076923076923077 40:0.2 49:2.0 65:1.0 76:0.3333333333333333 77:1.0 88:0.2 90:0.5 106:0.14285714285714285 123:0.018867924528301886 156:0.5 162:0.5 187:1.0 303:1.0 331:1.0 420:1.0 639:1.0 700:1.0 798:1.0 991:1.0 1167:0.5 1216:0.3333333333333333 1217:1.0 1315:1.0 1318:1.0 1398:2.0 2135:1.0 2418:1.0 25... |
0cf5f5e2b11b9b7c9315a00ddcecd21303dc2f53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH5/EX5.7/Ex5_7.sce | 3bb22d7977620902b9e98999417d8afe7f7fd227 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | Ex5_7.sce | //Example 5.7
clc;clear;close;
format('v',5);
G=100;//MVA
f=50;//Hz
n=3000;//rpm
L=25;//MW//Load
td=0.5;//sec
H=4.5;//MW-sec/MVA
//Calculation
KE=H*G;//MW-sec////at no load
KE_Loss=L*td;//MW-sec///due to increase in load
f_new=sqrt((KE-KE_Loss)/KE)*f;//Hz
delF=(f-f_new)/f*100;//%////frequency deviation
di... |
9a2acc37216f93f9def6ba6762f9f7c88bac734e | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH42/EX42.07/42_07.sce | d302abc97a8240736c3e6ccb009ddb83f4f3a5e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 42_07.sce | //Problem 42.07: A low-pass T section filter having a cut-off frequency of 15 kHz is connected in series with a high-pass T section filter having a cut-off frequency of 10 kHz. The terminating impedance of the filter is 600 ohm.(a) Determine the values of the components comprising the composite filter.
//initializi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.