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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
601fd18d1cd050cb8a4e6c9e52452b2bdc01b8fa | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0003.tst | fafa2f3ea2cc58ebffc98714bf5a2650c1d71aef | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 585 | tst | 0003.tst | SplIttER LjmS {}
fiLTEr L { }
FILTeR L {E }
u -> jmr
gRoupEr Q {moDuLE lx{ } aGGREgaTE maX(dhWd.aE) AS qO ,SUm(u.k) AS a ,F ,BITand(HIX.hZ) as aIWTbJ ,ON.dy ,W ,v.pDr }
UngROUPER GiiByS { }
GROupFILTER QzHiH {not BItANd ( bITaNd ( ::d, ), ) << oR Not l ( ) NOt bItAnD ( ) 5 << mHo OR noT 254.216.130.254... |
4135bdf3f4a0e3e925e03255bbc2cf0b4b2153f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH7/EX7.11/ch7_11.sce | e0122c220735c34c7fcbb207bd133f2c8f06dcba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,222 | sce | ch7_11.sce | clear;
clc;
R=1;
L=.005;
T_a=L/R;
T=2000*10^-6;
E=24;
V_s=220;
T_on=600*10^-6;
a=T_on/T;
a1=(T_a/T)*log(1+(E/V_s)*((exp(T/T_a))-1));
if(a1<a)
disp("load current in continuous");
else
disp("load current in discont.");
end
I_o=(a*V_s-E)/R; printf("avg o/p current=%.0f A",I_o);
I_mx=(V_s/R)*((1... |
5e3d73d5ba112a09c7995f17617b34f53ad8abdd | 477abd9cafd593820f8c911ce94b35c93acd69d3 | /LINE_CODING.sce | 4584f16b713cb5599a030fb2440cef46dc6cd23b | [] | no_license | khan2810/Scilab-Solver | 67cba0bcc29e7e93418c164393c6977ee632fe2f | 3636341eeefa62bf2fb690fcd9046e48de7eb1a1 | refs/heads/main | 2023-05-30T17:36:59.061148 | 2021-06-14T15:25:47 | 2021-06-14T15:25:47 | 376,855,785 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,487 | sce | LINE_CODING.sce | clc;clear
N=input("enter the number of bits:")
n=input("enter bit sequence(in a single row matrix format):")
pw=input("enter pulse widht(in msec):")
printf(" 1.for unipolar NRZ \n 2.for unipolar RZ \n 3.for polar NRZ \n 4.for polar RZ \n 5.for bipolar NRZ \n 6.for bipolar RZ \n\t")
typ=input("Enter choice:")
se... |
44543e8b48106d1368f158dc583e3780eeb34150 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH23/EX23.12/ex12.sce | 92920b093d9b514c308486e6b6b54dd5bfb51eee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | ex12.sce | clear
clc
disp('the first row of A denotes the no. of persons falling in the weight group starting from (70-80)...till (140-150)')
A(1,:)=[12 18 35 42 50 45 20 8];
disp('the second row denotes cumulative frequency')
A(2,1)=12;
for i=2:8
A(2,i)=A(2,i-1)+A(1,i);
end
disp('median falls in the class (110-120)... |
e0907eaa2da5c41028f2e89739e59babb11f424a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH1/EX1.2/Ex1_2.sce | 9755685b4295d27d17a9c62a914f812407a02e67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Ex1_2.sce | clc
// initialization of variables
clear
sigma=500 // Stress M Pa
eps=0.0073 // Strain
sigma_A=343 // M Pa from figure 1.9
eps_A=0.00172 // from figure 1.9
// part (a)
E=sigma_A/eps_A
// part (B)
eps_e=sigma/E
eps_p=eps-eps_e
// results
printf(' part (a) \n')
printf(' The modulus of elasticity of the ro... |
ad412e55bec93ec4db6ba3f61c1ff84f1ecabc1b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_choices.sci | 104a583b3c99115cc5694d96f29675dc3501e9ca | [
"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 | 303 | sci | sci_choices.sci | function [stk,txt,top]=sci_choices()
// Copyright INRIA
RHS=[]
for k=1:rhs
nam=stk(top-rhs+k)(1)
RHS=[RHS nam]
end
num=gettempvar(1)
txt=['while %t;'
num+'=x_choose(labels,header,''Close'')'
'if '+num+'==0 then break,end'
'execstr(callbacks('+num+'))'
'end']
stk=list(' ','-2','0','0','1')
|
e7260848f997c7829711ced0c239194a4b4a357d | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH3/EX3.15/15.sce | 1976725e3ad46d0962ed0a584c65cf9115bec292 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | 15.sce | clc
p=120; //bar
v=0.01721; //m^3/kg
T=350; //°C
disp("Temperature=")
disp(T)
disp("°C")
h=2847.7; //kJ/kg
disp("specific enthalpy=")
disp(h)
disp("kJ/kg")
u=h-p*v*10^2; //kJ/kg
disp("Internal energy=")
disp(u)
disp("kJ/kg") |
87d6d769a722ccbc6627e97287fac36ef8f1c337 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/redef_enc_02.tst | 4df959d644d86bc7a297c559c02c0dd6690a9ce1 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | tst | redef_enc_02.tst | // @Harness: verifier
// @Purpose: "Test for redefinitions of format"
// @Result: "RedefinedFormat @ 7:10"
architecture redef_enc_01 {
format F = { a[3:0] }
format F = { a[7:0] }
}
|
8224a4939ca870d93b3a61ac942efd7aec08c38e | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /FIR_filter_original.sce | 81e9f63d0b484c0a6c140eb7f8709b2c201cf186 | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,539 | sce | FIR_filter_original.sce | Design a digital FIR low pass filter with following specifications.
a) Pass band cut-off frequency :0.3π rad
b) Pass band ripple :0.25 dB
c) Stop band cut-off frequency :0.45π rad
a) Stop band attenuation : 50 dB
I step: Choose an appropriate window function from the stop band attenuation
specification.
As rs = 50 dB ... |
5b6486e5fff64145be91c6e5169e84bc8d64e7cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH14/EX14.15/Ex14_15.sce | c37c409723c0d1662c5dc734d68ed88d773e2d24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_15.sce | clc;
CoutM=0.000000000006;
CL=0.000000000720;
rC=4000;
f2C=1/(2*3.14*rC*(CoutM+CL));
disp('kHz',f2C/1000,"f2C=")//The answers vary due to round off error
|
87c4b3e23d2f3d08f98361a3b85af4f9661c7f78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH19/EX19.1/Example1.sce | 4e2e133132b0d8db8d4538177d023ac4819cf444 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,415 | sce | Example1.sce | clear
pwd
curr=ans
flag=1
mode(-1)
clc
disp("INSTRUCTIONS : ")
printf("\nHere all instructions are preloaded in the form of a demo\n\nInitially the whole perl script is displaying and then \n the result of the same can be seen in the command line interpreter.\nPLEASE MAKE SURE THAT THE PERLSCRIPT INTERPRETER\nEXIST... |
e2177f1b5cbaca8dc06316e7a531f54ce537610d | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH7/EX7.39/example739.sce | 4eca0d008870b9de5c1870d7aa66cde4999f6500 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example739.sce | //Example 7.39
clc;
syms z n a;
x1=(a^n);
X1=symsum(x1*(z^-n),n,0,%inf);
X=(-z)*(diff(X1,z)); |
baf72c0e0a4294ba8ec9795e7b5c6c167c6a8c12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH11/EX11.2/example_11_2.sce | 2b4ff57f532afac6f2b3f93e627e2befb55f949a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,636 | sce | example_11_2.sce | clear;
clc;
disp("--------------Example 11.2---------------")
//explain the example
printf("This is an example of communication using the Stop and Wait protocol. It is still very simple. The sender sends one frame and\nwaits for feedback from the receiver. When the ACK arrives, the sender sends the next frame. Send... |
206927b55d826e53a875baae078182efcfc5d63a | 953c29c95b40d5e8952eb7738a8bfcf17e4741ca | /Shape Drawing/square rotation.sce | 38afffed2566d71fb38baa402cc89ab628e2599f | [] | no_license | danielzonn/Trippy-Shape-Drawing | 63871210fc8cda0546e3cd43b67df48425f2d69b | 7108b40c2b11c1bd27277bad4556f0a5f8e0c37f | refs/heads/master | 2023-08-14T07:39:06.678421 | 2018-12-27T18:51:45 | 2018-12-27T18:51:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,391 | sce | square rotation.sce | clear
A = [0,0];
B = [10,0];
C = [10,10];
D = [0,10];
array1=[A(1);B(1);C(1);D(1)];
array2=[A(2);B(2);C(2);D(2)];
figure(1)
plot(array1,array2)
for i=0:0.5:10
p1=array1(1)+i;
q1=array1(2);
r1=array1(3)-i;
s1=array1(4);
p2=array2(1);
q2=array2(2)+i;
r2=array2(3);
s2=array2(4)-i;
... |
e1463c27c9b05fa1b68a171771f39d5dc543cf78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH9/EX9.7/Aerials_Ex_9_7.sce | a4ffd99607762e2aa2ae07e07f8031df6b5382c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | Aerials_Ex_9_7.sce | clc
//Chapter9
//Example9.7, pageno 400
//Given
//b
n=10// no of aerial elements
lambda_d=2//
BeamWidth=2*lambda_d/n// Beamwidth
mprintf('The angular width is %f degrees',BeamWidth)
|
44440898d656691806f683c8da12d7f959eae825 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH1/EX1.7/1_7.sci | 8d134f4985d3aae186f4c7503b602f4b1e136f82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sci | 1_7.sci | clc();
clear;//To calculate the output power of the sound source
r=3; //distance in m
I=0.86; //Intensity of sound source in W/m^2
P=4*(%pi)*r^2*I //Power of the sound source
printf("The output power of the sound source of intensity 0.86 W/m^2 at a distance o... |
6c4c283115c4777941e9c9d3d6c7e7eca7b6ae25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.46/5_46.sci | 1dd0e456c1c27472d5eb3f51ae7e95b4a6168ba3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 5_46.sci | //
clc;
R=10^6;
C=2500*10^-12;
tc=R*C;
t=2*10^-3;
d=100*10^-12;
F=0.1;
el=10^3*{d*F*[exp(-t/tc)]/C};
disp(el,'voltage just before t=2ms (mV)')
el_after=10^3*{d*F*[exp(-t/tc)-1]/C};
disp(el_after,'voltage just after t=2ms (mV)')
disp('when t=10ms')
t=10*10^-3;
T=2*10
e_10=10^3*{d*F*[exp((-T/tc)-1)]*{exp(-... |
9b850773509b538e552a7159cde5c5b3dba75933 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH3/EX3.1/Chapter3_Example1.sce | 1c809f3ab5ef9eaf41070d173b94222af586844d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter3_Example1.sce | //Chapter-3, Example 3.1, Page 3.6
//=============================================================================
clc
clear
//INPUT DATA
N=900;//Rotor speed in rpm
f=50;//Power supply frequency in Hz
P=6;//No. of poles
//CALCULATIONS
Ns=(120*f)/P;//Synchronous speed in rpm
s=((Ns-N)/Ns)*100;//%slip
f1=... |
c7fb41b1b12547c27440030d801df13a22e9f24d | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH8/EX8.3/example8_3.sce | 697918bd0e41212ab485b857d71279ae47b70a62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example8_3.sce | disp('chapter 8 ex8.3')
disp('given')
disp('Design an integrating circuit to produce a triangular output wave form')
disp('peak to peak amplitude of v=4volt') //(using a BIFET op-amp)
v=4
disp('The input voltage Vi=+or-5volt square wave with frequency of 500Hz')
Vi=5
f=500
disp('C1>stray capacitance')
disp('le... |
939c60abb3cf97dd2c67b78e6206978ce811b0af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH1/EX1.10/Ex1_10.sce | 83dcd27b5d231cf7a8c336fa057409abd8ede693 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ex1_10.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 1 Introduction to Electronics Pg no. 33
//Solved Problem 3
clear;
clc;
//Given Data
R=120;//resistance in ohms
P=1000;//power in watts
//Solution
I=sqrt(P/R);//current in amperes
printf("I=%.2f Amperes.",I);//Displaying upto 2 places of decimal
|
85bf963a7250a59c621703d4680ddd9040231faf | b412360a5393e117e74453519c55968117ef7c7e | /REGRESSIONTESTS/breton.tst | e244da392d49e96af22ba4823b1b886a767eee8e | [] | no_license | thomas-maeder/popeye | 36be3f54f8a7eea15b52a30cf23e455ed6ff44f8 | 732b721df67295b2c6a1c2ca00e87979f39cc0c9 | refs/heads/develop | 2023-09-05T13:06:45.846081 | 2023-08-31T02:59:55 | 2023-08-31T02:59:55 | 38,768,803 | 38 | 23 | null | 2023-09-14T18:35:27 | 2015-07-08T17:21:43 | C | UTF-8 | Scilab | false | false | 2,787 | tst | breton.tst |
+---a---b---c---d---e---f---g---h---+
| |
8 . . . . . . . . 8
| |
7 . . . . . . . . 7
| |
6 . . . . . . . . 6
| |
5 . . . ... |
8fb51d627704d9649306a20ec6873661d98f6db2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH11/EX11.7/Ex11_7.sce | a92cddd06c5c505025cb96a012d5c100becdd042 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex11_7.sce | //Ex11_7
clc
RL = 3.6*10^3//output impedence of power amplifier
RL_dash = 4//resistance of speaker
n = (RL/RL_dash)^.5//turns ratio
disp("RL = "+string(RL)+"ohm")
disp("RL_dash = "+string(RL_dash)+"ohm")
disp("n = RL/RL_dash = "+string(n))
disp("turn ratio = "+string((numer(n)))+": "+string(denom(n)))
|
78f97efd566046ec5a8b56618558d485e4fa26a5 | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp1/fact.sci | 9f4b0c06a40602ccfd81c647490d15d6e401621a | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sci | fact.sci | function [f] = fact (n)
//cette fonction calcule la factorielle d'un nombre entier
if (n-floor(n)~= 0 | n<0)
error("erreur dans fact : l""argument doit etre entier");
end
if n==0
f=1;
else
f = prod(1:n)
end
endfunction
|
c42863fb8903fdaa9ed0f8d7e331ecea72520dec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH6/EX6.1/LS_ex.sce | 25b3076d71673a08603c556ee040825a2ea2fee8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | LS_ex.sce | // Least squares solution of the simple problem discussed in Example 6.4 on page 164
// 6.1
Mag = 10; V = 10; No_pts = 100; theta = 2;
Phi = Mag * (1-2*rand(No_pts,1));
E = V * (1-2*rand(No_pts,1));
Z = Phi*theta + E;
LS = Phi \ Z
Max = max(Z ./ Phi), Min = min(Z ./ Phi)
|
734257202347a421198fd7fcbf2d295afb0121d5 | 3cedb1104a9674a8568a4657121172f9fd652869 | /Common.Entities/Enums/Enums.tst | e93e289e801f9872b25417516f3e58428ba6c487 | [] | no_license | blyzer/Common | e9f8d9576df30e662f8f03334198ca2c77d093b9 | ee6feb537114473583e2e04ad1bb1dc6c6f27ec3 | refs/heads/master | 2022-02-12T13:13:27.698721 | 2018-07-27T19:24:20 | 2018-07-27T19:24:20 | 140,341,338 | 0 | 0 | null | 2019-06-04T06:51:51 | 2018-07-09T20:56:27 | CSS | UTF-8 | Scilab | false | false | 3,069 | tst | Enums.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
// Uncomment the constructor to change template settings.
Template(Settings settings)
{
settings
... |
cda2f729b38ed904c07f8419b2603f759eff63f5 | b5161b3e95abc0ee9e0d391fd7c75fe1e814c294 | /bersync.sci | 400990ff3bc524cff254edf8c8434f54c9a13d57 | [] | no_license | Ramas31/Toolbox_Scilab | e9a6a2a9137109642670790853caaae01e3b4148 | e6a82271a3e2c9d700bfd7b4c338d214cc745ace | refs/heads/master | 2021-01-10T16:12:00.086538 | 2016-03-26T21:08:24 | 2016-03-26T21:08:24 | 54,794,357 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,307 | sci | bersync.sci | //Implementation of Matlab function bersync() in scilab
//
//Name: Rama Shanbhag
//Institute: National Institute of Technology Karnataka Surathkal
//Email: ramashanbhag31@gmail.com
//
//Function: bersync()
//out=bersync(EbNo,timerr,law)
//
//Input arguments:
//EbNo: the ratio of bit energy to noise power spectral densi... |
a855f157a4b0585b64f916a9d28629686f5fc693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH23/EX23.11/Ex23_11.sce | 9745c557ef085e37f845e6845ed89454e8cda60e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | sce | Ex23_11.sce | clc;
VZ=5.1;
VBE=0.7;
RE=1.2*10**3;
B=200;
I=(VZ-VBE)/RE;
disp('mA',I*10**3,"I=");
|
e5260f5438cbbd29649a7ed43836b5300a372ac6 | f782561b1f8fe3d916355f7823306c0ddfcd4e1c | /Assignment 4/MultiplierCSAUnsigned8bit/MultiplierCSAUnsigned8bit.tst | b6d3818ad4653a2163993802eec3399815351c7b | [] | no_license | rohit01010/Computer-System-Design | 17866493199ecea3e65c15558d6e598b552fd537 | 24609e7712e0f996ebc468c7d45d5cfafad0da87 | refs/heads/main | 2023-06-21T21:28:29.274768 | 2021-07-19T16:23:52 | 2021-07-19T16:23:52 | 387,509,305 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | tst | MultiplierCSAUnsigned8bit.tst | load MultiplierCSAUnsigned8bit.hdl;
output-file MultiplierCSAUnsigned8bit.out;
output-list x%B1.8.1 y%B1.8.1 out%B1.8.1 of;
set x 13,set y 15,eval,output;
set x 4,set y 47,eval,output;
set x 53,set y 8,eval,output;
|
bbb943b0025cf5588e90ea2066a0a8f786c425d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH2/EX2.8/Ex2_8.sce | d0205c58dc69b2b3b22733bd604edbc85e9ed13b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,294 | sce | Ex2_8.sce | // Theory and Problems of Thermodynamics
// Chapter 2
// First Law of Thermodynamics
// Example 8
clear ;clc;
//Given data
V1 = 1 // one compartment volume in m^3
T1 = 300 // first compartment temperature in K
P1 = 0.1 // first compartment pressure in MPa
V2 = 2 // ... |
bcb539cdfcbdb578a59b5748c2cab61f405a7234 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.19_8.tst | 7c2b5300ccd182dbd460fc1ff5bb6d642db1dd49 | [] | 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 | 421,694 | tst | 5.19_8.tst | 19 617:1 1307:1 1472:1 1588:1 1868:1 2127:1 2152:1 2248:1 3528:1 3667:1 4051:1 4453:1 4567:1 4839:1 4938:1 5233:2 5247:1 5281:1 5462:1 5563:1 5677:1 6287:1 6621:1 7354:1 7401:1 7467:1 7871:1 8427:7 8780:1 9238:1 9645:1 10437:1 11402:1 11420:1 11565:1 11566:1 12359:1 12962:1 13457:1 13872:1 14516:1 14652:1 15699:1 16077... |
4001058bcaa4de200186a310b149e03d029048d7 | fcc4645d4eee021a4cf8b2cee0922d812710573f | /frame/macros/library.sce | e8c206489b6f47bcda98635a3ba256bef03d0509 | [] | no_license | gviolato/nemo | 656a6db0481d9828bff307de24ee0b92045d653f | 44cf1554de9e1c4bc8450ae147bdec512599e0d9 | refs/heads/master | 2020-12-29T02:37:17.515209 | 2017-05-28T16:12:49 | 2017-05-28T16:12:49 | 43,207,682 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | library.sce | //Sub-routine to gather the function files
exec(pwd()+'\macros\plottruss.sce');
exec(pwd()+'\macros\solve_truss.sce');
exec(pwd()+'\macros\refine.sce');
exec(pwd()+'\macros\Properties.sce');
|
7539829a2af69f0d49d9b44e5aaaedd5c21731eb | df82401a4fbb64f37b3ed00aa17d82600996f811 | /integracao - trapezio.sce | c3abcc6e58e7803f88e11cbee6851871b9595e51 | [] | no_license | ItaloOliveiraF/Algoritmos | 9600fa8e95fed942414250e92e93286320548795 | ff32fb26414e14d7b55b39cba7025eb2f844ea5b | refs/heads/master | 2020-04-04T19:11:32.124542 | 2018-10-26T02:59:35 | 2018-10-26T02:59:35 | 156,195,729 | 1 | 0 | null | 2018-11-05T09:56:50 | 2018-11-05T09:56:49 | null | UTF-8 | Scilab | false | false | 375 | sce | integracao - trapezio.sce | clear;
clc;
// Definição da função f(x)
function y = f(x)
y = log(x) - 1
endfunction
// Implementação Trapézio
function [I] = Trapezio(a, b, n)
h = (b-a)/n;
x = a:h:b;
y = f(x);
I = y(1);
for i=2:n
I = I + 2*y(i);
end
I = (h/2)*(I+y(n+1));
endfunction
... |
a116fc8aa1c04914ae7c38d1255cf1716ca0847e | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH2/EX2.8/Ex2_8.sce | a69a4031521ce801d011b8e7a9559f7b3d3d708a | [] | 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 | 303 | sce | Ex2_8.sce | //Variable declaration
l=[0.6,1.2,0.9,1.0,0.6,0.8] //list of delay times
k=0
//Calculation
Mean= mean(l)
for i = 1:length(l)
k = k + (l(i)-Mean)^2
end
ssquare = k/(length(l)-1) // Sample Variance (in minute square)
//Results
printf ( "Sample Variance : %.3f (minute square)",ssquare)
|
3e3aee37739a7d8c8a2ddc81e636250b225249ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH4/EX4.8/ch4_8.sce | 5b284b7017b87e610c747fbc92ac9945aa8dfa54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | ch4_8.sce | //To determine the ABCD parameters of Line
clear
clc;
yl=(0.2714+ %i*1.169)*120*(10^-3);
Ir=40*1000/(sqrt(3)*132*.8)
A=cosh(yl);
phase_A=atand(imag(A)/real(A));//Phase angle of A
IR=Ir*(cosd(-36.8)+ %i*sind(-36.8))
Vr=132*1000/sqrt(3);
Zc=380*(cosd(-13.06)+ %i*sind(-13.06));
B=Zc*sinh(yl);
phase_B=atand(imag... |
89faf672fa2bfe3cf54a6d50b473af9e15348d8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH14/EX14.19/Ex14_19.sce | b0b6503bfc66aa6df4688282f1f4359bd4db87c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | Ex14_19.sce | clc
// given data
Co=120000.0 // cost in Rs
N=5 // useful life
T=40/100.0 // tax rate
i=9/100.0 // interest rate
Earning=[33000.0,35000.0,37000.0,39000,41000.0]
Depreciate=Co/N // depreciation in Rs
pretax=zeros(5)
discshfl=zeros(5)
for x = 2:6
pretax=Earning(x-1)-Depreciate
tax=0.4*pretax
... |
db3fdfeae02ea535662585ae4f80664ffa9873d7 | 494b677053e1199325a80808377463794e1003e5 | /experiments/ripper/results/Ignore-MV.Ripper-C.vehicle/result1s0.tst | 9b1ac3224c1668fcd6369ee3d9ad666dd53e0022 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,878 | tst | result1s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attr... |
a24b942745e50f8112b621dbfee7fd6abb072091 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH3/EX3.8/Ex3_8.sce | fa93732d52cab0bf5efcb63fda24cde69394a6d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Ex3_8.sce | //Initilization of variables
F1=50 //lb
F2=100 //lb
theta1=((45*%pi)/180) //radians
//Distance from point O
x1=5 //ft
x2=4 //ft
//Calculation
F_x=F1-(F2*cos(theta1)) //lb
F_y=F1-(F2*sin(theta1)) //lb
R=sqrt(F_x^2+F_y^2) //lb
M_O=F1*x1-(x2*F1) //lb-ft
//Applying Varignons Theorem
x=M_O/R //ft
//Result
clc... |
39ee7ecb188e50ded2de68913ece0a93e2408af9 | f891f5aed2e66371488173c2b9c4e8f977a9f64a | /UL 1741 SA/Tests/VoltVar/UL1741_Test_2.tst | 2838c8b5dada7492b4ea68fa503c5f2a93637038 | [] | no_license | jakedm/svp_directories | d9b85c41b45a3ded7572f9f730e8d1efc8515099 | 19272f8784baabf83e197778768933aef015432c | refs/heads/master | 2021-01-18T18:08:29.224016 | 2017-01-16T20:09:35 | 2017-01-16T20:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,839 | tst | UL1741_Test_2.tst | <scriptConfig name="UL1741_Test_2" script="VoltVar">
<params>
<param name="invt.posttest_delay" type="int">1</param>
<param name="vv.settings.curve_num" type="int">1</param>
<param name="vv.settings.test_num" type="int">2</param>
<param name="vv.settings.v_deadband_min" type="int">2</param>
<param... |
35e884e57ad7db1925c983d7b2349ee9c6f75b57 | e806e966b06a53388fb300d89534354b222c2cad | /macros/imboxfilt3.sci | cf2743813b21b1b66735dc841ab1f7653cabbed8 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sci | imboxfilt3.sci | //1) box_filtered_image = imboxfilt3(input_img);
//In this usage, the default filter size of 3x3 is used.
// 2) box_filtered_image = imboxfilt3(input_img, filter_height, filter_width);
function[dstMat] = imboxfilt3(srcImg, varargin)
[lhs, rhs] = argn(0)
srcMat = mattolist(srcImg)
select rhs
case 1 then
... |
f953d781c2d844564992ef34cf3c49d9db05a9ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH8/EX8.4/Ex8_4.sce | 07657fc4bceafa96a88773914e68d211a6899edf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex8_4.sce | // chapter 8 , Example 8.4 , pg 239
H=1800 //magnetizing field (in A/m)
phi=3*10^-5 //magnetic flux (in Wb)
A=0.2 *10^-4 //area (in m^2)
B=phi/A //magnetic flux density (in Wb/m^2)
u=B/H //permeability (in H/m)
printf("permeability (in H/m )=")
disp(u)
|
cae8c05303aaaea8fc9a6c9bfd09aaaff157aa8f | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/snoepjes/edit-me.sce | 4207b4a5a246c2f8277944eca8759f632b588624 | [] | 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 | 469 | sce | edit-me.sce | function [extra] = solve(candy,kids)
// Bereken hoeveel snoepjes er bijgekocht moeten worden opdat iedereen er evenveel kan krijgen.
if kids > candy then
if candy == 0 then
extra = 0
else
extra = kids - candy
end
else
kids1 = kids
while kids1 <... |
9001d0d47a57e401899856ac4e8aebeb8407daf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH14/EX14.2/Ex14_2.sce | 465af125e20c973f53412fbdd51ccb3f3b4229c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,712 | sce | Ex14_2.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 14.2
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
V=220; //Supply voltage in kV
... |
582e038ba9ed1657bfb956420a5d2a0be413cca7 | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/aliasing_tempo.sci | fe6424c106d7012227776e5071ade3ab38057c9c | [] | 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 | 522 | sci | aliasing_tempo.sci | function aliasing_tempo(f1,f2)
clf;
T=2.5
t=[0:0.001:T];
fs=64;
N=T*fs;
n=[0:N-1];
ts=n*(1/fs);
m=[-N/2:N/2-1];
ms=m*fs/N;
x=sin(2*%pi*f1*t)+0.5*sin(2*%pi*f2*t+3*%pi/4);
xn=sin(2*%pi*f1*ts)+0.5*sin(2*%pi*f2*ts+3*%pi/4);
Xn=fft(xn);
subplot(121)
plot(t,x)
plot2... |
cc1c65165f35096b684ed1e119579897f796504d | c5a5b51d0d9d4bb57cc4508c2ffc453ccf47aeba | /gftrunc/gftrunc.sci | 1e8b00cdd457993403bd92ee40a3502decc984a6 | [] | no_license | PolaPriyanka/ScilabCommunication | 2adca45f772b2ca6a602e10e4801576eeb0da33d | 5b5c704e591f20be6944800a1b4b25cf06f56592 | refs/heads/master | 2021-01-01T18:22:48.761766 | 2015-12-16T07:26:29 | 2015-12-16T07:26:29 | 42,721,104 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,174 | sci | gftrunc.sci | function at=gftrunc(a)
// GFTRUNC function is used to truncate the higher order zeroes in the given polynomial equation
// A is considered to be matrix that gives the coefficients of polynomial GF(p) in ascending order powers
// Example: A = [1 2 3] denotes 1 + 2 x + 3 x^2
// AT=GFTRUNC(A... |
9149e8763ac2998d05a4bad747f0e8d560776e9b | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/debutHistogramme.sci | 967ade1ec5de4a688309865c0d8fdd1e4ca1937a | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sci | debutHistogramme.sci |
//Renvoie la première valeur en nuance de gris où l'histogramme est différent de 0
function indexHisto=debutHistogramme(histogram)
for indexHisto = 1:256
if(histogram(indexHisto) >0)
return indexHisto-1;
end,
end
endfunction
|
e9bb433e474f0f8f959884a0cfc87397186a385f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH6/EX6.5/Ex6_5.sce | 1d2d317e717b939ee927aea2726e7e33caa9a231 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,458 | sce | Ex6_5.sce | //Fluid System By Shiv Kumar
//Chapter 6 - Kaplan and Propeller Turbines
//Example 6.5
//To Find (a)Guide Vane Angle at Inlet (b)Runner Vane Angle at Inlet
clc
clear
//Given:
P=22500 //Shaft Power, KW
H=20; //Head, m
N=148; //Speed, rpm
eta_H=95/100; //Hydraulic Efficiency
eta_o=8... |
70c71fe7d511293045f05a5afff76bd842a1f8d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH8/EX8.7/Ex8_7.sce | 4889308798332a56533fe02c4bcf7e6acee7b1d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_7.sce | clear ;
clc;
// Example 8.7
printf('Example 8.7\n\n');
printf('Page No. 235\n\n');
//given
N = 40;// Number of lamps
T1 = 15;// Operating time in h per day
P = 500;// POwer from the lamps in W
T2 = 300;// Total operating time in days per year
C = 2.5/10^3;// Electricity cost in p per Wh
An_Cost = N*P*T1*... |
d2c068f51f3144f37492566e6e3a96e9e0064f40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH10/EX10.3.1/10_3_1.sce | 57e90bc0810124593e82fdf5db93d6d3c94e440c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_3_1.sce | clc
//initialisation of variables
m= 6 //lb/sec
w= 62.3//lb/ft^3
s= 0.9
l= 2500 //ft
u= 0.115
r= 8 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
dp= 8*u*l*r^4*m/(%pi*s*w*g)
P= m*dp/(s*w*550)
//RESULTS
printf (' Power required= %.2f h.p',P)
|
9e3888e9a29f8c2bd1d4ac12aec7c327383fea45 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SI4.prev.tst | 6ee1f38a9c21d726daad746f8c72e9c22c3110c6 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | tst | SI4.prev.tst | ( - a^2 - 2*a*b - b^2 + x^2).getIsolatedSignature() = null
|
b1e4a69e67c4aca670d701fbdaa4eaedc96411d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH4/EX4.3/Ch04Ex3.sci | c2ba7de5ab4c704bfd4394729aad6d3b9c2f9d8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,464 | sci | Ch04Ex3.sci | // Scilab Code Ex4.3 Univalent radii of ions: Page-130 (2010)
S = 4.52; // Screening constant for neon like configurations
Cn = 1; // A constant determined by the quantum number, m; for simplicity it can be assumed as unity
Z_Na = 11; // Atomic number of sodium
Z_F = 9; // Atomic number of fluorine
Z_O... |
466974ab33879750f6231bd062272d0f7d912763 | afc50254b2af7f235fea22b2288edf5c48d24300 | /Scilab/Task_1/Task_1.sce | 22ad2227e511420ac5bddb0e6bcf065a4791b10b | [] | no_license | kartofun/ITMO | 323d0b993842d6b09a5560af5e59c83298b3fa20 | c5d69c6d2c9980ab7e79b32b3f7145f83d0299c9 | refs/heads/master | 2020-12-08T10:02:24.328398 | 2016-10-30T22:54:47 | 2016-10-30T22:54:47 | 66,733,126 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | Task_1.sce | x=[1 1 1 1 1 1 1 1 1 1.5 2 2.5 3 4 4.25 4.5 4.75 5 5 5 5 5 5.25 5.5 5.75 6 7 7 7 7 7 7 7 7 7 7.5 8 7.5 8 8.5 8.5 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10.25 10.5 10.75 11 11.25 11.5 11.75 12 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13.5 14 14.5 15 15 15 15 15 15 15 15 15 17 17 17 17 17 17 17 17 17 17.5 18 18.5... |
c8883acfc6940cf28e1be9f5c46436b35a365223 | c49cfb0568cc47def2bab58998cf7a2745deeb75 | /lw5.sce | 45f8757d3dab9327bb27699e16a2f2c31a9dd16b | [] | no_license | mirgayazov/Computational-mathematics | 7be950e9c54231943912aa8cc0eba9484b8613ee | 97eb92557308d51709101ba1922ed2bb39a0e08f | refs/heads/master | 2023-05-31T18:16:04.774709 | 2021-07-08T09:18:58 | 2021-07-08T09:18:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,000 | sce | lw5.sce | //tyyyyclc
//x_=0:0.01:1
//
//function y = f(x)
// y=0.1*x^4-3.5*x^3+6*x^2-2*x+1
//endfunction
//format('v',7)
//function [x1, x2, fx1, fx2] = s(a, b, f, t)
// x1=a+(1-t)*(b-a)
// x2=a+t*(b-a)
// fx1=f(x1)
// fx2=f(x2)
// disp((a+b)/2)
// disp(f((a+b)/2))
// disp((b-a)/2)
// if fx1 <= fx2 then
// d... |
66ef6e006c80e76490c6d95b0be200beb0dec9af | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.5.sce | ce0cf6fa4f152cb6c3d14e79ee567a6c7d030fbe | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | Ch_6_Eg_6.5.sce | //Use of the x_mdialog function.
labels=['magnitude'; 'frequency'; 'phase'];
//The first format
sig=x_mdialog ('enter sine signal', labels, ['1';'10';'0'])
labelsh= ['magnitude'; 'frequency'; 'phase'];
labelsv= ['sine wave'; 'cosine wave';];
title=['Enter details for both signals'];
//The Second form... |
6be9e2ec06234c27951cad6145aa9a35d81f847a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.6/Ex5_6.sce | 1bd22b8b40171113d5452e44ed2ebac88a9596df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | Ex5_6.sce | clear
//given
//
//find the final pressure gage
a=240.
b=15.
IP=14.7
FP=IP*(a/b)
Fpg=FP-IP
printf("\n \n final pressure gage is %.2f ",Fpg)
|
dc77d8c7f241c671c0b4af82bf10996af4d3c1e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH5/EX5.3/Ch05Exa3.sce | f5c1d36cc88c7b269599b638f432e3006a64e66e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 871 | sce | Ch05Exa3.sce | // Scilab code Exa5.3 : : Page 203 (2011)
// We have also calculate the value of magnetic field in a particular orbit.
clc; clear;
C = 3e+08; // Velocity of light, m/S
M_0 = 6.644e-027*(C)^2/(1.60218e-013); // Rest mass of alpha particle, MeV
T = 5.998; // Kinetic energy of al... |
6450e7de8c269fd265e31ebde2b51b076371e42f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_doc.sci | 682a30b34a4d301f342e483cd241fe15522eae8c | [
"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,803 | sci | do_doc.sci | function scs_m = do_doc(scs_m)
// Copyright INRIA
while %t
[btn,xc,yc,win,Cmenu]=cosclick()
if Cmenu<>[] then
Cmenu=resume(Cmenu)
end
k=getobj(scs_m,[xc;yc])
if k<>[] then break,end
end
numero_objet=k
scs_m_save=scs_m
TYPE_OBJET=1;MODELE=3;
DOCUMENTATION=14
objet = scs_m(numero_objet)
type_objet = obje... |
9865412d06a613bb234b46a5b5edec3a74153cbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH1/EX1.10/Signals_Ex_1_10.sce | 753a7f2bfa2503d8eaad4f5125b1f1d9e5d7f100 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | Signals_Ex_1_10.sce | clc
//Chapter1: Signals
//Example1.10, page no 38
//Given
//a
A=1,delta=1e-3,T=10e-3
w0=2*%pi/T,n=0
for i=0:10
if n==0 then
Sa=1
else
Sa=sin(n*%pi*delta/T)/(n*%pi*delta/T)
end
end
F=(A*delta/T)*Sa//spectral Amplitude
mprintf('a)\nAt wo,n=0: The spectral amplitude is:... |
d3aaaaff1611cbee1be49e6b48719fc36433a84b | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH8/EX8.3/Example8_3.sci | 2162eaa56a97947f62c5b76550c29bd50a492573 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sci | Example8_3.sci | clc();
clear;
// To calculate heat transfer coeeficient fir air flowing over a pipe
D=1/12; // Inner diameter of pipe in ft
k=0.0174; // Thermal conductivity in btu/hr-ft-degF
Nre=8000; // Reynolds number
//... |
b2898a0376492da1424571af55b93b15fa41e9e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH3/EX3.9/EX3_9.sce | 140c4a388255c9a33b4f76d8f5c80853b68b8d43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | EX3_9.sce | // Exa 3.9
format('v',8)
clc;
clear;
close;
// Given data
n_i = 10^16;// in /m3
N_D = 10^22;// in /m^3
n = N_D;// in /m^3
disp(n,"Electron concentration per m^3 is");
p = (n_i)^2/n;// in /m^3
disp(p,"Hole concentration per m^3 is");
|
089a0a08aa93ea5cf490a6c442e826b2ca653f81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.19/ex18_19.sce | 49f0808c8d8ff86cc98fdb6137367f0d0fa53fec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | ex18_19.sce | clc;
clear all;
i=5e-3;//current flowing through specimen in Amp
V=1.35;//voltage across specimen
l=1e-2;//lenth of the sample
b=5e-3;//breadth of the sample
t=1e-3;//thickness of the sample
a=5e-6;//area of the sample
vy=20e-3;//hall voltage
H=0.45;//magnetic field
R=V/i;//resistance
rho=R*a/l;//resistivity... |
258f6909c2a7ec0771158d192022685ec2ef8428 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106.zip/Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106/CH7/EX7.7/ex7_7.sce | 341b8eaf71a844e98b9ba567e45496be54d0141f | [] | 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 | 181 | sce | ex7_7.sce | errcatch(-1,"stop");mode(2);// Example 7.7, Page No-345
// Answer in textbook is wrong
C=0.1*10^-6
t=1*10^-3
R=t/(1.22*C)
R=R/1000
printf('R= %.1f kohm', R)
exit();
|
56b3b087318722ee60c2e2912370a2337114455a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH7/EX7.3/Ex7_3.sce | 6b331133acfc07d55b98b05aae6a2fea7d8d0ebc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_3.sce | clc
clear
//Initialization of variables
tc=32 //F
th=80 //F
mw=5 //lbm
mi=1 //lbm
P=14.7 //psia
cp=1
//calculations
t= (-144*mi+tc*mi+th*mw)/(mw+mi)
ds1=144/(tc+460)
ds2=cp*log((460+t)/(460+tc))
dsice=ds1+ds2
dswater=mw*cp*log((t+460)/(460+th))
ds=dsice+dswater
//results
printf("Change in entropy of th... |
61e2a887a67efb0585c5d79de78fb560d9aec613 | b412360a5393e117e74453519c55968117ef7c7e | /REGRESSIONTESTS/wurmloch.tst | 0c6f2ede150639b833b11ae5f4efab1a137bfe98 | [] | no_license | thomas-maeder/popeye | 36be3f54f8a7eea15b52a30cf23e455ed6ff44f8 | 732b721df67295b2c6a1c2ca00e87979f39cc0c9 | refs/heads/develop | 2023-09-05T13:06:45.846081 | 2023-08-31T02:59:55 | 2023-08-31T02:59:55 | 38,768,803 | 38 | 23 | null | 2023-09-14T18:35:27 | 2015-07-08T17:21:43 | C | UTF-8 | Scilab | false | false | 16,592 | tst | wurmloch.tst |
king is transfered when castling, rook isn't
+---a---b---c---d---e---f---g---h---+
| |
8 . . . . . . . . 8
| |
7 . . . . . . . . 7
| |
6 . . . . . . . . 6
| ... |
2dbd6fc83fa0cdf1519eb690744ea179a1da11bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH4/EX4.16/Example4_16.sce | 435e8bfa4e487790797456c7c26d169f4d6c5b91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,407 | sce | Example4_16.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 4: DC Dynamo Torque Relations-DC Motors
// Example 4-16
clear; clc; close; // Clear the work space and console.
// Given data
V_a = 230 ; // Rated armature voltage in volt
P = 10 ; // Rated power... |
e98a473848bfb4ad33d961071140077f78e45062 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH6/EX6.3/Ex6_3.sce | 86a50aa8df74f5fe8f4d9ae13f41bdce885de293 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | Ex6_3.sce | clc();
clear;
//Given :
//Power of the source = 10^-5 W = 10^-5 J/s
P = 10^-5 ; //Power in J/s
r = 10^-9; //radius in m
r1 = 5; // metal plate 5 m away from the source
WF = 5;//Work function in eV
area = %pi*(10^-9)^2 ; //area in m^2
area1 = 4*%pi*r1^2; // area in m^2
P1 = P*(area/area1); // in J/s
// 1eV = ... |
bf0e23bba3259f575e3f925dfbda76f7cfe11860 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH10/EX10.1/Ex10_1.sce | d81c54fc5d4dc29eb7da86adcf3e96709250f843 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Ex10_1.sce | //Variable declaration
i1=4. //current through r1(A)
v3=3 //voltage(V)
v4=8 //voltage(V)
r3=3 //resistance(ohms)
r2=2 //resistance(ohms)
r4=4 //resistance(ohms)
//Calculations
i3=v3/r3 //current through r3(A)
i4=v4/r4 ... |
06824dbcd668f5049ace1a1a592e32280bf4f05e | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem06/paper8/lab08a/q01.sce | 3d39af14cb48992d89313d2460247986da3368c2 | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | q01.sce | clc;
clear;
function y=f(x)
y=2*x-log10(x)-7;
endfunction
a=3.5;
b=4;
for i=1:5000
x=(a*f(b)-b*f(a))/(f(b)-f(a));
if f(x)>0 then
b=x;
elseif f(x)<0 then
a=x;
else
break;
end
end
mprintf("Solution is %f",x);
|
608113f5aa9e693936571b100914cde1e512eb73 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/laba1.sce | 066229d56b8b8ebafba7dc14bdf1d945cfb5bb88 | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | laba1.sce | //лабораторная1
clc
x =poly(0, 'x');
d1=derivat(x^3+5*x^2-10),
d2=derivat(derivat(x^3+5*x^2-10)),
d3=derivat(derivat(derivat(x^3+5*x^2-10))),
d4=derivat((2*x+10)/(x^3+5*x^2-10)),
j5=integrate('x^3+5*x^2-10', 'x', 2, 4),
j6=integrate('sin(x^2)+cos(x)^3', 'x', 0, %pi),
j7=integrate('2*log(x)-(1/(3*x))', 'x', 3, 5);
di... |
380069cd8f35487868c0f56ae29c3e10cad87719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.1/Ex1_1.sce | e48d243982b3dbe60ae383dd0a98409f107d7fc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | Ex1_1.sce |
clc;
f=50; // frequency in Hz
Et=13; // emf per turn in volts
E1=2310; // primary voltage in volts
E2= 220; // secondary voltage in volts
B=1.4; // maximum flux density in Tesla
// calculating the number of turns in primary and secondary side
N2= round(E2/Et); //secondary side turns
printf('Number of secondary... |
8fd6d8587440c2f7ccfbd512ae30faa76d84129f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/uencode/uencode9.sce | b70d4a821e442bb7d1a5062cc4e75d4b5bd5b477 | [] | 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 | 261 | sce | uencode9.sce | //check o/p when 5 i/p arg are passed to the function
y=uencode([1 2 3 4 5 5],3,2,'signed',2);
disp(y);
//output
// !--error 58
//Wrong number of input arguments.at line 2 of exec file called by :
//ode/uencode9.sce', -1
|
a98556278d17eee6cbd564b77b44e71fb491c209 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 5/Lista 5/lista5.sce | 16bc0052476eb929a0e976e317820b7f34121b50 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,472 | sce | lista5.sce | //Universidade Federal do Ceará
//Igor Farias Souza - 352202
//Algebra Linear Computacional
//Prof. Ricardo
clc
clear
close
printf("-------------Lista 5 ---------------\n");
printf("Digite o número da questão: \n")
questao = input(" ");
select questao
case 1 then
printf("Entre com o vetor: \n");
... |
69c656e5550f2534943e440bfc6fddf8da6e4d58 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/bpf.sce | f870fd06e6141d15062abb24c92dc575a01dfc3b | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,298 | sce | bpf.sce | function [x,y,typ]=bpf(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
g... |
6cef035c2d2dc00b0d1b3c26fb6354c46bcfd831 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.23/1_23.sce | 39929c9e8e57515b0e50ec758be4ac41dcf0153e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,419 | sce | 1_23.sce | //pathname=get_absolute_file_path('1.23.sce')
//filename=pathname+filesep()+'1.23-data.sci'
//exec(filename)
//Composition of Oxygen:
o=0.18
//Composition of Nitrogen:
n=0.75
//Composition of Carbon dioxide:
c=0.07
//Pressure of mixture(in MPa):
p=0.5
//Temperature of the mixture(in K):
t=107+273
//Total m... |
5be8293ab989f73ff4f6fe92c996ad14e25770ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.16/example7_16.sce | f48892571ff0d148075e18d18697a67acfe895bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | example7_16.sce | // Calculate quiescent values of Id,Vgs,Vds
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-16 in page 324
clear; clc; close;
// Given data
// We find Thevenins equivalent to the left of the gate
// Calculation
Rth=(1/(200*10^3))+(1/(1.3*1... |
1be98f18d57053272321c98b9b08e8fcef759ce9 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/phasez/phasez11.sce | 075c0358a3f228f7a1ce23f089d042dd775a81a1 | [] | 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 | 237 | sce | phasez11.sce | //i/p args b and a are of type char
b=['a' 'b' 'c' 'd'];
a=['a' 'b' 'r' 'e' 'd'];
n=10;
[phi,w]=phasez(b,a,n);
//output
//!--error 10000
//check the input type
//at line 14 of function phasez called by :
//[phi,w]=phasez(b,a,n);
|
47accf4d9b16c28ba76a5d12fd3017dca2dc8787 | 6859f392c42e4441d1273e535c5eba8f0135f354 | /Q4.sce | 4e4601fae6298dbb9e3b8e7532508656adb7fd2a | [] | no_license | X-Wei/projet_map431 | eaa9ebc0d9bb3fbfe5552b209adb55973197b473 | 9c3c00c5395cd5e633e1f516c14fcb1165d91719 | refs/heads/master | 2021-01-25T09:00:22.372230 | 2014-05-21T20:21:25 | 2014-05-21T20:21:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | Q4.sce | ////////////////////////////////////////////////////
//MAP431 projet: Estimation d'erreurs a posteriori//
// Xing WEI & Chongmo LIU //
// mai,2014 //
////////////////////////////////////////////////////
// Question4. //
clear all
//les paramètres
N=100;
h=1/(N+1)
f=1;
k=1;
alpha=1;
a=ones(N,... |
3bcdd6b58abec4f5df7b25ddc2881180be2a6f75 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/183, Энты/test1.tst | 6ca315f6efc265b6f547eb9b9a22792a72defede | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 34 | tst | test1.tst | 8 10
~~~~~~~~~~~~~~~~~~~~~
5
|
311fba078cbbec91a00f8299f70a4be0b102a386 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH2/EX2.4/Example2_4.sce | 38c38eeb67c8a1b34d0149a8a1cb912d542bedcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Example2_4.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 2: Dynamo Construction and Windings
// Example 2-4
clear; clc; close; // Clear the work space and console.
// Given data
fractional_pitch = 13 / 16;
slot =96; // No. of slots
P = 6; // No. of po... |
0ca870aa85f98c8a41967954bc7894bd567b14b9 | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp3/exo3&4/cald.sci | b739dbad876df0aaced77d9e41b08f4684d0a71c | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sci | cald.sci | function [d]=cald(T,y)
[mT,nT] = size(T)
[my,ny] = size(y)
if(mT~=my| nT~=1 |ny~=1) then
error("Taille non correcte");
end
n=mT
h = zeros(n-1,1)
//calculer h
for i = 1 : n-1
h(i,1)=T(i+1,1)-T(i,1)
end
A = zeros(n,n)
u = zeros(n,1)
//calculer A
A(1,1)=... |
d0ab609f38726738817a63c8493203f8b1cb3105 | 0cde9ea15008100c60814df2563f7707fdc2c03d | /web_experiments/small_data/ambi/Colours_Ordering/colours_creation.sce | c44d4c11508dac9aff8c7dd65378636604c8e041 | [] | no_license | akemidl/mturk_website | fc4a7ef56ffdca608d959a5f1a996c9c747c1ab6 | ef292524fe84eba3aa9b041d894201a7e5babd30 | refs/heads/master | 2021-05-15T10:28:35.192143 | 2017-10-24T20:57:31 | 2017-10-24T20:57:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,324 | sce | colours_creation.sce | ##Creating the file that will store the positions of the tokens that we will then use for all subsequent trials...
begin;
begin_pcl;
int ntrials=50; #number of trials in a block
int t=1; #t changes on each trial
int n=100; # number of balls in both urns
array <int> colours [n]; #creating an array called col... |
851401516138731942f32bf3df890f119217c506 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.4/34_4.sce | f596e9cea9ffb65b22da905fa459584c6c33a393 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 34_4.sce | //ques-34.4
//Calculating wavelength and frequency and wave number of light
clc
E=30;//energy (in kcal/mol)
E=E*4.184;//(in kJ/mol)
f=E/(6.023*10^23*6.626*10^-34);
w=(3*10^8)/f;
wn=1/w;
printf("The energy is %.1f kJ/mol, wavelength is %.0f nm, frequency is %.3f*10^14 Hz and %.2f*10^-8 /m.",E,w*10^6,f*10^-11,wn)... |
d549ab47063952c536bb8df620ae5838062fdbd5 | bacd6919260d728f4316702bbe1edf811810bede | /legacy/33/console/Untitled10_2.sce | 2ded35d62a787abc2721bba738a9e02568f1ec3f | [] | no_license | vopl/sp | 332d8c2ff536fc5d8772ff2f3fbeca9b50c47641 | a4313f4d7af47cc3132d7546947d4d668c7e487e | refs/heads/master | 2020-04-16T02:09:36.036424 | 2016-10-05T18:08:30 | 2016-10-05T18:08:30 | 65,293,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Untitled10_2.sce | stacksize('max');
clf
tap1 = read("P:\finance\spectrumSeparator\nhel.Composite\20.1.onlyDsp\console\tap_xx", -1, 3);
tap1(:,2) = tap1(:,2).*(cos(tap1(:,3)) + %i*sin(tap1(:,3)));
tap = read("P:\finance\spectrumSeparator\nhel.Composite\20.1.onlyDsp\console\tap", -1, 3);
tap(:,2) = tap(:,2).*(cos(tap(:,3)) + %i... |
11a17a30939349307a82c8d7bcc24f5f90c591d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH17/EX17.17.4/Ex17_4.sce | 13387d2dc757499d2ea68e45c34e2f04acd4d1ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex17_4.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
clc
clear
q=0;
b=0;
s=0;
format('v',18);//increasing the precision to 18 .
a=4.625;
d=modulo(a,1);//separating the decimal part and the integer part
a=floor(a);//removing the decimal part
while(a>0)/... |
57038ff92f09e845da42cd78ce125a5d7fce2cdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH9/EX9.2/Example9_2.sce | a514490ae6e6c3ab677b3dd6fcbec949989c5a9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Example9_2.sce | clear ;
clc;
// Example 9.2
printf('Example 9.2\n\n');
// Page no. 229
// Solution
m_CO2 = 44.0 ;//molecular wt-[g]
m_C7H16 = 100.1 ;//molecular wt-[g]
p_con = 50 ;// percentage conversion of CO2 to dry ice
amt_di = 500 ;// amount of dry ice to be produce per hour-[kg]
// By using the given equation
amt_C7H16 = (amt_... |
9659a144eb44c4fe0c996648cfbede516d72727a | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /BBlutin - R6S - Tracking #1.sce | 41ecbb03d18be461a1c2e9009fefed4636765b21 | [] | 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 | 71,577 | sce | BBlutin - R6S - Tracking #1.sce | Name=BBlutin - R6S - Tracking #1
PlayerCharacters=Axis Tracking Shooter
BotCharacters=Axis Tracking Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Axis Tracking Shooter
AddedBots=Axis Tracking Target.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=cube_axis_strafing.map
MapScale... |
caf5b049d3c1a7fe54aaa70b07f52141c0f77d08 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_mem_read_sim.sci | 8d6d57eac4108ae6cfcc6f4b8faaff388dd524a3 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 1,544 | sci | mdaq_mem_read_sim.sci | function block=mdaq_mem_read_sim(block,flag)
global %microdaq;
if %microdaq.dsp_loaded == %F then
select flag
case 4 // Initialization
disp("WARNING: mdaq_mem_read block isn''t supported in host simulation mode!")
end
else
// if DSP loaded we can init memory with ... |
c1dbe7ae9a8a9ff992019ade252477bc7216124a | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Controle/T1/Código/V3/polosezeros.sce | 6821858c68d51acef7a16f7508f8d156abcf3ea6 | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | polosezeros.sce | // Polos e Zeros
sl = syslin('c',A,B,C,D)
h = ss2tf(sl)
disp(h)
plzr(sl)
s = poly(0,'s')
matr = s*eye(4,4) - A
disp(matr)
disp(C*inv(matr)*B)
disp(roots(det(matr)))
|
8e50c2690171999e5697a658d7ed8a421d161f21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.2.6/Example1_21.sce | 81624a89c5f4eb97f07dda79e8a890cf7e0c5ab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_21.sce | //Chapter-1,Example1_2_6,pg 1-15
n=8
wavelength=5890*10^-8 //wavelength of light
u=1.46 //refractive index of oil
i=30 //angle of incidence
r=asind(sind(i)/u) //by Snell's law
... |
b09e2b7b4207b3217556d45a4df82b230114a498 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH2/EX2.6.1/2_6_1.sce | 206e97991ec9ffd8819c32c54bed6e325e53c56f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | 2_6_1.sce | disp('the consumption matrix is:')
C=[.1 .6 .6;.3 .2 0;.3 .1 .1];
disp(C)
disp('Assuming that agriculture plans to produce 100 units and other units produce nothing')
disp('the production vector is given by')
x=[0;100;0];
disp(x,'x=')
disp('thus the intermediate demand is:')
disp(C*x) |
d602c0056882855a1177635c2d558076555ed342 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH4/EX4.5/example45.sce | cb74a3fbc907a0061228ff3fddd36e8de54d3bdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example45.sce | //Example 4.5
//Find DTFT of x[n]=a^|n| for -1<a<1
clc;
syms w a n;
x1=a^n;
x2=a^(-n);
X1=symsum(x1*exp(-%i*w*n),n,0,%inf);
X2=symsum(x2*exp(-%i*w*n),n,-%inf,-1);
X=X1+X2;
disp(X,'X(e^jw)='); |
c6130ff5cfb99e9c3509d95f99319473c95208d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.16/8_16.sce | 4ccde14044dee42505b102b137b4065677709a14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,099 | sce | 8_16.sce | clc;
//page no 8-55
//Example 8.16
fsmin=450;//in kHz
fsmax=1600;//in kHz
IF=455;//in kHz
f=1000;//in kHz
fomin=fsmin+IF;
fomax=fsmax+IF;
disp(+'kHz',fomin,'fomin=');
disp(+'kHz',fomax,'fomax=');
//Let Comax/Comin be denoted by C
C=(fomax/fomin)^2;
disp(C,'Comax/Comin=');
//Let Csmax/Csmin=C1
C1=(fsmax/f... |
e6cbbe0fdd5a1bcae39743e503bd246321caaa4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH1/EX1.11/Ch01Ex11.sce | e3379979e20ef159c6b35096e0e5a33f9ff6d9e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Ch01Ex11.sce | // Scilab Code Ex1.11: Page:31 (2011)
clc;clear;
c = 3e+008; // Speed of light in vacuum, m/s
E0 = 1; // Rest energy of particle, unit
E = 3*E0; // Energy of relativistically moving particle, unit
// E = m*c^2 and E0 = m0*c^2
// With m = m0/sqrt(1-v^2/c^2), we have
v = c*sqrt(1-(E0/E)^2); // Velocit... |
7d1f95ba4b26ba543e4320a9d12d1074cd9d5ac5 | 36e294af022143c4ad0adaf1a40183c8114cb39a | /Scripts/fix file names.sce | 148f77412951cfd1e8696c60d0d177b5f0dc4239 | [] | no_license | pflynn/Spectrum_analysis | d6388a46f686912a4d4a543f18b2a49063374506 | eb31f3349fdf4f16227b25782d40937b126b297e | refs/heads/master | 2016-09-05T17:10:44.896865 | 2011-06-27T15:01:20 | 2011-06-27T15:01:20 | 1,960,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | fix file names.sce | for j = 1:10080
number = string(j);
A = read_csv('C:\Program Files\Tektronix\SA2600PC\Results'+'/928MHz to 928MHz' + number +'.csv');
write_csv(A,'C:\Documents and Settings\pflynn\Desktop\testt' + '/902MHz to 928MHz' + number +'.csv');
end |
a8372fd41150b0335d3bf5e411eaa3a6ee050e35 | 1d7b0d2d2e1b23faa4bf321453d437f21afd5fe5 | /lab 7/scilab7_q1.sci | f1596a07dcd1697b21db3023f1984b907a77d52e | [] | no_license | aaryashah11/60002190003_SciLab | 2847a459a8a90ef07f4f17d8f18bb1be39a6c574 | 9ca078e5a8790fd0b1dea8320687e68c976a1efc | refs/heads/main | 2023-01-19T05:53:02.417751 | 2020-11-25T07:55:15 | 2020-11-25T07:55:15 | 315,696,665 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sci | scilab7_q1.sci | //i=sqrt(-1);
//h_mag1=[];
//w1=[];
//h_phase1=[];
//for w=-2*%pi:0.01:2*%pi
// h=1/(1+0.5*exp(-i*w));
// h_mag=abs(h);
// h_phase=phasemag(h);
// h_mag1=[h_mag1 ,h_mag]
// h_phase1=[h_phase1,h_phase]
// w1=[w1 w]
//end
//plot(w1,h_mag1)
//figure;
//plot(w1,h_phase1)
//task 1
t=-1:0.... |
93682381e6e1f714fc1c69281e1f29329bcefd54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.21/Example14_21.sce | 6f6050aa4f2d5bfccc8275de1940f5d7e42574db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 7,348 | sce | Example14_21.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-21
clear; clc; close; // Clear the work space and console.
// Given data(from Ex.14-18)
V_sc = 50 ; // Short circuit voltage in volt
V_1 = 2300 ; // Rated primary v... |
e1ff5664579fc07c6731753f6f9c775ec2777617 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH2/EX2.1.d/Example2_1d.sce | 7594c154f934097ed78d2922e46d5c24abdb2888 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | Example2_1d.sce | clear;
clc;
disp('We know that n=p=ni where n is conc of free electron p is conc of holes and ni is conc of intrinsic carriers');
//Given data
//Ratio of Conductivities
Nd=4.41*(10^14);//in atoms/cm^3
ni=2.5*(10^13);//in cm^3
yn=3800;//in cm^2/V-s
q=1.6*(10^-19);
n=Nd;
A=n*q*yn;//Conductivity
//If germ... |
e678d0295039b9e8ba8aaeae01da157678daf99c | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Movement training.sce | 78e2c7c9f012bd930b5e49ec7cea741e48a2a929 | [] | 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 | 88,820 | sce | Movement training.sce | Name=Movement training
PlayerCharacters=Quaker
BotCharacters=afk bot.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=Quaker
AddedBots=afk bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=ascension_room.map
MapScale=3.3125
BlockProjectilePredictors=true
BlockCheats=true
InvincibleP... |
c799de8fd5182249cec100679b8a0cd0251b77bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.15/Chapter7_Example15.sce | aa14d331042f5c9c7723ef5e18526f83c19fd8ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Chapter7_Example15.sce | //Chapter-7, Example 7.15, Page 310
//=============================================================================
clc
clear
//INPUT DATA
D=0.2;//Diameter of pipeline in m
//velocity profile is given by u=96r-190r^2 m/s
//Temperature profile is given by T=100(1-2r) degree C
//CALCULATIONS
vmax=(64*(D/2))-... |
9c59f12b4e9cbe79c78229240c00cf229512d394 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH8/EX8.24/ex8_24.sce | 3d0a230b4c04cff6cb45939622e6a43e9aec3220 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex8_24.sce | // Exa 8.24
clc;
clear;
close;
// Given data
R_f = 3;// in K ohm
R_f = R_f * 10^3;// in ohm
R1 = 150;// in ohm
A_v = (R_f/R1) + 1;
disp(A_v,"Close loop gain for inverting amplifier is");
f = 1;// in MHz
f = f * 10^6;// in Hz
f2 = f/A_v;// in Hz
f2 = f2 * 10^-3;// in KHz
disp(f2,"The closed loop bandwidth ... |
c45d9df9b5bc1b1b320e595989a69f9014a03625 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH13/EX13.3/13_3.sce | abf8f172e4cad6709e6d39c3a14e1966de878846 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | 13_3.sce | clc
//initialisation of variables
W= 50 //lb/ft
x= 5 //ft
x1= 2 //ft
//CALCULATIONS
V= W*x
M= W*((x/2)+x1)*x
M1= W*x*(x+x1)
M2= -M
M3= -W*x*x/2
EIdeltamax= ((1/2)*(x+x1)*M1*((x+x1)/3))+(x+x1)*M2*((x+x1)/2)+(1/3)*x*M3*(x/4)
//RESULTS
printf ('maximum value of EIdeltax= %.1f lb ft^3',EIdeltamax)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.