blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d83a881f7ebfe72ff155d75f0e67ccdc5f7c03f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH5/EX5.3/Ex5_3.sce | 1615192508991963bacc0b6624b3fc458282c707 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | Ex5_3.sce | //Example 5-3, Page No - 162
clear
clc
mf = 2.2
fd = 7.48*10^3
fm = fd/mf
printf('The maximum modulating frequency is %.1f Khz',fm/1000)
|
05130fb29907acaae1f7b348a20f31a0db6aa37c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/norm.man.tst | cd54cc9d1c10228f42053793d23287c729b4f9c3 | [
"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 | 117 | tst | norm.man.tst | clear;lines(0);
A=[1,2,3];
norm(A,1)
norm(A,'inf')
A=[1,2;3,4]
max(svd(A))-norm(A)
A=sparse([1 0 0 33 -1])
norm(A)
|
eff000d58698f026f502898c140c7e011fd3885e | 40384c4066dda9a87b764f8c78f44f4b87a9af5f | /Falsa-Posicao.sci | e9abbbbe7edf8bcb061d6f6397111fa175d835ad | [] | no_license | SergioNoivak/Calculo-Numerico | 97866ab7ead8ee4b8f5dd4aacaea411b6eebd5e5 | 25be9c05a5331bfd053433a09f77a4d9b76c3bb7 | refs/heads/master | 2021-01-02T22:41:21.556896 | 2018-08-19T22:44:55 | 2018-08-19T22:44:55 | 99,368,088 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,343 | sci | Falsa-Posicao.sci | clear;
clc;
//###############################Método da falsa posição#############################################//
function tabela (A)
if A<0 then mprintf (" %1.7f",A);
else mprintf (" %1.7f",A);
end;
endfunction;
deff ('y=f(x)','y=x^2 -3');//Função
FUNC='x^2 -3';//printf da lei de formação da funçã... |
7481e1e1a74cba96b8e5d979467fb4fdd0c5c1e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.40/Ex_1_40.sce | 762399a982cf8ccbc109937713d1f957db3e724f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex_1_40.sce | //Example 1_40
clc;
clear;close;
//Given data:
V=230;//V
R1=2;//ohm
R2=5;//ohm
R3=1;//ohm
R4=6;//ohm
R5=5;//ohm
Isqr_t=30;//A^2-s
R=R1+R2*R3/(R2+R3);//ohm(X grounded)
Ifault=sqrt(2)*V/R;//A
tc=Isqr_t/Ifault^2;//s
disp(tc,"Fault clearing time in seconds");
|
dde137c4afbf38bbfbbb07a3d95db86f2ef8d7d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH2/EX2.1/Ex2_1.sce | c1ae619ac5f871c00284e82343434739c66c8ed0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_1.sce | //Example 2_1
clc();
clear;
//To calculate the number of lines in one centimeter of granting surface
lemda=5*10^-5 //units in centimeters
theta=30 //units in degrees
k=2
e=(k*lemda)/sin(theta*%pi/180)
n=e^-1
printf("no of lines per centimeter is %.0f",n)
... |
f0e21cb3f255ffd305805708d341b37faf31f81a | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH17/EX17.2/SCB_2.sce | 559a11240f43df669925ff8de8b0f1d5cc3fefc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | SCB_2.sce | // sum 17-2
clc;
clear;
l=60;
d=60;
r=d/2;
ho=0.008;
c=0.04;
S=0.0446;
nj=1260/60;
W=6000;
p=W/(l*d);
u=S*(c/r)^2*p/nj;
u=u*10^9;
// printing data in scilab o/p window
printf("u is %0.3f cP ",u); |
a69aa859fb6f18c99552b98151950eccbe3dd4ad | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0017.tst | c522e38179d072f01a882883d55acd9598b05f87 | [] | 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 | 319 | tst | 0017.tst | spLiTtEr eP {}
fIlteR W { }
FILteR I {dFA oR nOt O oR V }
m bRanCh N -> PHs
GrOUPeR YMaOp {AgGrEGATE bitand(vWT.Oo) aS J }
UNgroUper PH { }
GrOuPFIltER h {}
MerGer N { mODUle X { bRAnCHes UvN, Y, GNO } MoDULE dr { BRanChes fUq, TeN } MoDuLe u { BRAnchEs hl } MODUle Zt { BRaNChEs ZLL, M, aB } ExPORT MX } |
cb576500cd63f13d3d7dee78b514d95a3c824aa1 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_e_mvi/~BivLCM-SR-bfi_e_mvi-PLin-VLin.tst | 1961ee50329875285d7137778470730283c23b6d | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_e_mvi-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.522115D+00
... |
5f78e3cb0ce30f955343ca55cbaaa6b6b0f0bc1e | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/testcase/abs.tst | eb237f2f6fdb5e4d6f8b759e5a56ade50ad1c01a | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 1,402 | tst | abs.tst | -- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r str... |
2d3d99020a9efd511004d535f4d805e438ff388f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH2/EX2.7/Ch02Ex7.sce | af0dee29d78fdea2b9fea4e0e6d2abd09eef49d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | Ch02Ex7.sce | // Scilab Code Ex2.7 : Page-69 (2006)
clc; clear;
chi_diff = 1; // Electronegativity difference between the constituent of elements of solid
percent_ion = 100*(1-exp(-(0.25*chi_diff^2))); // Percentage ionic character present in solid given by Pauling
printf("\nThe percentage ionic character present in solid = %... |
7f3ce42bfe8ffb954d9b6b9cb161bbc6a94e2b57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH6/EX6.5/Ex6_5.sce | 82a7755dc7c8376892976aab19b927b07024eb18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_5.sce |
clc
//From graph log D ad 1/T are deducted
inv_T1=0.8*10^-3//Reciprocal of temp. in K^-1
inv_T2=1.1*10^-3 //Reciprocal of temp. in K^-1
logD1=-12.4
logD2=-15.45
R=8.31 //Gas law Constant in J/mol-K
printf("Example 6.5\n")
Q_d=-2.3*R*(logD1-logD2)/(inv_T1-inv_T2)
printf("\n Activation energy is %d kJ/... |
c414bb6d7c720c16de275e97087b2025ab9fc3a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.11.a/ex_3_11_a.sce | ba145f7026ff6f33edf9751703426b5bfbcec90b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | ex_3_11_a.sce | //Example 3.11.A // RESISTANCE
clc;
clear;
close;
t=15;//TOTAL CURRENT IN AMPERES
i1=2;//CURRENT THROUGH UNKNOWN RESISTANCE
R1=15;//in ohms
R2=50/2;//in ohms
x=(t-i1)*((R1*R2)/(R1+2*R2));//unknown resistance in ohms)
disp(x,"unknown resistance in ohms")
|
628a59765d099098e6d3fb6aa80ba61721dbaa8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH6/EX6.8/Ex6_8.sce | 41001460174fbb6785d1c313862289992b6f8990 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Ex6_8.sce | //reflected voltage
//given
clc
Vi=50//volts
row=0.25//reflection coefficent
Vr=Vi*row//the reflected voltage
disp(Vr,'the reflected voltage for given reflection coefficent in volts')
|
fa111b97dc1f6589c829389bacc632d654e67acf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH8/EX8.12/8_12.sce | bea441e90eb788019b98b4bbf6ebb5957735146c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | 8_12.sce | //Position of the balls
//refer fig. 8.16
//Let a virtual displacement be given to the system of balls as shown
//Applying virtual work principle
//200*sind(30)*delta(DB)+150*sind(60)*delta(EB)=0
theta=atand((150*sind(60))/(200*sind(30))) //degree
printf("Thus theta=%.2f degree",theta)
|
3c07ec4702ba2dac784a63e256263743a7e81ae7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH10/EX10.3/Ex10_3.sce | 9b44c47994daf491e4ec769b9035142c63407dc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Ex10_3.sce | clc
//to calculate magnetic moment of the rod
//formula is B=muo*(H+I)
//where H=ni
n=500 //number of turns in turns/m
i=0.5 //current passed through the solenoid in A
mur=1200 //relative permeability
I=(mur-1)*n*i //intensity of magnetisation in A/m
V=10^-3 //volume in m^3
M=I*V
disp("the magnetic moment of ... |
362f2ef6a5fa8fe9e8a53db0cf5520cb07558d95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH10/EX10.3.2/Example_10_3_2.sce | fd50a543536873cc37220ca17a2d2498e5e9ceae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Example_10_3_2.sce | //Example 10.3.2 Page 358
//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
//Steven H. Strogatz
clear;
clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
//Taking r=3.5 such that r>3 as given in book.;
r=3.5;
for x=0:0.01:1
f2x=(((r^2)*x)-(r*x)^2)*(1-r*x+r*(x^2)); ... |
e5066ded1d469acfed7a33f25d26490d8b5ff681 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH15/EX15.11/15_11.sce | 0b0f805444e9f2da0e4cf63fd1a26a6a453826da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | 15_11.sce | clc;
// page no 545
// prob no 15.11
// An automobile travels at 60km/hr
v=60*10^3/(60*60);//conversion of car's speedto m/s
c=3*10^8;//speed of light
//part a) calculation of time between fades if car uses a cell phone at 800*10^6Hz
f=800*10^6;
T=c/(2*f*v);
disp('sec',T,'The fading period is');
//part b) cal... |
7b6f35381e5c598e5972dde886aef38f7e83cae6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.42/Chapter6_Example42.sce | 5117e50f4bb8cfe74b89b712927ab479be67d991 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | Chapter6_Example42.sce | clc
clear
//Input data
l=540;//Latent heat of vapourisation of steam in cal/g
L=l*4.2*10^7;//Latent heat of vapourisation of steam in ergs/g
V=1676;//The change in specific volume when 1 g of water is converted into steam in cc
t1=100;//The actual boiling temperature of water in degree centigrade
t2=150;//T... |
b0e6503bb87243ff5494770ec63d82d9d628a69c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH12/EX12.4/Ex12_4.sce | e05f851117e57bdf79f07863ff6ecccfa6c1a64e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex12_4.sce | clc
//to calculate separation between those equipotential surfaces
V=5 //potential difference
epsilon0=8.85*10^-12 //permittivity of free space
sigma=1*10^-7 //in c/m^2
//electric field due to an infinite sheet of surface charge density is given by E=sigma/(2*epsilon0) eq(1)
//E=V/d ... |
4d327da65b67ab3aa56224255947f1d29457968a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH6/EX6.4/Example_6_4.sce | 5714826a0352cd4655c25131bf16c76f3320e1ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | Example_6_4.sce | //Scilab Code for Example 6.4 of Signals and systems by
//P.Ramakrishna Rao
//Sampling Frequency
clc;
clear;
//x(t)=100*(sinc(100*t))^2;
fo=100;
fs=2*fo;
disp(fs,'Minimum Sampling Frequency to avoid distortion is:');
|
8d8410361b3c4a1c5c33946fbcd2d86deb40e62c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH7/EX7.3/Ex7_3.sce | e70daabe94c5316fca13bffa920fb102c73fc8bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex7_3.sce | clc;
clear;
P=10^-3 //power in watt
r=6*10^-3 //distance from the source in m
c=3*10^8 // velocity of light in m/s
myu_0=4*10^-7 //refractive index
n=1
//calculation
I=P/(%pi*(r^2)) //intensity in W/m^2
E=sqrt((2*c*myu_0*I)/n)
mprintf("The electric field at a point = %1.1e volt/m",E)
//The answer given i... |
93ab3b86beeaa160bf4723f7d358f83d08f973e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH12/EX12.6/EX12_6.sce | bd459ff94525ad9ecee77f654453b1d7fe6cf061 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX12_6.sce | // Example 12.6
// Determine (a) The increment increase in load on each machine if an
// additional 400 A load is connected to the bus (b) Current carried
// by each machine
// Page No. 502
clc;
clear;
close;
// Given data
p1=100000; // Rated power in generator A
p2=300000; ... |
8bd57581aa0a881434069557f4fca13b8626c6be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.18/15_18.sce | 8290bfa986048b0c0652a8978124fa504ab25c6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | 15_18.sce | //Example 15.18
//Runge Kutta Merson Method
//Page no. 532
clc;clear;close;
deff('y=f(x,y)','y=x+y')
y=1;x=0;h=0.1;
printf('n\t Xn\t Yn\t K1\t K2\t K3\t K4\t K5\tY(n+1)\n----------------------------------------------------------------------')
for i=0:14
K1=h*f(x,y);
K2=h*f(x+h/3,y+K1/3);
K3=h*f(x+h/3,y+(K... |
abae632653447b7fe5b889682af264a98b01b9b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH7/EX7.3/Ex7_3.sce | fcd9ece902cab75dce20600a2e8361003117a90e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sce | Ex7_3.sce | clc;
//pg n0 120
IZ=10*10**-3;
vz=0.05;
rz=vz/IZ;
disp('ohm',rz*1,"rz=");
|
ad9b538848dddce6c76ad3ba90d1b381ba817d83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH7/EX7.8/Example_7_8.sce | d9abda9272ca95856a6a42f1243878d491cac163 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | Example_7_8.sce | // Example 7.8 Construct Fisher's ideal index number
clc;
clear;
Po=[8 10 7];
Pn=[12 11 8];
Qo=[6 5 8];
Qn= [5 6 5];
PPI=(sum(Pn.*Qn)/sum(Po.*Qn)*100);
LI=(sum(Pn.*Qo)/sum(Po.*Qo)*100);
disp(PPI,"Praasches Price Index",LI,"Laspeyres index = ");
|
3abec3eb524eff9ee2f13d746005841c87724d03 | 8a13c34cfdbdcbc5b8122af70a216bb1079ba147 | /config/packages/tests/broadlink_climate.yaml.tst | 369ba316cb1e45d0a3c9ef5ef2bbe4d3f2d2d6f8 | [] | no_license | maattdiy/home-assistant-config | 71edeebaacbce846fd92509440c63c8281897f24 | 033d71fe96504e0ad1db8ff3cd22ef60ea39f0c3 | refs/heads/master | 2022-02-05T12:07:20.861234 | 2022-01-23T19:10:33 | 2022-01-23T19:10:33 | 109,337,011 | 127 | 20 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | tst | broadlink_climate.yaml.tst | ## Broadlink Climate HASS Module
## Original forum thread: https://github.com/vpnmaster/homeassistant-custom-components
## Official repo: https://community.home-assistant.io/t/broadlink-ir-climate-component/27406
##################################################
## Component
##########################################... |
a5da30d3bf1be400a02081d3482a6482a1516485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH13/EX13.10/EX13_10.sce | bcd9f0be079b0923f1537aa6c3cfb3c7722a9d4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | EX13_10.sce | //Example13.10 // Determine the frequency of the monostable multivibrator
clc;
clear;
close;
R1 = 5*10^3 ;
R2 =15*10^3 ;
C = 0.01*10^-6 ;
R = 12*10^3 ;
// the output of monostable multivibrator is defined as
f = 1/(R*C*(log(1+(R2/R1))));
disp('the output of monostable multivibrator is = ' +string(f)+ ' Hz'... |
1f0a1b6b037dc04c980bee3bbe5ef8e7d7d6b3e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH3/EX3.7/Example3_7.sce | 66662638901e5fb6383f07d42c83539649b20c54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Example3_7.sce | exec("degree_rad.sci",-1)
exec("cross_product.sci",-1)
//Given that
a = [18 * cos(dtor(250)), 18 * sin(dtor(250)),0]
b = [0,0,12]
//Sample Problem 3-7
printf("**Sample Problem 3-7**\n")
cross_ab = crossproduct(a,b)
angle_x = acos(cross_ab(1)/norm(cross_ab))
printf("The magnitude of cross product of given v... |
93e53856839391db00f61da6c0b9d8935a770f8f | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_getsenslistbox.sci | 6231b2e6dce0733014f9a2f3900970bb82d7d95f | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sci | kiks_gui_getsenslistbox.sci | function [] = kiks_gui_getsenslistbox()
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
glo... |
88a441787e79974bcca5b0cb8daa0aed538b127a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH1/EX1.12/Ch01Ex12.sce | 592af15c5b50c668a08b608e2dfd42368914e487 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Ch01Ex12.sce | // Scilab code Ex1.12: Pg:37 (2008)
clc;clear;
Lambda = 1e-010; // Wavelength of X-rays, cm
c = 3e+08; // Velocity of light, m/s
m = 9.13e-031; // Mass of an electron, kg
h = 6.62e-034; // Planck's constant, joule-sec
e = 1.6e-019; // Charge of electron, coulomb
f = c/Lambda; // Frequency of X... |
e2419b71f68f9ec4c6171c4901e06c1d8559ef5e | 3ca7d40067d619bd7859f89de1882e22ef3a9fda | /testcases/public/test023.txt | 1f06aa010c2839d80d41b6797a2ad98ebaa1661f | [] | no_license | caojoshua/CS241-Advanced-Compiler-Construction-Project | 2b76c042ea6505c4a565ae5299efb5d983e0b4f3 | 1b25c9dd283b77555ccc3951924ac2882c1d92c2 | refs/heads/master | 2020-12-15T02:54:38.405198 | 2020-03-25T20:52:37 | 2020-03-25T20:52:56 | 234,971,962 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | txt | test023.txt | # Nested if/while testcase
# Based on discussions with Alex, Marcelo, and Babak
main
var a, b, c, d, e;
{
let a <- 1;
let b <- 2;
let c <- 3;
let d <- 4;
let e <- 5;
while ( c + 4 ) < d do
if ( a + 5 - b ) > ( b * 6 ) then
let a <- a / c * d;
let d <- d - 1
else
let d <- a + b
fi... |
a8af5869e8b9372e62819df29125a51170ec6ec5 | 694ad1c574305de3b85702522d231dea9660e94c | /test/table.tst | 1286edca7abea00e8fc85bbdfd04bb0c6e17b66c | [] | no_license | Mark-Seaman/SeamanTech | ced41e87b2b6fe2ffdc1172c2bd1b2e207536dfd | f2635eb82c26990305ff338c1a9dcbbf4618a3ed | refs/heads/master | 2021-01-13T02:03:24.626053 | 2015-12-07T16:20:34 | 2015-12-07T16:20:34 | 23,025,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | tst | table.tst | tpyrun $p/bin/util/table_test
|
eba322ee8d80597da2653f77e41aa8dd78138bcf | 08fe4df45181e37cb84ba1610cdfb219b4142434 | /macros/GenSciHelpXML_action.sci | dc93805f2213f7aa4677209539abdde658268144 | [] | no_license | gzq763199198/AutoGenHelpToolBox | 17c7db64547e0e196806464f47b788d6ae33bf2e | c85275e8a7a1cd2ab3e19db5b283e9d1e9502843 | refs/heads/master | 2021-02-17T04:02:18.470172 | 2020-03-05T04:35:44 | 2020-03-05T04:35:44 | 245,069,411 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sci | GenSciHelpXML_action.sci | function GenSciHelpXML_action()
handle = findobj("Tag","AutoGenHelpFile");
close(handle);
//Preogress Gen Sci Help XML File
AutoGenSciHelpSet();
endfunction
|
902b7f2771441a7b1d788b398078a31a656c4b50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.9/ex8_9.sce | 8073996048a1b0af047799afb18f8940bdf54db5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | ex8_9.sce | //Page Number: 8.11;
//Example 8.9
clc;
//(a)Noise Figure
//Given
//Loss Fcator
IL=1.5; //dB
IL1=(10^(IL/10));
//Noise figure
F1=1.41;
G1=1/F1;
G2=10;
GG2=(10*log10(G2)); //dB
G3=100;
GG3=(10*log10(G3)); //dB
F2=2; //dB
F3=2; //dB
FF2=(10^(F2/10));
FF3=(10^(F3/10));
F=(F1+((FF2-1)/G1)+... |
aedabf3bd4bb3a420daf18fbb6493fcd299a9294 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.1/Ex19_1.sce | 0b8f6ad78da1c9b4ee09b8ce7de8f95627bbac62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex19_1.sce | //Ex19_1 Pg-957
clc
bin='101'; //binary input
dec=bin2dec(bin) //decimal output
disp("The decimal equivqlent of 101 is")
disp(dec)
|
bb69cb0a3d09f092eb0326f38a5af1a6fb31b8c7 | 9b60b7963181dd94c8d10cdb75a83bc010957e71 | /taf_monitor_code/taf_monitor/tests/acceptance/07-civil_cloud_height_thresholds_helicopter.tst | 46a0b786a532f5ea549a234e291458c1af9e87c6 | [] | no_license | alanyon/python | 577773100eac269750925c1f924edc51060ca865 | cbfe0f34fe61ed0495572fa05ea6bf4293ef15bb | refs/heads/master | 2023-07-13T17:27:59.555648 | 2021-08-09T15:59:08 | 2021-08-09T15:59:08 | 393,341,633 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,832 | tst | 07-civil_cloud_height_thresholds_helicopter.tst | {
"EGNJ 150800Z 1509/1518 18005KT 9999 BKN040 TEMPO 1511/1512 BKN010 TEMPO 1512/1513 BKN008 TEMPO 1513/1514 BKN005 TEMPO 1514/1515 BKN003 TEMPO 1515/1516 BKN001": {
"TAF base conditions cover METAR - cloud BKN050": {
"metar": "EGNJ 150850Z 18005KT 9999 BKN050",
"test time": "20200615... |
23d1f3a81ff938025999db15448f84cd80edf24e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH1/EX1.4/ex1_4.sce | e30bfc9cbfb6833f1ff3c632525028dcedfb3702 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | ex1_4.sce | // Example 1.4 page no-13
clear
clc
V0=10 //volts siince energy is 10ev
xm=2
theta=%pi/4
V=(2*V0*sin(2*theta))/xm
printf("V=%.0fd Volts",V)
|
0063295eccef4fab142c31fa710b18206e31b924 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH5/EX5.3/Example5_3.sce | 4cfc0d3959eaaa5b912a4d0de39bc4ee355e612b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Example5_3.sce | clear;
clc;
// Example: 5.3
// Page: 151
printf("Example: 5.3 - Page: 151\n\n");
// Solution
//*****Data*****//
Th = 650 + 273;// [K]
Tl = 30 + 273;// [K]
Qh = 585;// [kJ/cycle]
//*************//
// Solution (a)
// From Eqn. (5.9)
eta = (Th - Tl)/Th;
printf("(a) The efficiency of the Carnot engi... |
60549f2eaa0b56ad43a98be2a19d4ab41303ef94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH9/EX9.15/Example9_15.sce | 07ae501227791f963cae79ee95c2f2fa0c1c4ff4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Example9_15.sce | close();
clear;
clc;
Idss1 = 10; //mA
T1 = 25 + 273; //K
T2 = 100 + 273; //K
//(a)
Idss2 = Idss1*(T2/T1)^(-3/2); //A
mprintf("(a) Saturation current for operating temperature of %d degree C = %0.2f mA\n\n",T2-273, Idss2);
//(b)
//temperature at which saturation current reduces to Idss3
Idss3 = 5; //mA
T3 ... |
00fe3d692c199ee1975cdc8570d370275c4e6b2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.20/Example5_20.sce | 08905eba9239bcd0f2cc38694203dc47512565e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Example5_20.sce | //Example 5.20
clc;
clear;
close;
format('v',6);
//Given data :
D1=20/100;//meter
D2=15/100;//meter
A1=%pi/4*D1^2;//m^2
A2=%pi/4*D2^2;//m^2
v1=2;//m/s
v2=A1*v1/A2;//m/s
disp(v2,"Velocity at another section in m/s : ");
FlowRate=A1*v1;//m^3/s
FlowRate=FlowRate*1000;//litres/s
disp(FlowRate,"Flow Rate in l... |
971faa237a2007646c9a7ac1ada3e20690d036e8 | 9aa95a74bbb2cde53d49cfbeb529fe858781b85c | /bisection.sce | b259cd0449a96e71021935518d0477c1a7c332c5 | [] | no_license | Killer2499/Scilab | 020807deb4ea75743af080761b65be086d05d491 | 322a592dcccad58dab48bcf52411aa5b26fcb8ff | refs/heads/master | 2020-03-10T09:08:15.979283 | 2018-04-12T19:57:09 | 2018-04-12T19:57:09 | 129,303,189 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | bisection.sce | function bisection()
xl=0;
xu=1;
xm=0.5;
y1=1;
ym=(0.5^3)-(5*0.5)+1;
if(y1*ym<0) then
xu=xm;
end
while (1)
m=(xl+xu)/2;
yl=(xl^3)-(5*xl)+1;
ym=(m^3)-(5*m)+1;
e=((m-xm)/m)*100;
if(-5<e&e<5) then
disp(m);
break;
... |
9b8a5a4533c8006b22f9b43df05cef319768a93e | 37950f16d052f7743e8ddc536e89c28f717a7229 | /Pattern/Pattern (Thinkpads in Konflikt stehende Kopie 2015-04-09).sce | a17c3916862922a0795592e07c7113c62b9affa9 | [] | no_license | tauhideee/SIM-Scilab | 51aca407e107500d6dbb780db4ceebb5a18ef03f | d94b53bb856b59bb33ace4ff001fe96c3c8229bb | refs/heads/master | 2021-01-22T14:20:56.974550 | 2015-07-18T10:26:44 | 2015-07-18T10:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | Pattern (Thinkpads in Konflikt stehende Kopie 2015-04-09).sce | //Generation of Pattern
//1. linSI.m
//
// Clear previous variables and graphics windows
//
clear ;
//plotlibmode
//
// Set parameters
//
fc = 40;
n = 480;
i= 1;
nphases = 3; // number of phases
nangles = 3; // number of angles
theta=linspace(0,%pi,nangles+1);
theta=theta(1:nangles);
phi=linspace(0,2*%pi,nphases+1)... |
e3f631cddcf64d54b3fa742714c08faccd5c1084 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_thresh_truncate.sci | 102f10d8958367c790296a71077a6e8be920b0f1 | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sci | cv_thresh_truncate.sci | function[img_ret]=cv_thresh_truncate(image)
pyImport simple_thresholding
img_ret=simple_thresholding.thresh_trunc(image)
endfunction |
06f1447dc5a6ef1d13981ebb9fbf6541186bb67f | d6c3bd828e83f9b53df41c541ae15450b189a17c | /LAB 1/Or8.tst | 80442865738dd31066347d8cb1f0c22eec85f32c | [] | no_license | vorabrijesh/CSD-LAB | 3d7a9685f1b13bd78e38981b2c5518eda3ce2e4a | 9f6aa2c6a422877d91de31d6b8eef6ed38769898 | refs/heads/master | 2023-01-06T22:05:16.719142 | 2020-10-29T12:59:57 | 2020-10-29T12:59:57 | 294,884,854 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | tst | Or8.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/Or16.tst
load Or8.hdl,
output-file Or8.out,
compare-to Or8.cmp,
output-list a%B1.8.1 b%B1.8.1 out%B1.8.1;
set a %B00000000,
set b %B00000000,
eval,
output;
se... |
bd68fc3c037e22bca2f0194ef191c466bdfe22d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH3/EX3.17/Chapter3_Example17.sce | 5f953dd6842d7c37d4624bd769afcf097a55e67c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter3_Example17.sce | //Chapter-3, Example 3.17, Page 74
//=============================================================================
clc
clear
//INPUT DATA
D1=0.1;//I.D of the first pipe in m
D2=0.3;//O.D of the first pipe in m
k1=70;//Thermal conductivity of first material in W/m.K
D3=0.4;//O.D of the second pipe in m
k2=15;... |
38d6358c52bb1f34343525715fa061b8678357d9 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLInvsech-NZ-01.tst | 85c6da2de5345e6f8c5e24cc7aacf068ccee452e | [] | 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 | 2,374 | tst | FLInvsech-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 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.
-... |
ae8ecab892b0f107c93d21b044720a7ce17e5af1 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_10/mypid.sce | 6ed18349d2d9395272169fe0506a74708f0a4bc1 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | mypid.sce | // mypid.sce
// Scilab.Ninja August 2014
// setup script for mypidx.zcos
// in Scilab Recipe 3 article
s=poly(0,'s');
P = syslin('c',2/(s*(s+0.5)));
// impulse input creation
r.time = (0.01:0.01:10)';
r.values=zeros(1000,1); // start with all zeros
r.values(1:10,1) = 100; // r = 100, 0 < t <=0.1
r.values(501:510,1) ... |
8ccc02cafa3b3da9af60982b26550f41b863ab98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH2/EX2.12/exa_2_12.sce | cf23c624d7e58ba9e8e1db5d378d086e3774339b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_2_12.sce | // Exa 2.12
clc;
clear;
close;
// Given data
AV= 110.2;// true value of voltage in volt
AI= 5.3;// true value of current in amp
v= 0.2;// uncertainties in voltage in volt
i= 0.6;// uncertainties in current in amp
PLV= v/AV*100;// percentage limiting error to voltage drop
PLC= i/AI*100;// percentage limiting e... |
80293b36cc21ca21cfe12ae7b56f7c1c2bcce97e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.51/exa2_51.sce | 9a85bdfdc8bbbd93fb9aef3a2f8ea3ce30861ff6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,688 | sce | exa2_51.sce | //Example 2-51//
//multiplication of binary numbers//
//this program requires functions binary2decimal.sci and decimal2binary.sci//
clc
//clears the window//
clear
//clears all existing variables//
function x=binary2decimal(bin)
p=1
q=1
z=0
b=0
w=0
f=0
//initialising//
d=modulo(bin,1)
//separating the d... |
760699a26970170df6022082d13ec7d32587e8ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH6/EX6.4/exa6_4.sce | 7f856011a0c8ccba213c17bdc711d0d2c6d995a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | exa6_4.sce | //Example 6-4//
//minterm designation of AB''C''D''//
clc
//clears the window//
clear
//clears all existing variables//
disp('copy original term')
disp(' AB''C''D'' ')
disp(' substitute ones for nonbarred letters and zeroes for barred letters ')
disp('after substitution')
disp(' 1000 ')
a=bin2dec('1000')
d... |
696097425ddaa8e3ebb7e531f4bf03ca4972a473 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH23/EX23.6/example6.sce | c85332b953d05faf9ab046998fee496d43d8db23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | example6.sce | // find minimum trigger voltage,maximum capacitor voltage ,width of output pulse
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 23-6, page 918
clear;clc; close;
// Given data
C=0.47*10^-6;// capacitance in faraday
R=33*10^3;// resista... |
8f7e3d5257a8ab009afa6bf317511eaae962c129 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH3/EX3.2/3_2.sce | c7503b7164b7b225b9e4101db0203e9c045679c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | 3_2.sce | clear all; clc;
disp("Ex 3_2")
//Cable CA supports the weight of the engine 2.452kN
//Concurrent System of forces
disp("Equilibrium Equations")
disp("T_B*cos(30) - T_D = 0 ....(1)")
disp("T_B*sin(30) - 2.452kN = 0 ....(2)")
disp("Solving eqn (2) we get the value of T_B")
a=2.452
b1=30
b=30*%pi/180
c=a/sin(b)
printf('\... |
85c0cf85937f804df3151c0c899f5b83c2ec6aac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH5/EX5.16/Ex5_16.sce | dd57da8c35b212b05c6080d186d4216fc658c8b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | Ex5_16.sce | clc
Na=10^18
disp("Na = "+string(Na)+" cm^-3") //initializing value of acceptor concentration.
Nd=10^18
disp("Nd = "+string(Nd)+" cm^-3") //initializing value of donor concentration.
Vbi=1.4
disp("Vbi = "+string(Vbi)+" V") //initializing value of built in voltage.
e=1.6*10^-19
disp("e = "+string(e)+" columbs")... |
a2e9509f858d1d4fecad5caac25d55736e4cf103 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH2/EX2.5/Example25.sce | 1b7435081cbba931d6e70dc82176083299f17ae1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 847 | sce | Example25.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 2 Example # 2.5 ")
//Heat generation rate in W/m3
qg = 75000000;
//Outer radius of rods in m
ro = 0.025;
//Temperature of water in degree C
... |
9f872d8596f5964fb206d135425442ae3b5307aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH7/EX7.7/SC_7.sce | 4bbaf5efc60f7838f17326b31b31e36c4ad473f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | SC_7.sce | // sum 7-7
clc;
clear;
D=500;
p=0.3;
E=208*10^3;
sigc=320;
a=1/7500;
l=2000;
le=l/2;
W=%pi*D^2*p/4;
FOS=4;
Wd=W*FOS;
I=Wd*l^2/(%pi^2*E);
d=(64*I/%pi)^(1/4);
A=%pi*d^2/4;
k=d/4;
d=45; //Rounding off to nearest whole number
// printing data in scilab o/p window
printf("d is %0.1f mm ",d); |
88aef32ab05772eafd01687a8ad5c4008af3b45e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/sos2cell/sos2cell3.sce | 72857b87dbc073a89b2beb68c37ad5b9478da114 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | sos2cell3.sce | s =[0.2113249 0.0002211;0.7560439 0.3303271 ];
c=sos2cell(s);
disp(c);
//..output
// !--error 10000
//Invalid Entry
//at line 59 of function sos2cell called by :
//c=sos2cell(s);
//
|
ee2048861967e3029e17799085e0d61431b484be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.17/Exa2_17.sce | d4fd03fa9d883dea5cf42ebbe457f495e6bb9de2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa2_17.sce | //Exa 2.17
clc;
clear;
close;
//Given data :
R1=200;//in kohm
R2=100;//in kohm
RE=1;//in kohm
RC=1;//in kohm
VCC=9;//in volt
he=2;//in kohm
hfe=100;//unitless
hoe=0;//unitless
hre=0;//unitless
VBE=0.7;//in volt(For Si)
//Part (i)
RB=R1*R2/(R1+R2);//in kohm
VBBdash=(R2/(R1+R2))*VCC;//in volt
//Applyin... |
7adf504c9961226d4473dd9f236202ea48d747f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH4/EX4.3/ex4_3.sce | 12629f3c07e89080b9c6ff7885e70d24cbba3de8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_3.sce | // Exa 4.3
clc;
clear;
close;
format('v',6)
// Given data
Alpha = 0.9;
// For alpha = 0.9, the value of Beta
Beta = Alpha/(1-Alpha);
disp(Beta,"For alpha = 0.9, the value of Beta is");
Alpha = 0.99;
// For alpha = 0.99, the value of Beta
Beta = Alpha/(1-Alpha);
disp(Beta,"For alpha = 0.99, the value of B... |
1f212f8505f30a929aa525e257cadc7219e69460 | 89bd85001a11a2a0f501317fc244013567513dd7 | /scenario/simpleScenario/simpleScenario_02.sce | 10520edede9e3deb37084adc19cb04240864ffbf | [
"MIT"
] | permissive | triacontane/mv | 51d4960b9cfea5c0aa5c4c56cb3deff01f221642 | 49a087a21d4dd9c045b151e6c8767ce5f5381806 | refs/heads/master | 2021-01-12T17:36:18.214276 | 2017-02-12T01:41:43 | 2017-02-12T01:41:43 | 86,892,514 | 2 | 1 | null | 2017-04-01T07:10:07 | 2017-04-01T07:10:07 | null | UTF-8 | Scilab | false | false | 391 | sce | simpleScenario_02.sce | @start
@mob1 name=モブ1
@mob2 name=モブ2
@m1
こんにちは。
@m1
私の名前は、@mob1 name=
で指定したものになります。
@m1 name=一時的な名前
name= を設定すると、一時的にその名前になります。
@m1 face=Actor1 index=2
顔グラも設定できます。
@m2
モブその2です
@m2 color=2
モブその2です。色付き。
@hide |
7547c25d51ba73e9af164d84c0e01188847b9a85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH6/EX6.5.2/Example_6_5_2.sce | 1a5ca34d2336777bfaa087cf4cef19323fcca565 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,511 | sce | Example_6_5_2.sce | clear;
clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
//Get x(dot) = y; y(dot)=x-(x^3);
A1 = [0 1;1 0] //Jacobian at (0,0)
t1=det(A1)
A2 = [0 1;-2 0] //Jacobian at (1,0) and (-1,0).
t2=det(A2)
tau2=trace(A2)
disp("Since, t1=-1, thus (0,0) is a SAddle Point.");
dis... |
f1e47b74218cab09fac679ceea49e34dca7f3e6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH6/EX6.5.a/Example6_5a.sce | 5e90880d05823b1e80b58224daa94217f95677fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,167 | sce | Example6_5a.sce | clear;
clc;
//Caption:To find hFEmin
//Given Data
//For transistor
Vbesat=0.8;//Vgamma of diode in V
Vy=0.5;//in V
Vcesat=0.2;//in V
R = 5;//in K
Rc = 2.2;//in K
//For diode
Vyd=0.6;//in V
Vdrop=0.7;//in V
//The logic levels are Vcesato=0.2V for 0 state
Vcesato=0.2;//in V
//The logic levels are Vcc... |
00a5b7f000f33319d810ab1219b60caca784bf15 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_vrt_ind/~BivLCM-SR-bfas_oo_vrt_ind-PLin-VLin.tst | ed6ddefd10c253c85e6ed1fe268175160b6937cb | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_oo_vrt_ind-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.273773D+00
... |
ef73908664201d0bf35153ac90df261cf5437a42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH14/EX14.3/ex14_3.sce | d5e6adb23272e229008bebda42b566149636c2a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | ex14_3.sce | clc
//Example 14.3
//Install Symbolic toolbox
//Find the Inverse Laplace transform
syms s
a=7/s
b=31/(s+17)
x=ilaplace(a)
y=ilaplace(b)
g=x-y
disp(g,'g(t)=') |
fa349ab15796505235f7e34c9e74a73e4262af26 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH2/EX2.8.4.a/ex_2_8_4_a.sce | a69c1f3f102656705df9fdc3e2fbfd1ab68b91ad | [] | 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 | 201 | sce | ex_2_8_4_a.sce | errcatch(-1,"stop");mode(2);//Example 2.8.4.a // unknown resistor
;
;
//given data :
V=100;//in volts
I=5*10^-3;// in A
R_app=(V/I)*10^-3;
disp(R_app,"apparent resistor,R_app(kilo-ohm) = ")
exit();
|
6773f96f52650d0c72744b0d81c0490e16b29754 | 717ddeb7e700373742c617a95e25a2376565112c | /40/CH8/EX8.5b/Exa_8_5b.sce | 05c7e80c07847c714e7e2364d44fc4551b92e476 | [] | 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 | 877 | sce | Exa_8_5b.sce | //b1)modulation
XDFT=[4 -2*%i 0 2*%i];
xn=dft(XDFT,1)
for i=1:length(xn)
zn(i)=xn(i)*%e^((%i*%pi*(i-1))/2);
end
disp(zn,'The IDFT of XDFT[k-1] is');
ZDFT=[2*%i 4 -2*%i 0];
zn1=dft(ZDFT,1)
//b2)periodic convolution
HDFT=(convol(XDFT,XDFT))
HDFT=[HDFT,zeros(8:12)];
HDFT=[HDFT(1:4);HDFT(5:8);HDFT(9:12)];
... |
0d610ec5fbe267f5518d9d5c9acdefe33278185b | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.5.3/Ch1Exa1_5_3.sci | 3341d4b34d0b4c6da33507e4b7b8d2a6c36d628b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sci | Ch1Exa1_5_3.sci | // Scilab code Exa1.5.3 : Calculation of energy required to knock out nucleon from He nucleus : Page 37 (2011)
M_p = 1.007895; // Mass of proton, amu
M_n = 1.008665; // Mass of neutron, amu
M_He = 4.0026; // Mass of He-nucleus, amu
Z = 2; // Number of proton
N = 2; // Number of neutron
D_m = [(Z*M_p)+(N*M_n)-M_He... |
aff1a238e42fad8c1e8f9cbada5b634c83839614 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.34/2_34.sce | a4b81ee51306e53cef1c6d5eb4b9ac193089f1b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,086 | sce | 2_34.sce | //Chapter-2,Example 2_34,Page 2-53
clc()
//Given Data:
lam1=5.14034*10^-7 //Wavelength of light
lam2=5.14085*10^-7 //Wavelength of light
//Calculations:
dlam=lam2-lam1 //difference in wavelength
lam=(lam2+lam1)/2 //Mean wavelength
//We know that R.P.=... |
da61fbbe1fe3fa630ebffc0b46f6f79fad341a4e | 607fe53653a19100ed470c4f0b5da1a5cbb0a7f3 | /scilab_first.sce | 2d9068cf2a2559f3a93ef8d21d838b0a5e91ad6a | [] | no_license | sanjeevphy/ForPhDCourseWork | 70b3944e4dce8a5f054ef59b8710923005ca9127 | 945812099f1f41395daa1b1ceeb33c69b9a07481 | refs/heads/main | 2023-02-22T04:25:00.575704 | 2021-01-28T07:00:53 | 2021-01-28T07:00:53 | 333,669,242 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | scilab_first.sce | a = 20;
b = 15;
disp(a/b)
c = a + b;
d = a - b;
e = a * b;
f = a / b;
g = a \ b;
disp(c);
disp(d);
disp(e);
disp(f);
disp(g);
|
316db8deb2024a747c566665af59375bbf00e470 | b4e4c4a483fac0d92f11f57d45b48cbf91ad167b | /roundVarianceV1.sce | 74e392b525acc7c449c84eee3be8e3cebf135bde | [] | no_license | steedhuang/Round-Variances-for-SARS-COV-2-Gene | 2818468a5c2ca1a00eee311b9a240353f090815c | b347ce5a642d0850b3ee7970e173d37d8f3fee22 | refs/heads/master | 2022-05-27T06:08:29.507010 | 2020-04-30T16:04:06 | 2020-04-30T16:04:06 | 260,256,080 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,660 | sce | roundVarianceV1.sce | // This program is used to calculate Round Varinances, Ver.1.1
// Contributed to Github Server on 4/30/2020
// Jun Steed Huang email: steedhuang@163.com
// For more background theory, follow us on researchgate
// Clear the picture
clf
// Following program is used to calculate RV
// F can be a Fractiona... |
33e3d9e3170d13850f496485654dbbae97a33208 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH8/EX8.8/Example8_8.sce | da9b430b3a8863ac6318e98fee8a47d6409839ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,022 | sce | Example8_8.sce | clear;
clc;
// Example: 8.8
// Page: 305
printf("Example: 8.8 - Page: 305\n\n");
// Solution
//*****Data******//
Ql = 5;// [tons]
Tl = -10 + 273;// [K]
Th = 35 + 273;// [K]
eta = 0.85;
H1 = 183.2;// [Enthalpy of saturated vapour at 263 K, kJ/kg]
H2 = 208.3;// [Enthalpy of superheated vapour, kJ/kg]
... |
4cd0bc95b009171cadb24b8d36cc28986ed8063e | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH4/EX4.1/4_1.sce | 21dd2091e685e146c18f8f0e2d7219be4d3cd6e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,943 | sce | 4_1.sce | //Eg-4.1
//pg-139
clear
clc
A=[-3 0 1];
xl=1;
xu=3;
fx=poly(A,'x','c')
//This is used determine true root with less errors using bisection method
//input arguments--xl(lower bound of x),xu(upper bound of x),es(stopping criterion error),f(given function)
//output arguments--root(final value of x) obt... |
53d76fda9db4b036c1bf6c7d174082783179ab37 | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/FieldConvert/Tests/interpTest_deformedElem.tst | 2c31c1897ebc9fe1075a4dfc7bdb4e1a0e11a877 | [
"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 | 524 | tst | interpTest_deformedElem.tst | <test>
<description>Test interpolation in deformed elems on surfaces</description>
<executable>FieldConvert</executable>
<parameters>-m interpfield:fromxml=interpTest_mesh_1.xml:fromfld=interpTest_field_1.fld interpTest_mesh_2.xml interpTest_field_2.fld</parameters>
<files>
<file description="Se... |
6a2b1e48a5cf68a18420228bc94d2feb1d56bf23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH6/EX7.1/Ch07Ex1.sci | 037d2328b0af2a9f3440399d191309444a8b07a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sci | Ch07Ex1.sci | // Scilab Code Ex7.1 : Variation of critical magnetic field with temperature : Page-152 (2010)
T_c = 3.722; // Critical temperature of superconducting transition, kelvin
B_c0 = 0.0306; // Critical magnetic field to destroy superconductivity, tesla
T = 2; // Temperature at which critical magnetic field is to... |
93f760ce1c1707ae550dd05074b25ed1ba568ed4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH14/EX14.10/EX14_10.sce | f126d03e958c11919cd42cf67ff2ff4709e02d4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,526 | sce | EX14_10.sce |
// Example14.10 // Design a video amplifier of IC 1550 circuit
clc;
clear;
close;
Vcc = 12 ; // V
Av = -10 ;
Vagc = 0 ; // at bandwidth of 20 MHz
hfe = 50 ; // forward emitter parameter
rbb = 25 ; // ohm // base resistor
Cs = 1*10^-12 ; // F // source capacitor
Cl = 1*10^-12 ; // F // load capacitor
... |
b096ef9c40f48100ed701f72209d34cf50f45cf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.40/example5_40.sce | 5665dc644be830d2edfea8911ff204d6e69692dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 890 | sce | example5_40.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.40
// Page 292
printf("Example 5.40, Page 292 \n \n");
// solution
// basis 4 kmol of HCl gas
O2req = 1 // kmol
O2spply = 1.35*1
N2 = 1.35*79/21
air = O2spply+N2
HClbrnt = .8*4
HCl = 4-HClbrnt
O2 = O2spply-.8
Cl2 = .8*... |
73469b47b9ddea6b58b814bb337875ae9a21343d | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/geom.tst | c9d4c05816c2dfb9298438b07e2732f475fd79e1 | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 32,259 | tst | geom.tst | \SET TIME SLOW
\RELE PRINT CROUTPUT:
#title Geom test using CYCLo data
#LIST 1
REAL 4.9249 11.0348 15.3223 90.0000 90.0000 90.0000
END
#set print off
#LIST 2
CELL NSYM= 4 LATT=P CENTRIC=N
SYMM x,y,z
SYMM x+1/2,-y+1/2,-z
SYMM -x,y+1/2,-z+1/2
SYMM -x+1/2,-y,z+1/2
SPACEGROUP P 21 21 21
CLASS Orthorhombic ... |
d3bd4152fb0b3f749cbfa7f0f91864b63c1f6738 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.26/Exa_6_26.sce | 7d69d90e8a2703ca792137f0339f526c29f7bcf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,349 | sce | Exa_6_26.sce | //Exa 6.26
clc;
clear;
close;
format('v',7);
//Given Data :
m1dot=3;//Kg/min
p1=10;//bar
Tsup1=250;//degree C
m2dot=5;//Kg/min
p2=10;//bar
x2=0.7;//dryness
p3=10;//bar
p4=5;//bar
p5=2;//bar
m3dot=m1dot+m2dot;//Kg/min
hsup1=2826.8;//KJ/Kg(at 10bar)
hf2=762.6;//KJ/Kg(at 10bar)
hf3=762.6;//KJ/Kg(at 10b... |
ce09ff367ce0f8634e323961533939ba293d685f | 0f264141cfa7862f0fbe12007ece1243ce44e469 | /Scilab/A1 Abou Jaoude Yann TD3.sce | 10f173471e5fa839eafc3a098c6128bdcc3b9891 | [] | no_license | yannAbouJaoude/Myrepo | 0dc4f14820658a0d72611d3926f8ca050031625c | 202a467a4bfa77ddcf089e819f3ab068c94d3cef | refs/heads/master | 2020-08-28T04:03:45.687843 | 2019-12-25T18:59:28 | 2019-12-25T18:59:28 | 217,581,992 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,672 | sce | A1 Abou Jaoude Yann TD3.sce | //EXERCICE I
function derivey=y1(t,y),
derivey=-y+t+1;
endfunction
function solution=sy1(t)
solution = t+exp(-t);
endfunction
function [t, y] = Euler(a,b, N, alpha, f)
h = (b-a)/N;
t(1) = a;
y(1) = alpha;
i = 1;
for i=1:N
y(i+1)= y(i)+h*f(t(i), y(i) );
t(i+1)=... |
197e6daf0392c70b4299879262b2639265d515bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3487/CH6/EX6.7/Ex6_7.sce | ddcc96613d58ee3bb9f55846ce59a8dba47dfcd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Ex6_7.sce | //Chapter 6,Example 6.7 Page 201
clc
clear
//Refer Fig Ex. 6.7
Er = 3.8
v = 21 // KV/cm
ind = v/Er // internal discharge in kV/cm
V = (ind*0.9)+(v*0.1)
printf (" Internal discharge = %f kV/cm\n ",ind)
printf (" V = %f kV rms\n ",V)
//Answer may vary due to round off error
|
8e410781277847e1603815f403e2b40251188184 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Interpolação Linear.sce | e8f21845effef028675fc57df0678685ec2ad172 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Interpolação Linear.sce | //interpolação linear
x= [0,15,30,45,60,75,90]
y= [1.000,0.9659,0.8660,0.7071,0.5000,0.2588,0.0000]
i=[1,2,3,4,5,6]
Xi=82.5;//Ponto que eu quero calcular a interpolação
for i=1:(length(x)-1)
if (Xi>= x(i) & Xi<x(i+1))
Yi= y(i) + ((y(i+1)-y(i))/(x(i+1)-x(i)))*(Xi-x(i))
end
end
plot(x,y,'k-o')
disp... |
06a85cd485ea3009334dfef92e282271a82cab97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.16/25_16.sce | a5559adc1de19a9f944b5e985fc02d1a2074bcd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 25_16.sce | //ques-25.16
//Calculating average and rms and most probable velocities of a gas
clc
n1=5; n2=10; n3=4;//number of molecules
v1=2; v2=3; v3=6;//corresponding velocities (in m/s)
Cavg=(n1*v1+n2*v2+n3*v3)/(n1+n2+n3);//average velocity
Crms=sqrt((n1*v1^2+n2*v2^2+n3*v3^2)/(n1+n2+n3));//rms velocity
Cmp=sqrt(2/3)*Crm... |
cde80c557ef5dc9cff32c217417ea2926f82007f | 297b29fb450286d0f7fa619e58c9f4a86949544a | /IQImbalanceCompensator.sci | ec0adebc0ae2cffe2b7d28a909efcf1d468150ab | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,559 | sci | IQImbalanceCompensator.sci | function [y,estcoef] = IQImbalanceCompensator(in,ic,ss)
y=zeros(length(in),1);
estcoef=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//IQImbalanceCompensator Compensate for I/Q imbalance
//The adaptive algorithm inherent t... |
fb5a1c025568afe82e428ab7c44053edaa5f5c03 | 6b7b3be3c11fc662ae3f0b3e8880218ce3888a07 | /math/SciLab/%ZQuat_p.sci | a4739172608d8fff74ddbe52f5e4f5add2acbfa6 | [] | no_license | johnzet/Flight | 27cfa7dc8039f6c7b91385d9e204ad4a54248960 | 2893750df8aaa38311ffc125b1f7dcc9f5019eab | refs/heads/main | 2023-02-25T19:51:03.725205 | 2021-01-31T01:12:09 | 2021-01-31T01:12:09 | 334,544,210 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sci | %ZQuat_p.sci | function [] = %ZQuat_p(q)
disp([q.r; q.i]);
endfunction
|
62de2307b0fc5f6b583f8bede3975e514306045a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH3/EX3.7/Ex3_7.sce | dd73d7bde5fe59c6261d0e90853ddd7bfac6ed3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | Ex3_7.sce | // Chapter 3 example 7
clc;
clear;
// Variable declaration
xm = -4.2*10^-6; // magnetic susceptibility in A.m^-1
H = 1.15*10^5; // magnetic field in A.m^-1
// Calculations
uo = 4*%pi*10^-7; // magnetic permeability N·A^-2
M = xm*H // magn... |
8b4103015b763767615ac9f5442401abafb2eeec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH3/EX3.11/Ex3_11.sce | 529217bd89ea2a8693ffeabe37682e62932a1d4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | Ex3_11.sce | // exa 3.11 Pg 72
clc;clear;close;
// Given Data
N=200;// rpm
P=25;// kW
tau_d=42;// MPa
W=900;// N
L=3;// m
Syt=56;// MPa
Syc=56;// MPa
sigma_d=56;// MPa
T=P*60*10**3/(2*%pi*N);// N.m
M=W*L/4;// N.m
Te=sqrt(M**2+T**2);// N.m
// Te=(%pi/16)*d**3*tau_d
d=(Te*10**3/((%pi/16)*tau_d))**(1/3);// mm
printf('\n shaft diame... |
04f55f856bf5af15a58279385aa4ebf358a7904c | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/help/en_US/build_help.sce | 5b20e69c336c2b5cc5bd46ed032df2c99c35eda0 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 692 | sce | build_help.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
add_help_chapter("Utility functions",get_absolute_file_path("build_help.sce") + filesep() + "utility",%T);
add_help_chapter("HW access functions",get_absolute_file_path("build_help.sce") + filesep() + "hw_access",%T);
add_help_chapter("DSP mana... |
2d6011c4508f652d3322c84751483991209a56e3 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Interpolação Polinomial.sce | 501fc1d45beac7da7b091ad484626cfb3f9271a2 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sce | Interpolação Polinomial.sce | //interpolação polinomial de vandermonde
clear
close
//Pontos
Xi = [0,15,30,45,60,75,90];
Yi = [1.0000,0.9659,0.8660,0.7071,0.5000,0.2588,0.0000]';
//Matriz de Vandermonde:
//length(x)= n pontos conhecidos (xi,yi)
Xv=[];//matriz vandermonde pra receber as linhas
Xl=[];//matriz de linhas
for i=1:length(Xi)
for j... |
b15ca29d280927ea7fc26140fea12fbd86e6529d | e223a3388730b3a8ab63f7565156d5bf7a65e44b | /scilab/start.sce | ca92978a6f317d27c912ae949dca61672fe26b8a | [] | no_license | YSBF/flight_control | 1cfef21947c9497659eea3cf631b4de207a0a851 | fc74021c2bd62819ea4f637b45936ab2edf9e7af | refs/heads/master | 2020-04-15T21:47:09.796455 | 2018-06-07T21:28:29 | 2018-06-07T21:28:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | start.sce | // Reset FPGA
rw(reg.FPGA_RESET,1);
sleep(1);
// FPGA version
v = rw(reg.VERSION);
mprintf('FPGA version: %d\n',v);
rw(reg.LED_MUX,1);
rw(reg.DBG_MUX,1);
// Reset MPU
i2c_write(107,128);
sleep(1);
// MPU version
v = i2c_read(117,1);
mprintf('MPU version: %d\n',v);
i2c_write(107,0); // get MPU out of sleep
sleep(1... |
d0c7df380ea00c944b7759dffdbf07ef8649ceca | 6b85d1958ff11075634ed9e0f6dbef2de9548f1b | /ANN_Toolbox/macros/ann_FF_Jacobian.sci | 821c3e6dcc4792d1d7d2a6f6d6585f08b6e19166 | [
"Unlicense"
] | permissive | ademarazn/REDES_NEURAIS | 8a048c13aab33daa4068f52e18b263cc8325884f | a9a35744476d1f7e8405df04d5e4a9f8e4ed4595 | refs/heads/master | 2021-05-06T13:09:56.514632 | 2018-04-25T18:49:30 | 2018-04-25T18:49:30 | 113,248,743 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sci | ann_FF_Jacobian.sci | function J = ann_FF_Jacobian(x,N,W,dx,af)
// This file is part of:
// ANN Toolbox for Scilab 5.x
// Copyright (C) Ryurick M. Hristev
// updated by Allan CORNET INRIA, May 2008
// released under GNU Public licence version 2
// calculates the Jacobian using a finite differences procedure
[lsh,rsh] = argn(0);
// option... |
1e7eaa444dd3c0b21a2692b21947b87e8a0f7eda | 8400b4c8142ee1efecb2ea7d1594e2254f19297b | /plotting.sce | fd67056075b76c9eff604690623276e69f09879a | [] | no_license | Rohan1997/Control-Systems-Design | 9dd6189d2d220e37b5ed4faae21836eb22b8898d | a56d7bd64186a811430501ac3b50789eaa46d84f | refs/heads/master | 2020-03-09T19:24:09.182291 | 2018-04-10T16:08:27 | 2018-04-10T16:08:27 | 128,957,196 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,552 | sce | plotting.sce | ////////////////////////////// 1 ///////////////////////////////
// Open loop transfer function
s=poly( 0 ,'s')
num = 1 ;
den = s*(s+2)*(s+4)*(s+5);
g1 = syslin( 'c' ,num/den ) // syslin is for linear system definition
// Closed loop transfer function
g2 = g1/(1+g1)
t =0 : 0.1 : 500
y=csim( 's... |
6baaf6bd131976d79877b756acbe22e14d521ae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH10/EX10.6/10_6.sce | ebff1168c689c478857ea5b138ba77b1f1bb937c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 10_6.sce | clc
//Initialization of variables
prob=0.001
R=1
N=6.023*10^23
//calculations
dS=1.987*2.303*log10(prob) /N
//results
printf("change in entropy = %.1e eu",dS)
|
0db1f62256ba605f4112e891b9b03a7a2c3c2cbb | f20589af0de35730c2668a09ba1b922094886448 | /part1/lab8/test3c.tst | ac9b1f879ef9afdeabe510ba10b7c36df4235eb3 | [] | no_license | BorisVeprintzev/labolatory | 5db38693df92bbf1b9e3daff35fefb67195c7ab8 | 26050b46df8121dc698673329a14e1640e2b3862 | refs/heads/master | 2020-05-28T04:22:26.653440 | 2019-05-27T16:55:02 | 2019-05-27T16:55:02 | 188,878,237 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8 | tst | test3c.tst | 3 6 8 1
|
249497601a833090ee8e5e01d0d9adb28ff5689c | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH2/EX2.16/example2_16.sce | 058c758f3a74bbabdeba852f0a2619876aa21783 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | example2_16.sce | clear;
clc;
//Example2.16[Heat Conduction through a Spherical Shell]
//Given:-
r1=0.08;//Inner Radius[m]
r2=0.1;//Outer radius[m]
k=45;//Thermal conductivity[W/m.degree Celcius]
T1=200;//Temperature of inner surface[degree Celcius]
T2=80;//Temperarure of outer surface[degree Celcius]
//Solution:-
//Integrat... |
45687587988acf5b81da3d8c7a7ca18e0c7721ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH16/EX16.14/Ex16_14.sce | 6c68f49087b4e9284f1194183869d535e2a96ffa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ex16_14.sce |
// Examle 16.14
V=480;
Ia=110; // Armature currernt
Ra=0.2; // Armature resistance
a=6; // No.Of paraller path
p=6; // No.Of poles
Q=0.05; // Megnetic flux per pole
z=864; // Impedence
Eb=V-(Ia... |
a8cb95453a84f4bfedb7e2646ccb90635e466b26 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/db/db6.sce | 493540c6253b9a34d15b982262847a4e211d56d1 | [] | 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 | 205 | sce | db6.sce | //check o/p when i/p is negative power
v=1e-3;
u=db(-v,'power');
disp(u);
//output
// !--error 10000
//Power cannot be negative
//at line 58 of function db called by :
//u=db(-v,'power');
|
21123e9ee21e7b982595407414c7900340b45c43 | efc2fec9dd841d0ca834702c904e00c52762a9f9 | /VideoDemo/VidTest2.sce | 3a986daa42df615c7e8825eff709434d7e44497b | [] | no_license | surajch77/Scilab-Computer-Vision-Toolbox-TestCases | 64c8e0382e8b9d416c4c27c1ed4272f49bf45b51 | 969f9bcddefea05b42c623aeebe2e0cdcffd6eeb | refs/heads/master | 2021-01-20T20:24:14.345296 | 2016-06-29T15:16:52 | 2016-06-29T15:16:52 | 61,932,313 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | VidTest2.sce | exec VideoReader.sci
exec has_frame.sci
exec readframe.sci
myVideo = VideoReader('vid2.mp4');
disp(myVideo)
while hasFrame()
stacksize('max')
F = readFrame();
length_out = size(F);
for i = 1 : length_out
N(:, :, i) = F(i);
end
J_list = detecting(N);
imshow(J_list);
end
close()
|
715b178f4deac9b04793eb51512976150a460e8e | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Scope Snipe.sce | 72fddc402326e6676aa2835c94e23c30dfbab9dd | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 49,219 | sce | Scope Snipe.sce | Name=Scope Snipe
PlayerCharacters=player_char
BotCharacters=scope.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=player_char
AddedBots=scope.rot;scope.rot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=2;2
MapName=scope_snipe.map
MapScale=10.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=... |
8fbb111df1af71776d699ab0e1334e66a8dc8eb8 | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/kar11.tst | d8a4932a4a17bbe0f1dd0622edab025f407f68f2 | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | tst | kar11.tst | argc:7
Dataset: ../datasets/converted/karate.net
Nodes Edges Com Mod NMI Time
seq async 34 156 2 0.421598 -1 5.5368e-05
par async 34 156 3 0.052022 -1 0.067596
|
277b8d289f29153e8bd52bb995847531efee404b | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH4/EX4.1/4_01.sce | 7805fea38ce6ab9afebed77f8f00965cdbc6ce27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | 4_01.sce | //Example No. 4_01
//Greatest precision
//Pg No. 63
clear ; close ; clc ;
a = '4.3201'
b = '4.32'
c = '4.320106'
na = length(a)-strindex(a,'.')
mprintf('\n %s has a precision of 10^-%i\n',a,na)
nb = length(b)-strindex(b,'.')
mprintf('\n %s has a precision of 10^-%i\n',b,nb)
nc = length(c)-strindex(c,'.')
... |
97be4fcd3d69b0b802ce2f4c58345acf8326d555 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH5/EX5.17/EX17.sce | 33ec5c408d817ddb9ebc48a1a506f6e329112bb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | EX17.sce | // Example 5.17: (i) IC1 and IC2
// (ii) RC so that Vo = 6 V
clc, clear
bta=200;
// From Fig. 5.31
disp("Part (i)");
I_ref=(12-0.7)/15; // in amperes
I1=0.7/2.8; // in amperes
IC=(I_ref-I1)*bta/(bta+2); // in mili-amperes
disp(IC,"IC1 (mA) =");
disp(IC,"IC2 (mA) =");
disp("Part (ii)");
Vo=6... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.