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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
238b9811f1f93763a804cb09e64ae4dee9c00472 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.27/ex2_27.sce | f289cd05d32edbe0a425f0ba93f0e7f66e3c5eda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | sce | ex2_27.sce | //chapter 2
//Leff=Voc/E
printf("\n");
Leff=8;
E=0.01;
Voc=Leff*E;
printf("the voltage induced is %gV",Voc);
|
f46b984ffbfa0f7ee44f4a444d4750a098350528 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH19/EX19.6/ex19_6.sce | 21477f17ef44fbf5881f92b43700a7bd940c74fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | ex19_6.sce | // Example 19.6, page no-545
clear
clc
a=2.5*10^-10//m
M=1.8*10^6//A/m
e=1.6*10^-19//C
n=2/a^3
m=9.1*10^-31//kg
h=6.625*10^-34
ma=M/n
beta1=e*h/(4*%pi*m)
printf("The average magnetisation contributed per atom = %.3f Bohr Magneton",ma/beta1)
|
fd3773d1ed8866a0942d64b1aae1074bbbc53c50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH16/EX16.12/16_12.sce | 8bbbc2db489ae88ca518648c9c5a92629e77bb13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | 16_12.sce | //ques-16.12
//Calculating order with respect to A and B and rate constant
clc
//A,B in mol/L
A1=2.5*10^-4; B1=3*10^-5; k1=5*10^-4;
A2=5*10^-4; B2=6*10^-5; k2=4*10^-3;
A3=10^-3; B3=6*10^-5; k3=1.6*10^-2;
//r=k*[A]^x*[B]^y
x=log10(1/4)/log10(0.5);
y=log10(1/2)/log10(1/2);
k=k1/(A1^x*B1^y);
printf("Order with ... |
790524112bf246be1d154cf2f4e3a50ed8b2998e | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH6/EX6.17/ex_6_17.sce | 9de434d2a4dc309a66ba8a82554a3e6b686eca37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | ex_6_17.sce | // example 6.17,
// caption: solve by 1)modified euler cauchy, 2)heun method
// h=0.2
// 1) modified euler cauchy method,
// u'=f(t,u)
// u'=-2tu^2
deff('[z]=f(t,u)','z=-2*t*u^2');
modifiedeuler(1,0,.4,.2,f) // calling the function,
// 2) heun method,
deff('[z]=f(t,u)','z=-2*t*u^2');
heun(1,... |
909961865b5007ac3c73e1d38023dcb1a57a923b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH2/EX2.3/Ex2_3.sce | ef6795950595f82e675fc5fbda9b24c29b045f96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | Ex2_3.sce | //CHAPTER 2 ILLUSTRATION 3 PAGE NO:58
//TITLE:TRANSMISSION OF MOTION AND POWER BY BELTS AND PULLEYS
clc
clear
//==============================================================================
//input
d1=30//diameter of 1st shaft in cm
d2=50//diameter 2nd shaft in cm
pi=3.141
c=500//centre distance between the s... |
a2f14302064ba61d8e1bddb337aa46cb7e2b2e96 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/dec2hex.man.tst | c0e761b83054da5f1918754a1264b79752263025 | [
"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 | 40 | tst | dec2hex.man.tst | clear;lines(0);
dec2hex([2748 10;11 3])
|
da2fbd6b4fe7f64e98f48170d111ff1a9917ea83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH1/EX1.4/ex_4.sce | 3c2f067d7097567146c327d3cc58e4e214f60bf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | ex_4.sce | //Example 4 // peroid ,maximum velocity and acceleration
clc;
clear;
close;
a=3;//cm
b=4;//cm
A=sqrt(a^2+b^2);//cm
w=2;//sec^-1
T=(2*%pi)/w;//seconds
um=w*A;//cm/s
am=w^2*A;//cm/s^2
disp(T,"time period is ,(seconds)=")
disp(um,"maximum velocity is,(cm/s)=")
disp(am,"maximum acceleration is,(cm/s^2)=")
|
14974a9d500946b0b2a274659811b02483177ee0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH7/EX7.5.a/Chapter7_Ex5_a.sce | 1ad78a94667842aec73cfc662dacced30cd0df11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,638 | sce | Chapter7_Ex5_a.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc.,USA,pp 436
//Chapter-7 Ex7.5.a Pg No.293
//Title:Maximum rate of CO absorption
//===========================================================================================================
clear
clc
//INPUT
P_dash=5;//Partial pressure of a... |
e7767656cd47631a0322d52416987c6c213d1926 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH4/EX4.23/Example4_23.sce | 3db08d68bfeefcfcb9b378867023ba94163e3ffa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | Example4_23.sce | //Figure 4.23:Multiplication Property of CTFT
clear;
clc;
close;
W1 = -1:0.1:1;
W2 = -2:0.1:2;
W = -3:0.1:3;
//Fourier Transform of sinc funcion is square wave
XW1 = (1/%pi)*ones(1,length(W1)); //CTFT of x1(t)
XW2 = (1/(2*%pi))*ones(1,length(W2));//CTFT of x2(t)
XW = (1/2)*convol(XW1,XW2);//CTFT of x(t)=x1(t)... |
ce4becf01c9c979b68e72ef144b866d25a7f961d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH1/EX1.3/Ex1_3.sce | 825f9c767b4f3c61a6b3d78a80ac53f5158f8035 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | Ex1_3.sce | //Initialisation of variables
clc
A=1.748 //Madelung Constant
N=6.02*10**26 //Avagadro Number
e=1.6*10**-19
n=9.5
r=(0.324*10**-9)*10**3
E=8.85*10**-12
//Calculations
U=((N*A*(e)**2)/(4*%pi*E*r))*(1-1/n) //Cohesive energy
//Result
printf('Cohesive energy =%0.2f *10**3 ... |
cef276bb05c15dcebeb43a114d47a055256ee313 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH11/EX11.1/Ex11_1.sce | 9c48479ba7b792756df5ed70c64be5c4ae87e88e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | Ex11_1.sce | //Chapter 11: Broadband and Frequency-Independent Antennas
//Example 11-1.1
clc;
//Variable Initialization
d = 4 //spacing (mm)
D = 100 //distance between the openings (mm)
//Calculation
lambda_short = 10*d //Shortest wavelength (mm)
lambda_long = 2*D //Longest wavelength (mm)
bandwidth = lambda_l... |
f5de43d7abaf059ee4fdc5222c17fc7b4a2e07c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH3/EX3.18/EX18.sce | d261e50209ec77f5f77ae6a5fe4dcaaface11679 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | EX18.sce | // Example 3.18: R, ILmax, Power rating of zener diode
clc, clear
// In Fig. 3.41
Vz=6; // in volts
V=22; // in volts
Izmin=10e-3; // in amperes
Izmax=40e-3; // in amperes
ILmin=0;
R=(V-Vz)/(Izmax-ILmin); // in ohms
ILmax=((V-Vz)/R)-Izmin; // in amperes
P=Izmax*Vz; // Power rating of zener diode in watts
ILm... |
cff47d9edd205f0c7c8a0e9f94f89e180c11eb74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH1/EX1.2/Ex1_2.sce | 5e68024cd1edd2555e8cfdee9469037cbf5556b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Ex1_2.sce | //Variable declaration
n=10**23 //number of electrons(n/m^3)
e=1.6*10**-19 //electronic charge(C)
u=0.4 //mobility(m^2/Vs)
a=10**-7 //cross sectional area(m^2)
l=15*10**-2 //conductor length(m)
//Calculations
//Part a
G=n*e*u //conductivity(S/m)
//Part b
R=l/(a*G) ... |
a3658639a8b5855604993bafee78b56adb35fae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.3/example2_3.sce | 2588c02ba44eca95dfe3a8354ff644629eb8af87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | example2_3.sce | clc
// Given that
lambda = 5e-7 // wavelength of light in meter
d = 0.3 // distance of wavefront received on screen from the opening in meter
// Sample Problem 3 on page no. 2.38
printf("\n # PROBLEM 3 # \n")
n = 1 // no. of half period zone
Rn = sqrt(n * lambda * d) // because at maxima intensity is four time the ind... |
ce2ec03870e2075e1dfb7e77c29feb729e5f83eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH13/EX13.9/13_9.sce | bbde6602b70979c1541af4a8170f867e2d5bfbb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,126 | sce | 13_9.sce | //Bullet fired
//refer fig. 13.13
//velocity of projection
u=(360*1000)/(60*60) //m/sec
//(a) total time of flight
//method 1
y0=-120 //m
//considering vertical motion and solving quadratic equation
t=12.20 //sec
//method 2
//t1=(100*sind(30))/(9.81) //sec
//maximum height reached in this time
//h=((100... |
12913151b27b155e96604c10203c79d0552f76ad | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 7/Lista barão/MPotenciaDeslocamento.sce | a734f9f1a983d0f05fb8d83ef9f609912ef58e8c | [] | 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 | 632 | sce | MPotenciaDeslocamento.sce | // Método da potência deslocada
function [lambda,lambdamenor,Vx,Vxx]= MPotenciaDeslocamento(A)
[l,c]= size(A)
//Extrai as dimenssões de l,c
[lambda,Vx]=MPotencia(A)
//extrai o autovalor lambda e o autovetor associado Vx
I=eye(l,l)
// I será a nossa matriz identidade
B= A-lambda*I
... |
1e36b256ae4d1fe314ce4499dc40492e4453c5a3 | 93640402789b9a9d07c82958f433765f1e2a8397 | /part 1/HiLoMux.tst | 25269df4e79a82cac83fbf795708ea7adbdf8ebe | [] | no_license | Slayingripper/Z80-CPU | 7a6b71f9e59850c3d4492a7f1867f4e81be278ba | 451873966cf071f8088407300629994a8d33f13c | refs/heads/master | 2020-05-04T02:42:27.419333 | 2019-04-01T19:27:22 | 2019-04-01T19:27:22 | 178,932,396 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | tst | HiLoMux.tst | load HiLoMux.hdl,
output-file HiLoMux.out,
compare-to HiLoMux.cmp,
output-list in%B1.8.1 sel%D2.1.2 out%B1.4.1;
set in 0,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set in %B11100001,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set in %B11010010,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set... |
0ef0bba9279c3fc52d734f1bf4d8b98446b97386 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH2/EX2.7/EXAMPLE2_7.SCE | 47004ab8359a3a2ae8a2307e508a46112ae1185e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | EXAMPLE2_7.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 2
//AMPLITUDE MODULATION
clear all;
clc;
printf("EXAMPLE 2.7(PAGENO 56)");
//given v_c = 10*sinwt
m = .5//modulation index
//by comparing with v_c = V_c*sinwt
V_c = 10//carrier voltage in volts
//calculation
V_m = m*V_c;//amplitude of ... |
725df972c4720889e4430b0b6696574900678a78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH9/EX9.6/Ex9_6.sce | cdcc17e889995f7da6436c15f36299f513641275 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex9_6.sce |
//Example No.9.6.
//Page No.269.
clc;clear;
Eg1 = 0.36;//Energy gap of the first material -[eV].
Eg2 = 0.72//Energy gap of the second material -[eV].
me = 9.1*10^(-31);// -[kg].
A = 0.052;//'A' is (2*k*T).
T = 300;//Temperature -[K].
a = -0.36;
b = 0.72;
N = (exp(a/A)*exp(b/A));//Ratio of intrinsic carrier... |
64f87863272a674ff8775414d7ef0e7b192c5daf | 633774387707141f1f70327f62ede75c05ce9bdf | /EDO/eulerMelhorado.sce | e05ef8ae878905000feae637edc65e2769ec2ebf | [] | no_license | trichez/CN | 76b308576e5adbf7562fd4704b91ad0e6ebcd204 | 28b361b311799b43ae41a18d66b2b598bd718633 | refs/heads/master | 2021-08-23T21:01:00.475853 | 2017-12-06T14:39:41 | 2017-12-06T14:39:41 | 104,222,510 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | eulerMelhorado.sce | //runge-kutta 2ª ordem
clear;
function [yy] = dy(x,y)
yy = x-y+2; //
endfunction
y0 = 2;// condicao inicial
a = 0;//x0
b = 1;//xn
n = 20;//0;//nº de pontos -1
h = abs(b-a)/(n);
K1 = 0;
K2 = 0;
count = 1;
X = linspace(a, b, n);
Y(count) = y0;
while count < n do
K1 = dy(X(count),Y(count));
K2 = dy(X(cou... |
23b5926456d20af143ba7a2d8fcebc8d238518a5 | a0d653da7afea3dc9e22169bef6c3cfaf70c6082 | /macros/downsample.sci | 08d43570f1959c2882b78af9dccb1011312cca0c | [] | no_license | sonusharma55/FOSSEE_Signal_Processing_Toolbox | 68adf2732432afe4fc00e9b85ad859e98d9a3be8 | 452167a5231df8a69703528dc48c891263d57348 | refs/heads/master | 2020-03-20T08:26:09.135688 | 2018-07-17T11:42:47 | 2018-07-17T11:42:47 | 137,308,766 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,058 | sci | downsample.sci |
//Function File vary = downsample (x, n)
//Function File y = downsample (x, n, offset)
// Downsample the signal, selecting every nth element. If x
// is a matrix, downsample every column.
//
// If offset is defined, select every nth element starting at
// sample offset.
//
//
//Test cases:
//1.downsample([1,2,3,4,... |
236af09d0728f3e7ebfe4649361e000386f1c7d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.3.a/2_3_data.sci | a58f8a51f84a1ea7436de35a19b98513bf1d7ab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sci | 2_3_data.sci | // Aim:To find the specific gravity of air at 68 degF
// Given:
// specific weight of air at 68 degF:
gamma_air=0.0752; //lb/ft^3
|
b965cfae3ed28b2f545a0b2337f1e11bb6f171a2 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/convertPointsFromHomogeneous/test2.sce | 5bf0c7e6fcaef95591a319a2b92e84cdbd8b3d91 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 844 | sce | test2.sce | //Checking if error message pops up when input is 2D point set instead of 3D i.e Nx2 instead of Nx3
in2 = [ 25 40 ;
12 33 ;
1 11 ;
23 44 ;
56 67 ;
25 54 ;
20 36 ;
24 16 ];
out2 = convertPointsFromHomogeneous(in2);
//output->
// !--error 999
//Please enter 3D points matrix of s... |
b67eb3593d726bee5b1f4b33ea8a737e61232aec | e806e966b06a53388fb300d89534354b222c2cad | /macros/CascadeObjectDetector.sci | c1c4a7f0015ee7c416610e71f48e48cd88429723 | [] | 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 | 1,188 | sci | CascadeObjectDetector.sci | function [out]=insertObjectAnnotation(input_image,object)
// Detect human body parts like face ,nose,eye and ear.
//
// Calling Sequence
// output_image = insertObjectAnnotation(input_image,object);
//
// Parameters
//
// input_image : image matrix on which Cascadeobject detection has to be performed
// object : An inp... |
99c506ed7fa13c33072495f8029a6e825d54a92d | 7c129ce7f747d44e6c7cedea4c007088e87aa90c | /Programs/Comb_Filter.sce | 94a312884425fdd5f7cb197c9c5573aa7cb1a1f6 | [] | no_license | KilariSandhya/Digital-Signal-Processing | 08d97a6d46ff46c533c7a2114c19883980c85e38 | bad9dab8f5e02a8f1638ce20351e9eba1a0a11d0 | refs/heads/master | 2022-11-18T03:23:47.628061 | 2020-07-20T07:46:02 | 2020-07-20T08:00:23 | 281,047,630 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Comb_Filter.sce | clc;clear;close;
fs=500;//sampling frequency
fd=50;
M=10;//number of notches
k=1:M;
fn=fd*k;
z=%z;
h=(1-z^(-2*M))//(1-.99^M*z^(-2*M));//system function
[hz,fr]=frmag(h,fs);//magnitude response
f=1:fs;
plot(f,hz);xtitle('comb filter','frequency_hz','magnitude');
|
966a2ad6346c6af07063d84563b2c718dbdac849 | 6b7e9274b9748e4dffc5ede7f068decafb31ee39 | /Common-Core/Basic-numerical-methods/code/src/diff/dif-conv-2D.sce | a2710287d8373dda5c341d441caa1a1cc9034a68 | [] | no_license | nadir-aitlahmouch/Grenoble-inp-Ensimag | 9ae70296c7ddac221dff9cfeb5b02bb2fc673a4a | ea1ea530ea05420e9caf16db6b3d3e4c306248df | refs/heads/main | 2023-03-12T00:08:33.719439 | 2021-03-04T00:53:39 | 2021-03-04T00:53:39 | 343,920,590 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,020 | sce | dif-conv-2D.sce |
dx=Lx/Nx;
dy=Ly/Ny;
exec("dif-conv-f.sce")
maillage_x=linspace(0,(Nx-1)/Nx*Lx,Nx)';
maillage_y=linspace(0,(Ny-1)/Ny*Ly,Ny)';
cx=zeros(Ny,Nx); //composante x de la vitesse de convection
cy=zeros(Ny,Nx); //composante y de la vitesse de convection
phi=zeros(Ny,Nx); //fonction à calculer
phi_i=zeros(Ny,Nx); //condt... |
72f6221b0ca68fa55bc4a678690197672fa81543 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH2/EX2.3/2_3.sce | c0160550bccaae44e9766741a43da46be923aaab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | 2_3.sce | clc
//initialisation of variables
d0= 4 //ft
d2= 2 //ft
z0 = 0 //ft
z1= 5 //ft
z2= 13 //ft
h= 9.5 //in
w= 62.4 //lb/ft^3
w1= 30 //lb/ft^3
g= 32.2 //ft/sec^2
r= 0.1
//CALCULATIONS
p2= -h*34/w1
v2= sqrt(2*g*(z1-p2-z2)/(1+r))
Q= %pi*(d2/12)^2*v2*w*60/(10*4)
//RESULTS
printf ('Discharge = %.f gpm ',Q)
|
c5f32aef3ce47c7a4068fd0feba5852e9346fa9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH6/EX6.9/Ex6_9.sce | 6f6d9d925e8be9e83576c7c38f96d2a7241af6b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | Ex6_9.sce | clc//
//
//
//Variable declaration
m=9.1*10^-31; //mass of electron(kg)
h=6.626*10^-34; //planck's constant
n=1;
L=4*10^-10; //side(m)
//Calculation
E1=n^2*h^2/(8*m*L^2); //lowest energy of electron(joule)
//Result
printf("\n lowest energy of electron is %0.3f *10^-18 joule",E1*10^18)... |
02b8bb2ff54b9016a0ddbbae7d96a94624b5d253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH6/EX6.21/Fig6_21.sce | aead6967b6cae8638015ee5eff682aa1943561ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,102 | sce | Fig6_21.sce | //Caption:Scilab code to Perform median filtering
//Fig6.21
//page 352
clc;
close;
c = imread('E:\DIP_JAYARAMAN\Chapter6\cameraman.jpg');//SIVP toolbox
N = input('Enter the window size');
a = double(imnoise(c,'salt & pepper',0.2));
[m,n] = size(a);
b = a;
if(modulo(N,2)==1)
Start = (N+1)/2;
End = Start... |
c138d64cbbb83023fb74e7ac85e8075bc85c9fed | a439c420539294c6e178cc89c43c4231246f9cbe | /Scripts/Code/ModiEuler_ode.sci | 76e5baf8fee3078d55e64f18d6177155cf9f620b | [] | no_license | PirateKing19902016/Scilab-Spoken-Tutorials | b7927e196acbefa47abdbdeb326d37385d5cbc34 | a110fc425c123f7041cb9ee8eca42ce08619ae60 | refs/heads/master | 2021-05-02T06:14:37.089440 | 2018-02-09T16:23:27 | 2018-02-09T16:23:27 | 120,855,481 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sci | ModiEuler_ode.sci | //**********************************************************
// Modified Euler Method ****
// By Manas,FOSSEE,IITB ****
//**********************************************************
function [t, y] = ModiEuler_ode(f, tinit, yinit, h, N)
t = zeros(N+1,1)... |
65499daac0790789862dac3e4265f4ed549ed918 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH7/EX7.13/7_13.sce | 0f63f1eab791084c3f630111b1fb3214c94e3b0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sce | 7_13.sce | //Chapter 7, Problem 13
clc;
l1=40*10^-2;; //length of iron path
l2=2*10^-3; //radial air gap
u0=4*%pi*10^-7;
phi=0.7*10^-3; //flux
A=5*10^-4; //cross-sectional area
H1=1650; //from B–H curve fo... |
b5be26f480435f47207561bd458819de08ec31cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH8/EX8.4.2/IIR_Butter_Transformation_BPF.sce | a8275f5ae7d6d284680bff67e8b2513349efcf86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,877 | sce | IIR_Butter_Transformation_BPF.sce | //Graphical//
//Example 8.4.2
//To Design an Digital IIR Butterworth Filter from Analog IIR Butterworth Filter
//and to plot its magnitude response
//TRANSFORMATION OF LPF TO BPF USING DIGITAL TRANSFORMATION
clear;
clc;
close;
omegaP = 0.2*%pi;
omegaL = (2/5)*%pi;
omegaU = (3/5)*%pi; ... |
3aa0a1f71701ca25ec48d8d2f8fe111cfe764a4c | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/controller.tst | 3892bdf0ad487e5e9711bcd90898fb04320e8a40 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 2,450 | tst | controller.tst | # hysim 1.5 tutorial problem
units Field
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + Methane Ethane Propane
thermo + isoButane n-Butane isoPentane n-Pentane n-Hexane
thermo + n-Heptane n-Octane
Feed = Sensor.PropertySensor()
Feed.SignalType = T
Feed.In.T = 60
Feed.In.P = 600
Feed.In.Mole... |
f7387636e83de455094e6bb493c148506782dad0 | 1897ae5489b64fae9aa083d62f51254cfe52d26f | /III semester/numerical-algorithms/labovi/LV4/vj4sam.sce | 1ecbf601334e543f403a7c850700f1f52d1c2411 | [
"Unlicense",
"LicenseRef-scancode-proprietary-license"
] | permissive | MasovicHaris/etf-alles | f1bfe40cab2de06a26ceb46bdb5c47de2e6db73e | 0ab1ad83d00fafc69b38266edd875bce08c1fc9e | refs/heads/main | 2022-01-01T18:22:54.072030 | 2021-12-22T09:05:05 | 2021-12-22T09:05:05 | 138,169,714 | 9 | 15 | Unlicense | 2020-03-29T23:36:50 | 2018-06-21T12:50:51 | C++ | UTF-8 | Scilab | false | false | 514 | sce | vj4sam.sce | scicv_Init();
clf
img_gray = imread("coins.png", CV_LOAD_IMAGE_GRAYSCALE);
img_mat=img_gray(:,:);
subplot(2,2,1)
[counts,X] = imhist(img_mat,255);
histplot(X,counts)
pause
subplot(2,2,2)
plot(X,counts,'g*')
pause
[P,S,mu]=polyfit(X,counts,30);
Y=polyval(P,X,S,mu);
plot(X,Y,'r')
subplot(2,2,3)
pause
[V,ind]=gsort(abs(di... |
3c15a002aecca9f1b171b94dbb3df113d90e25e8 | 80fc9b7a10b546c9071b974c5328180e74ee1c5d | /TP1/4.4.sce | 48bf677235d61239860df2a660f6aec1c8277b71 | [] | no_license | ASokem/TP_MAP101 | a443ddbd656d63918dd5caad3ce89418d02c0123 | b87d45faea6bc793161bae2238bd6489e5d9ede5 | refs/heads/main | 2023-08-10T20:42:07.377878 | 2021-09-29T09:15:34 | 2021-09-29T09:15:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | 4.4.sce | // Copyright (C) 2021 - UGA - JIANG Yilun
//
// Date of creation: 2021-9-16
//
a = 46; b = 66;
mprintf("a = %d , b = %d \n", a, b)
while a>0
r = a
a = pmodulo(b, a)
b = r
end
mprintf("le pcgd de a et b est %d\n", b)
|
44abd111accf7bcaf511de5700238ab8a702a1d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH8/EX8.5/Ex8_5.sce | c20370ea9e3ced2230461356fc094d72cc835581 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_5.sce | //Example 8_5 page no:306
clc;
R=10;//resistance in ohm
L=0.1;//inducatance in henry
C=10*10^-6;//capacitance in farad
fr=1/(2*%pi*(sqrt(L*C)));
BW=R/(2*%pi*L);
Q=fr/BW;
disp(Q,"the quality factor of a coil for the series circuit is");
|
7ccacc2a9b1e1eb19bd4048d44862d9373200fbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH9/EX9.4/Example_9_4.sce | ad48dd080c2727db7497886f59c5a95865ad815f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Example_9_4.sce | //Chemical Engineering Thermodynamics
//Chapter 9
//Fluid Flow in Pipes and Nozzles
//Example 9.4
clear;
clc;
//Given
A1 = 0.1;//Inlet area in sq meter
u1 = 60;//inlet velocity in m/sec
v1 = 0.185;//inlet specific volume in cubic meter/Kg
H1 = 715;//inlet enthalpy in Kcal/Kg
H2 = 660;//exit enthalpy in Kca... |
a444de1f5205f54c53b8c26fed46613ff9527969 | 5ef198fade948c83b23b5441c96947fb5df5022c | /2d_transient_v01_data.sci | b098806d9b63102bbadf1fec5e172f944ce058be | [] | no_license | anandtakawale/Con-duction | c774b0d38e7f7836c102f88129cbd36b5b097115 | d36237e4686a615fdea958a1251ece34336b7d67 | refs/heads/master | 2020-06-01T14:17:02.157334 | 2012-09-30T18:53:08 | 2012-09-30T18:53:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | sci | 2d_transient_v01_data.sci | //2d transient conduction
l=input("Enter length of square plate:");
nx=input("Enter number of nodes on each side:");
w=l; //width of plate
ny=nx; //nodes in y direction
dx=l/(nx-1); //finite difference in x direction
dy=w/(ny-1); //finite difference in y direction
k=input("Enter thermal conductivity in W/mK:");
rho=inp... |
2b8e460d49aa606fcd866c14651d453a80d75db7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH16/EX16.13/16_13.sce | b104a3162884968c75ccfedf9ad87b110c4abacf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | 16_13.sce | pathname=get_absolute_file_path('16_13.sce')
filename=pathname+filesep()+'16_13data.sci'
exec(filename)
dw=d- 2*tf;
Ixx=2*(((b*tf^3)/12)+ b*tf*((dw+tf)/2)^2) + (tw*dw^3)/12;
Iyy=(2*tf*b^3)/12 + (dw*dw^3)/12;
printf("\n Ixx= %f mm^4",Ixx);
printf("\n Iyy= %f mm^4",Iyy) |
90ab2afe26c0e1f94ad4b0193a4d0eb0f237131e | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH13/EX13.11/Example_13_11.sce | dbd0fb26ea41ac9c3b7582ac8382cf04c452c651 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Example_13_11.sce | //Chemical Engineering Thermodynamics
//Chapter 13
//Thermodynamics in Phase Equilibria
//Example 13.11
clear;
clc;
//Given
//The given example is a theoretical problem and does not involve any numerical computation
//end |
158fb2279d3fa82b243a7693e7dd78d9fc1eb1fe | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH12/EX12.2/Ex12_2.sce | bdeec4727c119e364d50b742d8887cd6d1fe630f | [] | 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 | 244 | sce | Ex12_2.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
t1=4 //s
t2=5 //s
//Calculation
v1=9*t1^2+1 //ft/s
v2=9*t2^2+1 //ft/s
a=(v2-v1)/(t2-t1) //m/s^2
//Result
printf('The acceleration during fifth second is %f ft/s^2',a)
exit();
|
5bc4ce2ffcf7f4f7d8b0b141d465633041200cac | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calibSimplexMeanSquares_11:00:04.631 AM 07-juin-2013.sci | 86c3426e721f2858e4b8cc0ac8e1a54ca20a5a68 | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,350 | sci | calibSimplexMeanSquares_11:00:04.631 AM 07-juin-2013.sci | ms=[];incomemean=[];bref=[];bnorm=[];
ms(1)=50000;
incomemean(1)=17000;
bref(1)=12000;
bnorm(1)=30000;
ms(2)=50000;
incomemean(2)=17000;
bref(2)=17000;
bnorm(2)=30000;
ms(3)=50000;
incomemean(3)=17000;
bref(3)=12000;
bnorm(3)=35000;
ms(4)=50000;
incomemean(4)=22000;
bref(4)=12000;
bnorm(4)=30000;
ms(5)=50000;
incomemea... |
2a53a0f86cb57179d38141a3df8cbdb06fff8c40 | cd3baacb9aa523e8ac4f10406c5fb62c9c60998a | /gate/MyMux16.tst | cbbc1fa19b9fb81f0e91441d6e6132d44cbc840f | [] | no_license | wangkekekexili/cuddly-octo-pancake | f8bbebc043417af9662712de610b390f062545f8 | 67b3d4c3d15c5877644221b6d987dd911101d013 | refs/heads/master | 2023-03-06T12:49:54.668374 | 2021-02-14T14:53:07 | 2021-02-14T14:53:07 | 338,038,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | tst | MyMux16.tst | load MyMux16.hdl,
output-file MyMux16.out,
output-list a%B1.16.1 b%B1.16.1 sel%B1.1.1 out%B1.16.1;
set a %X3c38, set b %Xc335, set sel 0, eval, output;
set a %Xa9f7, set b %X1d71, set sel 0, eval, output;
set a %X3124, set b %X1dfc, set sel 1, eval, output;
set a %Xe66d, set b %Xe87c, set sel 1, eval, output;
|
bb91ad18230dd47589eefe1e014e475f193a3b40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH1/EX1.8/ex1_8.sce | 1de385205ccee90fa00eefe7fac46585a3b76d75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | ex1_8.sce | // Example 1.8 page no-21
clear
clc
V=1000 //volt
e=1.6*10^-19 //C
m=9.1*10^-31//kg
Vf=sqrt((2*e*V)/m)
printf("V_final=%.2f*10^6 m/sec",Vf/10^6)
|
cb4180dbc1aa2110af6e1aea4d17129cacf52fc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH9/EX9.2/9_2.sce | 7c79c323ecf13e84b395162eef1adb6a6c0db0ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | 9_2.sce | clear; clc; close;
disp(log10(64),'ans for part a :- ');
disp(log(64),'ans for part b :- ');
disp(log10(1600),'ans for part c :- ');
disp(log10(8000),'ans for part d :- ');
|
0d0a07228107fd4dea7690438b7ca4da9e7f542f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH5/EX5.1/ex_5_1.sce | 28b3255cf7782c1d4d11043059c5d66e69f6254c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | ex_5_1.sce | //Example 5.1
clc;
// 1st part //critical angle
u1=1.48;// refractive index of cladding
u2=1.5;// refractive index of core
u=1;// refractive index of air
theta=asin(u1/u2);// critical angle in radian
theta=theta*180/%pi;// to convert in degree
disp(theta,"critical angle in degree")
// 2nd part //fractional re... |
b4900f38a29f74ace30359ba1f922f0d6b9a9043 | cb4516492965c75d14c9d499c387d3cd0b883bc4 | /X3/Section 7 -Tools Environmental Effects/7.1 Joachim Diepstraten, Mike Eißele/arithmetic_mixed.tst | 326b2fb218b29785a4e49569f8d5fb9e97398925 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | nedma/ShaderX | 48367dfc1153e4e6ad6bb5c205777285b06376c5 | 0503dd6ae16f3d288f2e27b0f93ebdfbaf1f4436 | refs/heads/master | 2020-04-08T01:51:11.173038 | 2018-11-24T08:37:42 | 2018-11-24T08:37:42 | 158,911,553 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | tst | arithmetic_mixed.tst | \shader\mixed_4x.psh
\shader\mixed_8x.psh
\shader\mixed_8x_sat.psh
\shader\mixed_8x_texkill.psh
\shader\mixed_8x_texkill_later.psh
\shader\mixed_8x_texkill_later2.psh
\shader\mixed_16x.psh
|
b6d7f6f06f660bf15a3c916e8e05dd22d70c9cb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH5/EX5.8/Ex5_8.sce | d4dbd7a79996c332be76f28191393e895cacc844 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sce | Ex5_8.sce | clc;
PD=0.5;
VF=1;
VBR=150;
IF=(PD/VF);
disp('A',IF*1,"IF=");
IR=(PD/VBR);
disp('mA',IR*10**3,"IR=");
|
f1dc9f81d6ba3e3af380c2094db2fb1d320936e9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_fseek.sci | 307cc0e80d901b17b60411d3a94be1607da6fa86 | [
"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 | 528 | sci | sci_fseek.sci | function [stk,txt,top]=sci_fseek()
// Copyright INRIA
txt=[]
origin=stk(top)
offset=stk(top-1)
fid=stk(top-3)
select origin(1)
case '''bof''' then
flag='''set'''
case '''cof''' then
flag='''cur'''
case '''eof''' then
flag='''end'''
case '-1' then
flag='''set'''
case '0' then
flag='''cur'''
case '1' then
fl... |
f0fe653b8ae01ddfb967e3bc3eb8311af10d60fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.6/EX_7_6.sce | 6712b5da71d775e795c33cff6c535042b1785485 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | EX_7_6.sce | // Example 7.6:tunned capacitance and inductance of tunned circuit
clc;
clear;
close;
fo=500;//tunned frequency in killo hertz
LC= (1/(4*%pi^2*(fo*10^-3)^2));//
L3=1;//assume inductance
C=LC/(L3*10^-3);//capacitance in pico farad
C1= 2*C;//
C2=C1;
disp(L3,"inductance in milli henry is")
disp(C1,"tunned capa... |
5dd7899f67c1216483c74d00b6f63a4e367af26e | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH22/EX22.4.b/Ex22_4.sce | 58b1aa8c1a72d9979d9114e2bc93ce6a853c58b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | Ex22_4.sce | clear
//Depends on data22_4.sci file
//Obtain path of solution file
path = get_absolute_file_path('Ex22_4.sce')
//Obtain path of data file
datapath = path + filesep() + 'data22_4.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the permissible strength of the material sigma (N/mm2)
sig... |
f0b6e77f865bbc9415f14fe0a91c5bdd1e48c439 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH10/EX10.15/Example10_15.sce | edd7d1a25548b15f38fd53fe1656a1505e91d13e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | Example10_15.sce | //Chapter-10,Example10_15,pg10_47
Po=24*10^3
Il=57
Is=Il
P=8
N=720
f=50
Vl=415
pf=0.707
Ns=120*f/P
s=(Ns-N)/Ns
Ml=1000
Pm=Po+Ml
Pc=Pm*s/(1-s)
Tsh=Po*60/(2*%pi*N)
T=Pm*60/(2*%pi*N)
Rcl=1041.66//rotor copper loss
P2=Pc/s
Pi=sqrt(3)*Vl*Il*pf
Rs=0.1
Scl=3*(Is^2)*Rs//stator copper loss
Sl=Pi-P2
Sil=Sl-... |
67c2149223f8d6c7ed8a0cf705226b5bb6a78def | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH4/EX4.21/example4_21.sce | b33dad1b768ae4ecaf69bbad58aeb5781db1f62f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | example4_21.sce | clc
clear
disp("example 4 21")
md=800 //maximum demand
pf=0.707 //power factor
c=80 //cost
p=200 //power
e=0.99//efficiency
pff=0.8 //fulload pf
ikva=md/pf
iafc=(round(ikva*100)*(c)/100)
rsm=ikva*pf
act=p*(0.7355)/e
at=-act*sind(acosd(pff))
tkw=rsm+act
tkvr=rsm+at
tkva=(tkw^2+tkvr^2)^0.5
ikvad=tkva-ikv... |
727aa8c899ba40743d8ace69aec88c1fdf92a2d2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/auto/des2tf.sci | 1056101131d1716fef3e0cda7b2c30922faf1dd0 | [
"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 | 320 | sci | des2tf.sci | function [Bfs,Bis,tf]=des2tf(des)
//des admits a D matrix.
[LHS,RHS]=argn(0);
if LHS<>1 & LHS<> 3 then error('des2tf: 1 or 3 output args needed');end
[A,B,C,D,E]=des(2:6);
[Bfs,Bis,chis]=glever(E,A);
if LHS==3 then Bfs=C*Bfs*B; Bis=C*Bis*B+D;tf=chis;return;end
if LHS==1 then ww=C*Bfs*B;Bfs=ww/chis-C*Bis*B+D;return;end
|
4834df98ae5e3dd03db796e71afaf89910292994 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH10/EX10.4/Ex10_4.sce | bddac8d54954dc50ac2108497b40603defde05d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | sce | Ex10_4.sce | clc
s=1.118//m
h=1.00//m
a=sqrt(1+(s/h)^2)
disp(a,"a is= ")
|
83751630e8143bd5a52f41309d11430e115d9d75 | 867aeab6c7faa32a24047121e1ee6e9fd75aefa2 | /2020 fall/CMPUT 455/go0and1/test_go_base.tst | ebe00de8cc84d22a904c1e22898e22ea384726b4 | [] | no_license | boyuandong/fall_2020 | 3077235cee3504aaf0c77ecec86c74eb64043bbe | aa932f91de6df9e62d6e453f968e1b2da4a5f83a | refs/heads/main | 2023-04-21T03:22:22.025715 | 2021-04-28T05:36:50 | 2021-04-28T05:36:50 | 359,421,071 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | tst | test_go_base.tst | #-----------------------------------------------------------------------------
# Tests of Go base functions for all Go*.py players.
#-----------------------------------------------------------------------------
10 version
#? [1.0]
30 protocol_version
#? [2]
40 komi 0
#? []
50 boardsize 2
#? []
60 legal_moves b
#? ... |
2e7c6e29172a6ec74f7aaa813999ac58291912d8 | 2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf | /Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab6_sisteme_ec_diferentiale.sce | 4d4e1cffc5ebd4f48ddb98037a47f96f483742af | [] | no_license | stickyrst/automatica | 1f902091376c0f65c08a66721de3185a70f88d26 | 2ac48ae78f45b787724fa90c0e7acd8052e6725c | refs/heads/master | 2020-06-11T18:39:23.768638 | 2018-05-30T19:55:38 | 2018-05-30T19:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | lab6_sisteme_ec_diferentiale.sce | y1(1)=0;
y2(1)=0;
a=0;
b=0.1;
n=50;
h=(b-a)/n;
for i=1:n
t(i)=a+i*h
k1=(10*sin(314*t(i))-5*y1(i)-y2(i))/0.01;
k2=(10*sin(314*(t(i)+h/2))-5*(y1(i)+k1*h/2)-(y2(i)+k1*h/2))/0.01;
k3=(10*sin(314*(t(i)+h/2))-5*(y1(i)+k2*h/2)-(y2(i)+k2*h/2))/0.01;
k4=(10*sin(314*(t(i)+h))-5*(y1(i)+k3*h)-(y2(i)+k3*h))/0.... |
9cb3afff8765c3652e332cb575e718258e76f1b4 | e51bdac5dcd38fb280d2b1ff6b23dd23bb9a08d1 | /meu_genetico.sce | 2240ee847445770088e0977a6db822e0f03a6e43 | [] | no_license | jotabf/ufrn-otimiza-o-2018-1 | 1fd462d61f80a779fef8e749d5fc4794f9dece4a | d3204075ff58aa878e8131d0b2ae26af15ffff55 | refs/heads/master | 2020-03-22T16:03:42.684872 | 2018-07-09T11:51:21 | 2018-07-09T11:51:21 | 140,300,205 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,405 | sce | meu_genetico.sce | MIN = -500;
MAX = 500;
best = 10e9;
function res = func(x,y)
z = - x.*sin( sqrt( abs(x) ) ) - y.*sin( sqrt( abs(y) ) );
x = x/250;
y = y/250;
r = 100*( y - x.^2 ).^2 + ( 1 - x ).^2;
r1 = ( y - x.^2 ).^2 + ( 1 - x ).^2;
w = r.*z;
w2 = z - r1;
w6 =... |
a28d9c52633eaa0ff979d1ed6403faacc1650baf | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.52/ex52.sce | 0f4ddb6becc093a8dc08ad5c09a5dc0af516013d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | ex52.sce | clear
clc
A=[2+%i 3 -1+3*%i;-5 %i 4-2*%i]
disp("A*=")
A'
disp("AA*=")
A*A'
disp("clearly,AA* is hermitian matrix ") |
cefdd0c61ac9a9b36c6ac56ad9c213cea26a95bf | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/unr_enum_02.tst | 3590ed8ecfbb3a99ca1b1ce6cfae762839978886 | [] | 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 | 207 | tst | unr_enum_02.tst | // @Harness: verifier
// @Purpose: "Test for unresolved enumerations"
// @Result: "UnresolvedEnum @ 7:19"
architecture unr_enum_02 {
operand-type A[5]: int [0,31];
enum-subset E: A {
r = 0
}
}
|
414d23ae3ffffb6eb67eae56815df454efe2864b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH6/EX6.4/EX_6_4.sce | 28fd17bf49eac55b45af4a1335f89d95d44d2fa7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | EX_6_4.sce | //Example 6.4// ratio error and phase angle error
clc;
clear;
Ns=250;//no. of secondary turns
Rp=1.4;//in ohms
f=50;//frequency in hertz
Np=1;//no. of primary turns
Is=5;//SECONDARY WINDING CURRENT IN AMPERE
Re=1.1;//external burden in ohms
mmf=80;//magneromotive force in AT
Il=1.1;//IRON LOSS IN WATTS
Kt=Ns/Np;//turn ... |
19cce89e840408ec79af325794ebfaafbf99c4a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH3/EX3.8/Ex3_8.sce | 7377b8e4d82093c08e26dc3ddabdd2b5208527ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,634 | sce | Ex3_8.sce |
//To determine the cross section of the conductor for a minimum consumer voltage
//Page 111
clc;
clear;
//Unknown Variable obtained in the equation
x=poly(0,"x");
r=poly(0,"r");
//Voltages at the respective ends
Va=235;
Vb=230;
//Minimum Consumers's Voltage
Vc=220;
//Lenghths of the segments
r1=20... |
2fb7bc991a37db115112a4198ac2582b2bae0aba | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/bonus_hw/task2/Accumulator.tst | 112bd5a4b095c5421f6793269974f4fccfb6c546 | [] | no_license | jyuan2pace/CS506 | afca44ee8df14436d72de97e658a61841091e651 | fa80d2786f006c226c6e6413ee23fe306d6c57d0 | refs/heads/master | 2020-07-28T13:04:37.077116 | 2019-11-24T20:15:20 | 2019-11-24T20:15:20 | 209,419,478 | 8 | 11 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | tst | Accumulator.tst | load Accumulator.hdl,
output-file Accumulator.out,
compare-to Accumulator.cmp,
output-list time%S1.4.1 XOUT%D1.8.1 SOUT%B1.8.1;
set X 0,
set S 0,
set loadS 1,
set loadX 1,
tick;
output;
tock;
output;
set loadS 0,
set loadX 0,
repeat 25 {
tick;
output;
tock;
output;
}
|
f8ecab66d9e9ae54ccaf2442013d6d8dcd6c3a3d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_exist.sci | e94199aa1a36c909362340e7ea3dbec93e07363d | [
"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 | 191 | sci | sci_exist.sci | function [stk,txt,top]=sci_exist()
// Copyright INRIA
txt=[]
set_infos('Not enough information using mtlb_exist instead of exists',1)
stk=list('mtlb_exist('+stk(top)(1)+')','0','1','1','1')
|
c3cce9401891f8f1e09ce0b97ccdb2fa414fddbc | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 5/Lista 5/Givens.sci~ | 1b34f8c9abe1c3993c456724d9a2e8eb29def307 | [] | 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 | 848 | Givens.sci~ | // funcão que retorna a matriz ortogonal Q e triangular T
function [Q,T, guarda_g] = Givens(A)
//inicio
[linha, coluna] = size(A);
p = min(linha, coluna);
exec("rotationGivens.sci");
guarda_g = cell();
indice = 1;
R = eye(p,p);
for j = 1:coluna
... | |
fb45cd0a7f9355f767d4e49b4c6e72ca1b06e66e | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/unions_runme.sci | 286037dcaea5851b6ca4f6d5d9490825c0cb36db | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | unions_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:b0c5b17c50d3e5ed0aa250b97ca8bd8977c8d8d1298a0320be7131c5e0a798fa
size 418
|
639f433f842c46001d1013c2208284173dd93f48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH45/EX45.2/example_2.sce | cb3198b834a9cb69d358fd288ce89c2ea88edddf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | example_2.sce | //chapter 45
//example 2
//given
//clc()
m=1
lambda=5890//in A
d=25400//in A
theta=asind((m*lambda)/d)
disp("solution (a)")
disp(theta,"The first order diffraction pattern in degree=")
disp("solution (b)")
//given
del_lambda=5.9//in A
delta_theta=(m*(del_lambda))/(d*cosd(theta))
disp(delta_theta,"Angle of seperation in... |
5d523c9a1570f9a24e7a0aba638392af9c421921 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.28/Ch03Ex28.sce | 92a18d46db7bddf1d0adeb22a9031388cbd033b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sce | Ch03Ex28.sce | // Scilab Code Ex3.28:: Page-3.48 (2009)
clc; clear;
lambda1 = 6500e-008; // Wavelength of first line, cm
lambda2 = 4500e-008; // Wavelength of scecond line, cm
theta1 = 18; // Direction of lower order, degrees
theta2 = 18; // Direction of higher order, degrees
// As (a+b)*sin(theta1) = n*lamb... |
0f51780c86ee3579902bae43ea047dc063a92de3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH5/EX5.7/Example5_7.sce | ac038193dcc99d3934ea0b0022a3a7981eca258f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_7.sce | //chapter-5,Example5_7,pg 493
Vref=1//ref. voltage
Vi=0.2//input voltage
n=15//no. of counts before reset(n+1)
N=((n+1)*Vi)/Vref//no.of counts over charging time
printf("no. of counts over charging time\n")
printf("N=%.2f ",N) |
8829a2f5d8ab062e24420a9a2e80833c3846b8b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH3/EX3.2/Chapter32.sce | bb97630ef20506a8aeb28e158fa74e62eccd2717 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,176 | sce | Chapter32.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 3, Example 2")
//Temperature in K at four edges are given
//Theta is non dimensional temperature defined as ((T-300)/100) where T is actual temperature in K.
//G... |
a0d953fd66657882fd7ccb953f02aabfa797ba8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH3/EX3.3/Exa3_3.sce | 4a45db893823a6b0e36e06f839818b8602a868e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Exa3_3.sce | //Exa3_3
clc;
clear;
close;
//given data is :
A=10000;//in rupees
n=25;//in years
i=20;//% per annum
F=A*(((1+i/100)^n-1)/(i/100));
disp("The future sum of the annual equal payment after 25 years is : "+string(F)+" Rupees."); |
478794e32b2a971bf024f45db14f9b425450802c | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH6/EX6.12/example12_sce.sce | b9c535889f11e4ae916e7b205ef46602b3ca68e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | example12_sce.sce | //chapter 6
//example 6.12
//page 277
printf("\n")
printf("given")
Rc=5.6*10^3;Rl=33*10^3;rs=600;R1=68.0*10^3;
R2=56.0*10^3;Re=4.7*10^3;
hfe=100;hie=1.5*10^3;vs=50*10^-3;
disp(" CE circuit operation with vs at transistor base and Re bypassed")
Av=(hfe*((Rc*Rl)/(Rc+Rl)))/hie
Zb=hie
Rb=(R1*R2)/(R1+R2);
Zi=(Rb*Zb)/(Rb+Zb)... |
aaad23e42955ded47a730d2c004c430d79582508 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH12/EX12.7/127.sce | 83ce2a32e2580218ec296e6104f05943489482c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | 127.sce | // problem 12.7
sp=25*(10^6)
H=40
no=0.9
P=25*1000
g=9.81
u1=2*(sqrt(2*g*H))
Vf1=0.6*(sqrt(2*g*H))
w=9810
Q=sp/(w*no*H)
De=(Q*4/(3.142*Vf1*(1-(0.35^2))))^0.5
Db=0.35*De
N=u1*60/(3.142*De)
Ns=N*(P^0.5)/(H^1.25)
disp(Ns,N,Db,De,"diameter of runner and boss, speed and specific speed of runner in r.p.m")
|
0e88b2d35bff8564eed42a6ac2ab93b059f517d3 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /NZFunctions/Hypothesis/FLChiSq-NZ-UM-01.tst | 037856fcb1e59d18e91317accb784a48f169b749 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,713 | tst | FLChiSq-NZ-UM-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2016 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
e2a22cc65070210facd44a7c2e0a667aa7e22fc7 | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/allpasslp2xn/test_4.sce | 779532c031836da52a5f5eeb2d952be9e9e60614 | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 274 | sce | test_4.sce | // Test #4 : Input Argument #1 or #2 is of complex type
exec('./allpasslp2xn.sci',-1);
[n,d]=allpasslp2xn([0.33 0.4],[%i,0.5]);
//!--error 10000
//Wt must be vector and real
//at line 29 of function allpasslp2xn called by :
//[n,d]=allpasslp2xn([0.33 0.4],[%i,0.5]);
|
e6ae3aea24bc33f011e89bfc2860989747b9a443 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH13/EX13.3/c13_3.sce | 2272bd44a44dff9085da11c1dcf7567a5fa339c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,142 | sce | c13_3.sce | //(13.3) A natural gas has the following molar analysis: CH4, 80.62%; C2H6, 5.41%; C3H8, 1.87%; C4H10, 1.60%; N2, 10.50%. The gas is burned with dry air, giving products having a molar analysis on a dry basis: CO2, 7.8%; CO, 0.2%; O2, 7%; N2, 85%. (a) Determine the air–fuel ratio on a molar basis. (b) Assuming ideal g... |
79fa8b6aeb24c85c9fc24b2690033669532b0327 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/Python/FieldUtils/Tests/kovas2.tst | 62cac970f23a201201b9ea1d4913946493d2e816 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 900 | tst | kovas2.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Post-process Semtex flow field of Kovasznay flow</description>
<executable python="true">kovas2.py</executable>
<parameters></parameters>
<files>
<file description="Session File">kovas2.xml</file>
<file description="Field file">... |
6f65bc5a540ff5fcabb30e60aa8dafc880d978b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH17/EX17.3/17_03.sce | 22a4ead65896d59d449c40133d08470195a36d89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | 17_03.sce | //Chapter 17, Problem 3
clc;
R0=600; //nominal impedance
fc=5*10^6; //cut-off frequency
C=1/(%pi*R0*fc); //capacitance in farad
L=R0/(%pi*fc); //inductance in henry
printf("Inductance L = %d uH\n\n",L*10^6);
printf("Capacitance C = %d pF\n\n",C*... |
d388f5cdb626b1f95f2a4dbcc42b3f79839a4052 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH3/EX3.10/ex3_10.sce | 9954e34da7655d4781c1785fcfe0f25dbd967200 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex3_10.sce | //find the clearance of conductor from ground
clear;
clc;
//soltion
//given
W=1;//kg/m//Line conductor wieght
L=300;//meter//span of the line
T=1500;//kg//max allowable tension
T1=22-2;//m//effective height of the towers
g=1/20;//sin Θ//gradient
h=L*g//m//vertical distance between two towers
printf("x1+x2≈ %... |
d917ed90d9ab7a6d9468b545abd100a3aad8e761 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH4/EX4.9/Ex4_9.sce | 1f48a5ba287574bb75a88d85b59150b9b3d2bbb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | Ex4_9.sce | clc
Nd=10**16 //cm^-3
Na=0
ni=1.5*10**10 //cm^-3
T=300 //K
k=8.617*10^-5 //eV/K
n0=((Nd-Na)/2)+sqrt((((Nd-Na)/2)^2)+ni^2)
disp(n0,"n0 in cm^-3 is")
p0=(ni^2)/n0
disp(p0,"p0 in cm^-3")
|
39bea2d828ce84d3b18e50b0c17494f1beafb87b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH8/EX8.9/Ex8_9.sce | 52205aaab0188ac3c9b9d2cb9cac2b1e26536b2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_9.sce |
//Example No.8.9.
//Page No.234.
clc;clear;
m = 9.1*10^(-31);//mass of electron.
k = 1.38*10^(-23);//Boltzman's constant.
vf = 0.86*10^(6);//Fermi velocity -[m s^-1].
Ef = 0.5*m*vf^(2);//Fermi energy
printf("\nThe Fermi energy of the metal in joules is %3.3e J",Ef);
Ef = Ef/(1.6*10^(-19));
printf("\nThe Fer... |
7e70667fd5c38ed2d6c18f97f3073f0c221ab93f | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH5/EX5.11/Example5_11.sce | b31cc320a3cbde6f0290cd28b5b7798dcef54e60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Example5_11.sce | //Gas Stoichiometry
clear;
clc;
printf("\t Example 5.11\n");
VC2H2=7.64;//volume of acetylene, L
VO2=VC2H2*5/2;//volume of O2 required for complete combustion as 5mol O2 react with 2mol acetylene for complete combustion
printf("\t the volume of O2 required for complete combustion of acetylene is : %4.1f L... |
785b17f2ea240b99b84a2693099b7c9e40407e57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH4/EX4.10/Example4_10.sce | 1662f69f77e296b0d4e51c9c5a11c5bc65b0ef7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | Example4_10.sce | // Acid Base Titrations
clear;
clc;
printf("\t Example 4.10\n");
mKHP=0.5468;//mass of KHP, g
KHP=204.2;//mol mass of KHP, g
nKHP=mKHP/KHP;//moles of KHP
VNaOH=23.48;//volume of NaOH, mL
MNaOH=nKHP/VNaOH*1000;//molarity of NaOH sol, M
printf("\t the molarity of NaOH solution is : %4.3f M\n",MNaOH... |
36583a96b61d17b65f0b3223d480c5706bb3ba45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH3/EX3.10/Ex3_10.sce | e34f28a6f34e1d1ac0a09090cfc633acf8d91717 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | Ex3_10.sce | //Example 3.10
//Computing final value for unstable system to show the incorrect
// use of final value theorem.
clear;
clc;
//------------------------------------------------------------------
s=poly(0,'s');
num=3;
den=s*(s-2);
Ys=syslin('c',num/den);
//final value theorem, lim s-->0 in s*Y(s)
Y_final=h... |
defc0cc9d9fc3efb39e531f7c4efcacfd6dfafce | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /help/en_US/ARDUINO_SETUP_help.tst | f7de1810fb2b0a007d03e77b20b6ba8106f0879c | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,399 | tst | ARDUINO_SETUP_help.tst | \name
ARDUINO_SETUP
\palette
Arduino
\smalldescription
This block is used to configure the serial port setting for communication between the Arduino and Scilab.
\description
This block is \bold{compulsory} to be placed in the xcos model to use this toolbox.
It defines the communication setting between th... |
5824bbcd92b8854780fa591bfbf91a5845368ac5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH7/EX7.3/7_3.sce | 0b592ff5e18aad12cc4a04dd9f1bc8b94e7690e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,182 | sce | 7_3.sce | //Example 7.3
//Inverse in Place with Pivoting
//Page no. 258
clc;clear;close;
A=[3,-6,7;9,0,-5;5,-8,6]; //matrix
B=[3,-6,7;9,0,-5;5,-8,6]; //copied matrix
for i=1:3
printf('\n\nStage %i',i)
if(i<3)
for j=1:3 //interchange of rows
C(i,j)=A(i,j);
A(... |
e58d213441bbf7adc5fae04f9082dea32bf77c87 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/template_ns_runme.sci | aea784114c81fbe747372a64d4ff65febdf8ef7d | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 436 | sci | template_ns_runme.sci | exec("swigtest.start", -1);
p1 = new_pairii(2, 3);
p2 = new_pairii(p1);
checkequal(pairii_first_get(p2), 2, "pairii_first(p2) test fails.");
checkequal(pairii_second_get(p2), 3, "pairii_second(p2) test fails.");
p3 = new_pairdd(0.5, 2.5);
p4 = new_pairdd(p3);
checkequal(pairdd_first_get(p4), 0.5, "pairdd_first(p4) ... |
e278558a8859ac918047b93386c35d2582177a77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH6/EX6.8/Ex6_8.sce | 2666bff0a604afda8bf3df840117ba6a328fcae2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_8.sce | //Initilization of variables
F=[100,0,0] //N
CE=5 //m
BC=sqrt(34) //m
AC=sqrt(41) //m
//Calculations
//solving as a matrix for system of linear equations
A=[3/BC,-4/AC,0;0,0,(6*4)/CE;-3/BC,-3/AC,-3/CE]
B=[0;F(1)*4;-F(1)]
C=inv(A)*B
//Result
clc
printf('The forces F1 F2 and F3 are as %f N %fN and %fN respect... |
47ab7af4dbcaa5d7e6c5193858cdf63ae98cf5fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH7/EX7.3/Exa7_3.sci | 2e0ecf471b38a04c87fc6951ebe2bf1429d592f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sci | Exa7_3.sci | //Determine the outer conductor diameter of a coaxial cable
Z0 = 2000;
k = 2.56;
d = 0.025;
D = d * 10^(Z0/(138/sqrt(k)));
D1 = D/1e+6;
D2 = D1/9.44e+12;
disp(D2, 'Outer conductor diameter is (in light years)') |
9f48a7ae948a43b4efa0fee4e01d95225c1f48be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.12/Example412.sce | 09d27568a48206e4a590e189fdec3f567948580c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Example412.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 4, Example 12")
disp("Figure shows the velocity triangle with the prewhirl angle. From the velocity triangle:")
Ca = 145;//m/s
C1 = Ca... |
cc2473c9a93d7f29d8f36af0611b1b47a23a7b64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.16/ex2_16.sce | 1739523996a5eadd710840f845eb36e1bd187eb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | ex2_16.sce | //Caption:Calculate the electro magnetic torque
//Exam:2.16
clc;
clear;
close;
E=250;//emf induced in dc machine(in V)
I_a=20;//current flowing through the armature(in Amp)
N=1500;//speed(in rpm)
T_e=0.1591*E*I_a*60/N;//torque developed in machine(in Nw-m)
disp(T_e,'electro magnetic torque developed in dc mach... |
96dbd6cc2cadbbd6d1aeccfa2a7d34130e97ebe2 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/midcross/midcross9.sce | dca8631f4f36efd01a278902770517869412c370 | [] | 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 | 95 | sce | midcross9.sce | //check o/p for single element matrix input
x=[0,0,0,0];
p=midcross(x);
disp(p);
//output
//[]
|
210a2478894ac97ed71605230eb64349f2b59f72 | 14cc8c1b5c43b45337fe06ee506ca3075102ad05 | /approxNor.sce | 299810fd3695e60c34ea6c241f481448d057190c | [] | no_license | ece2lr/tp10 | fb92dfd11ff7fdf0313baffd7403ead100c42186 | 0681ff6123ab6315f3352b8fdb3d76d9bf150c34 | refs/heads/master | 2021-05-12T07:06:59.917267 | 2018-01-12T11:44:00 | 2018-01-12T11:44:00 | 117,233,988 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | approxNor.sce | epsi=.5
x = linspace(epsi,5)
y = 1/sqrt(2*%pi) ./ x .* exp(-.5 * x.^2)
// représentation de la fonction de répartition
clf()
x = linspace(-5,5)
[p,q] = cdfnor("PQ",x,zeros(x),ones(x))
plot(x,p)
//// intervalle de fluctuation : retourne 1.96
//disp(cdfnor("X",0,1,.975,.025))
//// majoration de la fonction d'antirépar... |
45d57700c0e1bdad7978260ff0181fd7c110a613 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH1/EX1.8/Example1_8.sce | 34cff476ef31faa92f599fbe0c89e1bedd620650 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | Example1_8.sce | //Example 1.8
clc
disp("For the above circuit voltage gain with feedback is given as")
disp("A_f = A1[A2/1+A2*B2] / 1+A1[A2/1+A2B2]B1")
disp("(i) deltaA_f = | A1[A2/1+A2*B2]/1+A1[A2/1+A2B2]B1 - |A1-deltaA_i|[A2/1+A2*B2]/1+|A1-deltaA_i|[A2/1+A2B2]B1 |")
disp("(ii) deltaA_f = | A1[A2/1+A2*B2]/1+A1[A2/1+A2B2]B1 - A... |
95ba85921392aceb8a0c2777740215a21c7fedf3 | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /rbs.sci | a7bd07dd898e494cec1a5115c7f7bcc0a73072b1 | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sci | rbs.sci | function u = rbs(n,band,levels)
delta = [0.03 0.05];
P = n;
u = rand(5*P,1,'rormal');
if(band(1)~=0 | band(2) ~= 1)
u1 = iir(8,'bp','butt',[band(1) band(2)],[delta(1) delta(2)])
u = filter(u1.num,u1.den,u);
end
u = sign(u(2*P+1:$-2*P)); // to take out transients
u = ... |
81c93d2a960f42c46953f08cedebd6d32e2c6c18 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/test1/turunan.sci | 00851bfc6c5c0d92ab1b000f5c6db5d67f30b020 | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sci | turunan.sci |
function nilai=cari(xo,tol)
x(1)=xo;
g(1)=1;
r=1;
while g(r)>tol
x(r+1)=x(r)*f(x(r))/faksen(x(r));
g(r+1)=abs(x(r+1)-x(r));
r=r+1;
end
nilai=[x g];
endfunction
function nf=fcos(x,i)
nf=3^i * cosd(3*x+180*i/2)
endfunction
//function y=turunan(x,i)
//endfunction |
6fea0bb60b4207438df6c4724559af5482d9910c | 657c160da7b0e23c1ae058baa77e6f0421752a66 | /Test/Previous/check.tst | eaded47f5d474994013c5330ac49663789fec97d | [] | no_license | hermetique/lsl | e8385820db92e4f077380933eb86160283f5231c | a1d154ec428722a9193fe03502c04eb21ced40e1 | refs/heads/master | 2021-10-10T01:42:52.349919 | 2019-01-05T23:02:33 | 2019-01-05T23:02:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,917 | tst | check.tst | **************************************
Testing ../Code/lsl -i ../LSL/lslinit.lsi
**************************************
************* Test input from check03.lsl ***********
./check03.lsl:4,19: `__ + __' number of __'s in opForm does not match signature
Abort: error in checking LSL traits
************* End of input fro... |
5763c059f285116ee54b1d182b827dfb2019513f | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_5/Scilab_programs/Root_locus.sce | 71c43afcb3242243e3fe7c8634bf60b4034cb06f | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Root_locus.sce | clear
close
clc
s = poly(0,'s');
T = 10/(s^3 + 4*s^2 + 5*s + 10);
G = T/(1-T);
Glin = syslin('c',G);
clf();
evans(Glin,100);
sgrid();
// Post-tuning graphical elements
ch = gca().children;
curves = ch(2).children;
curves.thickness = 2;
asymptotes = ch(ch.type=="Segs");
asymptotes.segs_color = color("grey70");
|
8dbeadc273fef02ebc78624d93db9705fea8337a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.26/exa_2_26.sce | 778f3c8ca05f055d5f6b1202b499f6bda2c268ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | exa_2_26.sce | // Exa 2.26
clc;
clear;
close;
// Given data
q=1.6*10^-19;// in C
miu_n= 0.36;// in m^2/v-s
miu_p= 0.17;// in m^2/v-s
ni= 2.5*10^19;// per m^3
sigma= q*ni*(miu_n+miu_p);// in s/m
rho= 1/sigma;// in Ωm
disp(sigma,"Conductivity of Ge in s/m is : ")
disp(rho,"Resistivity in Ωm is : ")
|
d3da9bce626830a0078c3b2c23ca9c001e59e554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH3/EX3.17/exa_3_17.sce | 8bd1fb8b20f454c35f8836d04914a86f5818c866 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | exa_3_17.sce | // Exa 3.17
clc;
clear;
close;
// Given data
I= 30;// in µA
I=I*10^-6;// in A
T=125+273;// in K
r_F= T/(11600*I*%e^(-0.32/T)*11600);// in Ω
disp(r_F*10^3,"The dynamic resistance in mΩ is : ")
// Note: There are two error in this example in the book. First one is this that putted value of T in first term of ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.