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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6c4dbc43e87b7f40362dbe8ca1d5fe13ffe5c4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH3/EX3.12/Ex3_12.sce | 2b992f91e695b5878dd2589d771b50eb71c767b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | sce | Ex3_12.sce | clc
I=2*10^-3
disp("I = "+string(I)+" amphere") //initializing value of current flowing through the sample.
B=1000*10^-4
disp("B= "+string(B)+" Tesla") //initializing value of magnetic field.
w=0.2*10^-3
disp("w = "+string(w)+" mm") //initializing value of width of sample.
l=2*10^-3
disp("l = "+string(l)+" m")... |
77e636f895ad9c8ffca8c23e4d449f11288cc147 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH4/EX4.07/4_07.sce | 89453e345e8cea8a351c59ae240ea360a34c3954 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 4_07.sce | //Problem 4.07:
//initializing the variables:
mdt1 = 1000; // in lb/min
mdt2 = 1000; // in lb/min
mdt3 = 200; // in lb/min
//calculation:
mdt5 = mdt1 + mdt2 - mdt3
mdt6 = mdt2
mdt = mdt5 - mdt6
printf("\n\nResult\n\n")
printf("\n amount of water lost by evaporation is %.0f lb/min",mdt) |
8a71f4bee702302711896e323241794591a79b0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH16/EX16.4/16Ex4.sce | e8120bb66228724ee12966fefa027b3ca68f172a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | 16Ex4.sce | //chapter 16 Ex 4
clc;
clear;
close;
//let pipes be A B and C
t1=12; t2=15; //time taken by A and B to fill cistern individually
t3=20; //time taken by waste pipe to empty the cistern
A1min=1/t1; B1min=1/t2; //part filled by A and B in 1 min each
ABC1min=1/t3; //part filled by all 3 pipes in 1 ... |
72fde3e589523e0c056510ebd3b9ef8f4c08825c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH8/EX8.3/Ex8_3.sce | a5e5bf4eafe9e891f925c11f5ec02a37a19694b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | Ex8_3.sce | //CHAPTER 8 ILLUSRTATION 3 PAGE NO 223
//TITLE:BALANCING OF ROTATING MASSES
pi=3.141
clc
clear
mA=200// mass of A in kg
mB=300// mass of B in kg
mC=400// mass of C in kg
mD=200// mass of D in kg
rA=80// radius of A in mm
rB=70// radius of B in mm
rC=60// radius of C ... |
d6e7c6e9a57ae4346460bcb016c55498c0704772 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH3/EX3.1/ex3_1.sce | 29917f0c0331d2e0719ebe374eb862741f3d07d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | ex3_1.sce | clc;
clear;
Vm=3;// amplitude of message signal in V
Vc=5;//amplitude of carrier signal in V
m=Vm/Vc; //modulation index
disp("modulation index");
disp(m,"=");
disp("Upper Sideband Frequency(in MHz)");
Fm=4;//Frequency in KHz
Fc=5;//Frequency in MHz
disp(Fc+(Fm*10^(-3)),"=");
disp("Lower Sideband Frequency(i... |
366bf2f36ef1feb6145ef7b4e88f26d6bb84481e | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/drop_duplicates.sci | 786c13b0036643ca334c4a0ee8b612677bbd4de8 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 616 | sci | drop_duplicates.sci | function drop_duplicates()
// Return DataFrame with duplicate rows removed.
//
// Syntax
// dfr.drop_duplicates(input_string)
//
// Parameters
// input_string : String containing additional parameters supported can be passed
// // For additional information on parameters, see https://pan... |
a0260d741f06113e39ba1c7f4bbf8ca24969b40a | 9c1679fe9e7e3791831c4b8371a70002356d26e3 | /exp9_pcm.sce | 76413f1026e73751859a0c791df82d1905b27edd | [] | no_license | prajakta98/OSTC | a5947113b6ffe9da1ea3301ab3d70bb34ec3d88d | 153cf64155d1e33c54271e711c49c4c945fbe6e6 | refs/heads/master | 2020-03-24T22:49:35.118555 | 2018-10-23T04:20:18 | 2018-10-23T04:20:18 | 143,104,662 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | exp9_pcm.sce | clc;
close;
t = 0:0.001:1;
x = sin(2*%pi*5*t);
L = 8;
//quantization
xmax = max(abs(x));
xq = x/xmax;
en_code = xq;
d = 2/L;
q = d*[0:L-1];
q = q-((L-1)/2)*d;
for i = 1:L
xq(find(((q(i)-d/2)<= xq)&(xq<=(q(i)+d/2))))=q(i).*ones(1,length(find(((q(i)-d/2)<=xq)&(xq<=(q(i)+d/2)))));
en_code(find(... |
c26da9aef527237568f3e985e24eaf8a8e229303 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH16/EX16.4/16_4.sce | 015d0d9b2e1c1f6427e3e2bd129c62362838c18e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | 16_4.sce | clear;
clc;
D=20;Ro=500;
N=10^(D/20);
R1=Ro*(N-1)/(N+1);
R2=Ro*(N+1)/(N-1);
printf("The elements of the attenuator are:\n");
printf("R1 = %f ohms\n",round(R1*100)/100);
printf(" R2 = %f ohms\n\n",round(R2*100)/100);
r1=R1;
r2=(R2-R1)/2;
printf("The equivalent T structure of the designed lattice:\n");
printf... |
d74bf7492214340a010e0d47ba97636ae897fc02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH3/EX3.8w/3_8w.sce | 5bf6cd5814b96e17cd53fa2a5ea03ba758de19a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | 3_8w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 3.8w
//calculation of total distance and number of trips
//given data
dcar=20//distance(in km) travelled by the car
vcar=40//speed(in km/h) of the car
vfly=100//speed(in km/h) of the fly
//calculation
tcar=dcar/v... |
1cce1197b096b0ec7f094c025cb1326547b43451 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /css/Scripts/Funciones/get_freq_ejercicio.tst | 3a8572f5e0f06a291c02c802832e64f9af945edb | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 226 | tst | get_freq_ejercicio.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the function
:result := get_frecuencia_ejercicio(pfrecuencia_ejercicio_id => :pfrecuencia_ejercicio_id);
end;
2
result
1
1 vez por semana
5
pfrecuencia_ejercicio_id
1
1
4
0
|
037bd17b6ec212710785a7555d178f98a387d0f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.28.2/ques28_2.sce | 3ef198be6c23684e39a816a397fe6d5377272ed5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | sce | ques28_2.sce | //ques28
syms s t
f=integ(exp(-s*t)*exp(-t),t,0,2);
disp('Laplace of given function is');
disp(f);
|
f95503ea1876f5c0e3882d32c555c0fa21a1738a | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnBa/enba.7.tst | 6d9d2778e67006f40ca2f698b353a3d21524c8b4 | [
"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 | 53,858 | tst | enba.7.tst | a a m e r আ ম ে র
a a n আ ন
a b a z i l a আ ব া জ ি ল
a b i r a আ ব ি র া
a b i s s o আ ব ি স ো
a b o আ ব ো
a b u l k a m a l আ ব ু ল ক া ম া ল
a c h h n e r a আ ছ ন ে র
a c h r a আ চ র া
a d a n i আ দ া ন ী
a d a s আ দ শ
a d h i r c h a n d r a অ ধ ী র চ ন ্ দ ্ র
a d i t p a r a আ দ ি ৎ প া র া
a g a i n s t এ গ ে ন ... |
0055598daa5b880627de3fa406b8a62e8f712e81 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/GeometricShearer.sci | 1ebd655c243af2cdd43b4702bc83f1e81d06e6cc | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 1,003 | sci | GeometricShearer.sci | function [out] = GeometricShearer(inputimage,direction,value)
// Shear the image
//
// Calling Sequence
// output_image = GeometricShearer(inputimage,direction,value);
//
// Parameters
//
// inputimage : image matrix on which geometric shear has to be applied
// direction : An input string that like. 'Horizontal' to s... |
33fbd6887a701373f4dfc09ff44518d72d741b2e | b23687e2eb02bcb6d0f581b7975f42c496faeda1 | /FFILT_digital_filter.sce | 9c928dc3f73f581ec9ad82d8568a65fe933b1a5e | [
"MIT"
] | permissive | harvishj/Scilab | bd3fbd3e679eb07aa088ff2bab40d491c6499770 | 9daada512f42ea6f52199a34d6b18e64b107af94 | refs/heads/master | 2021-07-14T15:06:03.621923 | 2020-10-05T06:35:43 | 2020-10-05T06:35:43 | 213,328,984 | 1 | 3 | MIT | 2020-10-05T06:35:44 | 2019-10-07T08:16:52 | Scilab | UTF-8 | Scilab | false | false | 126 | sce | FFILT_digital_filter.sce | clear;
clc;
clf;
c = ffilt("lp", 1000, 0.05);
subplot(211);
plot(c);
[hm ,fr] = frmag(c,1,100);
subplot(212);
plot(fr,hm); |
104070148c07287914a6726c51c472b213fc77d6 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/lqg/scilab/lqg_visc.sce | 84b4769cf11e506e34d2a071f22bcdc4d780f5dd | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | lqg_visc.sce | // Updated(19-7-07)
// 13.6
// Viscosity control problem of MacGregor
A = [1 -0.44]; dA = 1; B = [0.51 1.21]; dB = 1;
C = [1 -0.44]; dC = 1; k = 1; int1 = 1; F = [1 -1]; dF = 1;
V = 1; W = 1; dV = 0; dW = 0;
rho = 1;
getf lqg.sci;
[R1,dR1,Sc,dSc] = lqg(A,dA,B,dB,C,dC,k,rho,V,dV,W,dW,F,dF);
[Nu,dNu,Du,dD... |
05c6f00794302f529b9cfbce0750f3d6378579ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH7/EX7.11/Ex7_11.sce | eb59b900c39bfe184fd8b37e90622f38fb049415 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | Ex7_11.sce | //Chapter 7: Solid State
//Problem: 11
clc;
mprintf("AB remain in BCC structure if the edge length is a then body diagonal ,is root(3)a\n")
mprintf(" root(3)a = 2(r+ + r-)\n")
A = (sqrt(3) * 0.4123 - 2 * 0.81) / 2
mprintf(" A+ = %.2f nm",A)
|
1ce4f78034b2f5f791288155895c8ab77a206ab6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/mtlb/mtlb_qz.sci | 8a0783c1e32ff4b7eaa2f338f4d45428359e1422 | [
"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 | 323 | sci | mtlb_qz.sci | function [AA, BB, Q, Z, V]=mtlb_qz(A,B)
// Copyright INRIA
[lhs,rhs]=argn(0)
[AA, BB, Q, Z]=gschur(A,B)
if lhs==5 then
n=size(A,1)
LA=diag(AA)
LB=diag(BB)
V=zeros(n,n)
for k=1:n
K=kernel(A*LB(k)-B*LA(k))
if size(K,2)<>1 then
error('qz : pencil is not diagonalizable')
end
V(:,k)=K
end
e... |
49f8a9a9b1e98333f815a44ae58e6441ee3c819f | 6fd3f19d2ced950a97cae01eba7080554840efd4 | /src/Interpolation.sci | b0a6d09b714e401f524c721976dbf7d29e579b36 | [] | no_license | marcosamaris/FrFTScilab | 6563d281792332354330ea2eb5d18334338e0bfd | 8a5cb67873b881714a051336d472271c184a2083 | refs/heads/master | 2020-12-14T07:32:10.208263 | 2017-02-02T13:48:43 | 2017-02-02T13:48:43 | 68,461,393 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sci | Interpolation.sci | function xint=bizinter(x)
N=length(x);
im = 0;
if sum(abs(imag(x)))>0
im = 1;
imx = imag(x);
x = real(x);
end;
x2=x(:);
x2=[x2.'; zeros(1,N)];
x2=x2(:);
xf=fft(x2);
if modulo(N,2)==1 //N = odd
N1=fix(N/2+1); N2=2*N-fix(N/2)+1;
xint=2*real(ifft([xf(1:N1); zeros(N,1) ;xf(N2:2*N)].'));
el... |
1d868d164e6b8ff2936e476d2c80e93d295c9721 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH2/EX1.2.13/Ex1_2_13.sce | e3b53deb03e431b783b2e87f2707bb97dd42256d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | Ex1_2_13.sce | //Section-1,Example-3,Page no.-AC.182
//To calculate the percentage of sulphur in the given coal sample.
clc;
W_BaSO4=0.01
W_coal=0.1
P_S=(W_BaSO4*32*100)/(W_coal*233)
disp(P_S,'Percentage of sulphur in the given coal sample')
|
efab380055ab7046f12b095e12330415bae82cb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH7/EX7.12/Ex7_12.sce | 6685f4577e69c0f9b0aa29c1a5bf7790761e23a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Ex7_12.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 7 Field Effect Transistors Pg no. 241
clear;
clc;
//Given Data
//Figure 7.31
gm=5D-3;//transconductance in Siemens
RD=2.7D3;//drain resistance in ohms
RL=3.3D3;//load resistance in ohms
//Solution
RL_eq=RD*RL/(RD+RL);//equivalent load resistance in ohms
... |
b9ff43b6aa8a26cb885eb0d3cfb9cf4ecb644e9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.18.c/1_18_c.sce | f563491288c13d76b458b9ad6642276f1eb1159b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | 1_18_c.sce | // example 1.18<c>
//determine the values of power and energy
clc ;
t =0:0.01:100;
A=1;
x=A*cos (t);
P=(integrate('(A*cos(t))^2','t',0,2*%pi ))/(2*%pi);
disp(P,'The power of the signal is:');
E=(integrate('(A*cos(t))^2','t',0,2*%pi));
disp(E,'The energy is:');
disp('As t tends to infinity energy also tends to... |
01a83c0240dd2c5385e849f3c2c9da1592895ff5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH3/EX3.3.d/ex3_3_4.sce | c6ededab5f8cb0cfa2286893771c18a4914dd4b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | ex3_3_4.sce | // steady speed=10km/hr
syms K Kg D
(((A-10)*K1)-(-D*Kg))K=100;
A=(60.8*10)/60;
K=1.5;
Kg=100;
D=((100/K)-((A-10)*K))/Kg;
disp(D,"Down slope=") |
d1d8193f4bba54dcc64e7a98319ec5167680d5d3 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /css/Scripts/Funciones/get_color_pelo.tst | b2c6fe6bfb088e52e92ce652268ef19cb04ec80c | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 175 | tst | get_color_pelo.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the function
:result := get_color_pelo(pcolor_pelo_id => :pcolor_pelo_id);
end;
2
result
1
Rubio
5
pcolor_pelo_id
1
1
4
0
|
6f51c2d2834f78569e82f0f5557633670fa724b1 | 38207cc4b1f34a998f533ad49ea5054326be0221 | /Test/VToH.tst | d6b881a03cc6c2a8c3046e5389bf3bbd54a09d90 | [] | no_license | Maker42/openEFIS | c7dcff2ffadc8c7bd0c756a33d914d0c00037049 | da2eeeb6a22eb11a15ccd9283bac8cd88b88578d | refs/heads/master | 2020-03-30T09:28:36.254116 | 2019-05-17T14:16:45 | 2019-05-17T14:16:45 | 151,077,043 | 15 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 8,568 | tst | VToH.tst | steps
step
condition True
responses
response sensors.SetSensor("Altitude", 10.0),
response sensors.SetSensor("Heading", 0.0)
response sensors.SetSensor("Roll", 0.0)
response sensors.SetSensor("RollRate", 0.0)
response sensors.SetSensor("Pitch", 0.0)
response sensors.SetSensor("PitchRate", 0.0)
response ... |
6ae65ad4443690b755cd061c931151bb8aa1f7f2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/auto/trzeros.sci | 92123e339e8b5752f411efe70507902304cd06de | [
"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,039 | sci | trzeros.sci | function [nt,dt,rk]=trzeros(Sl)
//Transmission zeros of Sl = nt./dt
// Syntax : [nt,dt]=trzeros(Sl)
//!
// Copyright INRIA
[LHS,RHS]=argn(0);
if type(Sl)==2 then
D=Sl;
[m,n]=size(D);
if m<>n then error('Trzeros: Polynomial matrix--> must be square');return;end
chis=det(D);nt=roots(chis);dt=ones(nt);
if LHS... |
c1fbfea2216a49b874de322bf905a0fdcefa149c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%svlss.sci | c97f1826b114599f15a0eb272066398b408bf3b5 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sci | %svlss.sci | function s=%svlss(d1,s2)
//s=%svlss(d1,s2) <=> s=d1/.s2
// origin s. steer inria 1987
[a2,b2,c2,d2,x2,dom2]=s2(2:7)
e12=1/(eye+d2*d1)
e21=eye-d1*e12*d2;b21=b2*e21
s=tlist(['lss','A','B','C','D','X0','dt'],a2-b21*d1*c2,b21*d1,...
-e21*d1*c2,e21*d1,x2,dom2)
|
ed39b81c7d0440be0c4ad101dbd46a8cb749c9c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.10/Ex5_10.sce | d15b4a4e6df9622a974c358d4dd2ea6db2045d0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | Ex5_10.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.10
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
m = 3; // Total Number of phase in Induction... |
1f597807b7933064d1659ac40e21e83e92ec1da6 | e4381b32d21150427f93b058541bb3343752bb0f | /sablona_A3/vystrizky_A3/twitter.sce | dbdcf1afe47a618e2c22f48c6241ece7d1bfbdf6 | [] | 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 | 18,753 | sce | twitter.sce | <SCRIBUSELEMUTF8 W="184.96062992126" H="340.157480314961" previewData="iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAB2JJREFUaIHtmktsnUcVgL8z//O+r319/XYTx3GcxA5NG1RUIQJBYRUEbJBYIMG6SAgJgQQLVkQIgdjBumKDEAJ1VValiBaJIBFBjELzcIlrx47f9+V7//u/hoUdJzGObcX+narwSb98Z+bozDma/8yZ8... |
e36fbae1f01e871063385b658b450f4303241ebe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH8/EX8.9/example8_9.sce | 3488e1c7953553d9325d5b472e350f4686aebdf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,261 | sce | example8_9.sce |
//example 8.9
//calculate streeses at heel and toe of dam
clc;funcprot(0);
//given
c=1;
hw=6; //heigth of water in reservior
Bt=1.5; //width of top of dam
H=6; //heigth of the dam
wb=4.5; //width of base of dam
Sg=2.4; //specific gravity of masonary
gamma... |
1e1a94a40bc74e18505d0f5fd9c0716bacf9c49f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH3/EX3.23/Ex3_23.sce | f55cb7bc9d589630702517e4e1b0dfbd2334a606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Ex3_23.sce | // SAMPLE PROBLEM 3/23
clc;funcprot(0);
// Given data
m_1=0.050;// kg
m_2=4;// kg
v_1=600;// m/s
v_2=12;// m/s
theta=30;// degree
// Calculation
v_2=[(m_2*v_2*cosd(theta))/(m_1+m_2),((m_1*v_1)+(m_2*v_2*sind(theta)))/(m_1+m_2)];// m/s
v_x=v_2(1);// m/s
v_y=v_2(2);// m/s
V_2=sqrt((v_x^2+v_y^2));// m/s
thet... |
23e56a6c39a43376fca8b4a0837a456a0c4b3dcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH9/EX9.14/14.sce | 54315b9e1c836171a26cf25add0aa964ad5f79c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14.sce | clc
A=0.01; // m^2
L=0.3; // m
N=60/60; // rps
V_act=10.6/3600; // m^3/s
rho=1000; // kg/m^3
g=9.81; // m/s^2
Q=10.6/3600; // m^3/s
H=15; // m
V=A*L*N;
Cd=V_act/V;
disp("Coefficient of discharge =")
disp(Cd)
P=rho*g*Q*H;
disp("The power required =")
disp(P)
disp("W") |
146712c61eff61bd98d55e2cdfdecd5b41b91df4 | 975bff4cfbf67b318995dc4c925cb18317ae38a3 | /Moniteur_Skel.sce | 7f3c55d645d73fa3f445ecdc87f853c2248f5698 | [] | no_license | VictorSanh/Optimisation | 98da003def697207e0fb967abe07b99ac7afc7e1 | 5dc3a2dec09982d066ee1e0504cecd0a6f2b71a6 | refs/heads/master | 2021-01-18T21:16:30.468266 | 2016-05-21T16:46:13 | 2016-05-21T16:46:13 | 55,126,828 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,756 | sce | Moniteur_Skel.sce | ///////////////////////////////////////////////////////////////////////////////
// //
// MONITEUR D'ENCHAINEMENT POUR LE CALCUL DE L'EQUILIBRE D'UN RESEAU D'EAU //
// //
... |
49b3228e35bfd6a9de4a21fa655d227a8068c83a | f78a758dc17a311b355e12366d1315f7a9c2b763 | /BMW/GS 95003-2 2007/5.2.1.6 Very brief voltage dip 0.tst | b6e94478a7f659041e99bf428e45868a952ae202 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,033 | tst | 5.2.1.6 Very brief voltage dip 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>Test pulse</Title>
<Organization>BMW</Organization>
<Standard>GS 95003-2 2007</Standard>
<Item>5.2.1.6 Very brief voltage dip</Item>
<voltage>14</voltage>
<count>5</count>
... |
15ac118a8e645ed32447d094e2e91ea564519269 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.17_12.tst | 5900a22ab240f3f0930d02316c61dcfef2190b5e | [] | 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 | 27,606 | tst | bow.17_12.tst | 17 10:0.25 78:1.0 160:0.5 546:0.3333333333333333 2475:0.3333333333333333 2875:1.0 4050:0.5 4059:0.5 4142:1.0 4258:1.0 4800:1.0 4833:0.5 5015:1.0 6246:1.0 6943:1.0 6962:1.0 8159:1.0 8313:1.0
17 28:0.2 37:0.5 38:1.0 40:1.0 55:0.2 60:0.0625 79:0.1111111111111111 87:0.16666666666666666 96:0.2 148:1.0 184:1.0 297:1.0 439:0.... |
f222730b0e768e709c339a5ca0e6353d8b7852ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.33/Ex1_33.sce | 21eddb6710b9961b3790e3e806764acf5f0e3368 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Ex1_33.sce | //Example 1_33
clc;
clear;
close;
format('v',5);
//given data :
V1=12;//V
R1=3;//ohm
R2=3;//ohm
I2=6;//A
//Converting currrent sources into Voltage sources
V2=I2*R2;//V
//writing KVL equation for the loop
I=poly(0,'I');
eqn=V1-R1*I-R2*I-V2;//KVL equation
I=roots(eqn);//A
VOC=V2+R2*I;//V
Req=R1*R2/(R1+R... |
191c2d2010372ef637d98baf1ca03970bacd94da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH7/EX7.16/716.sce | 338ce28bd217e28fd49e1e25feba441094f697cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | 716.sce | // problem 7.16
Q=10
V=2
A=Q/V
n=1
d=(A/1.828)^0.5
b=0.828*d
A1=(b+(2*d*((n*n+1)^0.5)))
disp(A1,"area in m2 of lining required for 1m canal lenght")
|
69393feb9e93df2af5e2e8477c3cf60c77f33e34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH1/EX1.5/example5_sce.sce | 864d41954727e141daaec1e868c59d11f9ae2078 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | example5_sce.sce | //chapter 1
//example 1.5
//page 28
printf("\n")
printf("given")
I0=30;Vd=.7;n=2;Vt=26*10^-3;
k=Vd/(n*Vt);
disp("junction current")
Id=I0*((2.7^k)-1)*10^-6
printf(" forward bais current is %dmA\n",Id)
disp("b)")
Vd=-10// reverse bais
k=Vd/(n*Vt);
Id=I0*((2.7^k)-1)
printf(" forward bais current is %dnA\n",... |
180c6a42bfa8a5b52263d80142a26d6167806d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH18/EX18.4/example4_sce.sce | 2ed11d45642bd11ac0ea8b320a23c8d3b9fc5092 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | example4_sce.sce | //chapter 18
//example 18.4
//page 766
printf("\n")
printf("given")
hFE3=50;hFE1=20;Ie1=200*10^-3+10*10^-3;Ic2=1*01^-3;Vs=20;Vb3=13.4;Vo=12;Vbe=.7;
Ib1=Ie1/hFE1
Ib3=Ib1/hFE3
R1=(Vs-Vb3)/(Ic2+Ib3)
disp("select I6=.5*10^-3")
I6=.5*10^-3;
R6=(Vo+Vbe)/I6
Pd=(Vs-Vo)*Ie1 |
f54fe988ac98d757d13d6a3298861c89b8821d94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH4/EX4.5/c4_5.sce | a3ecfa1911614d357e87b039f27d0bca786da507 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,465 | sce | c4_5.sce | //(4.5) Air enters a compressor operating at steady state at a pressure of 1 bar, a temperature of 290 K, and a velocity of 6 m/s through an inlet with an area of 0.1 m2. At the exit, the pressure is 7 bar, the temperature is 450 K, and the velocity is 2 m/s. Heat transfer from the compressor to its surroundings occu... |
26b7658fd4dfcd04aa742c733db76cf8e0d0cfcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH8/EX8.6/Ex8_6.sce | b0c9e64369bd68e525cba04ea6de71cccc9ffb57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,164 | sce | Ex8_6.sce | // Problem 8.6,Page no.209
clc;clear;
close;
W=200 //N //weight
v=4 //m/s //velocity of spring
sigma=600 //MPa //max allowable stress in spring
G=80 //GPa //Modulus of rigidity
rho=78000 //N/m**3 //density
d=8 //mm //diameter of spring
D=5 //cm //Mean Diameter of coil
//Calculation
E=W*v**2*(2*9.81)**-1 //N*m //... |
dae1aa3a40795da1eb652fccf58e34c45db2f9dc | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-env-variables-new/C/H5D/testfiles/110/h5ex_d_unlimadd.tst | 0279cf2837baacf2671edd6176464bcfa4bf2b7b | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 444 | tst | h5ex_d_unlimadd.tst | Dataset before extension:
[ 0 -1 -2 -3 -4 -5 -6]
[ 0 0 0 0 0 0 0]
[ 0 1 2 3 4 5 6]
[ 0 2 4 6 8 10 12]
Dataset after extension:
[ 0 -1 -2 -3 -4 -5 -6 7 8 9]
[ 0 0 0 0 0 0 0 7 8 9]
[ 0 1 2 3 4 5 6 7 8 9]
[ 0 ... |
d26bf16bba829527039a76d7d6e0df4130d5d8e2 | b829a470efb851fdd8700559c2092711adaa42e0 | /Data/OVI-CV-03-Facenet/CV-Groups/cv-group-114528472703/OVI-Test/cv-group-114528472703-run-03.tst | 61030a5fd7b20779217465568de907bc5c7d70ca | [] | no_license | achbogga/FaceRecognition | 6f9d50bd1f32f2eb7f23c7ae56f9e7b225d32325 | 165ebc7658228d2cceaee4619e129e248665c49a | refs/heads/master | 2021-07-04T21:47:57.252016 | 2017-08-01T18:53:12 | 2017-08-01T18:53:12 | 96,568,452 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | tst | cv-group-114528472703-run-03.tst | Huiping\Huiping_005.jpg
Huiping\Huiping_018.jpg
Don\Don_008.jpg
Don\Don_002.jpg
Shirley\Shirley_005.jpg
Shirley\Shirley_012.jpg
Ahmad\Ahmad_002.jpg
Ahmad\Ahmad_009.jpg
Sima\Sima_008.jpg
Sima\Sima_001.jpg
SungChun\SungChun_007.jpg
SungChun\SungChun_010.jpg
Kiran\Kiran_014.jpg
Kiran\Kiran_012.jpg
Allison\Al... |
63cd70ed9658c8bb159791444cde17a981e2dc7c | 2d52e11c7b61898224f065e3bbf4433c814c9fe1 | /measurement/array-operations/vneg.sci | 9be50985ad0ec9cb2cc4a2e595aa6eb4228b35a1 | [
"MIT"
] | permissive | quepas/performance-estimation-array-operations | b6954d753c83d235f12c5d97fa82bcc38656cf5e | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | refs/heads/master | 2021-01-24T13:24:52.734940 | 2018-05-12T15:18:20 | 2018-05-12T15:18:20 | 123,173,497 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | sci | vneg.sci | // Negation of vector elements
function vneg(V)
R = -V;
endfunction
|
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)
|
b9d7992caad657c06d904d74ce933cdb1a207c1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH9/EX9.10/Ex9_10.sce | 96c96247072c085da1a7ea7e549a53f30c2ecdb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,343 | sce | Ex9_10.sce |
// Theory and Problems of Thermodynamics
// Chapter 9
// Air_water Vapor Mixtures
// Example 10
clear ;clc;
//Given data
RH = 0.6 // relative humidity moist air
T1 = 313.15 // Temp of air entering cooling device in K
T2 = 293.15 // temperature at air required to leav... |
e0f502572d2167c8276406618e7674249aa68be6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH3/EX3.1/Ch03Ex1.sci | c10eeaff954c78461d7236dab7e2e4949bf4f863 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sci | Ch03Ex1.sci | // Scilab Code Ex3.1 : Page-71 (2010)
beta = 0.51e-02; // Fringe width, cm
d = 2.2e-02; // Distance between the slits, cm
D = 2e+02; // Distance between the slits and the screen, cm
// As beta = D*lambda/d, solving for lambda
lambda = beta*d/D; // Wavelength of light, m
printf("\nThe wavelength of ... |
fe2e06d51a9f3615be30025629ebfb34a2243b52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH24/EX24.2/Ex24_2.sce | 9d67eeac648eac58080457b84273fe5d777c5c36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | Ex24_2.sce | //Example 24_2
clc();
clear;
//To find by how much does thickness of air gap increases
lamda=589 //units in nm
gap=round(lamda/2) //units in nm
printf("The thickness of air gap increases by=%d nm",gap)
|
b99eb46448225b3d8d0880913010bd57e7b3abd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH5/EX5.15/5_15.sce | e93a8e9c49c6413ac9dd95844c8aca00c064b3e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | 5_15.sce | clc
//initialisation of variables
g= 32.2 //ft/sec^2
D= 9 //in
//CALCULATIONS
d= D/(2^0.4)
//RESULTS
printf ('diameter of paralle mains = %.2f in ',d)
|
8d0bfd6773a5ce314be7d16d7411bf7797e0ccee | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH21/EX21.1/Ex21_1.sce | ee34a9f158ec776f1bfc83ac5d39468dbcad243d | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | Ex21_1.sce | errcatch(-1,"stop");mode(2);//Example 21.1
;
V_max=200//in V
V_rms=(V_max)/sqrt(2)
R=100//in ohm
I_rms=V_rms/R
disp(V_rms,"Voltage in V=")
disp(I_rms,"Current in Amps=")
exit();
|
7430259d3c371bc112d48c5edcc768eade7cee5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH5/EX5.14/HFAAGC_Ex_5_14.sce | 73cc8889b899f44985357be704073b0f40b51aee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | HFAAGC_Ex_5_14.sce | clc
//Chapter 5:High Frequency amplifiers and automatic gain control
//Example 5.14 page no 189
//Example on voltage to current feedback
gm=0.4//transconductance
RL=600//load resistance
Rs=500//source resistance (refer figure 5.54)
disp('Av=-gm*RL/(1+gf*RL+gm*RL*(Rs/RF))')//Voltage gain
disp('GB=Av*B')
disp('... |
0d1a71a8b3941a5156742117a8212d531f4696b8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_With_Engineering_Applications_R._L._A._Daugherty_And_J._B._A._Franzini_1457.zip/Fluid_Mechanics_With_Engineering_Applications_R._L._A._Daugherty_And_J._B._A._Franzini_1457/CH6/EX6.1/6_1.sce | 261fa3ea9983c1a40d750edbbde80d38725c4fd9 | [] | 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 | 634 | sce | 6_1.sce | errcatch(-1,"stop");mode(2);
//Initialization of variables
g=9.81 //kN/m^3
V2=12 //m/s
V3=12 //m/s
A2=10^2
A1=15^2
A3=7.5^2
t1=15
t2=30
//calculations
V1=(A2*V2 + A3*V3)/A1
Q1=%pi /4 *A1*10^-4 *V1
Q2=%pi /4 *A2*10^-4 *V2
Q3=%pi /4 *A3*10^-4 *V3
P1g=V3^2 /(2*g) - V1^2 /(2*g)
P1=P1g*g
rho=10^3
V2x=V2*... |
724c62dcfdee1e90e5be9a41c70ac2921dc0e62c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/udecode/udecode2.sce | 9da9b2d400e6a6f67355a7cffe216f91f867109b | [] | 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 | 124 | sce | udecode2.sce | //check o/p when i/p is a vector
u = int8([-1 1 2 -5]);
y = udecode(u,3);
disp(y);
//output
//- 0.25 0.25 0.5 - 1.
|
980504fab89ee03a171e8e86a6176fd44d0290e2 | d6c6e5351a55752775a06471ab1e767b959dba02 | /Taller 4b/macros/open_source.sci | e3108ef0bd11f7187f2eae3218d0656e0887f5db | [] | no_license | hectornauta/Repoduino | f0a685840d7484f78ddb40c1704ce0d7d174aa41 | 05229fc5d70ecc4bd45102cbb02703cb912a5d14 | refs/heads/master | 2020-08-06T09:07:22.888804 | 2019-12-09T13:17:44 | 2019-12-09T13:17:44 | 212,917,573 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sci | open_source.sci | function arduino = open_source(port, configs)
// Description of open_source(input)
try
disp("Abriendo el puerto " + string(port) + " con la configuración: " + configs)
arduino = openserial(port, configs)
catch
disp(lasterror())
disp("Error al abrir la comunicación serial, utiliza... |
e11c85e4bc9bd7a990221c479c81ac29deab8aa7 | 377a111fb7585caf110377625ad0e261a44e93ed | /herbie/lockwood/aim_optimization/Lockwood/BASIC/anthophytaWorkspace/input.tst | ce4fbf27b19c10e890ad59e5a7226ecc59c02bb8 | [] | no_license | gasduster99/theses | ba385499ea0a502b9067c243f7100d82ff1ef4ce | 9c5f8b5d7564292e2e36547ed8d5563a8639f158 | refs/heads/master | 2023-08-25T18:14:09.741032 | 2023-08-22T05:33:06 | 2023-08-22T05:33:06 | 217,375,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | tst | input.tst | 6
1284.301
8471.741
15081.59
5337.953
7425.453
8893.748
|
8a50d35d6f3bb82f1897231c28d8618116b6cdcd | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/complexo.sce | c5a439ae0b26650db510db4b88353c5fc4f49375 | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | complexo.sce | function [mod,fase]=polar2(z)
mod = abs(z)
fase = atan(imag(z),real(z))
endfunction
function [mod,fase]=polard(z)
mod = abs(z)
fase = atand(imag(z),real(z))
endfunction
|
776b0e9f30e3a089cdb45726f5af397fe74d88d0 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/ss/scilab/pend.sce | b794d7130004083ab307da0ab43eb53f70b3cc78 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | pend.sce | // Updated(19-7-07)
// 14.1
// A,B are available from code 2.1
getf pol2cart.sci;
C = eye(4,4);
D = zeros(4,1);
Ts = 0.01;
G = syslin('c',A,B,C,D);
H = dscr(G,Ts);
[a,b,c,d] = H(2:5);
rise = 5; epsilon = 0.1;
N = rise/Ts;
omega = %pi/2/N;
r = epsilon^(omega/%pi);
r1 = r; r2 = 0.9*r;
[x1,y1] = pol2cart(omega,r1);
[x2,... |
d77d901f5de71584fad590d9b5407a44fc0d8451 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.27/example8_27.sce | c986695721ecee29267579af7b1905eb18397f13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | example8_27.sce | //Chapter 8
//Example 8_27
//Page 196
clear;clc;
c=8;
l=300;
s=10;
slope=15;
printf("On level ground: \n")
wbyt=8*s/l^2;
h=s+c;
printf("Height of tower = %d m \n\n", h);
printf("On sloping ground: \n");
hs=l/slope;
printf("Vertical distance between two towers = %d m \n", hs);
x1=75;
x2=225;
printf("From the graph: ... |
24d6c84c13523cbdd4894187ca157c265db07744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /644/CH1/EX1.2/p2.sce | 6fab4cf3382eda6709baa11d7cda19c9d986b492 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | p2.sce | // Example 1.2 Find the velocity of charge leading to 1 A current which flows in a copper conductor of cross-section 1 cm^2 and length 10 Km. Free electron density of copper = 8.5X10^28 per m^3. How long will it take the electric charge to travel from one end of the conductor to the other.
// 1 metre = 100 centimetre... |
76256620727a3af39e46a43ae13d67fe64d4080c | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH9/EX9.13/example9_13.sce | bb1fe36d7ba6454c9da70482aee9ca9eeda32337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | example9_13.sce | // to determine the raise time displayed waveform
// example9-13 in page 279
clc;
// Data given
fH=[20e+6 50e+6];// upper cut-off frequency in hertz
tri=21D-9;// input raise time in seconds
// calculation
for n=1:2
tro=0.35/fH(n);// tro is the raise time in seconds
trd=sqrt(tri^2+tro^2);// trd is the ... |
69a8d10c590207348607ea2069c9abd4e87c2c5e | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_getValue3.tst | cd241f3a306b55a867e896f5868de6aa0900d533 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 206 | tst | err_getValue3.tst | ; get-value after an assertion set command
(set-option :produce-models true)
(set-logic QF_UF)
(declare-fun x () Bool)
(assert true)
(check-sat) ; sat
(push 1)
(get-value (x)) ; invalid because of the push
|
d942f7b081802919a435e3177bfec2e7e539b1ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH8/EX8.9/Ex8_9.sce | 035e155d25b36315f11a728e57252a61cbd8d8df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | Ex8_9.sce |
//
//
printf("\n section 1')
b=10,n=5,s=1,s1=2,
d=50,h1=0.5,h2=0.7,
ac=0.5*(((0.5*b+n*h1)*(0.5*b+n*h1))/(n-s))
af=0.5*(((0.5*b-n*h1)*(0.5*b-n*h1))/(n-s1))
printf("\n ac=%0.3f,af=%0.3f",ac,af)
printf("\n section 2')
ac1=0.5*(((0.5*b+n*h2)*(0.5*b+n*h2))/(n-s))
af1=0.5*(((0.5*b-n*h2)*(0.5*b-n*h2))/(n-s1))
D... |
d1e2984ab16a8f6169f667b853b29b78162d9274 | 694ad1c574305de3b85702522d231dea9660e94c | /test/markdown.tst | 8cf8be0f55766d214e1d5d9844ec1a8628d55328 | [] | no_license | Mark-Seaman/SeamanTech | ced41e87b2b6fe2ffdc1172c2bd1b2e207536dfd | f2635eb82c26990305ff338c1a9dcbbf4618a3ed | refs/heads/master | 2021-01-13T02:03:24.626053 | 2015-12-07T16:20:34 | 2015-12-07T16:20:34 | 23,025,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 34 | tst | markdown.tst | tpyrun $p/bin/util/markdown_test
|
1c9f3aaa580acf5989dee04be1400bc0a57376dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH8/EX8.6/Ex8_6.sce | e035ba4f858f296d0abe3f2cf79eabf96a791e5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,001 | sce | Ex8_6.sce | clc
T1_ = 80 // Initial temperature of air in degree Celsius
T2_ = 5 // Final temperature of air in degree Celsius
V2 = 2 // Assumed final volume
V1 = 1 // Assumed initial volume
P0 = 100 // Final pressure of air in kPa
P1 = 500 // Initial pressure of air in kPa
R = 0.287 // Gas constant
cv = 0.718 // Specifi... |
f64976aba1a0aaa2f8e1554a232d4efd61134e1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH12/EX12.12/example12_12.sce | 73a0d209660586710b8af3a194b336bd30dcc19f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | example12_12.sce | //clc()
//1 - N2, 2 - H2, 3 - NH3
a1 = 27.31;
a2 = 29.09;
a3 = 25.48;
b1 = 5.2335*10^-3;
b2 = -8.374*10^-4;
b3 = 36.89 * 10^-3;
c1 = -4.1868 * 10^-9;
c2 = 2.0139*10^-6;
c3 = -6.305*10^-6;
H1 = -46191;//J
T1 = 298;//K
//1/2 N2 + 3/2 H2 = NH3 H = -46.191kJ
//Ht = H + a*T + b*T^2 / 2+ c*T^3 / 3... |
3de56b2e4ae14f59eb93e35787437d92d0ef7fab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.10/Example5_10.sce | 4c6794a9ebfc8b3fbaf14254e275175e8b961be9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | Example5_10.sce | //Example 5.10
clc;
clear;
close;
format('v',8);
//Given data :
Q=200*10^-3;//m^3/s
D1=250/1000;//meter
D2=200/1000;//meter
A1=%pi*D1^2/4;//m^2
A2=%pi*D2^2/4;//m^2
v1=Q/A1;//m/s
v2=Q/A2;//m/s
Z1=2;//meter
Z2=8;//meter
g=9.81;//constant
w=1000;//kg/m^3
p1=w*(Z1-v1^2/2/g);//kg/m^2
p2=v1^2/2/g*w+p1+Z2*w-... |
9e0a739cf5173682411971df9860059bfaa4a0d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH3/EX3.3/ex_3_3.sce | 6a7c280cbf1155ef1e3bf894a1419d122191b4bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | ex_3_3.sce | //Example 3.3 // Thickness of doubly refracting crystal
clc;
clear;
//given data :
Uo=1.55;//refractive index for O ray
Ue=1.54;//refractive index for E ray
w=6D-7;// wavelength of light used in m
p=w/2;// path difference in m
t=w/(2*(Uo-Ue));//thickness of in m
disp(t*1D2,"thickness of doubly refracting crys... |
797f9e5f632711bed9a69f55d7a5a74da68f8e8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH3/EX3.11/Example3_11.sce | cc25eb03994fee7449613c9d8d757efd48a05d32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 883 | sce | Example3_11.sce | //Example 3.11
//Program to compare the total first order dispersion and determine
//waveguide dispersion
clear;
clc ;
close ;
//Given data
lambda0=1310; //nm - ZERO DISPERSION WAVELENGTH
So=0.09*10^(-12); //s/nm^2/km - DISPERSION SLOPE
//Dt at 1280nm
lambda1=1280; //nm - OPE... |
842cf619fc2bdb1ec6afa7e4c829f03f75fdda0f | 16cd20e3dbab99fb8f292d2a563c6d29db06212e | /scilab/AdrienTP4.sce | ea7ff8a89d66fbd29393ab9f1c1efd096e5c283a | [] | no_license | AdrienFraysse/algo | bcd6d97629be447ca5e08b746d49d4c19bb4213d | 9b206d089439af1f6daaf6cf77ed2df2a955cfd6 | refs/heads/master | 2021-09-03T20:41:54.020288 | 2018-01-11T21:50:00 | 2018-01-11T21:50:00 | 115,410,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,279 | sce | AdrienTP4.sce | P1=[1 3];
P2=[-1 2];
P3=[2 -1];
Ps=[P1;P2;P3];
function interpol(Ps)
xdata= [-2:.1:3];
nbrPs= size(Ps, 1);
X=[];
Y=[];
for i=1:1:nbrPs
Y= [Y;Ps(i,2)];
end
for i=1:1:nbrPs
pi=[]
for expo=1:1:nbrPs-1
pi=[pi,Ps(i,1)^expo];
... |
bbc1d3a73afd83ee83ea4265320975984d425e47 | ceac2c6b2806b34953849b33ded7f72540b9a075 | /ro05_tp00/tp00_exercice1.sce | 9a1155feebb472f7f1dce2fa079087dbb9cf0300 | [] | no_license | ahars/ro05 | ff9a5c97bd5501b01e5b4f5a40e0a2761ed92e0a | c326c09e8388cd32506c90da44e93ab7cd8b43bc | refs/heads/master | 2021-01-01T15:59:37.716364 | 2014-01-23T13:31:28 | 2014-01-23T13:31:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | tp00_exercice1.sce | // exercice 1 scilab
// 1. a)
l = (sqrt(5)-1)/2;
n1 = 10;
u1 = zeros(n, 1);
u1(1) = 1;
for i = 1:n1-1
u1(i+1) = 1 / (1 + u1(i));
end
l
u1
// 1. b)
sigma = 2^-52;
i = 1;
u2 = i;
u2 = [u2; 1/(1+u2(i))];
while abs(u2(i+1)-u2(i)) > sigma
n2 = i;
i = i + 1;
u2 = [u2; 1/(1+u2(i))];
end
[sigma n2]
u2
//... |
d8de2d012046773a130ba970cafd8234ff4ba8b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.75/ex_3_75.sce | 3d08f5503e091554b6f8c026e6dcacae249e8f34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | ex_3_75.sce | //Example 3.75:iron loss
clc;
clear;
close;
r2=18;//ohm
r4=550;//ohm
r3=1250;//ohm
r1=(r2*r4)/r3;//ohm
c3=0.5;//micro-F
l1=r2*r4*c3*10^-3;//mH
r4=550;//ohm
r31=1125;//ohm
r11=(r2*r4)/r31;//ohm
c31=3.85;//micro-F
l11=r2*r4*c31*10^-3;//mH
v=50;//volts
w=4000;//rad/s
i1=v/(sqrt((r1+r11)^2+(w^2*(l11*10^-3)^2)));//
tl=i1^2*... |
5b97f3997938f024fabb17dfdfe8a480d5faa9f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH7/EX7.2/7_2.sce | bf7e5db2a37c905418e32ae74aac849cf30d125f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | 7_2.sce | clc
//initialisation of variables
L= 203 //mm
A= 10.3 //cm^2
a= 0.39 //cm^2
h0= 508 //mm
h180= 305 //mm
t= 180 //sec
//calculations
k= 2.303*a*L*log10(h0/h180)/(A*t)
//results
printf ('hydraulic conductivity of sand = % 2f in/sec ',k)
|
f8c8bfa4336c7b0470fbaf0c0758647e8003e0fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH6/EX6.5/Ex6_5.sce | 67760ec3b4a66df739c0dc2031a7a7f6d0b29f72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | sce | Ex6_5.sce | // Exa 6.6
// To calculate frame efficiency and the number of channels per frame.
clc;
clear all;
Nr=2;// number of reference bursts per frame
Nt=24; // number of traffic bursts (slots) per frame(120msec)
FL=120; //Frame length in msec
Br=148; // number of overhead bits per reference burst
Bp=34; // number... |
fb7099f73c368f66a245aea47fd6930f5c24d991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH12/EX12.5/12_5.sce | 076cc6dc6a80c986ee8d21361ae7567b2328c4da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,061 | sce | 12_5.sce | clear;
clc;
//Example - 12.5
//Page number - 426
printf("Example - 12.5 and Page number - 426\n\n");
//Given
T = 40 + 273.15;//[K] - Temperature
x1=[0.083,0.176,0.268,0.353,0.428,0.720,0.780,0.850,0.900];// Mole fraction of component 1
delta_H_mix=[0.250,0.488,0.670,0.790,0.863,0.775,0.669,0.510,0.362];//... |
ab1b0fa7f8312e7c4e3bebf2130206cbdc1a4030 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH13/EX13.3/92ex2.sce | a171ee14b1b1eb086e4b30d70333d13f467d3374 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | 92ex2.sce |
clear;
clc;
close;
x=poly(0,'x');
p1=(3*x+7);
p2=(2*x+1);
p3=p1*p2;
disp(p3,"product=")
|
8219e57a318b60536629f905a5a0c2b9737867ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.60/EX_2_60.SCE | b61ba0080414f4bc6051877b86209829a3626019 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | EX_2_60.SCE | // Example 2.60:hybrid parameters
clc;
clear;
Ic= 10; //in milli amperes
Vt=26;//volatge
ft=500;//frequency in mega hertz
Cbc=3;//in pico farad
gm=Ic/Vt;//transconductance
//H Paramters are
hie=500;//in killo ohms
hfe=100;
hre=0.1;//
hoe=4*10^-5;// in ampere per volt
rbe=hfe/gm;// in ohms
rbc= ((rbe)/hre)*10^-3;//
x=h... |
253cdc62b7fb610942222239fc9fc17b96da1532 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH5/EX5.7.12/Ex5_12.sce | 55fa7c87e0b526546e541044923191ed1fa8afe6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | Ex5_12.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 5:Semiconductor Junction Diodes
clc
clear
V=35//V=supply voltage
Iz=25*10^(-3)//Iz=diode current
Il=5*10^(-3)//Il=load current
Vzo=7//Vzo=knee voltage of zener diode
rZ=6//rZ=dynamic resistance in ohms
Vz=Vzo+(rZ*Iz)//Vz=zener voltage
disp("V",Vz,"Vz=")
... |
d4da85336c1ff500b3c8079549cfa7afd50b50ed | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/houghlines.sci | c52bb7214fd5cc2671e620ab7972dcfa9ec64779 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 3,104 | sci | houghlines.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
ef367f021ce938a4a928eb869f84b6a5208bd485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH11/EX11.2/Ch11Exa2.sci | 51ab0367fc4c0d5a4bf24259ce5cf030a94c4db2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sci | Ch11Exa2.sci |
r= 2.4; //distance between centre of the protons, fm
r= r*(10^(-15)); //converting to m
e= 1.6*(10^(-19)); //charge of an electron, C
Po= 8.85*(10^(-12)); //Permittivity of free space, F/m
K=1/(4*(%pi)*Po); //constant, N.m^2/C^2
F= K*(e^2)/(r^2); //N
disp(F,"The repulsive force, in N, is: ")
//Result
// Th... |
8802a222c0c325f29782cb4330a09e6ce2b96b2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.41/4_41.sce | 89f2471a1e9b9eeda3c9015836486ae166ec4f82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | 4_41.sce | w=2
L=1
C=0.5
Xl=w*L*%i
Xc=1/(w*C*%i)
V=1
I=V/(1+%i)
Y=I/V
R=1/real(Y)
disp(R,Y) |
3e21bdb405ba931ff2bfae0389f55291389659d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.9/Ex1_9.sce | 309d47a96361c0a6afe2aab70c527149ed2c9c98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex1_9.sce |
clear
//
L=20//cm2
t0=20//kg/cm2
p0=5//per degree C
pm=16//kg
tm=32//degree C
a=0.03//cm2
al=11/(1000000)//per degree C
E=2.1*(1000000)//cm2
w=0.6//kg
ml=680//m
n=1
ct=al*L*(tm-t0)
printf("\n the temperature correction is %0.5f meters',ct)
cp=(pm-p0)*L/(a*E)
printf("\n the pull correction is %0.5f meters',cp)
... |
20f4f9ad2410a9d0d6af02914826f072e59e25f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH24/EX24.5/EX24_5.sce | a235639cb2fcb382e0b72ab5c433d7e7a90c0a5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX24_5.sce | //Chapter 24
clc
//Example 5
//given
n=1.6 //refractive index of plastic transparent layer
lambda=780 //wavelength of laser light in nm
//for destructive interference we have condition for minimn thickness 2t=lambda/2n
t=lambda/(4*n)
disp(t,"Pit depth in a CD in nm is")
|
3664980a535fafe7d048fda1fb2ce2dd53ff95f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH28/EX28.5/Ex28_5.sce | e36b0a2b0ac638a8a56e98832b92bd23bf19024d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | Ex28_5.sce | //chapter28
//example28.5
//page598
disp(" A B A` Y_dash = A`. B B` Y = Y_dash + B` ")
disp(" 0 0 1 0 1 1 ")
disp(" 1 0 0 0 1 1 ")
disp(" 0 1 1 1 0 1 ")
disp(" 1 ... |
ba1596bf28d3104d220a87ecb6f926fc7689684d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH3/EX1.3.7/Ex1_3_7.sce | e5d59fd9776daccf20902bc0228237542c516b50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_3_7.sce | //Section-1,Example-2,Page no.AC-242
//To calculate Temporary hardness of given sample of water.
clc;
V_1=25 //Volume of EDTA solution reqd. by 20 ml of standard hard water.
V_2=100 //Volume of water sample that requires 18 ml EDTA.
E_1=300/V_1 //weight of CaCO3 in 1mL of EDTA(mg).
Total_H=E_1*18*(1000/V_2) ... |
c1e5d65bc9cf3f0d78276d2c46fb4bcf8312e112 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.15/11_15.sce | 27a8dd8ec72af406e5e71fe65ea343c8539a0781 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,537 | sce | 11_15.sce | //pathname=get_absolute_file_path('11.15.sce')
//filename=pathname+filesep()+'11.15-data.sci'
//exec(filename)
//Atmospheric air temperature: 15C
//Steam generation: 40 bar, 400C
//Steam generated per kg of coal = 8 kg
//Feed water temperature at inlet to economiser = 27C
//Feed water temperature at exit of econ... |
bbfd5cc8eebdd2c268d992092534f563ad81d120 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /QC Combo.sce | e3ea048d1767e703be033f03f89ec7216dfc4bc7 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 25,433 | sce | QC Combo.sce | Name=QC Combo
PlayerCharacters=QC-Quaker RL KB
BotCharacters=Quaker Bot Passive.bot
IsChallenge=true
Timelimit=300.0
PlayerProfile=QC-Quaker RL KB
AddedBots=Quaker Bot Passive.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=pool.map
MapScale=3.8125
BlockProjectilePredictors=false
BlockC... |
fc94b657b3bf155faaa3a488f37e10af1eaa5bdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/cholesky.sce | b3911d495d54e8b8f95e003494fac14a113bed7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | cholesky.sce | function L=cholesky (A,n)
L=zeros(n,n);
for k=1:1:n
S=0;
P=0;
for j=1:1:k-1
S=S+(L(k,j)^2);
P=P+L(i,j)*L(k,j)
end
L(k,k)=sqrt(A(k,k)-S);
for i=k+1:1:n
L(i,k)=(A(i,k)-P)/L(k,k);
end
end
endfunction |
fab0db23cfa7b287cbdc112ad6224d558ff8f1b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.26/4_26.sce | 7a925027ef9b9cfb0e2839045dea87fac38d21bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | 4_26.sce | clc
clear
//Initialization of variables
ma=500 //kg/h
cp1=3.2 //kJ/kg K
ta=20 //C
mb=200
mc=300 //kg/h
cp2=2.8 //kJ/kg K
tc=80 //C
tb=80 //C
me=50 //kg/h
te=120 //C
td=120 //C
hg=503.7
he=2706.3
//calcualtions
Ws=(mb+me)*hg + mc*cp2*(tc) - me*he -ma*cp1*(ta)
//results
printf("Net work done = %d kJ/h"... |
ab1a4c289196b82c8924426357850f5c6d8d23ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH15/EX15.3/Ex15_3.sce | 853a15d86cf3cd7db7e13d5684a8ef31a1401509 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Ex15_3.sce | //Example 15.3
Q_h=2.5*10^14;//Heat transfer from coal (J)
Q_c=1.48*10^14;//Heat transfer into the environment (J)
W=Q_h-Q_c;//Work done (J)
printf('a.Work done by the power station = %0.2e J',W)
Eff=W/Q_h;//Efficiency
printf('\nb.Efficiency of the power station = %0.3f or %0.1f%%',Eff,Eff*100)
q=2.5*10^6;//Heat... |
a7ee8e71c3c7f68e2180de62b93e85062fac73e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH20/EX20.1/20_1.sce | 11d71872d1a0e432f4719de4e4a2654a59bdcb24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 20_1.sce | clc
//initialisation of variables
R= 0.082 //l-atm deg^-1 mole^-1
T= 25 //C
V= 85*10^-6 //l-atm g^-1
//CALCULATIONS
M= R*(273+T)/V
//RESULTS
printf ('average molecular weight of this polystrene = %.f g mole^-1',M)
|
21e4d49346f174972a0592bcd073fcd48ab822f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH1/EX1.5/ex1_5.sce | 830b104fcc6521b6712f53ab41f5a9d88ffacdba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | ex1_5.sce | // Exa 1.5
clc;
clear;
close;
// Given data
B_h = 755;// Barometric height in mm
M_h= 240;// Manometer height in mm
P = B_h+M_h;// in mm
P = P/750;// absolute pressure in bar
P= P*10^5;// in N/m^2
disp(P*10^-6,"The absolute pressure in the vessel in MN/m^2 is");
disp(P*10^-5,"The absolute pressure in the ve... |
e77a76a79fcb064ea12a2538ddd046bf6d1f9355 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH7/EX7.10/7_10.sce | 1a6709425b0c1c89e851adcdaf66e3ca5fac4720 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | 7_10.sce | //To find velocity and resisting torque
clc
//Given:
NAD=100 //rpm
TA=50 //N-m
DA=300/1000,CB=360/1000,AB=CB,DC=600/1000 //m
eta=70/100 //%
//Solution:
//Refer Fig. 7.25
//Calculating the angular velocity of the crank AD
omegaAD=2*%pi*NAD/60 //rad/s
//Calculating the velocity of A with respect to D
vAD=omeg... |
089bf960197d40c63c6bfdc0ba3a58e1456d09ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /196/CH5/EX5.4/example_5_4.sce | b0d925edeb1b03ee49ab391716f1b071f504825b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_5_4.sce | //Chapter 5
//Example 5-4
//ProbOnZenerCurrentAndVoltage
//Page 125,126, Figure 5-3(a)
clear;clc;
//Given
Vo = 10.3 ; //Voltage across the load resistor
Ei = 5 ; //Input voltage
Ri = 1*10^3 ; //Input Resistance
//Example 5-4(a)
I = Ei / Ri ; //Zener Current
printf ( "\n\n Zener Current = %.4f A", I )
//Exa... |
96570c88d9a2994ce615761ee5cbe204194ee59e | d0ae33963d74821bd5431610a631245d4d389c10 | /lab06/crescPop.sci | e93f3d7011442cc01bc5dc8db186ec3f5f2a6a2d | [] | no_license | alexandrempierre/ala | 09de761c6a7e84445fb28e1eae06f3911dfa3284 | 2f9b6e9f57954d29a670167aadd8baa63796be09 | refs/heads/master | 2016-08-12T06:39:39.116391 | 2016-01-29T14:31:21 | 2016-01-29T14:31:21 | 49,913,312 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,979 | sci | crescPop.sci | // Nessa funcao assumo que os valores em p0 sao em unidades (1000000) e nao em milhoes (1)
function [] = crescPop (p0, k)
a = gca()
// a.isoview = "on"; // preciso quebrar a simetria entre os eixos de modo que apareçam 30 unidades em X e um numero potencialmente muito alto em Y
L = [
0, 0, 45 ; ... |
0f08596902c9f18e8309df9261b720f990100fc1 | 2c2dc93267283e4aebcffffd5bd76e19ddcf5cc7 | /output/KNN/resultadoKNN2.tst | 63d353c73a1c617342f07755b0b597df53eeb081 | [] | no_license | joseangeldiazg/probabilistic_keel | c9cf4ddc2cf750cbbeca88e6f84218084892ae1f | 6c5ddf8c98cc7431d523b291e521d1e8607dc662 | refs/heads/master | 2020-05-21T12:26:41.754863 | 2017-01-08T10:29:44 | 2017-01-08T10:29:44 | 55,733,275 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | tst | resultadoKNN2.tst | @relation ecoli
@attribute Mcg real [0.0, 89.0]
@attribute Gvh real [1.0, 88.0]
@attribute Lip real [1.0, 48.0]
@attribute Chg real [1.0, 5.0]
@attribute Aac real [0.0, 88.0]
@attribute Alm1 real [1.0, 94.0]
@attribute Alm2 real [0.0, 99.0]
@attribute Site {cp, im, imS, imL, imU, om, omL, pp}
@data
cp pp
cp cp
cp cp ... |
d437c3c90bf9cb8d102ad76361d3f5651f0b75cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH4/EX4.9/Ex4_9.sce | 821e44c8861fc676f2698b2895e750796b57f534 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Ex4_9.sce | //Example 4_9
clc;funcprot(0);
//Given data
Q=30;//m^/sec
H=7.5;// m
n_t=0.85;
N=50;///r.p.m
Sr=0.85;//Speed ratio
g=9.81;//The acceleration due to gravity in m/s^2
//Calculation
w=1000*9.81;// N
P_t=(w*Q*H*n_t)/1000;// kW
N_s=(N*sqrt(P_t))/(H)^(5/4);//Specific speed
if(N_s>=174)
printf('\n (a)As N_... |
d0bf471cc5e5c7db5582ff3d29cca7b4f1232f3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.16/15_16.sce | 21cf21c99ed59054d293f745def3508b3084506e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sce | 15_16.sce | //Chapter 15, Problem 16, Fig 15.16
clc;
V=40; //supply voltage
f=20e3; //supply frequency
R1=8; //resistance in ohm
L=130e-6; //inductance in henry
R2=5; //resistance i... |
d3dd8b6d7c7f0635a22d41b6758fae034721261b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH9/EX9.19/ex9_19.sce | 02d5a9fe847cfdedf48e9e1802596abb1c7a7204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex9_19.sce | //Page Number: 498
//Example 9.19
clc;
//Given
n=0.1;
Vdc=100; //V
Idc=0.9; //A
t=0.01D-9; //s
f=16D+9; //Hz
//(i)Power output
Pdc=Vdc*Idc;
Pout=n*Pdc;
disp('W',Pout,'Power output:');
//(ii)Duty cycle
D=(t/2)+(1/(2*f));
disp('s',D,'Duty cycle:');
|
e45fe13e35bcecd7d1a850495a8f82d3fa8ee75d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH12/EX12.2/Ex12_2.sce | ca4f2dad5326a625a04e7599a46acb6ca015aed9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 982 | sce | Ex12_2.sce | //fiber optic communications by joseph c. palais
//example 12.2
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
//from example 12.1
lambda=0.82//wavelength in um
ER=10^-9//Error rate
datarate=100//dta rate for RZ system in Mbps
NRZ_Qpl=-63//powerl level for NRZ in dBm
NRZ_TL=-36//thermal l... |
f5ce03f52d53c544a9c131eb427fd129b760041f | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/vpw-pizzabonnen/run-me-first.sce | 6effd5b5615cd4f79970c83fb377ac15a7f4cb45 | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,747 | sce | run-me-first.sce | funcprot(0)
test_cases = list()
test_cases($+1) = struct('input', struct('pizzas', [5], 'bonnen', [0,1]), 'output', struct('prijs', 0))
test_cases($+1) = struct('input', struct('pizzas', [5,2,1], 'bonnen', [0,1]), 'output', struct('prijs', 3))
test_cases($+1) = struct('input', struct('pizzas', [5,2,1], 'bonnen', [1,1])... |
ee26eb29dde77ffaca9eafc9695d24eb0eeee99f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH3/EX3.2/Ex3_2.sce | 1ea2fc8fa6259a52820cdb2fbd79743d96856853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | Ex3_2.sce | //chapter3
//example3.2
//page49
mu=20
rp=8000 // ohm
gm=mu/rp // since mu=rp*gm
gm_micro=gm*10^6 //micro mho
printf("mutual conductance of triode = %f mho or %.3f micro mho",gm,gm_micro)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.