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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0273e91f9376d32227b6915ec4ba80c67924520d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.14/Ex4_14.sce | 72fe191c5d67afb66bc377796171169031bda687 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,580 | sce | Ex4_14.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.14
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
I = 50; // Curent supplied by the Separate... |
f192845fadf0a112e1c6203e637376c66f7268fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.3/Ex5_3.sce | de6886f1a5f94f512b5ae55fbf51b145cc816913 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,577 | sce | Ex5_3.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.3
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
s = 24; // Total number of the pole
p = 4; ... |
d63c3d55bb14a68125a83b8530c0be42814d6b82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.1/16_1.sce | edc0bb4002b37081e6a6850f1c0ee8365cf61ace | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | 16_1.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.1
//calculation of the audibility of a wave
//given data
v=300//velocity(in m/s) of the wave
lambda=.60*10^-2//wavelength(in m) of the wave
//calculation
nu=v/lambda//frequency of the wave
if(nu<20)
prin... |
9f6ea79ca17cc31871cf02f2879c1c367817d6e8 | 3cfa62851a0392182204dd259daee894556dca15 | /calor.sci | cdcb35620a73020e84682dfe651a75e9a8e3d7cd | [] | no_license | GiordaniAndre/HeatEquation | e8bc094be05f3b716f0eefa106e494efbc2b01d6 | 7ba8034293b03a5f66c9285bd222394ce529ffde | refs/heads/master | 2020-03-23T15:20:22.034808 | 2018-07-20T17:35:33 | 2018-07-20T17:35:33 | 141,739,928 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,435 | sci | calor.sci | //U_t = U_xx*eta(x) + U_x*eta'(x) + f(x,t)
function z=c_inicial(x)
z = x*(1-x)
endfunction
function z=funcao(x,t)
z = x*(1-x)*exp(-t)
endfunction
function z=eta1(x)
z = (x-1/2)^2
endfunction
function z=eta_x(x)
z = 2*(x-1/2)
endfunction
function y=hea... |
dcf2eeeb8660b36cfff9d0566d06b6bf6cd712ff | 4d2a10d4e18a35dc60f412d264be52e515fad64e | /scilab_scripts/irradiance_maps_parser.sce | 12ac5deeff0226b212d3c9fd9e8db2ee1cce7fc2 | [] | no_license | bazjo/brdf_utils | 713075c81b14a0b0f5d6e5f90a2e0cf931c84292 | 3a7f8ac54b39ca5d64286e98d5129a9f9f60f5e8 | refs/heads/master | 2021-02-13T23:08:40.925287 | 2020-04-18T09:24:53 | 2020-04-18T09:24:53 | 244,743,572 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | irradiance_maps_parser.sce | irradiance_map_cartesian = zeros(256, 256, 19) //x,y,s
irradiance_map_spherical = zeros(360, 90, 19) //a,e,s
/*Parse Irradiance Maps*/
for s = 0:18
path = "io/irradiance_maps/100k_Rays/" + string(s*5) + "_deg.txt"
lines = mgetl(path)
for x = 29:284
line = lines(x)
values = tokens(line)
... |
cc7dd648ab7ae04d309aa5a0d00977bb88f82f2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH7/EX7.11/Ex7_11.sce | 82a58d3c012475b5ca83f95958d2324778d85281 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sce | Ex7_11.sce |
// Example 7.11
// Net Induction When in Same Direction i.e 1.8= L1+L2+2M
// Net Induction When in Opposite i.e 0.8= L1+L2-2M
// by Solving 2 equation we get M= 0.25
k=0.6;
M=0.25;
disp('(a) Mutual induction of a Coil = '+string(M)+' H');
... |
af146792eb74c9ec640e59f8cc866f7b9ddf5a45 | efc2fec9dd841d0ca834702c904e00c52762a9f9 | /TemplateMatcher/TemplateMatcher1.sce | cbb35ee8467832617e23b402b84c275e977f12de | [] | no_license | surajch77/Scilab-Computer-Vision-Toolbox-TestCases | 64c8e0382e8b9d416c4c27c1ed4272f49bf45b51 | 969f9bcddefea05b42c623aeebe2e0cdcffd6eeb | refs/heads/master | 2021-01-20T20:24:14.345296 | 2016-06-29T15:16:52 | 2016-06-29T15:16:52 | 61,932,313 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | TemplateMatcher1.sce | // read the image lena_gray_512.tif
I = imread("lena_gray_512.tif");
J = double(I);
T = TemplateMatcher(I, J);
// output:
// Error : Image and template image are not of same type
|
ed78edc2cc7d3eae29556354c6378ee72ffd56fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH9/EX9.5/Ex9_5.sce | 301ecaf4731eaf408598b9838a045b6814619db3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | Ex9_5.sce | clc
alpha=100//per cm
betaa=0.1//per cm A
Tau=0.9
g0=100//per cm
L=300*10^-4//cm
w=5*10^-4//cm
R1=0.44
R2=0.99
Jth=((g0*Tau)/betaa)+(1/betaa)*(alpha+(1/(2*L))*log(1/R1*R2))
disp(Jth,"Jth in A/cm^2 is=")
Ith=Jth*L*w
disp(Ith,"Ith in A is=")
|
b31d295360e8020c01b7157d54214ae831bcfd20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH13/EX13.9/ex13_9.sce | 40627205a5a57c035dc0c32332731ff771835900 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex13_9.sce | clc;
warning("off");
printf("\n\n example 13_9 - pg700");
// given
p=2050; //[kg/m^3] - density of soil
cp=1840; //[J/kg*K] - heat cpapacity of soil
k=0.52; //[W/m*K] - thermal conductivity of soil
alpha=0.138*10^-6; //[m^2/sec]
t=4*30*24*3600; //[sec] - no. of seconds in 4 months
Tx=-5; //[degC]
Tinf=-... |
97168193a9c6ff70fd28cc4ec03e6dffa5ef3f1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH8/EX8.15/8_15.sce | 2715ecddc0ca5dccfac51bd25d2b8be963aeddc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | 8_15.sce | // Since vaccume has zero mass
U = 0; H0 = 0; S = 0;
// If the vaccume ha reduced to dead state
U0 = 0; H0 = 0 ; S0 = H0; V0 = 0;
P0 = 100; V = 1;
fi = P0*V;
disp("kJ",fi,"The energy of the complete vaccume is") |
bbd235ddc762561c0b2ffa976fb46ff7527f7cca | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH8/EX8.25/example_8_25.sce | 0d03de8b80b0466a1ec50478b827d857b909ac4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | example_8_25.sce | s=%s
P=s^5-s^4-2*s^3+2*s^2-8*s+8
routh=routh_t(P)
disp(routh)
r=coeff(P)
n=length(r)
c=0;
for i=1:n
if (routh(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("there are %d roots on RHS",c)
else printf("there are no roots on RHS")
end
disp("s^2 is")
disp(roots(routh(2,:)))
|
0c3eba4babe9857bac7e0dd9d33e85779b137ab4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH11/EX11.6/Ex11_6.sce | 277ebf10851537a2f76b0e93389b29008b0efe1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,244 | sce | Ex11_6.sce | // Exa 11.6
// To show how the signal is recovered at mobile by using two-rake receivers.
clc;
clear all;
//solution
disp("As we are given that actual bit values for mobile are [1 0 0 1 1] ");
M1=[1 0 0 1 1];
Rx1={[1 1 1 1 -3 1];[1 -3 1 1 1 1 ];[1 -3 1 1 1 -3];[1 -3 1 1 1 1];[-1 3 3 -1 3 -1];[1 -1 -1 0 0 0... |
783386bfc8ff2eb01faacec13a503d8723733bab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.3/ex4_3.sce | 67bc330b65ccb3a3b7f44c46edbd0057c95878b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | ex4_3.sce | // Exa 4.3
clc;
clear;
close;
format('v',6)
// Given data
I = 10;// in A
V = 230;// in V
f = 50;// in Hz
X_L = V/I;// in ohm
disp(X_L,"Inductive reactance in ohm is");
// X_L = 2*%pi*f*L;
L = X_L/(2*%pi*f);// in H
disp(L,"Inductance of the coil in H is");
Vrms = V;// in V
Irms = I;// in A
Vm = Vrms*sqrt... |
0e65be3dee907dc424ab71ada00151c6e7f45d34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH10/EX10.14/Ex10_14.sce | 50dfaa314787c0584def5c4fa317ca23b6c396d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ex10_14.sce | dv=40*10^-3
nps=1/dv
nbpv=1944
TGrbr=nbpv*25
TGrbaur=TGrbr/2//2 bits/symbol for pi/4 qpsk mod
CBW=30*10^3
BWef=TGrbr/CBW
disp(TGrbr,'total gross bit rate for the RF signal in bps')
disp(TGrbaur,'total gross baud rate for the RF signal in bps')
disp(BWef,'bandwidth efficiency in bps/Hz')
|
90bb5aebc0d85dd864814e9f9084f70f146a67d7 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/typedef_struct_cpp_runme.sci | e41c21629e4c00a6359b084d0d173f6ae15f11c6 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 505 | sci | typedef_struct_cpp_runme.sci | exec("swigtest.start", -1);
try
x = new_LineObj();
LineObj_numpoints_set(x, 100);
catch
swigtesterror();
end
if LineObj_numpoints_get(x) <> 100 then swigtesterror(); end
if MS_NOOVERRIDE_get() <> -1111 then swigtesterror(); end
try
y = make_a();
A_t_a_set(y, 200);
catch
swigtesterror();
end
i... |
105f45ac96faa8e874114671967b2d882dcd6d25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH17/EX17.5/17_5.sce | 6d0fe9e142fd7904f637327cce1059ac1088e6ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sce | 17_5.sce | ////
//Variable Declaration
P = 101325 //Pressure, Pa
kt = 0.0177 //Thermal conductivity, J/(K.m.s)
T = 300.0 //Temperature, K
k = 1.3806488e-23 //Boltzmanconstant,J K^-1
sigm = 3.6e-19 //
R = 8.314 //Molar Gas constant, mol^-1 K^-1
... |
0b6ba3d5cec9fce4344a6538e51cdf80a34ef8ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.20/Chapter4_Example20.sce | 14c57c54e3f9a8ef1a3ef0fca979a61afff51460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter4_Example20.sce | clc
clear
//INPUT
k=5.64*10^-14;//kinetic energy of the hydrogen molecule ergs
t=273;//temperature of the oxygen molecule in K
r=8.32*10^7;//universal gas constant in ergs
//CALCULATIONS
N=(3/2)*(r*t/k);//avagadro number
//OUTPUT
mprintf('the avagadro number is %3.2f',N)
|
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%... |
e13a0bf8cd53a7697943ecd4538709165355492b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH6/EX6.8/Ex6_8.sce | 06d494444a09babaf8e2f97893daa7d916fc0a30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex6_8.sce | clc
//Chapter6
//Ex_8
//Given
//part(c)
Nd=2*10^16 //in cm^-3
Na=10^19 //in cm^-3
W_B=2*10^-4 //in cm
W_E=2*10^-4 //in cm
ue=110 //in cm2/V/s
uh=410 //in cm2/V/s
Th=250*10^-9 //in seconds
//let K=kT/e
K=0.0259 //in V
//Dh=(kT/e)*uh
Dh=K*uh
Tt=W_B^2/(2*Dh)
gamma=1/(1+((Nd*W_B*ue)/(Na*W_E*uh)))
disp(gam... |
f7a422a0017618acf99d82bcbdb17ea3e80263a0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/intfilt/intfilt11.sce | cd1448edbf90e5327ea5960711c1abea31402208 | [] | 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 | 198 | sce | intfilt11.sce | //i/p arg filter order is imaginary
a=0.6;
f=intfilt(4,2*%i,a);
disp(f);
//output
// !--error 44
//Wrong first argument.
//at line 164 of function intfilt called by :
//f=intfilt(4,2*%i,a);
|
62d5dccd30b599f641567d1ceed924ae68562d31 | c88f425345e1bef1a882d37f1759c2d438113204 | /2d_conflict-bounded_plane.sci | 7c977140c021fd0f78b013c553c9c4d23e758fdf | [] | no_license | NnataKha/Fire-Water-Model | fb2550e59d41bac5f0bab70659f49e11694ec4d9 | ecfb61b9593583678991c22dac7da11857f4c4ae | refs/heads/master | 2020-03-16T18:42:15.863932 | 2018-05-10T10:47:21 | 2018-05-10T10:47:21 | 132,883,725 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,561 | sci | 2d_conflict-bounded_plane.sci | clear;
n = 5; // # of cells in a row
m = 200; // # of steps
cp = -1;
cr = -1;
con_coef = 1;
pos_coef = 1;
x = linspace(0,9,n);// initial values
y = linspace(0,9,n);// initial values
for i=1:n
for j=1:n
p(i,j)=n-i//abs(cos(j));
r(i,j)=1//abs(sin(i)*cos(j));
end
end
sp = sum(p);
sr... |
7113ea9e2136d883dca01388e9d6e35a00fef199 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH4/EX4.11/4_11.sce | 4499a302811fab4136383c6a375a9e829fb9d87f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | 4_11.sce | clc
//initialisation of variables
V= 20 //litres
g= 981 //cm/sec^2
Cd= 0.593
r= 2.5
r1= 1.5
e= 2 //mm
Cd1= 0.623
L= 30 //cm
//CALCULATIONS
H= (V*1000*15/(8*Cd*sqrt(2*g)))^0.4
dH1= e/10
p= r*dH1*100/H
H1= (V*3*1000/(2*Cd1*sqrt(2*g)*L))^(2/3)
p1= r1*dH1*100/H1
//RESULTS
printf ('percentage error of disc... |
915d0c22ad14b1312e7d81222637ddb1e1f9ae35 | 885ee700356ad98a29fe87d97751e692062de746 | /data/igt_exp/inflected_data/arp.tst | d94314abb60f890d4078ce043f8f2cf8929f3a48 | [] | no_license | LINGuistLIU/IGT | 1e58bfea1e7d70bdff507c67fa856c55af5bbdc2 | 8b9ca93189424118a669582ce54192bf441fcc6a | refs/heads/master | 2022-08-31T12:33:23.649666 | 2020-05-28T20:27:18 | 2020-05-28T20:27:18 | 267,152,155 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 678,232 | tst | arp.tst | toh'e'iyeini3 neihoowno'o3e'iyei 1.NEG;a.lot
he'nee'eesih'ini3 he'nee'eesih'it DUBIT;3.S
nihkotousi' hootkotousinenee FUT;2PL
he'ih'oonoonibei'i he'ih'oonoonibee NARRPAST;3S/4
he'ih'iiniiniitonee keihciiniitonoo INTERR.2S.PAST;REDUP;3S
nihtonoun tonouno' 3S
nih'iiyihoot hetcihyihoo3i' OBLIG;to.here;3PL
he'ne'niiteheibe... |
cffeea1c74dc309fbf959859aa48d392807e8bca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH4/EX4.1/ex4_1.sce | 2619b6a6ffa52b7fe7db82fd91c79cbf60c192c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | ex4_1.sce | clc;
clear all;
I1 = 0.1;// Intensity of sound produced in Watts per square meters
I0 = 1e-12; // standard intensity level
b = 10*log10(I1/I0);//The sound intensity produced by thunder
disp('dB',b,'The sound intensity produced by thunder is')
|
14235acc4a647ceb8a08876473192ceebef8f933 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.15_17.tst | 72a9c9dbeed2eea6fd12af64a7c97f94bc55d77c | [] | 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 | 516,994 | tst | 5.15_17.tst | 15 207:1 1287:1 1916:1 2802:1 3530:1 3689:1 3875:1 4166:1 4913:1 5557:1 6999:1 7905:1 8020:1 8467:1 9476:1 9807:2 10326:1 10379:2 11910:2 12698:1 13412:1 14051:1 14285:1 14436:1 14468:1 16347:1 17027:2 18930:1 19092:1 19240:1 19248:1 19315:1 20443:1 20476:1 20657:1 21344:1 21952:1 21974:1 23021:1 23395:91 23971:1 25078... |
e9a19b3d6f194ee1f85e915a0fe58dd0a662618e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH14/EX14.4/Ex14_4.sce | 16a010de3292e03c173da98cb7d7b0e971e80f1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_4.sce | clc
clear
//Initalization of variables
rate=10700 //lb/min
t2=97.90
t1=33.05
r1=46 //lb/min
//calculations
disp("From steam tables,")
Hv=1417041
Qw=rate*(t2-t1)
Q=r1/(12*6+6) *Hv
eff=Qw/Q*100
//results
printf("Furnace efficiency = %.1f percent",eff)
|
2e0a2ea52314623964bdb565de9b9924597fad2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH17/EX17.15/17_15.sce | 7ecdfd4e6ff18062ee15aa0940eb0c5c65f116d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 17_15.sce | //A gun
//applying principle of conservation of momentum
v=-5 //m/sec
printf("\nGun will have a velocity of %.2d m/sec in the direction opposite to that of bullet",-v)
//Let the gun recoil for a distance s
//Using work energy equation
s=(300*25)/(2*9.81*600) //m
//Applying impulse momentum equation to gun
t=(... |
967df035051bc6d54b019984520f4d9696fa20c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH24/EX24.4/Ex24_4.sce | 7ca5f5d64483e84e26187301c28a7371f6233a37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | Ex24_4.sce | //Example 24.4
P=1*10^3;//Power (W)
A=0.30*0.40;//Area (m^2)
I_ave=P/A;//Intensity (W/m^2)
printf('a.Intensity = %0.2e W/m^2',I_ave)
I_0=2*I_ave;//Peak intensity (W/m^2)
printf('\n Peak Intensity = %0.2e W/m^2',I_0)
c=3*10^8;//Speed of light (m/s)
eps_0=8.85*10^-12;//Permittivity of free space (C^2/N.m^2)
E_0... |
3b2a98fb71327cc03789788d5bba68494cdee846 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH26/EX26.9/Ex26_9.sce | 5d26dd827c24d7d2da589bb37a03dc3881f43d0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | Ex26_9.sce | // 1 APPENDIX. Ex no 9. Page no 645
// Initilization of Variable
// NOTE:Some Notation has been change to avoid conflict
// Points As martices
A=[0,1,2]
B=[1,3,-2]
P=[3,6,4]
a_s=2 // Angular speed in rad/s
// Calculations
C=[B(1)-A(1),B(2)-A(2),B(3)-A(3)]
magC=(C(1)^2+C(2)^2+C(3)^2)^0.5 // Magnitude of the... |
b780365284f4579f312e18ac3b1b65bab6d23a7e | e4381b32d21150427f93b058541bb3343752bb0f | /sablona_A3/vystrizky_A3/kandidatka.sce | 5250c578c72087e92f892522689ea6760af047da | [] | no_license | pirati-cz/plisty | c095da00bfa89792f8eb676fd5b756fc1454659d | 815dbc58f7a47f1b2740ffa068a2ff5f909ecba8 | refs/heads/master | 2020-12-24T19:04:07.572707 | 2016-05-16T20:52:51 | 2016-05-16T20:52:51 | 58,966,482 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173,719 | sce | kandidatka.sce | <SCRIBUSELEMUTF8 W="773.858267716535" H="646.299212598425" previewData="iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAADvBJREFUaIHtmVmMZcdZx39Vp852z116755eZjyxHVAmQ4ycYMdZIBIKGYsAEpGQeEBCKJNECPmBB54QUSJCgJcIAYpjjJy8IASxspHgLbE9XrJN7MEzGcceT8c909PTfXu569lPFQ/n3tvds3lCxEMk... |
e59eb86d3288982a9ddf4361d6574c54d98b23eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH12/EX12.1.1/spectrum_of_signal.sce | 32b8c187f8b9e118d1dd28c841cfb89d61b49e82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,004 | sce | spectrum_of_signal.sce | //Graphical//
//Example 12.1.1
//Determination of spectrum of a signal
//With maximum normalized frequency f = 0.1
//using Rectangular window and Blackmann window
clear;
close;
clc;
N = 61;
cfreq = [0.1 0];
[wft,wfm,fr]=wfir('lp',N,cfreq,'re',0);
wft; // Time domain filter coefficients
wfm; ... |
dfe06d09963381598d269c271d0162ecbeb53c01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH7/EX7.6/Ex7_6.sce | d57480e7992aa4e56e166a061d989fde93f70d8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex7_6.sce | //Example 7.6
m=60;//Mass of the person (kg)
g=9.80;//Acceleration due to gravity (m/s^2)
h=3;//Height (m)
theta=180;//Angle (deg)
d=0.5*10^-2;//Magnitude of compression in knee joint (m)
W=m*g*(-h);//Work done in stopping the person (J)
F=W/(d*cosd(theta));//Force on the knee joints (N)
printf('Force on the kn... |
d5d39cd7793b32c8ac69b6fff10df8832dd59d5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH2/EX2.6/ex2_6.sce | 08c58112650a89b15646d444c4853d016913d999 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | ex2_6.sce | //Ex-2.6
V_rms=12; //rms secondary voltage
V_p_sec=sqrt(2)*V_rms; //peak secondary voltage
V_th=0.7; //knee voltage of diode
V_p_out=V_p_sec-2*V_th; //in one cycle, 2 diodes conduct
PIV=V_p_out+V_th; //applying KVL
disp('Peak output voltage in volts= ');
disp(V_p_out);
disp('PIV a... |
7af44d3de3fddab260d1ac96e6f0709e5f660764 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.17/EX26_17.sce | d2b11b65017c3461c4c8b115c3e0ab3f34041223 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | EX26_17.sce | //EXAMPLE 26.17
//4-POLE DC SHUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
N=900;.................//Speed of the generator in rpm
P=4;....................//Number of poles
Phi=0.07;..........//Flux per pole in Webers
T=220;.............//Number of turns in armature winding
Rw=0.004;............. |
29ec7ae9ef31f4cecf09a2241d81d35e7d6a5795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH7/EX7.1/Ex7_1.sce | 658e93c475af79a0d0271edcc6a311438ab8b4d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ex7_1.sce | //Ex 7.1
clc;clear;close;
format('v',5);
P=4;//no. of poles
f=50;//Hz
S=4/100;//slip
N=600;//rpm
p=P/2;//pair of poles
//(a)
Ns=60*f/p;//rpm(Synchronous speed)
disp(Ns,"(a) Synchronous speed(rpm)");
//(b)
Nr=Ns-S*Ns;//rpm(Rotor speed)
disp(Nr,"(b) Rotor speed(rpm)");
//(c)
Sdash=(Ns-N)/Ns;//per unot slip... |
04baa62e9dbc98221e65877475b185bf8a0929b9 | 20299e0ddeae804fa1b39a7e3d2964b4d6f29638 | /labs/lab1/Twochips.tst | c88066cd1f8d90f35caf4a08a7d626d51579e0b9 | [
"MIT"
] | permissive | Spud304/nand2tetris | 4cdc53ec18ff65ab44f50d6cf95367476171c6e4 | 0e4448f403721b5d2720c1fadbc74eebeee093fb | refs/heads/master | 2023-03-04T06:55:53.733219 | 2020-11-09T06:47:24 | 2020-11-09T06:47:24 | 308,123,827 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | tst | Twochips.tst | load Twochips.hdl,
output-file Twochips.out,
compare-to Twochips.cmp,
output-list in%B3.1.3 out%B3.1.3;
set in 0,
eval,
output;
set in 1,
eval,
output; |
cafb9a1bc9226fc946a0da474c525d395d8cb860 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH3/EX3.6/Ex3_6.sce | 8ccb94eafaaa95c1251fc33e9ba21709a6db077c | [] | 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 | 540 | sce | Ex3_6.sce | errcatch(-1,"stop");mode(2);//caption:Find (a)Sensitivity of LVDT(b)sensitivity of entire setup(c)resolution of the instrument
//Ex3.6
V=5//LVDT connection voltage(in V)
Vo=2//output voltage of LVDT(in mV)
D=0.5//displacement(in mm)
A=250//amplification factor
Do=100//divisions of scale
Ds=0.2//reading cap... |
72d93eb8e854c02a1e7797ef68f9a7f9f7b2d2ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH7/EX7.12/example7_12_TACC.sce | 135c7b33a589e1457666ed6b5827dd766647a757 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | example7_12_TACC.sce | //example 7.12
clear;
clc;
//Given:
R=1.99;//Universal gas constant [cal/K]
e=2.718;
V=22414;//volume[cm3]
L=6.023*10^23;
h=6.626*10^-27;//Planck's constant [erg.sec]
m=6.63*10^-23;//mass[gm]
k=1.381*10^-16;//Boltzmann constant[erg/K]
T=273.2;//Temperature[K]
//To find the Entropy of argon at 273K and... |
b67b85ff1adff19a9345d5bc813aa51784f875e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH9/EX9.3/Example9_3.sce | 7144d6ddf8a50521a1d53b4a61b04b48f7bf4980 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Example9_3.sce | //chapter9,Example9_3,pg 238
//for 110 plane
a=3*10^-10//lattice parameter
d=(a/sqrt(2))//d110=(a/sqrt((1^2)+(1^2)+0))
theta=12.5*(%pi/180)//glancing angle
n=1
lam=2*d*sin(theta)//wavelength of x-ray
nmax=((2*d)/lam)//highest order
printf("wavelength of x-ray beam\n")
disp(lam)
printf("\nh... |
3e311ecfef3c25cbf6901cdf96bcb42d9ade0e92 | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /dev-tools/comparatoranator/build.sce | f1b242e50c8a2324503e43175b128b7cf72eed6e | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | build.sce | oldplace = pwd();
cd ../../
exec builder.sce;
cd(oldplace);
clear oldplace
exit()
|
7c09707536e865745ab13c3abcb0a21db8d4a641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH20/EX20.5/eg20_5.sce | 00d82d8c247469161d1d22e3fde5fb1649bd15d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | eg20_5.sce | clear;
//clc();
l=265*10^(-6);
c=0.165*10^(-6);
z2=sqrt(l/c);
z1=400;
ef=500;
z3=1000;
et1= (2*z2)*ef/(z1 + z2);
printf("The incident voltage in the cable is:%.0f kV\n",et1);
erb=(z3 - z2)*et1/(z3 + z2);
printf("The reflected voltage at the transformer end is:%.0f kV\n",erb);
vcd=et1+erb;
printf("T... |
dfe1d1473aec646c29ea88158cc24b558b7c2765 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/DEPENDENCIES/file2.sci | 194886290e50976251266c121bbf26b5d034ee5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sci | file2.sci | //Programming Example 8.8
//simple , multifile program to write "Hello there!"
//Second file
function[] = output()
printf("Hello There!");
return;
endfunction
|
e468f44ed343722ac94e146769ec202270a26625 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/examples/misc-examples/ode3.sce | eaa374038a67c5815cbc79b16d0bea21bcec8f91 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | ode3.sce | // Dynamic call of fexab2 which reads A and B in Scilab's stack
deff('xd=f(t,x)','xd=A*x+B*sin(3*t)')
A=rand(10,10)-4.5*eye;B=rand(10,1);
x=ode(ones(10,1),0,[1,2,3],f);
host("make /tmp/wfexab.o");
link("/tmp/wfexab.o","wfexab");
x-ode(ones(10,1),0,[1,2,3],'wfexab')
|
696c205c715fc49044b378a228aece71ba5b3733 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH1/EX1.10/EX1_10.sce | efbbc93588205fcca13c911c90a3a599ff20df7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | EX1_10.sce | clear;
clc;
printf("\nEx1.10\n");
//page no.-12
//given
r=1.278;..........//atomic radius of Cu
n=4;..............//molecules per unit cell for F.C.C.
N=6.023*10^23;...//avagadro no.
m=63.5;..........//atomic wt. of Cu
M=(n*m)/N...........//mass of unit cell
a=(4*r*10^-8)/sqrt(2).....//lattice constant in... |
48f66570da70060554a421fa78e266dc68f6d349 | e58ee115056e7db70e0a5c071ab5146400e8e539 | /observador_estados.sce | 682355e9e89e63972459d50eb89ccb3e4f61ef31 | [
"MIT"
] | permissive | mofreitas/algoritmosSistemasControle | 7236f5a4020f242a8db69e641c817ad99a8638ef | fb666ab6708554caa8259e1f505f35225d1046c8 | refs/heads/master | 2020-07-07T20:30:51.712572 | 2019-08-20T23:47:44 | 2019-08-20T23:47:44 | 203,469,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 927 | sce | observador_estados.sce | function[] = observador(A, B, C, polos)
V = zeros(length(polos), length(polos));
for i=1:length(polos),
V(i,:) = C*(A^(i-1));
end
printf("Matriz V/Wo ------------------------\n");
disp(V);
if(rank(V) == size(V, 'r')) then
printf("\nSistema é observável\n");
els... |
357dce285998ee7cf0b6fc9f7d1b73348cb9584f | 717ddeb7e700373742c617a95e25a2376565112c | /964/CH1/EX1.2/1_2.sce | 3787623365177697c61f583565d2527530b84b5b | [] | 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 | 332 | sce | 1_2.sce | clc;
clear;
g=9.8;//m/s^2; acceleration due to gravity
m=68.1;//kg
c=12.5;//kg/sec; drag coefficient
count=2;
v(1)=0;
disp(v(1),"v(m/s)=",0,"Time(s)=")
for i=2:2:12
v(count)=v(count-1)+(g-c*v(count)/m)*(2);
disp(v(count),"v(m/s)=",i,"Time(s)=")
count=count+1;
end
disp(g*m/c,"v(m/s)=","infinity"... |
0b403728fa356d5d07435ffc3423d97569f97985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1844/CH5/EX5.4/4.sce | 0b601a278c051cc73ae7a2892b177d73285bac77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | 4.sce | clc
B=180+60
I=140+1/6
B1=B+I-180
if B1>180 then B2= B1-180;
else B2=B1+180;
end
printf('Bearing of AD = %f\n',B1)
printf(' Bearing of DA = %f\n',B2)
B=B1
I=69+2/6
B1=B+I-180
if B1>180 then B2= B1-180;
else B2=B1+180;
end
printf(' Bearing of DC = %f\n',B1)
printf(' Bearing of CD = %f\n',B2)
B=B1
I=6... |
5239c33f769d189f1e366685db2d4e9a259254e2 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/ChEn/chen.1.tst | 1cfbe9456512bf3738f3c5b8a3a8c6d6058fc8b1 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98,816 | tst | chen.1.tst | 丁 d i n
丁 d i n g
丁 威 迪 d i n w i d d i e
万 塔 夫 w a n t a f f
万 斯 伯 勒 w a n s b o r o u g h
丘 特 c h u t e
丹 尼 尔 森 d a n i e l s o n
丹 德 里 奇 d a n d r i d g e
丹 杰 菲 尔 德 d a n g e r f i e l d
丹 福 德 d a n f o r d
丹 蒂 d a n t e
丹 霍 夫 d a n h o f
丽 塔 r i t a
丽 贝 卡 r e b e c c a
丽 贝 卡 r e b e k a h
久 尔 g y u r e
乌 特 勒 姆 o u ... |
e217c988338e2a39982929be7e506032ff6a4385 | 9182a918c195a40e939d89161585e04a97513ad9 | /example_nsga2.sce | 7b23f480bf584070dd312c256531e573f1bea507 | [] | no_license | marcellorighi/haps_optimization | 996f7fbae18e8128a4e9d55ceafe0758ea513960 | 0ac1d1053350bbed2d747a1fe1b31b75f47e69a0 | refs/heads/main | 2023-01-02T11:27:55.854626 | 2020-10-21T11:03:08 | 2020-10-21T11:03:08 | 305,994,280 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | example_nsga2.sce |
function f=deb_1(x)
f1_x1 = x(1);
g_x2 = 1 + 9 * sum((x(2:$)-x(1)).^2) / (length(x) - 1);
h = 1 - sqrt(f1_x1 / g_x2);
f(1,1) = f1_x1;
f(1,2) = g_x2 * h;
endfunction
PopSize = 200;
Proba_cross = 0.5;
Proba_mut = 0.3;
NbGen = 8;
NbCouples = 110;
Log = %T;
nb_disp = 10; // ... |
57aa5606a2924604fc3786e765b899adb3312a89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH9/EX9.5/Example9_5.sce | f1892bbdb16dba748ca7b4f767b17b686e4cfe44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | Example9_5.sce | //chapter-9,Example9_5,pg 502
Q=10//Q-factor
m=5//improvement factor
a=(1/((3*Q)-1))//filter factor
Qr=Q*m//rejection Q-factor
ar=(1/((3*Qr)-1))//rejection filter factor
perf=((a-ar)/a)*100//percent change in feedback
printf("percent change in feedback\n")
printf("perf=%.5f ",perf) |
ef477fd0b6c02fe00e4d6b8c1df49e3a998e5903 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH17/EX17.3/Ex17_3.sce | 97f9045abe3829fab37a34420bb50a3135358339 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,581 | sce | Ex17_3.sce | clc
M2 = 2.197 // Mach number
P2P0 = 0.0939 // pressure ratio
T2T0 = 0.5089 // Temperature ratio
P0 = 1 // Stagnation pressure in MPa
T0 = 360 // Stagnation temperature in K
g = 1.4 // Heat capacity ratio
R = 0.287 // Gas constant
P2 = P2P0*P0*1e3 // Static Pressure
T2 = T2T0*T0 // Static temperature
c2 = sq... |
9cb2313783376029b2b99ff754cb6276a288bfa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH5/EX5.5/Ex5_5.sce | 06f910160ca3f900a0597d04b34000ffd677fd1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | Ex5_5.sce | clc
clear
printf("Example 5.5 | Page number 125 \n\n");
//Find air temperature after throttling
//Given Data
p1 = 10//bar //inlet pressure
t1 = 300 //°C //inlet temperature
p2 = 0.1 //bar //exit pressure
Cp = 1 //kJ/kgK // heat capacity at constant pressure
//Solution
//Adiabatic process
delta_h = 0 //ch... |
ffa2695a09036a101fc5b46ca5ad8afa5eb8d404 | c3a0e2a7a3a32ad4374793a62e548d1d3bedf245 | /chineser_emainder.sce | 189a776140576361508e42bfc39512a97ff01fea | [] | no_license | prachi416/Scilab | 824ab1ae62b44b84f151b15b2d4994c4b1928a53 | e2bc92cd723d1fe1e7f69fed3e1e4dfa58daaeee | refs/heads/master | 2023-01-01T23:08:54.420417 | 2020-10-26T15:17:30 | 2020-10-26T15:17:30 | 294,625,279 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | chineser_emainder.sce | clc;
clear all;
disp("Prachi Patil D14A Roll No.41")
m1=input("Enter the value of m1 ")
m2=input("Enter the value of m2 ")
m3=input("Enter the value of m3 ")
m4=input("Enter the value of m4 ")
a1=input("Enter the value of a1 ")
a2=input("Enter the value of a2 ")
a3=input("Enter the value of a3 ")
a4=input("Ente... |
eb7385b49c812cd0a04754fdb39d70fcb6c2b7cd | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Manybody/PIL_bpt_lsjj_trans.sci | 4a973c10511a5a5ba8232a6140498b5ea13f054f | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,854 | sci | PIL_bpt_lsjj_trans.sci | // **** Purpose ****
// calculate the two-particle CG coefficients of LS and JJ coupling
// **** Variables ****
// [L1,S1,L2,S2]: integer or half-integer
// <= the quantum numbers
// [coup]: char, 'ls', 'jj'
// <= specify the type of coupling
// [U_jm]: nxn, complex
// => unitary transformation, U_jm*|J1,J2,J,MJ> -> |L... |
5e9eeccdebbd504fbf4a25052e4ba934dddaacce | 33fb8ad2c9908d12230e378cb1f793922b817e68 | /Couverture d’un Put dans le modèle CRR/Prix.sci | 1bb42a644adc5f80402c1457d873a4ed456e31a9 | [
"MIT"
] | permissive | AmineKheldouni/Finance-Stochastic-Calculus | eca352c4f7ce0c1f71c8ce09c05b1380190e467f | c88b01728daa5e1a6a4aa49992e797e6b93633fe | refs/heads/master | 2020-04-14T22:29:26.264109 | 2019-01-04T23:27:10 | 2019-01-04T23:27:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sci | Prix.sci | exec('Prix_en_zero.sci');
function[Y]= Prix(n,N,K,r,a,b,x)
//A COMPLETER
Y = Prix_en_zero(N-n,K,r,a,b,x);
endfunction
|
d3a33d4823963c362ec8a08448dfcd870127092e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH3/EX3.3/3_03.sce | 8a27c4d09394835f512a01354c0732b0e5e97b75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | 3_03.sce | //Chapter 3, Problem 3
clc;
R=0.16; //resistance of wire
l=8; //length of wire
a=3; //area of cross-section
//If the cross-sectional area is reduced to 1/3 of its original area then the length must be tripled to 3×8,
l1=3*l;
a1=a/3;
k=R*a/l; ... |
d2d131bfe11b9a922626d0c24230de2f64667761 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latcfilt/latcfilt3.sce | 089cf1c57711b6b050f5d7d5fdcac8454fca4b81 | [] | 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 | 407 | sce | latcfilt3.sce | //both the i/p args are empty
k=[];
x=[];
[f,g] = latcfilt(k,x);
disp(f);
disp(g);
//output
//!--error 10000
//zi cannot be a matrix
//at line 53 of function latcfilt called by :
//[f,g] = latcfilt(k,x);
//matlab o/p
//Error using latcfiltmex
//Lattice filter coefficients (K) must be a double precision 2-D
//... |
cfeae1d496ffef0377d1b1cdba09ef2156ff1cab | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH11/EX11.5/ex11_5.sce | 6aea25e857526561cd69ea9807b3124a60f6fbe0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | ex11_5.sce | //Example 11.5
clc;
E=6; //Applied potential across bridge
//Given values of bridge elements
R1=5000;
R2=5000;
R3=5000;
//We Know Balanced bridge equations as
// R1*R3=R2*R4
Rv=R2*R3/R1;
disp(Rv,'Value of unknown Resistence Rv is at 80 deg C')
//Now given from the graph is the value of Rv at 60 deg C... |
d6d1d125450f65d10826409fe0fef3c879f0a777 | 8016059350f017142cd5cdf2df5cabf94cf3c477 | /Digital Communication/gaussian curve.sce | 8f84554a249b674b877fe99fb22eda22039979a8 | [] | no_license | aftalam/5th-sem-labworks | 07062dc9824af810a7d7970c7907ab999fda7c52 | d3c858587369757ccbed96bc9b29e8a1fa709824 | refs/heads/master | 2022-11-11T23:58:51.147782 | 2020-07-05T18:13:59 | 2020-07-05T18:13:59 | 275,115,844 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | gaussian curve.sce | //Implementation of Gaussian Distribution Curve
clc
clear all
Var = input('Enter the Variance : ');
Mean = input('Enter the Mean : ');
x = -5:0.001:20;
pdf = ((1/sqrt(2*3.14*Var))*exp(-((x-Mean).^2)/(2*Var)));
Var1 = input('Enter the Variance : ');
Mean1 = input('Enter the Mean : ');
pdf1 = ((1/sqrt(2*3.14*Var1))*exp(... |
df3f0d1b4f7e37149fc12d4859d95884bae72ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH19/EX19.18.1/Ex19_1.sce | 9d0424ca9f602e26a151f17a580ca4c3ccf7661f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex19_1.sce | clear all
clc
close
qm=10*1e-6;//q/m ratio in C/kg
E=8*1e5;//Electric field in V/m
g=9.8;//Universal gravitational constant
y=-1;//in meters
t=sqrt(-2*y/g);
//Calculation of separation distance between particles
x=(qm*E*t^2)/2;
printf('Distance of separation between particles in %f m',2*x)
|
fe6b0301295c907dc1d4ff630b0f2dba139766f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH19/EX19.1/19Ex1.sce | 19da613c2d3509d7a11a57322e9112987df05703 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | 19Ex1.sce | //chapter 19 Ex 1
clc;
clear;
close;
sUpstream=7; sDownstream=10;
rStill=(sUpstream+sDownstream)/2;
rCurrent=(sDownstream-sUpstream)/2;
printf("The rate of man in still water is %1.1f km/hr and rate of current is %1.1f km/hr",rStill,rCurrent);
|
be952d8ee0beb81243025bd01da68ce2181777b2 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peak2peak/peak2peak13.sce | b1df56d8165563ed41e83124ed54f882769ed2d1 | [] | 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 | 119 | sce | peak2peak13.sce | //check o/p for i/p vector containing only negative terms
a=[-1 -2 -3 -0.1];
y=peak2peak(a);
disp(y);
//output
// 2.9
|
7b5f70ccfd014ab3528fe071d25d01fd869ce32f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH8/EX8.20/Ex8_20.sce | cd74e2d4ed8c942ccdb5e693087e62a01798572f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Ex8_20.sce | clear
//Given
e=1.6*10**-19
f=6.8*10**15
r=0.51*10**-10
u=4*3.14*10**-7 //T/A m
//Calculation
//
I=e*f
B=(u*I)/(2*r)
M=1*I*%pi*r**2
//Result
printf("\n The effective dipole moment is %0.0f *10**-24 Am**2",M*10**24)
|
dbbbfe1ed8aea531f43e6afc6f589322252018ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH5/EX5.21/Example5_21.sce | 0a2993e2f51793ee25487e40fb3f2de87fa479b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Example5_21.sce | clear;
clc;
// Example: 5.21
// Page: 174
printf("Example: 5.21 - Page: 174\n\n");
// Solution
//*****Data*****//
t = 20*60;// [s]
P = 650;// [W]
T = 273 + 250;// [K]
//*************//
Q = P*t/1000;// [kJ]
deltaS = Q/T;// [kJ/K]
printf("Change in Entropy is %.2f kJ/K",deltaS); |
a9822bda2ff252bc27ffbe3dcdadf10a38fd4fec | 81a5c9fb4452c596031b1d529ea71e53e423de8d | /temperature.sce | 8f210b0ae49e44c54c3d35581fef05d82800287f | [] | no_license | thevinitgupta/scilab | b9d6b31b27bd3192d3713470c4a51da080d6a572 | c0aa61b0463c3501d43b73fdec07b9dc7fc27b21 | refs/heads/main | 2023-03-22T07:49:10.980286 | 2021-03-12T13:32:10 | 2021-03-12T13:32:10 | 346,394,901 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | temperature.sce | f = input("Enter farhenheit value ")
c = (f-32)* 5/9
printf("the value of C is %.3f degree celsuis", c)
|
25f4eecdb76131d46fea32019a394171b1a5e72c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH4/EX4.5/Chapter4_example5.sce | a6f62b8a10c40730194261f2683543e4e2a52f86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Chapter4_example5.sce | clc
clear
//Input data
m=3//Mass of the rotor in kg
I=0.03//Moment of inertia in kg.m^2
d=0.25//Distance of pivot from the centre in m
p=30//Precession in rpm
//Calculations
T=m*9.8*d//Torgue in N.m
w=(p*2*3.14)/60//Angular velocity in rad/s
w1=(T/(I*w))//Angular speed of rotation of the rotor in rpm
//O... |
f919487224568f9e754c55cf70e0d0ea71b58bb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.6/ex1_6.sce | 6fff430ec3c0f14b09cc53d27a2ec02b00dfcc98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | ex1_6.sce | //Chapter-1, Example 1.6, Page 21
//=============================================================================
clc;
clear;
//INPUT DATA
t1=12;//temperature in degree centigrade
t2=50;//temperature in degree centigrade
R1=0.4;//copper coil resistance in ohms
a0=0.004;//temperature coefficient of copper at zer... |
0673bc797e8582d6a3050b8e706ebdbbe79de6b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH23/EX23.3/Ex23_3.sce | 4285d2261c1674774ea1bde13fc693a1fb787e56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | Ex23_3.sce | //Evaluate Vibrational Partition Function for Carbon Monoxide at 300K and 3000K
//Example 23.3
clc;
clear;
h=6.626*10^-34; //Planck's constant in J s
new=6.40*10^13; //Fundamental frequency of vibration for CO in s^-1
KB=1.381*10^-23; //Boltzmann's constant in J K^-1
T1=300; //Temperature in K
... |
94864f4bd84f0076102437a91df45b1e569cb241 | 987355b7738508e014e47fef926b89d10f69c77c | /population.sci | e47020867780e6274a07cb2822abd51ce42dcd31 | [] | no_license | RobertMut/GA_scilab | 60d3c87d1a15a683584a1161a313b05fe966eb55 | a18ea36600f758ba20e1f5c70624ccd846d30da7 | refs/heads/main | 2023-06-09T12:46:19.394412 | 2021-06-18T12:12:32 | 2021-06-18T12:12:32 | 362,424,370 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sci | population.sci | function decimalvector=ToVector(g)
for i=1:g do
decimalvector(i) = -1+(1+1)*rand() //zakres -1,1
end
endfunction
function population=GeneratePopulation(n)
//n - liczby jakiej potrzebujemy
genes = 2 //dwa geny, współrzędne narzucone przez zadanie
for i=1:n do
population(i,:)=... |
24fbc0de35afb8b4a73d5c8454d480d5292282e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH4/EX4.7/EX_4_7.sce | d92001cbfc76fade2146a965c903b7d597302bb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,905 | sce | EX_4_7.sce | //Example 4.7 // total consumption of factory in killo watts
clc;
clear;
close;
nl=400;//no. of lamps
wl=100;//wattage of lamps
w400=wl*nl;//wattage of 400 lamps in W
nf=100;//no. of fans
wf=40;//wattage of fans
w6=wf*nf;//wattage of 100 fans in W
nc=200;//no. of wall scokets
wc=60;//wattage of wall scckets
w2=wc*nc;//... |
9eee3a4700b47dab4c876ce57ce66f2c874b353b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH23/EX23.8/Example8.sce | 520ba69eb7ed1e406aa6575991af416b35e786d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,719 | sce | Example8.sce | clear
flag=1
mode(-1)
clc
printf("Example 8 : Show the method of using readdir to populate a dirent structure \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems programming ... |
4e48e2a2901f45582c302cc79ab662b10a6c52e4 | db719ae90d19be4c228e1cc4209c3271c9c72eaa | /Laucher.sce | 60410b45d7ed2078fc0a9f43b5472b6425f9a882 | [] | no_license | Cedric-M/Projet_Scilab_Imagerie | 9a51a12cf70ef820a158630a2b0c29c5f1ad4f08 | 13c62cddd8e1969a61864a332fae21457e8afdf7 | refs/heads/master | 2021-01-22T20:12:42.509435 | 2017-03-17T09:33:57 | 2017-03-17T09:33:57 | 85,294,028 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,620 | sce | Laucher.sce |
exec('D:\EXIA CESI A2\3 - Projets\Projet 5 ExoLife\Workspace\display_gray.sci',-1)
exec('D:\EXIA CESI A2\3 - Projets\Projet 5 ExoLife\Workspace\readpbm.sci',-1)
exec('D:\EXIA CESI A2\3 - Projets\Projet 5 ExoLife\Workspace\writepbm.sci',-1)
imgA1=readpbm('Encelade_surface.pbm');
exec('D:\EXIA CESI A2\3 - P... |
f4f0a3cad125945e56090f25e7bf962b753c1d14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH6/EX6.9/Ex6_9.sce | 1db35478982704736be046fcedc202f280c3f1ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex6_9.sce | //page 199
//Example 6.9
clc;
clear;
close;
disp('T is the linear operator on R^2 represented in standard order basis by matrix:');
A = [0 -1;1 0];
disp(A,'A = ');
disp('Then invariant subspaces of R^2 under T are R^2 and zero subspace');
disp('If W is invariant subspace spanned by non zero vector ''a'' means ... |
3ea799b7ce37c9e3a0d44749f768dba97240aa37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH12/EX12.8/Example12_8.sce | e2a2ff2ad9faa27724bbaf932c7305445b89e1ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | Example12_8.sce | //Given that
t = 1.87 //in sec
I1 = 19.9 //in kg.m^2
I2 = 3.93 //in kg.m^2
//From the figure
A1 = 0.5*2*%pi //in rad
A2 = 3.5*2*%pi //in rad
//Sample Problem 12-8
printf("**Sample Problem 12-8**\n")
//w1 = I2*w2/I1
//w1*t1 = A1
//w2*t2 = A2
//t = t1 + t2
//t = A1/w1 + A2/w2
//t = A1/(I2*w2/I1) + A2... |
9caeb12d1670f3aac9b84ba572d3bb1b545cb73b | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Flux Valorant Stralroom Angles.sce | c174cfa511b966004ce482b50d98284b85f5c8b4 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 73,952 | sce | Flux Valorant Stralroom Angles.sce | Name=Flux Valorant Stralroom Angles
PlayerCharacters=Quaker Player Flux Stralroom Angles
BotCharacters=Quaker Bot Valorant Strafe.bot;Quaker Bot Valorant No Strafe.bot;Quaker Bot Valorant No Strafe.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker Player Flux Stralroom Angles
AddedBots=Quaker Bot Valorant Strafe... |
5b3355ce4f47f08f1393e42777d5b7b366902e22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.16/example_16.sce | 372f5cac791ddf71775df0b7ae085327306caeb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | example_16.sce | clc
clear
printf("example 3.16 page number 107\n\n")
//to compare the enthalpy change in two reactions
H0_glucose = -1273 //in kJ
H0_ethanol = -277.6 //in kJ
H0_CO2 = -393.5 //in kJ
H0_H2O = -285.8 //in kJ
//for reaction 1
delta_H1 = 2*H0_ethanol+2*H0_CO2-H0_glucose;
printf("enthalpy change in rea... |
bb15321e35a03b7c219dcfee345ad4ccd7960276 | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/StepTest/steptest.sci | eb92a2b082f2376ee9c7a1c3dedb0eae2b5d8a13 | [] | 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 | 173 | sci | steptest.sci | function [stop] = steptest(heat,fan)
[stop,temp] = comm(heat,fan);//Never edit this line
plotting([heat fan temp],[0 0 25 0],[100 100 50 1000])
endfunction |
7b3edb16f7c2bf183dc21cc2027e607fa978626a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH6/EX6.9/exa_6_9.sce | 32e660c679117c6b78a3a5fc30d268e6c35b6364 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | exa_6_9.sce | // Exa 6.9
clc;
clear;
close;
// Given data
P=100;// in ohm
Q=1000;// in ohm
S=2000;// in ohm
E=5;// in volt
Si= 5;// in mm/miuA
Rg=200;// in ohm
R_desh= 202;// in ohm
R=P*S/Q;// in ohm
del_R= R_desh-R;// in ohm
E_Th= E*[(R+del_R)/(R+del_R+S)- P/(P+Q)];// in volt
R_Th= [(R+del_R)*S/(R+del_R+S)+ P*Q/(P+Q)... |
f94412d2ddc3978c82f289358dff4e662db55ed5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.17/ch12_17.sce | c766d1ead890ab808216fa26ef13ac638baa39c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | ch12_17.sce | clear;
clc;
T_on=10;
T_off=15;
a=T_on/(T_on+T_off);
V_s=230;
V_t=a*V_s;
r_a=3;
K_m=.5;
N=1500;
w_m=2*%pi*N/60;
I_a=(V_t-K_m*w_m)/r_a; printf("motor load current=%.3f A",I_a); |
577b9444060fccd48311b382bbbb46734eeb64bb | b15e60209bcf108db23559272943eae3672179b9 | /NÍVEL_BIRD.sce | 48ef08c5ac71fa1558cd31384591f22887b04851 | [] | no_license | professormarcosfpmoreira/N-VEL | f0812a002455eefef258872d53ab08732df8936a | ea9ff83ef3aec340fc27a6fb99016eca7d8c959f | refs/heads/master | 2020-06-01T09:56:44.692852 | 2019-06-07T12:51:40 | 2019-06-07T12:51:40 | 190,740,395 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,536 | sce | NÍVEL_BIRD.sce | ///////////////////////////////////////////////////////////////////////
clc
clear
global lambda g
//****************************
//**** DADOS DE ENTRADA ****
//****************************
disp('DIÂMETRO INTERNO DO TUBO (EM CENTÍMETROS)')
D=input('D= ')
disp('DIÂMETRO INTERNO DO FURO (EM MILÍMETROS)... |
01cf4bc7a2ed3fed4240c25ea4a02de01568efb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH12/EX12.2/12_2.sce | 685d6ad0af331ebf9a9983816cb9f4a70ce85e94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | 12_2.sce | clc
//Initialization of variables
disp("From molier diagram,")
h1=1357 //500 psia 700F
h2=1194 //P2=100 psia
h3=1379 //100 psia, 700 F
h4=1047 //p4=2 psia
h5=93.99 //sat liq at 2 psia
h6=95.02 //example 12.1
//calculations
W=h1-h2+h3-h4-(h6-h5)
Q=(h1-h6)+(h3-h2)
eta=W/Q
//results
printf("Thermal efficienc... |
431e67b31b5c104d0e455feb977dbee38e0777ce | 292fdfbcaae1142141fcb8c7c2f73dcdb871a582 | /Tests/5-prog_partielle.tst | 3292e51924abbd0617151d7cf5a77d1840b8bb14 | [] | no_license | Nyktalop/TpCppM1S1 | f11b362f753656c5c1c7fbc963a71ced6ece211b | 67a3adae4d943d5e0a6b580b277b39e591d3ad39 | refs/heads/master | 2020-08-22T13:54:17.437596 | 2019-12-07T17:35:26 | 2019-12-07T17:35:26 | 216,409,340 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | tst | 5-prog_partielle.tst | pi = ident(355/113)
car = pow(_1,2)
powoftwo = pow(2)
t = tan
s = sin()
c = cos(_1)
val = powoftwo(car(s(pi)))
p = polynome(val)
pp = p(5,2,_1)
poly = polynome( pp(powoftwo(2)) )
pp(5)
|
80bf76c00edb3bf1e4dc264510dd3a46d461bdb5 | ba5d14a99711f45c6f3d2d28e4e8c12c9120e536 | /Plotando uma função qualquer.sce | fd83ac3185f0d1f55e893db42ccb9c33bb4f88ad | [] | no_license | RuanXavierSantos/Exercicios_Scilab | 0bf7aa6cc0b94e84bd560861c77d7a1a6c17bc2b | 219c1609766e1ac1ad27f9469012d7f3bb6c8dea | refs/heads/main | 2023-09-03T00:50:12.356763 | 2021-10-20T13:29:22 | 2021-10-20T13:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37 | sce | Plotando uma função qualquer.sce | x=[1:0.7:7];
y=(x^4)-4;
plot(x,y)
|
a20af14d9b51d247c6d573fda36850a22b108a5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH6/EX6.2.19/6_2_19.sce | b5451632591e7576cc5bd5f91ee5dd6b5ca80801 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | 6_2_19.sce | disp('given vectors u and v are:')
u=[-.6;.8]
v=[.8;.6]
disp(v,u)
disp('u.v=')
disp(u'*v)
disp('Hence, {u v} is an orthogonal set.')
disp('||u||=1 and ||v||=1')
disp('Thus, {u v} is an orthonormal set') |
55c764ea67d14f53703a30a6175ce4e79380b815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH8/EX8.25/Example8_25.sce | fd893fcf195bd47bfb98b280fd91be31dad33e16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | Example8_25.sce | //Chapter-8,Example8_25,pg 8_70
R2=842
w=2*%pi*10^3
C2=0.135*10^-6
Z2=R2-%i*(1/(w*C2))
Z3=10
C4=10^-6
Z4=-%i*(1/(w*C4))
Z1=Z2*Z3/Z4
R1=real(Z1)
Xl1=imag(Z1)
L1=Xl1/w
printf("resistance of arm AB\n")
printf("R1=%.3f ohm\n",R1)
printf("inductance of arm AB\n")
printf("L1=%.4f H",L1)
|
acf2687ee8774ee11cb1d68237cc65dd542f09eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH4/EX4.20/Example4_20.sce | 1dd8dcf9ffe8a904d6c5ed1cd908dd8c439d27df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | Example4_20.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 4: DC Dynamo Torque Relations-DC Motors
// Example 4-20
clear; clc; close; // Clear the work space and console.
// Given data
SR = 0.1 ; // Given percent speed regulation 10% of a shunt motor
om... |
ebf500c0c144b5fddd398ffd564639b973aee9ea | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/mtlb/mtlb_loglog.sci | f97c7c54f9afaa73743fd198f2a5fb18e920b026 | [
"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,938 | sci | mtlb_loglog.sci | function h=mtlb_loglog(X1,X2,X3,X4,X5,X6,X7,X8,X9)
// Copyright INRIA
h=[]
[lhs,rhs]=argn(0)
if exists('%MTLBHOLD')==0 then %MTLBHOLD=%f,end
if ~%MTLBHOLD then
strf='011'
xbasc()
else
strf='000'
end
if rhs==1 then
mtlb_pltl1(X1,'k-',strf)
elseif rhs==2 then
if type(X2)==10 then
mtlb_pltl1(X1,X2,strf)
e... |
fa62771fd8ae6e46b9ff6b3bc45bcb129a679b49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.15/EX3_15.sce | 740adf8e978494972a024aed309f9b760146d90d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sce | EX3_15.sce | //Example 3.15
clc;
syms s;
I=4/((s^(2))*(s^(2)+16));
i=ilaplace(I);
disp(i);
|
e3b5f88ba5f1633d8e773ff0244cdb59c918dc61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH7/EX7.5/Ex7_5.sce | 83185c004d019be527ab057997771f51b8f31221 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Ex7_5.sce | //Chapter 7: Loop, Slot and Horn Antennas
//Example 7-17.1
clc;
//Variable Initialization
Z0 = 376.7 //Intrinsic impedance of free space (ohm)
Zd = 73 + 42.5*%i //Impedance of infinitely small thin lambda/2 antenna (ohm)
//Calculation
Z1 = (Z0**2)/(4*Zd) //Terminal impedance of the lambda/2 slot antenna (ohm)
/... |
c8f267cc1fe58a708bb944273030ea4a47ea4108 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH6/EX6.8/exa_6_8.sce | 2941e9aa585ec3a4c2a4c0dedc26a64001652987 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | exa_6_8.sce | // Exa 6.8
clc;
clear;
close;
// Given Data
C= 0.1;// in micro F
C=C*10^-6;// in F
R1= 2;// in kohm
R1=R1*10^3;// in ohm
R2= 2/3;// in kohm
R2=R2*10^3;// in ohm
R3= 200;// in kohm
R3=R3*10^3;// in ohm
// R1= Q/(2*%pi*fc*C*Af) (i)
// R2= Q/(2*%pi*fc*C*(2*Q^2-Af)) (ii)
// R3= Q/(%pi*fc*C) ... |
ee55aae310e84c9edde881d9a22f4823af02d87c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.1/ex4_1.sce | d6b7d445aeb19becb5aedede2edcd036ad308f7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_1.sce | // Exa 4.1
clc;
clear;
close;
format('v',6)
// Given data
R = 10;// inohm
V = 230;// in V
f = 50;// in Hz
I = V/R;// in A
disp(I,"The currrent in A is");
P =V*I;// in W
disp(P,"The power consumed in W is");
Vm = sqrt(2)*V;// in V
Im =sqrt(2)*I;// in A
omega = 2*%pi*f;// in rad/sec
//Equation for voltage... |
3532cb07403e762726f78260bc43861239cfdf8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH3/EX3.5/Ex3_5.sce | d004ae7c5314408f8ceab9b3d2bd894457ce4eb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Ex3_5.sce |
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 3.5
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
a=4*10^-6;//radius in m
n1=1.5;//core refractive index
delta=0.03;//delta
lamda=0.80*10^-6;//wavelength in m
c=(2*delta)^0.5;//constant value
n2=sq... |
0a28ec742750be2b3c1f3ba9c22a62b793f4536b | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.15.1/ques15_1.sce | b7316d1ad52b9b4d0398e0f4116166326302ff80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | ques15_1.sce | //no outp
//ques15
disp('To find the inverse laplace transform of the function');
syms s t a
f=1/(s*(s^2+a^2));
il=ilaplace(f,s,t);
disp(il);
|
04550558d2acd3ba374441010b79fd9eb2f534e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH13/EX13.18/example13_18.sce | 2b0c4c302eda0894766dd987bae2027d4b5e0301 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | example13_18.sce | clc
// Given that
n = 1 // order of brag reflection
d = 3.84e-10 // the space between successive plane in m
theta = 30 // glancing angle in degree
// Sample Problem 18 on page no. 13.30
printf("\n # PROBLEM 18 # \n")
printf(" Standard formula used \n")
printf(" n*lambda = 2 * d * sin(theta) \n lambda = h/(m*v) \n")
l... |
967336c643babb884e327bc0f8a5b072a01b09e1 | 841f77393c59837a68f64bd454c201bfb6b4a756 | /Assignment1_Gaussian_Elimination.sce | bd43e9ce3e248d4a0d8050807d74be79c74687e9 | [] | no_license | yashgawankar/LA_Scilab_Assignments-1-4- | 8e10bdda3ec183adc8480544008c0494cecaadb3 | 19a3227af4fee876088218ff598d92e856d80145 | refs/heads/master | 2021-05-23T14:03:15.862747 | 2020-04-18T18:24:26 | 2020-04-18T18:24:26 | 253,327,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,459 | sce | Assignment1_Gaussian_Elimination.sce | //PES1201801482 - Yash Gawankar - 4J
function gauss_elim(A,b)
n=size(A,1);
for k=1:n-1
for i=k+1:n
factor=A(i,k)/A(k,k);
for j=k:n
A(i,j)=A(i,j)-factor*A(k,j);
end
b(i)=b(i)-factor*b(k);
end
end
x(n)=b(n)/A(n,n... |
20c0f1903ece458e5f3f1af3703139ea9956a454 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH4/EX4.01/4_01.sci | 3024fc7f1fa55b0fd2a1a539560de8de32dd2647 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sci | 4_01.sci | //laplace//
printf("Given a)Excitation voltage(Ein)=2V \n b) Setting Ratio(a)= 0.4 \n")
Ein=2;
disp(Ein,"Ein=")
a=0.4;
disp(a,"a=")
Rt=10^3;
disp(Rt,"Rt=")
Rl=5*10^3;
disp(Rl,"Rl=")
printf("Eo = (a*Ein)/(1+(a*(1-a)*Rt)/Rl) \n")
Eo = (a*Ein)/(1+(a*(1-a)*Rt)/Rl);
disp(Eo,"output voltage(E0)=")
printf("e=((a^... |
b53285571a3e4644751767f490c6709c26d40013 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.15/ex_6_15.sce | d033fbc3ae9ef13bbc0ff9a4a544bf6b8033fcfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | ex_6_15.sce | clear;
close;
clc;
W=%pi/4;
w=-10:0.1:10;
for i=1:length(w)
if (w(i)>=-2*%pi-W & w(i)<=-2*%pi+W) then
X(i)=1;
elseif (w(i)>=-W & w(i)<=W)
X(i)=1;
elseif (w(i)>=2*%pi-W & w(i)<=2*%pi+W)
X(i)=1;
else
X(i)=0;
end
end
figure
subplot(2,1,1)
plot(w,X);
title("X[w]");
n=-15:15;
x=X... |
2c9808922f889472389f3722ed294a0015cdfeaa | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introduction_To_Mechanical_Engineering_S._Chandra_And_O._Singh__2267.zip/Introduction_To_Mechanical_Engineering_S._Chandra_And_O._Singh__2267/CH3/EX3.1/Ex3_1.sce | d4832147f41b04dc66cb4a08ab411c027d67a8f8 | [] | 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 | 208 | sce | Ex3_1.sce | errcatch(-1,"stop");mode(2);//Part A Chapter 3 Example 1
;
;
format('v',6);
T_F=98.6;//degree F
T_C=(T_F-32)/1.8;//degree C
disp("Temperature in degree celsius = "+string(T_C)+" degree C");
exit();
|
f0e40f25f616c8884cdfb6a5e3aa0f563745a4c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH7/EX7.8/Ex7_8.sce | 0fc99e0cf1a336bd322751fe84a1e5c3fbf09e0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Ex7_8.sce | r0=2*10^3
r1=1*10^3
nl=4//no. of large cells
ns=(r0/r1)^2*nl-1//split cells within area=split cells within square-1
ncpl=120
n2=nl*ncpl//no. of channels without cell splitting
ncps=120
n1=ns*ncps//no. of channels with cell splitting
inc=n1/n2//increase in the number of cells
disp(inc,'increase in the number of cells in... |
c6ace65bc76a9b1aa092a59e643b3f8327b8ed1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.4c/eg5_4c.sce | 82a601ed21e146bd071f6709b11e1498740d4a9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | eg5_4c.sce | a=5;
I0=10^-6;
v_f = 1/(3-1);
vupperlim = 3;
vlowerlim = 1;
expecV = (vupperlim + vlowerlim)/2;
expec = integrate('(%e^(a*x))/2', 'x', 1,3);
expecI=I0*(expec -1);
disp(expecI) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.