blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
92d40dfbaed4cb6c3251ac0fe3e3bbdcc73bc489 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH3/EX3.3/Example3_3.sce | 1d5daec8b1678ed35106a1cfd4d97d2856812cb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sce | Example3_3.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 3 : FUNDAMENTAL CONCEPTS
// EXAMPLE : 3.3 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
// For case (c)
I_normal = 1000 ; // Normal full load curren... |
5aea1b1915fd38506382b373037c4a865c02b282 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.24/1_24.sce | ab67c95da9be6ba3bad7babd126baa7ca70760de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,102 | sce | 1_24.sce | clc
clear
//Input data
P1=1;//pressure at the beginning of compression stroke in bar
T1=298;//Temperature at the beginning of compression stroke in K
P3=38;//Pressure at the end of constant volume heat addition in bar
T4=1573;//Temperature at the end of constant volume heat addition in K
r=9.5;//Compression rati... |
91f124b2d59749239e24f949e9219e184289096d | a90555c1b25caa293679dea7166187dc891e4b3b | /kvadratne.sce | 01f4eaa30453dcd446e331258d6719646c03b939 | [] | no_license | MukMak/laboratory_works | 298ed8cb941f5bf1c2ac6a8e90bd7ac566acfc6e | 2e637ac262d9ed91ea755b094aedd97a11c3a9a4 | refs/heads/master | 2021-09-10T06:46:59.773963 | 2018-03-21T20:19:43 | 2018-03-21T20:19:43 | 119,851,079 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 927 | sce | kvadratne.sce | clear
clc
close
a = 1
b = 8
c = 1
printf("Формула: %.2f .* x^2 + %.2f * x + %.2f \n",a,b,c)
D = b^2 - 4*a*c
printf("Дискриминант: D = %.2f \n",D)
if (D > 0) then
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
printf("Наш результат: x1= %.2f , x2= %.2f \n", x1, x2)
elseif (D == 0) then
x1... |
32d765d72ea73f5822f4aae3140c2e85c4fec360 | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/sessao02.sce | 18db9715f5e10ddddb2ea7aea60e766a19d0ec10 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 977 | sce | sessao02.sce | mode(7);
// Primeira sessao no Scilab (parte 2)
// p eh um polinomio em z com coeficientes 1 2 3
p=poly([1 2 3],'z','coeff')
// outra forma de se definir um polinomio
// s é um polinomio de raiz zero
s = poly(0,'s')
// p é definido a partir de s
p = 1+2*s+s^2
// matriz de polinomio
M = [s, s; 1, s+1]
// dete... |
9241c1991b44a79a9920beeedc8bcb1514162ee1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH12/EX12.6/Ch12Ex6.sci | da222a7c25c3ee43478653d0cb32f24353e3799a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sci | Ch12Ex6.sci | // Scilab Code Ex12.6 Energy liberated during production of alpha particles: Pg: 248 (2008)
amu = 931; // Energy equivalent of 1 amu, MeV
mp = 1.007825; // Mass of proton, amu
M_Li = 7.016005; // Mass of lithium nucleus, amu
M_He = 4.002604; // Mass of helium nucleus, amu
dm = M_Li+mp-2*M_He; // Mas... |
342e5b8345431702abd70a6f16e7264edef12253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.b.103/Ex3b_3.sce | 7de9ad80e0f02f13d1ab44f4cc4aec2840642ed8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | Ex3b_3.sce | // Scilab Code Ex3b.3: Page-163 (2008)
clc; clear;
C = 40; // Critical angle for glass to air
mu = 1/sind(C); // Refractive index of glass w.r.t. air
i_p = atand(mu); // Polarizing angle for glass, degree
printf("\nThe polarizing angle for glass = %4.1f degree", i_p);
// Result
// The polarizing angle... |
42c7e059d8e97154bb1d014ac735507b4ef593e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH1/EX1.21/Ex1_21.sce | efbf447145abb1d73b657b0ba5d966846bf93340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_21.sce |
//EX1_21
clc;
//Given:
mh=1.0078;
mn=1.0087;
m22=21.99431;// atomic mass of Na 22
m23=22.9898;// atomic mass of Na 23
m24=23.9909;// atomic mass of Na 24
//solution:
// part (a)
B1=((11*mh+11*mn)-m22)*931; // in MeV
Bh=B1/m22;
printf("\n The mean binding energy of Na(22) in MeV is = %f ",Bh)
... |
929b2ec88dcde23bbf4c2a67322e0b36a4528872 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH32/EX32.1/Ex32_1.sce | 677feb17542ae801e70406723a6953077ec16e09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | sce | Ex32_1.sce | clc;
Adm=200000;
Acm=6.33;
CMRR=20*log10(Adm/Acm);
disp('dB',CMRR*1,"CMRR=");
|
cebdbe01d04f159bbe21acf5dc30161e2c233a84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH16/EX16.3/Ex_16_3.sce | e43e802ec69fce59ea61b3249bb0c24bb889d650 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_16_3.sce | //Optical Fiber communication by A selvarajan
//example 16.3
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
alpha=0.2//fiber loss in dB/Km
LA=50//Amplifier spacing in Km
G=(alpha*LA)//gain in fiber
PbyPo=G*log(G)/(G-1)//Multiple of power required by single soliton
mprintf('Multiple of power requir... |
4544edfce115446be03c7bb232f1f618c32aa5eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH1/EX1.4/Ex1_4.sce | 45977bf745b20a3d3c337913ed632002d175d97a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex1_4.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.4
//Given Data Set in the Problem
dy=0.025/1000
v=60/100
ss=2
//Calculations
//To find the Viscosity
//Shear Stress=Viscosity * Velocity gradient
du=(60-0)/100
vel_grad=du/dy ... |
46d011c5dd809a266a186c65066b752114346512 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Bownamerot.sci | 8d1edf782128f289795e3935b806ce1ef9d1aecb | [] | 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 | 1,479 | sci | Bownamerot.sci | // 08.05.31
// 08.08.24
// 09.08.12
// 09.08.13
// 13.12.15 tiny move supported
// A,B type no longer supported
function Bownamerot(varargin)
global Wfile FID BOWMIDDLE BOWSTART BOWEND;
Nargs=length(varargin);
Eps=10^(-6);
Flg=1;
Tmp=varargin(Nargs);
if type(Tmp)==1 & length(Tmp)==1 & Tmp<0
... |
de90d2842f941e3cfa013fbf06de118aaacc1176 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.1/Ex7_1.sce | a4efdda2e895da38b9c6c80e670662ca6b009b97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | Ex7_1.sce | //Example 7_1 page no:253
clc
function [r,th]=rect2pol(x,y)
//rectangle to polar coordinate conversion
r=sqrt(x^2+y^2);
th=atan(y,x)*180/3.14;
endfunction
mat=[6+(%i*4),-6;-6,8+(%i*3)]
val=[5,0]
I=inv(mat)'*val'
I1=I(1,1)
I2=I(2,1)
disp("the current in loop 1 is ")
[mag,theta]=rect2pol(real(I1),imag(I1))
... |
b71dcf654141a9ccbe07326bd0f27db520e05af1 | c0e48812b6769e5283b0b14716cb8278969ad2fd | /src/make.tst | 3f9a784f7cb8b437da70dbeaaa04340e0cd91820 | [] | no_license | JimmySenny/demoInterview | f61478c707dc5cc76ea1526b400f777faa3760d4 | 0917fb3293cbb60a66959ada8f425f819ebe8663 | refs/heads/master | 2023-02-03T00:03:03.629201 | 2020-12-23T11:29:30 | 2020-12-23T11:29:30 | 320,151,328 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | tst | make.tst | include ../etc/Makefile
BIN_NAME = tst_pufa
OBJ_LIB = ${WORKDIR}/lib/libtst.a ${WORKDIR}/lib/libcomm.a ${WORKDIR}/lib/libpufa.a
EXECOBJ = ${WORKDIR}/bin/${BIN_NAME}.out
LINKRULE = ${CC} -o ${EXECOBJ} ${OBJ_LIB} -L${WORKDIR}/lib -ltst -lcomm -lpufa
TARGETS = ${EXECOBJ}
all:${TARGETS}
${EXECOBJ}: ${OBJ_LIB}
${... |
c2cd20b1aec03c8714b6eb3b6d7160ad266a70d0 | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH5/EX5.11/example11_sce.sce | b5c0120a728907bbf9ff27be748a14af4135106d | [] | 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 | 151 | sce | example11_sce.sce | //chapter 5
//example 5.11
//page 208
printf("\n")
printf("given")
Vce=5;Ic=5*10^-3;Vcc=15;hfe=100;
Rc=(Vcc-Vce)/Ic
Ib=Ic/hfe
Rb=(Vcc-Vbe)/Ib
|
7f4a75fee526f3b2a809e0db6a6c6a9809ac3cf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.4/Ex3_4.sce | 227ef936453adf833175dc48c4afd25910171aed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | Ex3_4.sce | //Ex 3.4
clc;clear;close;
format('v',6);
FT1=1;//Filter Transmission
FT2=0.99;//Filter Transmission
FT3=0.9;//Filter Transmission
FT4=0.1;//Filter Transmission
A1=-20*log10(FT1);//dB
A2=-20*log10(FT2);//dB
A3=-20*log10(FT3);//dB
A4=-20*log10(FT4);//dB
disp(A1,"For filter transmission=1, Attenuation(dB)");
d... |
02f240fa2d3367687b325cdd78886107a3f586da | 4f568c8375fce591121dd2ebf35fa0fc2016bb23 | /Scilab/PageRank.sce | 2efe5c4af68c1287aa13d5e1def31957322fb70a | [] | no_license | SebastianCarcamo/mate3PageRank | 7fca4206a678087d17dd2472670c0d8a3fb07512 | b59b51e095059ba14e88a20ea642d3d9ece7f974 | refs/heads/main | 2022-12-29T06:13:18.064158 | 2020-10-14T04:35:12 | 2020-10-14T04:35:12 | 303,796,145 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,782 | sce | PageRank.sce |
function mayorAbsVal= mayorAbsValue(vector)
mayorAbs = abs(vector(1))
mayor_en_Valor_abs = vector(1)
[size_F, size_C] = size(vector)
for i = 1:size_F
if mayorAbs < abs(vector(i))then
mayor_en_Valor_abs = vector(i)
end
end
mayorAbsVal = mayor_en_Valor_abs... |
2846d40787bb35ec85e53ddbed29548dffd5bbe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH3/EX3.2/3_2.sce | 2c084efb820b9547747e2ddebe421164fb89e881 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,174 | sce | 3_2.sce | //Example 3.2
//calculate the time required for the heating coil.
//Given
P=1*10^3 //W, electrical heating capacity
V=220 //V, applied voltage
d=0.574*10^-3 //m, diameter of wire
R=4.167 //ohm, electrical resistance
Tr=21 //C, room temp.
h=100 //... |
a86e2c03ce103bcb6e1815424482d4116b0d31b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH2/EX2.4/ex2_4.sce | aa2f47b2f176ee8bbeedf7f860524c4b1027950a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex2_4.sce | //Exam:2.4
clc;
clear;
close;
n_1=1;//first orbit
n_2=2;//second orbit
n_3=3;//third orbit
//E_1=-13.6*(Z^2)/(1^2);
//E_2=-13.6*(Z^2)/(2^2);
//E_3=-13.6*(Z^2)/(3^2);
//E_3-E_1=-13.6*(Z^2)*(-8/9);
//E_2-E_1=-13.6*(Z^2)*(-3/4);
E_1=-13.6/(1^2);//energy of electron in the first bohr orbit of an atom
E_2=-13.6... |
2a880bcd5de75b131bbe87d3fab291eff208113f | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20160829_nFETpFET_Id_char/nFET_IdVd_mite_chip15_30a.sce | 4c22843ff077298ff8fa026ff2eb430a9fdb42e2 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | nFET_IdVd_mite_chip15_30a.sce | nFET_IdVd=[ //Vd Id cascode-Vg
1.40 67.00e-9 2.4;
1.19 66.90e-9 2.0;
0.95 62.8e-9 1.7;
0.78 62.2e-9 1.5;
0.69 62.1e-9 1.4;
0.59 61.5e-9 1.3;
0.50 61.3e-9 1.2;
0.41 61.2e-9 1.1;
0.31 63.1e-9 1.0;
0.26 37.5e-9 0.9;
0.23 12.5e-9 0.8;
0.19 03.65e-9 0.7;
0.155 0.993e-9 0.6;
0.125 0.264e-9 0.5;
0.08 0.069e-9 0.4;
0.046 0.018... |
26091c96c97fe16b12f7a538f4e747941d048db2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.11_4.tst | 4c6965f32d55aaf5b72cb7ce873700d9a0754f8e | [] | 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 | 3,537 | tst | bow.11_4.tst | 11 1:0.1 12:0.5 18:0.3333333333333333 35:0.125 43:0.5 90:1.0 118:1.0 135:1.0 139:0.25 191:1.0 838:1.0
11 67:1.0 92:0.3333333333333333 138:1.0 184:1.0 241:0.25 729:1.0
11 1:0.1 67:1.0 112:1.0 122:1.0 139:0.25 155:0.2 225:0.5 283:0.2 344:1.0 620:1.0
11 50:1.0 116:1.0 137:2.0 138:1.0
11 1:0.1 22:0.3333333333333333 710:1.0... |
75002ce60074413f1f70acf19417d92b02ccc46d | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 4/questao6.sce | e2aa932bcbd70f2985eaeb87b5b21c51f2cc65e3 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | questao6.sce |
function questao6()
//gera uma matriz aleatória 5x3
A=rand(5,3)
// Faz svd de A
[U1,S1,V1]=svd(A)
//B recebe a matriz resultante da quinta questao
B=FiveQuestion(A)
//Faz o svd de B
[U2,S2,V2]=svd(B)
//Compara V1 e V2
if V1==V2 then
disp("V1... |
b80075291e393105d5f99b0e34c87ef9a58edcb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH16/EX16.3/Ex16_3.sce | 008d5c64ca5cbdeb21a4a85cb3f4456b940b71c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_3.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 16.3
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
V=500; //Dc supply voltage in kV
ang1=20; /... |
d0fcc8703c79edd23414e1486af6faab61044f9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH3/EX3.13.3/EX3_13_3.sce | ad3baad1708abbb971198a052b612480d7003c68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | EX3_13_3.sce | //Example No. 3.13.3
clc;
clear;
close;
format('v',5);
Rr=73;//Ω(Radiation Resistance)
Z=120*%pi;//Ω(For free space)
//le=lambda/%pi
AemBYlambda_sqr=(1/%pi)^2*Z/(4*Rr);
disp("Maximum effective aperture in m² is "+string(AemBYlambda_sqr)+"*lambda²");
|
ba7ae6befea049987fc2dda18fe7880792acbc3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH2/EX2.10/Ex2_10.sce | d09c35e86bcf49a5b66de49188c862fbaabf2dab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 929 | sce | Ex2_10.sce | clc;
//page 105
//problem 2.10
//We know that, Probabilty of error(P_error) for the signal correpted by Gaussian channel variance sigma^2 where signal having voltage levels as 0&V is (1/2)*erfc(V/(2*sqrt(2)*sigma))
//P_error for V = 4 & sigma^2 =2
V = 4
sigma = sqrt(2)
P_error = (1/2)*erfc(V/(2*sqrt(2)*sigma... |
c0937a680c8415455f5fad037523ca85c16daf79 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/armcov/armcov3.sce | 5c35392bb81cacfbcab31dfd7fb58cfde0158bad | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | armcov3.sce | //check o/p when less than 2 i/p args are passed to the function
y=['a' 'a' 'b'];
f=armcov(y);
disp(f);
//output
//!--error 10000
//Not enough input arguments
//at line 3 of function checkNArgin called by :
//at line 3 of function armcov called by :
//f=armcov(y);
|
c69f87d8b06b92f305fa02904a51c93898dd0f2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH7/EX7.5/Chap7_Ex5.sce | a6fe52db0b3944e5d99a557434813d8ada1de202 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,848 | sce | Chap7_Ex5.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-7, Example 5, Page 181
//Title: Comparing Predictions for k*
//==========================================================================================================
clear
clc
//INPUT
rhog=1... |
6994fb61e5cafeb5fbc9a911c09d0bed3369da21 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RC98DEQ/ATWM1_Working_Memory_MEG_RC98DEQ_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | 0d415ed94ba6a7bf84cebcc1c35cd5f7fc99b618 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_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_monit... |
88212151c51fcc2af8135b8d591475248c3a38c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH3/EX3.1/Ex3_1.sce | ce4ad45981c7dfa32e7f2ee23233c96c83f12f72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_1.sce | clc;clear;
//Example 3.1
//given values
m=50;
T=90;
//Values from Table A-4
P=70.183;//in kPa
v=0.001036;//in m^3/kg
//calculation
disp(P,'pressure in the tank in kPa')
V=m*v;//equating dimensions
disp(V,'total volumne of tank becomes in m^3')
|
4d6388b8706b1d49e4f240446f1c18a0e18202ba | 9d0ab5efb08cc05ae362e8a981bdf5fa2debd7f6 | /03/a/RSR8Bit.tst | 9192bba7b53db67058d6c37706932fc689084333 | [] | no_license | nandha1nks/Nand2Tetris | bca96e324a1ff7ed425e33a37e3b7579d38fd29f | 82769b7a4e69b11c0bacd100991dfdf2b36a5f1d | refs/heads/master | 2023-01-02T11:57:25.843133 | 2020-10-29T10:10:27 | 2020-10-29T10:10:27 | 295,441,600 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | tst | RSR8Bit.tst | load RSR8Bit.hdl,
output-file RSR8Bit.out,
compare-to RSR8Bit.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 shift%B2.1.2 out%D1.6.1;
set in 0,
set load 0,
set shift 0,
tick,
output;
tock,
output;
set shift 1,
tick,
output;
tock,
output;
set in 255,
tick,
output;
tock,
output;
set load 1,
tick,
output;
tock... |
2223949d49953c90b62c725170945636a218d6e0 | 3befbd90d9241348c61727665559b5192e187f2e | /Reroll.Web/Reroll.Web/ClientApp/src/models/Template.tst | 51cda33c1961c97aee1265650e0112739232b0b0 | [] | no_license | e-borysiuk/Reroll | d208c2be983276353decbcb71e7ea2ce2d29acc9 | d14eb8e907329d696881c84841cfc16f21630820 | refs/heads/master | 2023-03-07T10:07:48.597660 | 2019-11-14T22:45:52 | 2019-11-14T22:45:52 | 221,798,002 | 0 | 0 | null | 2023-03-04T00:59:39 | 2019-11-14T22:29:04 | C# | UTF-8 | Scilab | false | false | 1,966 | tst | Template.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
using System.Text.RegularExpressions;
using System.Diagnostics;
Template(Settings settings)
{
settings.IncludeProject("Reroll.Models");
}
// Custom extension methods can be... |
1b855d68f5ce5d4b6d53e1f8f86c5f0aa3e9f9b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH13/EX13.5w/13_5w.sce | aad5f378842c4b57bf77f89f1138f25984fd07d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13_5w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 13.5w
//calculation of the force applied on the water in the thicker arm
//given data
A1=1*10^-4//area(in m^2) of arm 1
A2=10*10^-4//area(in m^2) of arm 2
f=5//force(in N) applied on the water in the thinner arm
/... |
7bfd66651901d39dd2631570c549a0eb2db68645 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH10/EX10.3/10_3.sce | 389fa7413e1d1f6b677b447b7c1b76f806e4e598 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,256 | sce | 10_3.sce | printf("\t example 10.3 \n");
printf("\t approximate values are mentioned in the book \n");
T1=250; // inlet hot fluid,F
T2=250; // outlet hot fluid,F
t1=105; // inlet cold fluid,F
t2=130; // outlet cold fluid,F
w=50000; // lb/hr
W=622; // lb/hr
printf("\t 1.for heat balance \n");
printf("\t for gas oil \n");
... |
da02050cec55ac520e477ec34e077e7f65d8f3b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH10/EX10.3/Ex10_3.sce | 8d19267a202bbb2dee4536dd4c06e17170c42c4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | Ex10_3.sce | //Ex10_3
clc;
// Given:
M1=137.32;// moleular wt of barium
M2=32;// molecular weight of sulphur
M3=16;// molecular wt of oxygen
M4=233.32;// molecular wt of BaSO4
ai=40000;// specific initial activity in counts min^-1 mg^-1
af=187/20;// specific final activity in counts min^-1 0.1ml^-1
// Formula:
// (1... |
03713f6e23e5ab86046b2404208195f721c8a113 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/tests/matelm.tst | 1fe59a36e688d8587eb8b0f6d4ce96081d438305 | [
"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 | 35,759 | tst | matelm.tst | // Copyright INRIA
//test of matelm functions
//size
a=[1 2;3 4];
if or(size(a)<>[2 2]) then pause,end
if or(size(a+0)<>[2 2]) then pause,end
if size(a,'*')<>4 then pause,end
if size(a+0,'*')<>4 then pause,end
[m,n]=size(a);if or([m,n]<>[2 2]) then pause,end
a=[1;2];
if size(a,1)<>2 then pause,end
if size(a+0,1)<>2 th... |
f83468f6358e52827c82558031e8f0d9fe5303a4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/calpol/coffg.sci | 5a6949d430339ee98d4d7f31a2fe284b3cb16114 | [
"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 | 1,051 | sci | coffg.sci | function [Ns,d]=coffg(Fs)
// [Ns,d]=coffg(Fs) computes Fs^-1 where Fs is a polynomial
// or rational matrix by co-factors method.
// d = common denominator; Ns = numerator (matrix polynomial)
// Fs inverse = Ns/d.
// (Be patient...results are generally reliable)
//F.D.
// See also det, detr, invr, penlaur, glever, le... |
be4fba100aa4497425864a6008df1e9b675373a3 | ca36627fc8522c67503588f0163ccfbe71d10aa9 | /Scilab/bode_atraso1ordem.sce | 7ec22f8e929271b8495a04a8d6381b9b7f2c94f0 | [
"MIT"
] | permissive | flaviojoliveira/estudos_tcm | 0730cf4d7b687d379cfdbf92b06feae78cb0f038 | d9a25a762bd7a9074ba715e321e38054544ce8b8 | refs/heads/main | 2023-01-29T06:42:05.124888 | 2020-12-15T01:59:08 | 2020-12-15T01:59:08 | 308,009,924 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 97 | sce | bode_atraso1ordem.sce | clc
clear
s = %s;
num = 5;
den = 2*s+1;
G = syslin ('c', num/den);
bode(G,0.001, 1000);
|
39841f530185214d75fe16b1559c4019cb2c2435 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH6/EX6.15/Chapter6_Example15.sce | 761db224d6b4979bf56b9237f8fed2229df027d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 923 | sce | Chapter6_Example15.sce | //Chapter-6, Illustration 15, Page 322
//Title: Refrigeration cycles
//=============================================================================
clc
clear
//INPUT DATA
T2=298;//Temperature at point 2 in K
T1=268;//Temperature at point 1 in K
hf1=-7.54;//Liquid Enthalpy at T1 in kJ/kg
x1=0.6;//Quality fac... |
cd738a1ab7acf6287b7f55f352875d2983ddfe3d | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/hetbsf.tst | 6acced5115a430a415e942db543a91926e89f892 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 1,548 | tst | hetbsf.tst | #----------------------------------------------------------------------
# Test S/370 HET tape BSF into Load Point
#----------------------------------------------------------------------
#
# PROGRAMMING NOTE: the bug originally reported only occurred when
# .het files were used but did not occur when .aws ... |
36b7188512847300e488916014ce093dc9629af9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH9/EX9.11/9_11.sce | d8f91323fd8efd6784654a05c7d52159fc1a89f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | sce | 9_11.sce | ns=1000
s=(ns-940)/ns
news=2*s
n=1000*(1-news)
disp(n)
|
671e02f87b7a7d92c9147720596a084550ecf0b8 | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /PluginTesting/environment/NO_TEST/NO_TEST.tst | 22b520e2b6f37df0361c7a604509e56555ccee6d | [] | no_license | TimSVector/PointOfSales_v2 | 2d1130516cfc5d77f2e5d0f60adcde96374f6fc2 | ef630f05850715568725cf94cc0e497146a049d4 | refs/heads/master | 2023-08-04T10:51:50.031346 | 2023-08-03T20:50:28 | 2023-08-03T20:50:28 | 133,404,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | tst | NO_TEST.tst | -- VectorCAST 19.sp1 (06/26/19)
-- Test Case Script
--
-- Environment : NO_TEST
-- Unit(s) Under Test: manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FE... |
864f1d20962a10466926ca25e59114a0f1ab878e | 29ebda219499e5b5e13800b6e5083ff775eb8196 | /Control_levi.sce | b5fe2eaae3ec95ef78e28b8a3897bea678f76efe | [] | no_license | izlervaldivia/Maglevtrains | 8b9a002694c5658f9561f93a17d7a555b8fd120f | 7282faae4998e7a9a18a6107275379cc61c64a51 | refs/heads/master | 2022-12-01T05:54:23.048728 | 2020-08-17T03:59:03 | 2020-08-17T03:59:03 | 288,067,147 | 1 | 0 | null | 2020-08-17T07:36:19 | 2020-08-17T02:40:21 | Scilab | UTF-8 | Scilab | false | false | 3,906 | sce | Control_levi.sce | //Evaluacion LQG Train
// load the data
clc
clear
load("maglevtrainLTI.sod","X","U","sys")
Ap=sys.A;
Bp=sys.B;
Cp=sys.C;
Dp=sys.D;
Dp=0
Cp=[1 0 0]
tri = trzeros(sys)
w = logspace(-3,3);
svi = svplot(sys,w);
scf(1);
plot2d("ln", w, 20*log(svi')/log(10))
xgrid(12)
xtitle("Valores singulares de la plant... |
43bc49d7c381d35f602d4b21e4e7bb8002de37cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.11/34_11.sce | 47a9d29eff0aa7b0b578b8bfa29458df6c8894fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | 34_11.sce | //ques-34.11
//Calculating optical density of incident light
clc
ratio=100/10;//= Io/I
A=log10(ratio);
printf("The optical density of incident light is %d.",A);
|
b83ba34a1158187c0c843f88b9a31f4bbe372a77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/23_3data.sci | 49586b92963cf31cdd71c6609d572a6c62d5e21c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sci | 23_3data.sci | //in order 12,56,26,34,48,83,57,72,61,78
L=[1023;1023;1274;2200;250;150;280;180;330;1270];//length
t=[1.22;1.22;1.63;2.03;2.64;2.64;2.64;2.64;1.63;1.22];//thickness
A=[265000;213000;413000];//cell area
Gref=27600;
G=[27600*ones(9,1);3*27600];
B=[2580;3880;3230;3230;3880;2580];//boom areas
y=[165;230;200;-200;-23... |
669391d714a5ec90195c274e2367b5584517210c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH2/EX2.8/Ex2_8.sce | 6f0fac5ebf6636d52e299a1be36c4fc8ae316023 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 780 | sce | Ex2_8.sce |
clear//
//NOTE:The NOtation has been changed to ease coding
//Variable Declaration
d=0.005 //difference in length in inch
L=10 //Length in inch
//Area of copper and aluminium in sq.in
Ac=2 //Area of copper
Aa=3 //Area of aluminium
//Modulus of elasticity of copper and aluminium in psi
Ec=17000000 //Copper... |
f9bfef7a12cd9c254140c25e095a7293d9dbf527 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/REE1.prev.tst | 4665d6a621f0c1ae6d9a0f33cf36f55161fff6db | [
"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 | 316 | tst | REE1.prev.tst | Expanding for base=2, level=4, reasons+features=evenexp
Refined variables=a,b,c,d
ReasonFactory: evenexp, code="evenexp"
EvenExponentReason.consider(
"a+6a²+16a³+16a⁴+8b+24b²+32b³+16b⁴-c-6c²-16c³-16c⁴-16d⁴+1",
"27a+54a²+48a³+16a⁴+8b+24b²+32b³+16b⁴-c-6c²-16c³-16c⁴-16d⁴+6") =
unknown
|
23fcad440907e1672858f51d7ee8b8f0d8c84678 | 3362d6b11f4bc1566b42a84158b0aaf5e2b2e632 | /snake/snake.tst | b9e39d87da7652d48307551459f4e51ba5564b20 | [] | no_license | elanelango/nand2tetris | b87319ece65f4c2747776592c4b21a5a874c06e9 | d0e9010933ac6cda9ea164fac09c3087b03991d4 | refs/heads/master | 2021-07-13T03:28:07.423296 | 2020-09-21T05:51:37 | 2020-09-21T05:51:37 | 205,093,385 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29 | tst | snake.tst | load,
repeat {
vmstep;
}
|
8b7c9028c3d66c5da4965369f2061e4b004e36b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.28/ex4_28.sce | 66eae8443a36da720f6c35095f740ac4720f5076 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | ex4_28.sce | // Exa 4.28
clc;
clear;
close;
format('v',6)
// Given data
Z1= 3+4*%i;// in ohm
Z2= 6+8*%i;// in ohm
V= 230;// in V
I1= V/Z1;// in A
I2= V/Z2;// in A
I_T= I1+I2;// in A
phi= atand(imag(I_T),real(I_T));// in °
P= V*abs(I_T)*cosd(phi);//in V
disp("The value of current : ")
disp(abs(I_T),"The magnitude in A... |
bf9a8e9b0bae230a00ca03494901e9108b3b64d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH3/EX3.9/Ex3_9.sce | 2a6ddc4675c5147a8904f195aaa66b808fd09453 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex3_9.sce | // Example 3_9
clc;funcprot(0);
// Given data
v=10;// The volume of the tank in m^3
rho_s0=3.0;// The initial salt density in kg/m^3
t=0;// Time in s
Q=0.01;// The volume flow rate in m^3/s
// Calculation
// (b)
// V=Q*t;
V=v*log(2);//
printf("\nThe volume of fresh water,V=%0.3f m^3",V);
|
195ce0c868959a7b7a8d94b4979602388c57d8c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH2/EX2.2/2_2.sce | 89018e9656109091e00aa40daa25154f26a1b956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | 2_2.sce | //Example 2.2
//Bisection Method
//Page no. 15
clc;clear;close;
deff('y=f(x)','y=x^3-3*x-5')
x1=2;x2=2.5;e=0.0001;i=0;
printf('Iteration\tx1\t\tx2\t\tz\t\tf(z)\n')
printf('--------------------------------------------------------------------------\n')
while abs(x1-x2)>e
z=(x1+x2)/2
printf(' %i\t\t%... |
fe90995f4ddb406270bee3c16a75fc0681eb95d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH2/EX2.10/example2_10.sce | 62f310eeba0cb6b5f2e618e38573a0b2a9f1bce2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example2_10.sce | clear;
clc;
// Stoichiometry
// Chapter 2
// Basic Chemical Calculations
// Example 2.10
// Page 22
printf("Example 2.10, Page 22 \n \n");
// solution
// NaOH
Impurity = 60 // [ppm] SiO2
m = (60/1000000)*100
printf("Mass percent of SiO2 is "+string(m)+".")
|
460031dad300af51a2b3824adca9defa6d24e5e8 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testiscell.sce | e0fdbe49f9241bbbcc82b308ecf5c7a867f76857 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | sce | testiscell.sce | L=cell(2,2) // tableau-liste de taille 2x2
L(1,1).entries="Scilab"
iscell(L)
iscell(L(1,1))
iscell(L(1,1).entries)
|
c170201c6406e46430946bef25a502c2e510280a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH6/EX6.2/6_2.sce | 0cc0fcdbf0ec194d33a9faf0c15cd17315c8d2e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,040 | sce | 6_2.sce | clc
//initialisation of variables
hd=159 //heat drop in kj/kg
eff=0.89 //and its corresponding efficiency is mentioned
ra=0.4 //ratio of blade speed to steam speed
sp=3000 //rotational speed of an impulse turbine wheel in revolutions
a=20 //angle is 20 degrees
beff=0.76 //blade efficiency
cwo=5.4 //m/s
pi=(22/... |
42dc43fc7a1ef09f4bab511428634ae9197376d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH7/EX7.1/Ex7_1.sce | a48115874dd05683b0025bb5e54c523207c21bee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,078 | sce | Ex7_1.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 7 Field Effect Transistors Pg no. 220
clear;
clc;
//Given Data
//Figure 7.7
IDSS=15D-3;//drain saturation current in amperes
VGS_cutoff=-5;//gate to source cutoff voltage in volts
RD=300;//drain resistance in ohms
//Solution
VP=-VGS_cutoff;//pinch-off vo... |
2a24382c933269408eca1983c2a1ec7afad3283a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH4/EX4.15/ex4_15.sce | a2bd109ae16256e35786c7113eed986945159d51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | ex4_15.sce | clc;
G=6.67*10^-11 //Universal gravitational constant in Nmsquare/kg square
mm=7.36*10^22; //mass of moon in kg
r=1.74*10^6; //radius of moon in m
m=75; //weight of man in kg
g=(G*mm)/(r*r); //calculating g in m/sec square
w=m*g; //calculating weight in Newton
disp(g,"Accelaration due to ... |
b861b43d7ab326aaeedb1a14c940b7972ff2df56 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 04/rascunhÃO.sci | 91b88c321fa2f974d08b8b143d224cdcd36e510b | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,214 | sci | rascunhÃO.sci | clc
clear
// Características do sistema:
pi = %pi
ro = 0.1 // kg/m
g = 9.80 // m/s²
l = 0.5 // m
comp = 2*l // m
L = 10 // m
m = comp*ro
// Condições iniciais:
//E=[-pi/6,pi/4,L/5,0,comp] // alpha, beta, sigma zero, sigma_ponto_zero, lambda_zero
//E=[-pi/6,pi/6,L/5,0,comp]
//E=[-pi/6,pi/4,L/5,0,comp]
//E=[-pi/4,-pi... |
8e26b4f9a3f380412d314849cff67fe2a45d468f | 465afc0cfc032239fba2e606624cd1ba338042d9 | /test1.tst | 14bee464295b609423f1471ad5984e69559cea65 | [] | no_license | prokopstein/cex-system | a627f017450970660d58669c89083edcc22ad9e4 | b8b2cb8dde84795bad65a1afcd29cea35e5a5818 | refs/heads/master | 2021-09-01T16:11:01.061514 | 2017-12-27T22:07:44 | 2017-12-27T22:07:44 | 115,525,738 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | tst | test1.tst | 2017-11-01T09:42:23+00:00 KRAKEN BTC USD 1000.0 0.0009
2017-11-01T09:42:23+00:00 GDAX BTC USD 1001.0 0.0008
2017-11-01T09:42:23+00:00 BITFINEX BTC ETH 20.0 0.05
2017-11-01T09:42:23+00:00 GDAX USD LTC 0.01 100.0
2017-11-01T09:42:23+00:00 BITFINEX LTC BTC 0.5 2.0
EXCHANGE_RATE_REQUEST KRAKEN USD BITFINEX ETH
|
0bdc9457714b786f615cafe64309cc58aa18ef5d | dc628e7d8425aa0bb1460d2583f04c9969b4ec9c | /dlog-server/src/test/iocasteDB.tst | 1f4171d08ab078b18c99db47787084af388565b0 | [] | no_license | logicmoo/DLog | bc2c43523ccbc3747c381f2eb0e25960cfc8d6e1 | 855774c38c1eea119405fde0057cfdb1032006f0 | refs/heads/master | 2021-05-28T14:03:35.596790 | 2015-01-12T22:49:56 | 2015-01-12T22:49:56 | 27,461,790 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 939 | tst | iocasteDB.tst | options([abox_target(allinonefile), tbox_target(allinonefile), indexing(yes)]).
options([abox_target(allinonefile), tbox_target(allinonefile), indexing(no)]). %All DB -> indexing doesn't help at all
options([indexing(no)]).
options([indexing(yes)]).
concept('Good').
concept('Patricide').
role(hasChild).
equiv(and([so... |
c28c4462609b2b9a2f3e19291e0ba3ed6b9e3e6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH17/EX17.8/example17_8.sce | 246d1f019d4715a702cd9802f747c7ecbda0b9e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example17_8.sce | lt1=500;
lt2=50;
disp("Part a");
m=(lt1-lt2)/4;
disp("the mutual inductance (in mH) is"); disp(m);
disp("Part b");
l=(lt1-2*m)/2;
disp("the self-inductance (in mH) of each coil is"); disp(l);
disp("Part c");
k=m/sqrt(l^2);
disp("the coefficient of coupling is");disp(k); |
a407f92400899798892c90f17a41c68602762c6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH3/EX3.10.16/ex3_10_16.sce | 324fbe8a0cb00bcf5525245d58454c3bdabdfde9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | ex3_10_16.sce | // Exa 3.10.16
clc;
clear;
close;
// Given data
Eta = 1;
I_o = 30;// in MuA
I_o = I_o * 10^-6;// in A
v = 0.2;// in V
K = 1.381 * 10^-23;// in J/degree K
T = 125;// in °C
T = T + 273;// in K
q = 1.6 * 10^-19;// in C
V_T = (K*T)/q;// in V
r_f = (Eta * V_T)/(I_o * (%e^(v/(Eta * V_T))));// in ohm
disp(r_f,... |
47cb9ca9104b2b0a9cbda071fa3ce51a0d65fe2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH1/EX1.e.5/Chapter1_ex5.sce | 995c97eaf6afbe60fd046a40490981d88cf7fefe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Chapter1_ex5.sce | clc
clear
m=100//Mass of block in kg
F=500//Force in N
q=30//Angle made with the horizontal in degrees
u=0.4//Coefficient of sliding friction
//Calculations
R=m*9.8//Reaction force in N
f=(u*R)//Frictional force in N
a=(F*cosd(q)-f)/m//Acceleration of the block in m/s^2
//Output
printf('The acceleration ... |
0e0301af70f3aa7a453afcf70351755267ac5b7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH6/EX6.4/Exa6_4.sce | 646ea8a9455ccaa0febf14b72bd8bd2e26256d61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Exa6_4.sce | //Exa 6.4
clc;
clear;
close;
//given data :
format('v',7);
L=20;//in um
L=L*10^-6;//in meter
Tr=80;//in ns
Tnr=80;//in ns
tau=Tr*Tnr/(Tr+Tnr);//in ns
//Formula : L=(D*tau)^(1/2)
D=(L^2)/(tau*10^-9);//in m^2-s^-1
disp(D,"Diffusion Coefficient of LED in m^2-s^-1 : "); |
5584e01e840bc705989668b7fe1e503d1833f90d | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Crvonsfpersdata.sci | f3bdf700eb0fdaaf3dac3c953faccfc01657763b | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,082 | sci | Crvonsfpersdata.sci | // 08.09.21
// 08.10.11
// 08.10.15
// 10.02.16 Eps
function OutL=Crvonsfpersdata(varargin)
global PARTITIONPT HIDDENDATA CRVONSFHIDDENDATA
Nargs=length(varargin);
Eps0=10^(-4);
Figuv=varargin(1);
Fbdy=Projpers(varargin(2));
Fd=varargin(3); N=4;
FdL=Fullformfunc(Fd);
Fxy=Mixop(1,FdL);
Xf=Mixop(2,FdL... |
56c5799530b9a5843560f48f699dcd2a59bc157b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH7/EX7.18/Ex7_18.sce | d2cefbbfcec2a276e421eec9c956bbbc1d235558 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | Ex7_18.sce | clear
//
//
//Initilization of Variables
d=100 //mm //Diameter of shaft
M=3*10**6 //N-mm //B.M
T=6*10**6 //N-mm //Twisting Moment
mu=0.3
//Calculations
//Max principal Stress
P1=16*(%pi*d**3)**-1*(M+(M**2+T**2)**0.5) //N/mm**2
P2=16*(%pi*d**3)**-1*(M-(M**2+T**2)**0.5) //N/mm**2
//Direct stress
P=(P1)-mu*(P2) //... |
42442254e19e492c2f650a103acf8c3993983a3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH1/EX1.6/6.sce | eb6540e9458fc619d2870d7a1b798f168f47bd28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6.sce |
//Variable declaration
e=1.6*10**-19; //charge of electron(c)
epsilon0=8.85*10**-12; //permittivity(C/Nm)
r0=0.281*10**-9; //seperation(m)
IE=5.14; //ionisation energy of Na(eV)
Ea=-3.61; //electron affinity(eV)
//Calculation
V=-e**2/(4*e*%pi*epsilon0*r0);
CE=IE+Ea+(V); //cohesiv... |
c85719e6bc5cd2f765983030753c3c7e2730c42e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH14/EX14.21/Ex14_21.sce | d11b230210bc86cbacdc2e57b901d3958f32c009 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_21.sce | //Initilization of variables
OA=0.6 //m
w=8 //rad/s
theta=30 //degrees
v_O=12 //m/s
alpha=4 //rad/s^2
a_O=6 //m/s^2
//Calculations
//Velocity Calculations
v_AO=OA*w //m/s
v_Ah=v_AO*sind(theta)+v_O //m/s horizontal component
v_Av=v_AO*cosd(theta) //m/s
v_A=sqrt((v_Ah^2)+(v_Av^2)) //m/s
phi=atand(v_Av/v_Ah) ... |
c73f0b7647e7982329edb12902025d79e91b6e5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH3/EX3.3/Ex3_3.sce | d182cf32567dd7ef67c506c18c7abde836792bb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | Ex3_3.sce | //Chapter 3, Exmaple 3, page 104
//Maximum pressure in the chamber
clc
clear
//Making use of equation 3.10
N1 = (4*%pi*1.7*1.7*0.10*10^-10*10^-10)
N = 1/N1
//Using equation 3.2
R = 8314 // J/Kg*mol*K
M = 28 // Mol^-1
N = 220*10**-8 // Kg
T = 300 // K
p = N/M*R*T
printf("\nN = %e ",N1) // answer mentioned in the tectb... |
a719b0a589b21c289d141a8ca3b1de9983aa7be6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH4/EX4.1/example_4_1.sce | 11438e9abc1bc1268d52f2dfcef1a8e27c5045e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | example_4_1.sce | // F = M*s^2 +K*X + B*X*s
syms s t V Q L C R I;
//force-voltage method
F=V;
X=Q;
M=L;
K=1/C;
B=R;
V=I*(s*L + 1/(s*C) + R);
disp("v = L*diff(i) + 1/C*int(i) + i*R") |
e366e9b90060cbfa72b92bc8ce38561c8e517a62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH10/EX10.2/ex2.sce | 6e3c27f3af07e34f522f0497c5f7f236b690a4b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sce | ex2.sce | //example 2
//Calculating reversible work
clear
clc
//Form the Steam Tables,the inlet and the exit state properties are
hi=298.6 //initial specific heat of enthalpy in kJ/kg
si=6.8631 //initial specific entropy in kJ/kg-K
se=7.4664 //final specific entropy in kJ/kg-K
he=544.7 //final specific heat of enthalpy i... |
65a3a07501e020f769874a42da72ef90ce45286d | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH17/EX17.3/17_3.sce | 1bd974b31120981b4bb0e9d517f24eeb7ed8883f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | 17_3.sce | pathname=get_absolute_file_path('17_3.sce')
filename=pathname+filesep()+'17_3_data.sci'
exec(filename)
//Brake power
bp=(2*%pi*N*T)/60000
//Friction power
fp=ip-bp
//Percentage losses
Loss=fp/bp*100
printf("\n\nRESULTS\n\n")
printf("\nPercentage losses:%f\n",Loss) |
9a394feb41f364f097c6743e8a8613aa60e195a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH13/EX13.4/example13_4.sce | 99d97f3a3919eb46478784db4f2b41cd0d98c461 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | example13_4.sce | i=10*10^(-3);
r=10*10^3;
v=15;
fsd=0.02;
disp("Part a");
r1=v/(i-v/r);
disp("the resistance (in Ω) is"); disp(r1/1000);
disp("Part b");
e=2*fsd*100;
disp("the maximum possible error (in %) is"); disp(e); |
888af9018adf5ced5edea019dd575580519cdbf6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH15/EX15.17/15_17.sce | b8af144d2b9877bb9bd6f7ed18eca6bb6b8204b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,485 | sce | 15_17.sce | clear;
clc;
//Example - 15.17
//Page number - 536
printf("Example - 15.17 and Page number - 536\n\n");
//Given
T = 25;//[C] - Temperature
P = [118.05,124.95,137.90,145.00,172.90,207.70,227.70,237.85,253.90,259.40,261.10,262.00,258.70,252.00,243.80];//[mm Hg]
x_1 = [0.0115,0.0160,0.0250,0.0300,0.0575,0.1125,... |
ebbe573c915a38df97f8c8e40a7541722f54595a | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH12/EX12.5.1/Additive_Noise_Parameters.sce | b59e316b7615a4f2b0865cdc8b2bae5f915c8938 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 992 | sce | Additive_Noise_Parameters.sce | //Graphical//
//Example 12.5.1
//Determination of power, frequency and varaince of
//Additive noise
clear;
clc;
close;
ryy = [0,1,3,1,0];//Autocorrelation of signal
cen_ter_value = ceil(length(ryy)/2);//center value of autocorrelation
//Method1
//TO find out the variance of the additive Noise
C = ryy(ceil(le... |
d2d40aea7616f2139a38e7ecfeeaab8f7a04e2b7 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.14_2.tst | d521c4ab22d6ddc805b2372eb8314b76d6a568dc | [] | 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 | 690,844 | tst | 5.14_2.tst | 14 165:1 219:1 931:1 1325:1 1755:1 2175:1 2442:1 3117:1 3321:1 3631:1 5157:1 5299:1 5984:1 6091:1 6229:1 6749:1 6779:1 6908:1 7221:1 7551:1 8114:1 8127:1 8146:1 8515:1 8625:1 9097:1 9218:1 9362:2 9441:1 9482:1 9821:1 10527:1 11246:1 12043:1 12409:1 12472:1 12936:1 13218:1 13252:1 13719:1 13743:1 13847:1 13865:1 13940:1... |
c4f672fd84dc4bf8bcf24d71686d0227ccaf9e5b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/metanet/save_graph.sci | e170aa1d9eade11c81f206416ec550d2d6fb3cde | [
"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 | 2,499 | sci | save_graph.sci | function save_graph(g,data)
// Copyright INRIA
[lhs,rhs]=argn(0)
select rhs
case 1 then
data=" "
else
if rhs<>2 then error(39), end
end
// g
check_graph(g)
// making defaults
n=g('node_number')
ma=prod(size(g('tail')))
// node_name
if size(g('node_name'))==0 then
g('node_name')=string(1:n)
end
// node_type
if siz... |
3fbe0f0beebad85b2dc6fae174515384a54d0b4d | 717ddeb7e700373742c617a95e25a2376565112c | /32/CH18/EX18.15/18_15.sce | 849fa7d2eeb90ea74881897dc32fc1266d88747d | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,206 | sce | 18_15.sce | //pathname=get_absolute_file_path('18.15.sce')
//filename=pathname+filesep()+'18.15-data.sci'
//exec(filename)
//Mass flow rate(in kg/s):
m1=3
m2=2
//Specific heat(in kJ/kg.K):
Cp=1.005
//Specofoc heat of stream(in kJ/kg.K):
Cps=1.86
//Relative humidity:
r1=0.30
r2=0.85
//From psychometric chart:
pvsat1=0... |
79f0a67bae6b8f7436dfee31eea3077cce3eb40c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH22/EX22.5/Ex22_5.sce | caaa31a20a79c8ac31def3ab7f1f9bf2716cb3b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex22_5.sce | //Example 22.5
N=100;//Number of turns
I=15;//Current (A)
A=(10*10^-2)^2;//Area of square loop of side 10cm (m^2)
B=2;//Magnetic field strength (T)
theta=90;//Angle for maximum torque (deg)
tau_max=N*I*A*B*sind(theta);//Maximum torque (N.m)
printf('Maximum torque = %0.1f N.m',tau_max)
//Openstax - College Physi... |
ba347756ff6e9f8de3308e8a32e742949765e35a | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH11/EX11.4/Ex11_4.sce | 82d5857d9d0ecf162eb3b7ada72b1663d3cb5cdc | [] | 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 | 637 | sce | Ex11_4.sce |
// Calculation
l = [20 0.18; 60 0.37; 100 0.35; 140 0.78; 180 0.56; 220 0.75; 260 1.18; 300 1.36; 340 1.17; 380 1.65]
x = l(:, 1)
y = l(:, 2)
s1 = sum((x.^2)) - (sum(x))^2/10.0
s2 = sum(x.*y) - (sum(x)*sum(y))/10.0
s3 = sum((y).^2) - (sum(y))^2/10.0
Slope = s2/s1
c = sum(y)/10.0 - Slope*sum(x)/10.0
s = (s3 - (s2)^... |
f607ff17418a8604f70f45ee260b574feeb86eec | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/MSVC2008_Patch/ilib_for_link.sci | 0b2e4d97e8da3a43f52d895ee6161901d2b3c3e7 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,761 | sci | ilib_for_link.sci | function libn=ilib_for_link(names,files,libs,flag,makename,loadername,libname,ldflags,cflags,fflags,cc)
// Copyright Enpc
// Generate a shared library which can be used by link
// command.
// names = names of entry points or the name of the library to
// be built (when flag == 'g')
// files = object files to be bu... |
586d0e766160b0f8fcb5ed63b2d34cc16315f55c | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/test1/pengulangan.sci | 3d40734aa184a11e9521c866d22ff54f0be979a6 | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sci | pengulangan.sci | i=0;
function pengulangan
while i<5
i = i+1;
end
endfunction
|
b0679199890d110591645c42410d0bb52c6f9401 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH5/EX5.1/P5_1.sce | 80ed7e570be7efeeac7483271be6bb4e46eb5ad0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | P5_1.sce | //EXAMPLE 5.1
//DETERMINE DFT OF GIVEN SEQUENCE
clc;
clear;
N = input("length of sequence = ");
x = [1,zeros(1,N-1)];
disp(x,'The sequence is,x = ');
X = dft(x,0);
disp(X,'DFT of the sequence is X = ');
m = input("value of some intemediate (mth) point = ");
y = [zeros(1,m-1),1,zeros(1,N-m)];
Y = dft(y,0);
disp(Y,'D... |
4cbb6e5c2ce1deb013812108be34426662974149 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH10/EX10.7/Chapter107.sce | 004b76736fbcdd4d9d711c24eac4b9aa6f1de252 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,702 | sce | Chapter107.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 10, Example 7")
//Water enters a cross flow heat exchanger (both fluids unmixed) at temprature(Tci)=20°C amd flows at a mass flow rate of mdotw=7kg/s
Tci=20;
mdo... |
5fa8dc0bb634022c3980f2c36e475458043ff08b | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH5/EX5.8/Example5_8.sce | 32b388f3a5abcf93e6f81fdc540b91c925770c42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | Example5_8.sce |
clear;
clc;
printf("Example 5.8\n");
l=0.08; //distance between metal walls,m
k=0.12; //thermal conductivity of insulating material, w/(m*K)
l1=0.04; //length of ribs,m
l2=0.14; //projected legth of wall,m
T1=40; // temoerature of 1st wall,C
T2=0; //temperature of wall, C
//by looking at the configurat... |
53269bc25b8f52f24c63d281cc8ecd4c67e2d8c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.3/Ex2_3.sce | f25a1debcf0a9fd9ce101ffc22330d0c4c7466f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex2_3.sce | //Components of block normal to and parallel to inclined plane
//Let Wn be the normal component and Wp be the parallel component
//Refer fig. 2.5(b),triangle ABC
Wn=10*cosd(20) //kN
Wp=10*sind(20) //kN
printf("The normal and parallel components respectively are :-\n Wn=%.2f kN\n Wp=%.2f kN",Wn,Wp)
|
07897faf7a125891d98cb9f880e317c10feaee4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH1/EX1.11/Ex1_11.sce | a5e2eaadf654139a507d0ee595dd779f34d97e14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Ex1_11.sce | //Example 1.11
clc();
clear;
//To calculate refractive Index of liquid
d10=1.40
d_10=1.27
u=(d10/d_10)^2
printf("The refractive index of liquid is %.3f",u)
|
4a1a5387324a1ec83bd27a55a9d56bb921cb3690 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH2/EX2.6/Ex2_6.sce | d69b194f9a79524749bb826a36eda82fa710cd9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Ex2_6.sce | // Substitutition scheme of Caesar cipher
// Move scilab to current file directory
[u,t,n] = file()
n = strcat(n)
file_name = basename(n)+fileext(n)
file_name = strcat(file_name)
ind=strindex(n,file_name)
path = part(n,1:ind-1)
chdir(path)
exec("Chapter_2.sci",-1)
a = ascii('A')
pt = "I LOVE YOU"
prin... |
83f77349f55ef83f9393b0ba43c248654d122f52 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/metanet/sconcomp.sci | 91f8501bdb7705e325af2b98c150e52731ded273 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sci | sconcomp.sci | function ns=sconcomp(i,g)
[lhs,rhs]=argn(0), if rhs==1 then g=the_g, end
[l,nc]=sconnex(g)
ns=sconcom(i,nc,g)
|
d3dc436c5e1916ce94905a8ebe75ac065570516d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH13/EX13.5/13_5.sce | b8a1b7c64518d75ae08eb029b338cab1626f0521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | 13_5.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 13.5
//calculation of the speed of the water coming out of the tap
//given data
h=6//depth(in m) of the tap
g=9.8//gravitational acceleration(in m/s^2) of the earth
//calculation
v=sqrt(2*g*h)//torricelli's theore... |
8cf4c81396405a7b79e2868fd3eadeecdf6e0e51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH15/EX15.5/Ex15_5.sce | 304073faaf2ba425169dddb183cd169d0712030b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex15_5.sce | //Example 15.5, Page 541
clc
M_He=4.0026033//*u, Mass of helium
M1H1=1.00782525//*u, electron mass
Mon1=1.0086654//*u, neutron mass
Mass=(2*M1H1)+(2*Mon1)
delta_M=(Mass)-M_He
printf("\n The binding energy of helium is %f *u",delta_M) |
1515190078c3d741b1d5371d2286e83cbfa0f132 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/EpipolarLines/test5.sce | 4e74715e4f98d75457f7a614d48ac5946660eefa | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,223 | sce | test5.sce | //Reading first image
I1 = imread("left.jpg");
//Reading second image
I2 = imread("right.jpg");
//Drawing epipolar lines
//Checking if error message pops up when no input arguments are given
[out1 out2] = epipolarlines();
// !--error 77
//epipolarlines: Wrong number of input argument(s): 2 expected.
//Reading first ... |
9f8e52d10e9980fbe4563295e6b37231970c629e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.35/Chapter1_Example35.sce | 6083511923d71124748cf79e0f586172b94ae31b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 953 | sce | Chapter1_Example35.sce | //Chapter-1, Example 1.21, Page 1.49
//=============================================================================
clc
clear
//INPUT DATA
N1=1500;//Initial speed in rpm
V1=270;//Terminal voltage in V
T=300;//Full load torque in N.m
N2=1200;//New speed in rpm
V2=(2*V1);//New terminal voltage in V
Ra=0.31;/... |
c12b91881589c6481b549bb1f572d2583e61281a | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaq_fw_version.sci | 612193e40c9037ab2537f91bc6d3713bbb4fcdd5 | [
"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 | 887 | sci | mdaq_fw_version.sci | function fw_ver = mdaq_fw_version()
connection_id = mdaqOpen();
fw_ver = [];
if connection_id > -1 then
result = [];
[major_ver, minor_ver, fix_ver, build_ver, result] = call("sci_mlink_fw_version",..
connection_id, 1, "i",..
"out"... |
db792b37cc06a7ebdcc19452fbd915ca8d608409 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.24/ex24.sce | 36efb6cb68be1113a562db7004813b0f2b7bb9f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | ex24.sce | clc
clear
//Input data
Zg=0.753;//Barometer reading at ground level in m
Zp=0.690;//Pilots barometer reading in the plane in m
d=13600;//Density of Hg in kg/m^3
g=9.81;//Gravity in m/sec^2
da=1.25;//Density of air in kg/m^3
//Calculations
Pg=d*g*Zg;//Pressure at ground level in N/m^2
Pp=d*g*Zp;//Pressure at... |
449e4c9ffd15a6a3635a389001cf64bc9d5b8952 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 6/Teste5.sce | 27c6ab601e4550eaa76a512ae78b465430e3d3cc | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | Teste5.sce | //Executar MetodoJacobEGaussSeidelExemplo.sce antes
A = [4 4
3 4]
b = [1 1]'
x1 = [1 0]'
jacobi(A,b,x1,-1,5)
|
c9b8e2202c51f6f8f3ad86994ab82e49b713cbc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH4/EX4.1/example41.sce | 114edcfa93070c1e133b1bb6c4a87c29d9c62179 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | sce | example41.sce | //Example 4.1
//Find the DTFT of (a^n)u[n],for |a|<1
clc;
syms w a n;
x=a^n;
X=symsum(x*exp(-%i*w*n),n,0,%inf); |
791f1c9154630748d74d4f21187e0ff797cbbdb5 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_1003_wta/input_pattern_wta.sce | 764e26395db4b5614d052c5423662f046e622e4b | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | input_pattern_wta.sce | clear DAC00; clear DAC02; clear DAC03; clear DAC04;
// nbias
DAC02 = [ linspace(1,1,100) ];
// pbias
DAC03 = [ linspace(2,2,100) ];
// vcc0
DAC00 = [ linspace(2.5,2.5,100) ];
// vcc1
DAC04 = [ linspace(2.5,2.5,100) ];
disp(size(DAC00));
disp(size(DAC02));
disp(size(DAC03));
disp(size(DAC04));
|
2e52439546201f25c152c49ae4bb8af81ba6fcd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH6/EX6.4/Ex6_4.sce | dd91b72a602e29084cf40814d8fe7472da29ea05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_4.sce | clear;
clc;
funcprot(0);
//page no. 184
y1 = 2;//ft
V1 = 20;//fps
beta = 40;//degrees
K1 = (V1^2)/(32.2*y1);
y2 = (-1 + sqrt(1+8*K1*(sin(beta*%pi/180))^2));
k = (y1/y2)*V1*sin(beta*%pi/180);
del_angle = (180/%pi)*atan(sqrt((tan(beta*%pi/180)) *(1+2*k^2 /(32.2*y2))/(1+2*K1*(sin(beta*%pi/180))^2)));
theta ... |
8c2291b5e8e85c812c7b47df17be69c0d76575a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH24/EX24.12/ex_24_12.sce | 58849c286bb22af6a4a8915d4870cb10a49a5fa6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | ex_24_12.sce | //find..
clc
//solution
//given
P=45*1000//W
N=1000//rpm
a=(%pi/180)*12.5
D=500//mm
R=250//mm
u=0.2
pn=0.1//N/mm^2
T=P*60/(2*%pi*N)*1000//N-mm
//let b be face width
//T=2*%pi*u*R^2*b
b=T/(2*%pi*pn*u*R^2)//mm
printf("face width is,%f mm\n",b)
Wn=pn*2*%pi*R*b//N
We=Wn*(sin(a)+0.25*u*cos(a))
printf("axia... |
ef7f510ca6e23a2e2a67ee293359c21c7d310e29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH16/EX16.8/example16_8.sce | 1f99a5c3c197f1aca667f2de380698c5b5491d43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | example16_8.sce | clc
// Given that
d = 8.92e3 // density of copper in kg/m^3
i = 5 // current in amp
w = 63.5 // atomic weight of copper
r = 0.7e-3 // radius in meter
N = 6.02e28 // Avogadro no.
e = 1.6e-19 // charge on an electron in C
// Sample Problem 8 on page no. 16.17
printf("\n # PROBLEM 8 # \n")
printf("Standard formula used ... |
de476b92d5b139601933e6788c5cd5119f4c17c9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/abinv.man.tst | f672f2a8af91b9aff6578f11270caada4296208a | [
"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 | 1,756 | tst | abinv.man.tst | clear;lines(0);
nu=3;ny=4;nx=7;
nrt=2;ngt=3;ng0=3;nvt=5;rk=2;
flag=list('on',nrt,ngt,ng0,nvt,rk);
Sys=ssrand(ny,nu,nx,flag);alfa=-1;beta=-2;
[X,dims,F,U,k,Z]=abinv(Sys,alfa,beta);
[A,B,C,D]=abcd(Sys);dimV=dims(3);dimR=dims(1);
V=X(:,1:dimV);X2=X(:,dimV+1:nx);
X2'*(A+B*F)*V
(C+D*F)*V
X0=X(:,dimR+1:dimV); spec(X0'*(A+B*F... |
609ce697aebc03c55b3f287997178bffdcae0f24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH16/EX16.8/PS_8.sce | b4d55f2d26acc24fd20413843bc60eaa73f2772b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | PS_8.sce | // sum 16-8
clc;
clear;
FOS=3;
sigut=380;
Ta=0.577*sigut/FOS;
d=25;
Tus=460;
Ps=%pi*d*Tus;
siga=127;
dr=sqrt(Ps*4/(%pi*siga));
d=30;
p=6;
dr=d-p;
dm=d-(p/2);
u1=0.15;
alpha=atan(p*2/(%pi*dm));
phi=atan(u1);
T=Ps*dm*tan(alpha+phi)/2;
T1=16*T/(%pi*dr^3);
sigc=4*Ps/(%pi*dr^2);
sigmax=sigc/2+sqrt((sigc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.