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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9b861dc03ad24e2ca9209af2221e64345dd8534c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/examples/link-examples/ext4c.sce | 3e884e804b53d1153ff0f218ead9038a1238c6a8 | [
"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 | 391 | sce | ext4c.sce | //Copyright INRIA
files=G_make(['/tmp/ext4c.o'],'ext4c.dll');
link(files,'ext4c','C');
a=[1,2,3];b=[4,5,6];n=3;YesOrNo='yes';
c=call('ext4c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d');
if norm(c-(sin(a)+cos(b))) > %eps then pause,end
YesOrNo='no';
c=call('ext4c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d');
if norm(c-(... |
195217efa3718ce5f3fff78870bbbdae15d3e0a7 | 494b677053e1199325a80808377463794e1003e5 | /experiments/sia-c/results/Ignore-MV.SIA-C.vehicle/result3s0.tst | ab51b982070fad05ea7ccf5f3457f04ba1c0c17a | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,867 | tst | result3s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attr... |
c6b10a679a74e90960065e5c9abffaa248a4324c | 047d952507eb3b9d71fac69ec3332225f17f53ef | /main/out/main/testfiles/test21.tst | 5d5b8337b7974442e7ed1309e3e3dce07846442e | [] | no_license | patrick-nanys/project-laboratories-hw | 89ab8f366219f491e6feba5558bf41ef8205dda1 | ba57a9d5e4ca33a3cc1be3cdb4fe679fe0149f93 | refs/heads/master | 2022-08-09T14:14:31.220503 | 2020-05-18T11:20:03 | 2020-05-18T11:20:03 | 250,313,203 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42 | tst | test21.tst | 1;r;0
4;-
p1;-;-;-;2;2;-
blizzard 1
status |
bc7453ad0f112bfa8c9cd2b302571dd98f651a85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH5/EX5.7/Ex5_7.sce | b1a9f851730a33b103552b367482ab1110cd5f04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,129 | sce | Ex5_7.sce | //Fourier Series coefficients of half-wave rectifier output
//Assume the period of the signal T=1
t=-0.5:0.01:1;
T = 1;
for i=1:length(t)
if t(i)<T/2 then
x(i)=sin(2*%pi*t(i));
else
x(i)=0;
end
end
k=-10:10;
for i=1:length(k)
if k(i)==1 then
ak(i)=1/(4*%i);
elseif k(i)==-1
... |
46254fab633271777e944bbf509cb951e117f5f5 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0053.tst | 6980e5bbdd7fc84e361d18cbce95e7c35191b1f2 | [] | 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 | 630 | tst | 0053.tst | SPlIttEr r {}
FIlter O { NoT UP ( ) or Not 7 << BitAND ( E::b:E:Cc:db:CF:C/1, ) or BItOr () <= oR NoT 63.250.123.140/85 <= -1. 234.7.255.31 >= v oR BITAND ( , 120.252.246.224, f:Db::c:b, s, ) NOt biTANd ( ) }
fIltEr fg {noT Ux or dN }
h -> xUOlDeX -> A
gRouPeR la {AggrEgAte BiTanD(c.mb) as N ,h ,O.Fn ,eR... |
0dc2c21e129997fc13f9ace3ea9615289171b18c | 4b3c8d2302d37ad5981adb6f68fae3db1d9820c8 | /registerNewEntry.sce | 5fb06b954ae956e1d7a8d2e836d2b7d49704bcbc | [] | no_license | mayank1513/littleBird_RD_ResourceManagementSystem | 002d19579b3b55a314450ec75d2874131741564b | 090d016248164580defc9b4629ba54c9dc362949 | refs/heads/master | 2020-03-15T04:48:31.637752 | 2018-05-03T09:46:53 | 2018-05-03T09:46:53 | 131,970,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,449 | sce | registerNewEntry.sce | if ~isdir(baseDir + '\Cumulative') then
mkdir(baseDir + '\Cumulative');
end
if ~isdir(baseDir + '\Cumulative\'+blkStr) then
[status, msg] = mkdir(baseDir + '\Cumulative\'+blkStr);
if status~=1 then
messagebox(['directory Cumulative\'+blkStr+' could not be created'; msg],'littleBird');
end
end
f... |
ae77a39966c9d5b3b6b21edab9c1df3dcb90746c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH12/EX12.7/12_7.sce | d866baf5b51a19792dd7a376c614996205b9007e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_7.sce | clc
//initialisation of variables
dtp= 120 //in
dpd= 48 //in
vim= 1.25 //ft/sec
vip= 5 //ft/sec
lp = 600 //ft
lm= 40 //ft
//CALCULATIONS
Rm= (dtp/dpd)^2/((lp/lm)*(vim/vip)^2)
d= sqrt(4*Rm)
//RESULTS
printf ('Diameter = %.2f in ',d)
|
410ca67c10d67c8382d77af245414bba9f8a4ab9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH11/EX11.5/Example11_5.sce | cc718d51422b43aeaa963cb8938c854754be3bb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | Example11_5.sce | //Exa 11.5
clc;
clear;
close;
//Given data :
VL=33*1000;//Volt
f=50;//Hz
l=3.4;//km
d=2.5;//cm
radial_thick=0.6;//cm
epsilon_r=3.1;//relative permitivity
V=VL*sqrt(2)/sqrt(3);//V(assuming 3 phase system)
D=d+2*radial_thick;//cm
D=D/100;//cm
d=d/100;//m
gmax=2*V/d/log(D/d);//V/m
disp(gmax,"Maximum electr... |
9906e2a4d5109014f795a94f98ce0f3f74cf7cb0 | 8910b9a8c0e6764096b6a6117ace71f0c3d6b374 | /Scilab Proyect/MenuPrincipal.sce | 3338df8fd3b0a1e375304821d52ce8a07f720bc2 | [] | no_license | elrick97/Numerical-Methods-FinalProyect | d7eef22de9277fb09233821e7d4dc1c4dc31f991 | a06ce2f189afcb93e2ca2505718499f9e125fcb1 | refs/heads/master | 2020-05-19T21:38:19.748544 | 2019-05-06T16:07:38 | 2019-05-06T16:07:38 | 185,229,295 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,440 | sce | MenuPrincipal.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[400,50],'figure_size',[640,480],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','vis... |
dff2dd24620d74ee6a5748887fd051f07522802c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH7/EX7.12/12.sce | 1be45f87d71c416129059997a712be5becacf709 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | 12.sce | clc
clear
//input data
m1=3600 //internal mass in kg
Cj=2070 //average effective jet velocity in m/s
tp=80 //rocket operation duration in sec
g=9.81 //acceleration due to gravity in m/s^2
//calculation
up=2*Cj //flight velocity in m/s
MR=1/exp((up+(g*tp))/Cj) //mass ratio
m2=MR*m1 //mass after rocket oper... |
cc3815a4f24095325828108cca01aa9879b21a0e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony1.sce | 512e801d9bb2482ec809e718c1ce781e15586b96 | [] | 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 | 736 | sce | prony1.sce | impr=[0.00482434335771622 0.0307287177680858 0.0905946819548830 0.167944821844737 0.224641271344028 0.233457187867600 0.193512552162805 0.123765243571014 0.0496036031380564 -0.00850905187491905 -0.0406738350178078 -0.0475631979469693 -0.0368517338223927 -0.0185628385243508 -0.00125221912683350 0.0100331628527344 0.0139... |
f1bf9af3924402fba5c845cff84f79fb1c99e51a | e25bb3040c96f9782aab0493e05ba22f5bf50ccf | /ex1/ex1_q3.sce | 5fadeee6ce9c59f4894025e1cf64440f4262bf6a | [] | no_license | gpioblink/aizu-spls-exercise | c13258d46f50ed2db7797693a097b0fb75d24eaf | 6c0b9326ba8e4b52378cfe777e82a2bfcdecc9b9 | refs/heads/master | 2022-09-14T06:09:44.774157 | 2020-05-31T07:43:26 | 2020-05-31T07:43:26 | 263,856,972 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | ex1_q3.sce | //EXERCISE 1 - QUESTION 3
close();
exec('amplify.sce');
n = [0:10];
x = 2+3*n;
y = amplify(x, 5);
z = amplify(x, -3);
plot(n,x,'b-o');
plot(n,y,'r--*');
plot(n,z,'g:+');
title('Amplifier');
xlabel('n');
ylabel('Signal');
legend('x[n]= 2+3*n','y[n]=x+5','z[n]=x-3');
|
81873f357db5cc1d16299a3b43ddcf7725cce3c7 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/lkuptb.sce | a66ba3f837c737eccd65b3ca7eb10ed15fabbee5 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 3,125 | sce | lkuptb.sce | //**************************** LOOKUP Table ********************************
if(blk_name.entries(bl)=='lkuptb') then
mputl("# LOOKUP Table-> "+scs_m.objs(blk_objs(bl)).model.opar(1),fd_w);
truecase=strsplit(scs_m.objs(blk_objs(bl)).model.opar(2)," ")
if scs_m.objs(bl).model.ipar(1) == 1 then
lkuptb... |
938baff3d99da6e21029a962d6cfcdd499b51adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH4/EX4.1/1.sce | 617ac9295484ad76dea935245d148beec10de5e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | 1.sce | clc;funcprot(0);
//Example 4.1
//Initializing the variables
y = linspace(0,80,9);
x = [0 23 28 31 32 29 22 14 0];
xlabel('Velocity (m/s)');
ylabel('Distance from one side(mm)');
xgrid(1);
//Calculations
plot(x,y,'-*');
mu=[17.5 26.0 29.6 31.9 30.7 25.4 18.1 7.7];
// mean velocity
disp(mean(mu),... |
1d82e22e8c8033d5adc825f4cb7f53b351bdbfaf | 364f7d17c4f024c39c47c99bda284bacb913d470 | /macros/opticalflow.sci | d9b55a8843b88619f45d51175d220d8df1862aa9 | [] | no_license | msharsha/FOSSEE-Image-Processing-Toolbox | 6ce7bafc187b99b9e01d1eedcc09a11c3a80370d | f8b16bc3329f9186a3b362f29d9a40d20b48cfd4 | refs/heads/master | 2020-12-02T07:55:57.553927 | 2017-07-10T07:41:21 | 2017-07-10T07:41:21 | 96,747,260 | 0 | 0 | null | 2017-07-10T07:14:37 | 2017-07-10T07:14:37 | null | UTF-8 | Scilab | false | false | 904 | sci | opticalflow.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
042169eb354165684841b1e6d96fcdfcb16ce81e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH6/EX6.2/Ex6_2.sce | 11dcf709e2897689ab04c2d382e82d15ddd50721 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | Ex6_2.sce | // exa 6.2 Pg 170
clc;clear;close;
// Given Data
Tmax=400;// N.m
Tmin=140;// N.m
Mmax=500;// N.m
Mmin=250;// N.m
Sut=540;// MPa
Syt=400;// MPa
n=2;// factor of safety
Kf=1.25;// given
Se_dash=0.4*Sut;// Mpa
Se=Se_dash/Kf;//MPa
Sys=0.577*Syt;// MPa
Ses=0.577*Se;// MPa
Mm=(Mmax+Mmin)/2;// N.m
Ma=(Mmax-Mmin)/2;// N.m
Tm... |
e8ba9dc44029024b0a96a4ae7ffdf9e0487d9ee9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH10/EX10.4/Ex10_4.sce | b5f00b32eb6ae245693228472e637310fb73e3c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ex10_4.sce | clc;
clear all;
Ef=5.51 //in eV
E=(3/5)*Ef;//The average energy of a free electron in silver at 0k
disp(+'eV',E,'The average energy of a free electron in silver at 0k =')
|
415aa4972ba57f6977d255d8bb274d1caa8617cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH13/EX13.1/Ex13_1.sce | a59b66cd59000aa8387753c96a9f0d5c023fa337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | Ex13_1.sce | //Chapter 13 Thermodynamics Entropy and Free Energy
clc;
clear;
//Initialisation of Variables
H= 540 //cal per gram
m= 9 //gms
T= 100 //C
//CALCULATIONS
S= H*m/(273+T)
//RESULTS
mprintf("Entropy change = %.2f E.U",S)
|
3bcd527edd9c395c97c07cd9909449ae2dfbe8c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH3/EX3.6/eg3_6.sce | 1ff62a79a85289cdf8730621df7234b4b666de33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | eg3_6.sce | d1 = 2.78 * 10^19; //max density for Si
d2 = 7.72 * 10^18; // max density for GaAs
Nd = 10^17;
Ni = 1.5*10^10;
Ni2 = 1.84 * 10^6;
Pi2 = 1.84 * 10^6;
Pi = 1.5*10^10;
un1 = 1000;
up1 = 350;
un2 = 8000;
up2 = 400;
Nn = 0.5*Nd;
Pn = Ni^2/Nn;
q = 1.6*10^-19;
s1 = d1*q*un1;
s2 = d2*q*up2;
//To find the minimu... |
5be3f1512e11b6b882c408c775622fbc10f3e45b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH17/EX17.14/Ex17_14.sce | 2f65ec6c88ff544289fe1054f91b36dd8ae7ed31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Ex17_14.sce | //Example 17_14
clc();
clear;
//To find the I1,I2,I3 values and charge on the capacitor
v1=12 //Units in V
r1=6 //Units in Ohms
i1=v1/r1 //Units in A
v2=4 //Units in V
r2=8 //Units in Ohms
i3=(v1+v2)/r2 //Units in A
i2=i1+i3 //Units in A
printf("Current in wire 1 ... |
86b65ba77ff1b7ef97ab9a05e27a67c42994a138 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/strips/strips1.sce | 97723473924c517fc9cace59b6538aec24e8e4a4 | [] | 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 | 99 | sce | strips1.sce | fs = 1000;t = 0:1/fs:2;
//x = vco(sin(2*pi*t),[10 490],fs);
strips(x,0.25,fs)
//plot is displayed
|
b2f9ce2cdcd7619a0e61b0ae2fa3e459d245bd31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.17/Ch03Ex17.sci | b0727726c965c26b2d6386f802e3c904f5de5607 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sci | Ch03Ex17.sci | // Scilab code: Ex3.17 : Mean energy per electron at 0K:Pg: 86 (2008)
m = 9.1e-031; // Mass of an electron, kg
a = 50e-010; // Length of molecule, m
h = 6.624e-034; // Plancks constant, joule second
E = h^2/(8*m*a^2); // Energy per electron, joule
printf("\nThe mean energy per electron at 0K = %3.1e eV... |
db008dbb0302d6db0bec15c9cef24110047984d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH11/EX11.9/example11_9.sce | ec3e7fdcd08a049348ca61070774450721512068 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | example11_9.sce | clear
clc
//Example 11.9 NEGATIVE LIFT ON A RACE CAR
l=1.5; //[m]
c=0.25; //[m]
A=l/c //aspect ratio
//Interpolating for A, from fig 11.23
CL=0.93; //lift coefficient
CD=0.07; //drag coefficient
S=l*c //area [m^2]
Vo=75; //velocity [m/s]
rho=1.17; //[Kg/m^3]
//Lift force
FL=CL*S*rho*Vo^2/2 //[N]
printf("\... |
c9a0e8a627fbe7c4a9c2c4bf0d7c84104d6aa1c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH5/EX5.13/ex_5_13.sce | d0ada71c89e4c3eeb2e5f33383074a89903140f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | ex_5_13.sce | // example 5.13
// caption: simpson 3-8 rule
// let integration of f(x)=1/(1+x) in the range [0,1] by simpson 3-8 rule is equal to I
x=0:1/3:1;
deff('[y]=f(x)','y=1/(1+x)')
[I] = simpson38(x,f)
|
6078cf473844073fd675fb1369c26a8a5fafa360 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.25/Ex2_25.sce | 042fedead22e4388d3810b39f96d824eadc50487 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | Ex2_25.sce | //problem 25 pagenumber 2.108
//given
format(7);
rf1=10e3;//ohm
vi=1e-2;//volt
vt=0.0257;//volt
//determine output voltage
vi=exp(vi/vt);
v0=-vi*rf1;
disp('Output voltage = '+string(v0)+' V');
|
5236af466716824a37723e3b2f644012fa9a4cbf | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ea_vrt_col_d/~BivLCM-SR-bfas_ea_vrt_col_d-PLin-VLin.tst | 17d03feb3547957fd60985caf24f68298b15f57c | [] | 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_ea_vrt_col_d-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.416625D+00
... |
647002549640c35532d1c2c41fe0f26f34f53b2d | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/packages/interval-2.1.0/test/abs_rev.tst | 869dc04f63417e33b9a4fab83f0866c05f88eee4 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,127 | tst | abs_rev.tst | ## DO NOT EDIT! Generated automatically from test/abs_rev.itl
## by the Interval Testing Framework for IEEE 1788.
## https://github.com/nehmeier/ITF1788/tree/92558f7e942665a78f2e883dbe7af52320100fba
##
## Copyright 2015-2016 Oliver Heimlich
##
## This program is free software; you can redistribute it and/or modify
##... |
3cd688f02aa0f38a2ab84cd272e15dc04a941bb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.3/ex4_3.sce | 608237fe8b3b4849381e46054552feed297b06e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_3.sce | //AC Circuits:example 4.3:(pg4.5)
f=50;
I=20;
t1=0.0025;
t2=0.0125;
I1=14.14;
pi=3.14;
disp("f=50 c/s");
disp("I=20 A");
mprintf("Im=I*sqrt(2)");
Im=(sqrt(2)*I);
printf("\nIm=%.2f A",Im);
mprintf("\nEquation of current, \ni=Im*sin(2*pi*f*t)");
disp("=28.28sin(2*pi*f*t)=28.28sin(100*pi*t)");
disp("(a)At ... |
184fc16e2e49d203aae2a58fd6c3231583e1fe16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH20/EX20.5/20_5.sce | 58ed1b3fcd9b2549232d884a4eaab7c030c1ee5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 20_5.sce | clear//
//Variables
V0 = 10 //Regulated dc supply (in volts)
LR = 0.00002 //Line regulation
//Calculation
dV = LR * V0 //Change in output voltage (in volts)
//Result
printf("\n Change in output voltage is %0.3f mV.",dV * 10**3)
|
852d779d04d3b48e9cf311ca842512e115f7fc4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH17/EX17.5/example5.sce | 7ffe2735a8156fc4c4bc89930fe23fc79c33971b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | example5.sce | // calculate ac output voltage and input impedance of the diff amp using second approximation
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 17-5, page 632
clear; clc; close;
// Given data
Vee=15;// in volts from the figure
Vcc=15;// i... |
3d709b8c7fbb9aca3ed00eee5ec9402e75d45bfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH24/EX24.4/Ex24_4.sce | f37366a25415d1962278d205adc25de5a1d24ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Ex24_4.sce | clear
//Given
v=2.1*10**7 //m/s
a=4.8*10**7 //C/Kg
Z=79
e=1.6*10**-19
m=9*10**9
//Calculation
r0=(2*m*Z*e*a)/v**2
//Result
printf("\n Distance of the closest approach is %0.1f *10**-14 m",r0*10**14)
|
1faf379089d9a8919cb7e094fa829782e8847f8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH5/EX5.7/Example5_7.sce | 00e1504ecc5f6beebb1c4fd2254bd92b9b5ae399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sce | Example5_7.sce |
clear;
clc;
printf("\t Example 5.7\n");
//w=2*3.14 rad/yr , a=w*t=0 at present.first we find the depths at which a=0 curve reaches its local extrema.(we pick the a=0 curve because it) gives the highest temperature at t=o.).tan(o-e)=1 so e=3%pi/4, 7%pi/4....and the first minima occurs where e=3%pi/4=2.356.
b... |
856bb263a4777647681743b247104d1b041dbc63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH19/EX19.1/Ex19_1.sce | b73f02a26be246b3639951b978b96061984bbf77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | Ex19_1.sce | // Example 19_1
clc;funcprot(0);
// Given data
T=20.0+273.16;// K
d=0.0100;// m
alpha_cu=3.50*10^-6;// V/K
rho_e=5.00*10^-9;// ohm m
dphibydx=1.00;// Voltage gradient in V/m
// Solution
A=(%pi/4)*d^2;// m^2
I=(A/rho_e)*dphibydx;// A
Q_P=alpha_cu*T*I;// W
printf('\nThe Peltier heat flow,Q_P=%2.1f W',Q_P);
... |
473e734f45d4c4b4496cba0132af3d4d128c678e | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH13/EX13.8/Example13_8.sce | b1af9acd22051a3a1f353b16c6817f3694da8c24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | Example13_8.sce | //clear//
//Caption:Program to find the refractive index of the prism material
//Example13.8
//page463
clear;
clc;
n2 =1.00; //refractive index of air
teta1 = 45; //incident angle in degrees
teta1 = 45/57.3;//incident angle in radians
n1 = n2/sin(teta1);
disp(n1,'refractive index of prism material n1=')
//Re... |
9efb97c5e7e4217017526789db701bbfaad4b49d | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH14/EX14.3/14_03.sce | 020ed5ad98a4e819abfac23f4a4fa71129cf9a37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 14_03.sce | //Example No. 14_03
//Eigen Vectors
//Pg No. 473
clear ; close ; clc ;
A = [8 -4 ; 2 2 ] ;
lamd = poly(0,'lamd')
p = det(A - lamd*eye())
root = roots(p)
mprintf('\n The roots are \n lamda1 = %f \n lamda2 = %f \n ',root(1),root(2))
A1 = A - root(1)*eye()
X1 = [-1*A1(1,2)/A1(1,1) ; 1]
disp(X1,'X1 = ')
A2 = ... |
38e6ace7e127e77062f31c52914d043180d38ac5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH4/EX4.7/4_7.sce | c2a1286e2adfe765aaf70c9af958d60f9b9371b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | 4_7.sce | clc
//initialisation of variables
L= 2.5 //ft
H= 1 //ft
g= 32.2 //ft/sec^2
Cd= 0.61
L1= 1.75 //ft
L2= 2.25 //ft
//CALCULATIONS
Q1= 2*Cd*sqrt(2*g)*L*H/3
Q2= 2*Cd*sqrt(2*g)*L1*(L1^1.5-1)/3
Q3= 2*Cd*sqrt(2*g)*H*(L2^1.5-L1^1.5)/3
Q= Q1+Q2+Q3
//RESULTS
printf ('Total discharge = %.1f cfs ',Q)
|
3214ff5216114dceeed791cffcf0d5b20b501183 | 598cea31abe28eb3af3816449af7f824e577a527 | /XOS/CFG/BOOT.SCI | 6316fb456a8c0bb66d0b3537a6fdaed18a8ae9d1 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | public-domain/openxos | 8e2b5d1c494edb15cb1a8983e653e338fb6e8d7a | d44ad07e99bb9ecf3d8e4ae3898b43a6e339502d | refs/heads/master | 2021-02-09T01:16:59.383983 | 2020-03-01T20:49:03 | 2020-03-01T20:49:03 | 244,221,383 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sci | BOOT.SCI | DSKCLS
DFSCLS
SCSICLS
SCSIADTA
SDSKDRV
#
CONDRV
KBDADRV
VGAADRV
|
338ad5fa2d970ccf375ce020488e7e753f8e30d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.19/Ch01Ex19.sci | ceb1a500a3cf8d47eeeaa67ea52619e9c9494b61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sci | Ch01Ex19.sci | // Scilab Code Ex1.19 Electron speed equivalent of twice its rest mass: Pg: 28 (2008)
m0 = 9.1e-031; // Rest mass of an electron, kg
m = 2*m0; // Mass of moving electron, kg
c = 3e+08; // Speed of light, m/s
// As m = m0/sqrt(1 - (v/c)^2), Relativistic mass of electron, kg, solving for v, we have
v = sqrt... |
03c058bb0c1426734456c8bb6751a63c2d3703e3 | 3c31145b7b0914a28b5c5c61d01c47253663df63 | /1 unidade trabalho/identifica_sistema.sce | b670259ca14b6563417804607d49c5eb2bc178e2 | [] | no_license | APFN/INTRODUCAO-A-IDENTIFICA-O-DE-SISTEMAS | 1eb05ddc0debe5381d941715915388f7ca8af22c | d1a7afd8c8f894285aa9d4c282939538cfaa45d4 | refs/heads/master | 2021-07-21T14:50:25.870205 | 2017-10-30T19:31:48 | 2017-10-30T19:31:48 | 108,897,789 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,460 | sce | identifica_sistema.sce | clear
clc
// Identifica sistema a partir de pontos entrada/saida
// Pasta de leitura dos arquivos
DATADIR='C:\Users\Álvaro\Google Drive\0 mestrado mecatronica\2017.2\INTRODUÇÃO À IDENTIFICAÇÃO DE SISTEMAS\Trabalho_final';
exec('C:\Users\Álvaro\Google Drive\0 mestrado mecatronica\2017.2\INTRODUÇÃO À IDENTIFICAÇ... |
c40c7cd942460c8a54eea5e360b65724f5327d2a | ebeb01647d8befa67b61bb30a7503abd26cc518e | /forThen3.sce | ca62e4d3558db80f9c7878d2f84660cf0950827f | [] | no_license | ciarap/Scilab_Labs | 153903c46c94492672c1da9497a030f548d3940e | af994c56ae44c4872a969cab376056dd18871f3c | refs/heads/master | 2021-07-04T20:12:39.635697 | 2017-09-25T22:53:15 | 2017-09-25T22:53:15 | 104,810,103 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | forThen3.sce | x=2;y=3
if (x==2) then disp('x equals 2');else disp('x is not 2');end
if (y==2) then disp('y equals 2'); else disp('y is not 2');end
|
546bd66c9ebeeaa718a183420e71f680a39ae8ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH15/EX15.1/EX15_1.sce | 0c4468bb70705d1bd905898af56dccff326ddf34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,090 | sce | EX15_1.sce | clc;funcprot(0);//EXAMPLE 15.1
// Initialisation of Variables
BP=90;.................//Brake Power in kW
deltw=27;.................//Raise in temperature of water
etaP=0.25;...................//Efficiency of petrol engine
etaD=0.3;....................//Efficiency od diesel engine
Pec=32;......................//P... |
d4660229f0a99ea7880fb562ba2c1faa0a6be7a9 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD4/Scripts/Service 2/serveur2_histo.sce | 67bc1220dc84e4da2246b68951599e813a1bad33 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | serveur2_histo.sce | clf;
clear;
clc;
load('C:\Users\tangu\OneDrive\Documents\GitHub\Modelisation\TD4\NetworkData.sod')
// Extraction des temps de service
index_bool = ( data(:, 3) == 2 )
tabS2 = data(index_bool, :)
t_s2 = tabS2(1:$,4);
deciles=perctl(t_s2,10:10:90);
for i=2:10
ClassesDeciles(i)=deciles(i-1)
end
ClassesDeciles(1)=min... |
642f1e9e0b390f13e55fb7ef73def71b1786b391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH11/EX11.1/Example11_1.sci | 4d7ac498aa8cad9b399459e783a7671b4a6f921c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sci | Example11_1.sci | clc();
clear;
// To calculate the net radiant interchange between two parallel black planes
T1=1660/100; // Temperature of first black plane in degR
T2=1260/100; // Temperature of second black plane in degR
s=0.174; // Step... |
878b50e510bb98ce43534567a4f1114371e2dadb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH3/EX3.3/Example33.sce | 8f06499b1cd02cfd3c2c0c5acdc10447400e7284 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,873 | sce | Example33.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 - 3 Example # 3.3 ")
//initial temperature of the sheet in C is given as:
Tinitial = 500;
//thickness of the sheet in m is given as
th = 0.02;
... |
afd97dd7123a7f3ece98198586d6c1504d07cdc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH6/EX6.3.1/Example_6_3_1.sce | f77ff5c177633de4c149f6e732b9e59ae429d3d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,106 | sce | Example_6_3_1.sce | clear;
clc;
close;
A1=[-1 0;0 -2] //Jacobian at (0,0)
t1=det(A1)
tau1=trace(A1)
d1=((tau1)^2) - 4*t1
A2=[2 0;0 -2] //Jacobian at (1,0) and (-1,0)
t2=det(A2)
disp("So from Chapter 5, we come to following conclusion :")
disp("1. As t1>0 and tau1<.0 and d1>0 --> Thus (0,0) is Stable Node.")
disp... |
7d0f40c310c37f42bf4b0d2135b2fb89381df6e1 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH11/EX11.19/Ex11_19.sce | 066a92464bd41d1c2da15292f02f6ea985e64eda | [] | 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 | 374 | sce | Ex11_19.sce | // Variable declaration
n = 5
k = 1
// Calculation
X = [1 0 ; 1 1 ; 1 2 ; 1 3 ; 1 4]
Y = [8 ; 9 ; 4 ; 3 ; 1]
XT = X'
XTX = XT*X
XTXI = [0.6 -0.2; -0.2 0.1]
XTY = XT*Y
b = XTXI*XTY
Y1 = X*b
MMT = ((Y-Y1)')*(Y-Y1)
MMT = int(MMT)
Se_square = (1.0/(n-k-1))*MMT
Final = Se_square*XTXI
// Result
printf ( "var(bo): %.... |
3324ae44e63b00cf739f17056cafb793a7ad5b74 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronic_Devices_And_Circuits_J._B._Gupta_2444.zip/Fundamentals_Of_Electronic_Devices_And_Circuits_J._B._Gupta_2444/CH1/EX1.2/ex1_2.sce | 98d9d9f2d993ab3be1f68bee7892140832a62bca | [] | 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 | 306 | sce | ex1_2.sce | errcatch(-1,"stop");mode(2);// Exa 1.2
;
;
format('v',7)
// Given data
n_i = 1.4*10^18;// in /m^3
N_D = 1.4*10^24;// in /m^3
n = N_D;// in /m^3
p = (n_i^2)/n;// in /m^3
// Ratio of electron to hole concentation,
ratio = n/p;
disp(ratio,"Ratio of electron to hole concentration is");
exit();
|
1667d820791234f05ec6d120a3bb7fd4cdbd0731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH4/EX4.15/4_15.sce | 8049d71b7a40189256f367a70b9b8ed578d019b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | 4_15.sce | //4.15
clc;
Vc=200;
Im=60;
toff=15*10^-6;
C1=toff*Im/Vc;
C=5*10^-6*10^6;
printf("\nCapacitance = %.0f uF", C)
Ipc=Im*1.5-Im;
L=C/(Ipc/Vc)^2*10^6;
printf("\nInductance = %.1f uH", L)
|
520db180cb2344a061b05d86b9bf43bc141a637f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.25/4_25.sce | 9f45f077634f212c565d117ad785134625c1269e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | 4_25.sce | clc
clear
//Initialization of variables
tin=298 //K
tout=273 //K
tout2=308 //K
tin2=294 //K
//calculations
eta1=(tin-tout)/tin
eta2=abs((tin2-tout2)/tin2)
//results
printf("Efficiency in case 1 = %.3f",eta1)
printf("\n efficiency in case 2 = %.3f",eta2)
|
62e90902ceff76f9398312666dac3d217783d8b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH3/EX3.6/Ex3_6.sce | b3bdb1641aecf26b9067552a719861e503f7688e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Ex3_6.sce | clc
T=300 //K
k=8.617*10^-5 //eV/K
q=1.6*10**-19 //C
NA=5*10^16 //cm^-3
ND=10^16 //cm^-3
A=2*10^-4//cm^2
V=4//V
taug=5*10^-7
ni=9.65*10^9//cm^-3
epsilonx=8.854*10^-14 //F/cm
W=sqrt((2*epsilonx*11.9/q)*[(NA+ND)/(NA*ND)]*[(k*T/q)*log(NA*ND/ni^2)+V]) //value of V is not substituted in textbook
disp(... |
5bef1f7c629e2d072921aaaa1585695b526d6de0 | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/detectBRIEFDescriptors.sci | 0ccad06ac1d54b014c4ccec55a3390cf1df07f81 | [] | no_license | AshishMantosh/FOSSEE-Image-Processing-Toolbox | ee9c1a00f97627f372fae1d7d851c4905ac9d83e | e4fbe1891e13e4dc9b62513f0aef2b101638f084 | refs/heads/master | 2021-01-01T19:05:15.966438 | 2017-07-27T07:16:11 | 2017-07-27T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,091 | sci | detectBRIEFDescriptors.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
43f9cd89e0c71d47d3d64d6cebdfd31482b229bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH8/EX8.10/ex8_10.sce | d4f8bfb5cd1eebd3b50bd43939607eb93d19d4d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,503 | sce | ex8_10.sce | // Exa 8.10
clc;
clear;
close;
// Given data
mC= 0.88;//mass of carbon in kg
mH2= 0.03;//mass of H2 in kg
mS= 0.005;//mass of S in kg
O2_mass= 2.66*mC + 8*mH2 + 2*mS;// in kg
Air_mass= O2_mass/0.23;// in kg
Air_mass= 1.5*Air_mass;// in kg (as 50% excess air is supplied)
disp(Air_mass,"Actula mass of air requ... |
5235ecd2d51bb70a73160173dce522ef1a9a6b1e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH20/EX20.6/20_06.sce | fd093acadd7c4b29c87d27769ff4a7fcb8efa931 | [] | 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 | 409 | sce | 20_06.sce | errcatch(-1,"stop");mode(2);//Chapter 20, Problem 6
;
Il=15; //line current
Vl=415; //3 phase supply
f=50; //supply frequency
Ip=Il/sqrt(3); //phase current
Xc=Vl/Ip; //capacitive reactance
C=1/(2*%p... |
f69e6436a288f4f5b1accf85369230609afe190c | 178822612bcd418dc12ba7a649304a24ab618d60 | /Numerical Analysis/CHOLESKY.sci | 877543a10daddfc99c1d111aebbb3eeafa58e203 | [] | no_license | engom/Math_Problem_Solving | b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3 | 6538c476681ae4ee803ea9b3a8944c5f370e1961 | refs/heads/master | 2022-05-25T01:13:16.123161 | 2016-02-13T11:32:28 | 2016-02-13T11:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sci | CHOLESKY.sci | A = [2 1 -1;1 1 1;-1 1 6]
function A=CHOLESKY(A)
//
[m,n]=size(A);
if m~=n then, error('la matrice n''est pas carree'), end;
zero=1.e-10;
if norm(A-A','inf')>zero then, error('matrice non symetrique'), end;
for j=1:n
for k=1:j-1
A(j,j)=A(j,j)-A(j,k)*A(j,k);
end;
if A(j,j)< zero then, error('matrice non... |
0c0dde922ba835dbcd4f2911445adc2ec9717538 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH6/EX6.14/Ch06Ex14.sci | e31956b11e08b240a941af8713ea71aee87511b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,202 | sci | Ch06Ex14.sci | // Scilab Code Ex6.14 Diffusion depth of P-type semiconductor (B into Si): Page 212 (2010)
C0 = 0; // Initial boron concentration of silicon
Cx = 1e+17; // Boron concentration at depth x below the silicon surface
Cs = 1e+18; // Boron concentration of silicon at the surface
T = 1100+273; // Absolute temp... |
9abf19d5792483678fd8064c3f38229a163f4437 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_printSuccess.tst | 0ebf45121f777bfbfe177aeca44692e9f51d22df | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 432 | tst | ok_printSuccess.tst | ; Tests whether :print-success can be written and turns printing success off
(get-option :print-success) ; value result
(set-option :print-success false) ; no success result
(get-option :print-success) ; value result
(set-option :print-success true) ; success result
(get-option :print-success) ; value re... |
11edc9f336bec575992ae2dc2fdbb9f7ccd99067 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/1/tests/test16.tst | 0f9dac959d41bde474ef40764b7f219d0f48819f | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | tst | test16.tst | var a:int;void myProc(){ const test=5; test1=test==5;} |
8ec124eadc21f9079d492a389a09c0d1367439c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH4/EX4.10/Ex4_10.sce | 67f76db102d09413a85809011e9c3b5b50e52b2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,966 | sce | Ex4_10.sce | clc
//
//
// Variable declaration
M0=1500 // Couple of magnitude(kN)
yA=50 // Distance()
zA=74
Iy=(3.25*((10**-6))) // Moment of inertia(... |
a2b3c99104fe60e14f980be72ce1480c9a7cb3b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH27/EX27.1/Ex27_1.sce | 8ae506cc50beff598c8db47722f89c300d0c48cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex27_1.sce |
//Find the Amount of Heat needed to raise the temperature from 25 degree celsius to 35 degree celsius.
//Example 27.1
clear;
clc;
Ao=0.32;//Mass of Oxygen kept in gram
W=32;//Molecular weight of Oxygen in g/mol
n=Ao/W;//Number of moles of oxygen
Cv=20;//Molar Heat Capacity of Oxygen at constant vo... |
0f163b480b29279dba4dc80b372c0db707502983 | fabc48f29c1a9611501fae0c34433b44d5617bd0 | /scilab/plotCircle.sci | f3cc7f5ff1538b81f6babd0248f24c8b0f223ee6 | [] | no_license | rubiruchi/automatic-power-optimization | 51e7a9575619e0232595be18ed4b02e2fcd48bc8 | 575471ea5ae392d60365508bf84d58ad4d32764a | refs/heads/master | 2020-04-21T06:22:14.980063 | 2018-12-26T09:51:02 | 2018-12-26T09:51:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sci | plotCircle.sci | function plotCircle(netLocation, nodesPower, nodesFrequency, min_sensibility)
[a,b]=size(nodesPower);
plot(nodeLocation(1,:), nodeLocation(2,:),'ro');
for i=1:b
//loss = 32.5 + 20*log10(d) + 20*log10(nodes_frequency(i));
loss = nodesPower(i)-min_sensibility;
d=10^((loss-... |
c382d1ef951542f44ecf80a928ecb279423b6839 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /help/fr_En/SERVO_SB.tst | a79340ded91615671ab7523fbd942fdd9c20764b | [] | 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 | 2,081 | tst | SERVO_SB.tst | \name
SERVO_WRITE_SB
\palette
Arduino
\smalldescription
Permet de piloter un servomoteur en renseignant l'angle de 0 à 180° souhaité
\description
Un servomoteur est un ensemble constitué d'un moteur électrique, d'un réducteur, d'un potentiomètre et d'une partie électronique analogique ou numérique pour la ... |
504d53268ad70420dd87bc2efc2ead13b7b0f9a0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/statelevels/statelevels15.sce | bc859b8da615a89b0a536d956167fd6bb8b2cd55 | [] | 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 | 208 | sce | statelevels15.sce | //i/p arg x is a matrix
x=[1 2 3; 4 5 6; 8 6 7];
y=statelevels(x);
disp(y);
//output
//!--error 10000
//Input x should be a vector
//at line 31 of function statelevels called by :
//y=statelevels(x);
|
a882ff61b6f5e0e63f3fed256e322be7bd740b1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH1/EX1.14.a/Example1_14_a.sce | fb7024a4cbac3ede4aff921a335ace853f15980f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Example1_14_a.sce | //Example 1.14(a)
clear;
clc;
R1=10*10^3;
R2=20*10^3;
RL=2*10^3;///Load Resistance
vI=3;//Input Voltage
IQ=0.5*10^(-3);
vO=-(R2/R1)*vI;//Output Voltage
iL=-vO/RL;//Current through RL
i1=vI/R1;//Cuurent through R1
i2=i1;//Current through R2 (as current sunk by the op amp is 0)
iO=i2+i... |
5e0f95d90755b67fc916351fccd79572bf1eed2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH11/EX11.8/Example11_8.sce | 30b259fbf4848dfd86098a1441935956950e0c40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,143 | sce | Example11_8.sce | clear;
clc;
// Illustration 11.8
// Page: 627
printf('Illustration 11.8 - Page: 627\n\n');
// Solution
//******Data******//
rate = 0.1;// [kg/s]
conc = 3;// [kg vapour/100cubic m]
Density_p = 720;// [kg/cubic m]
Density_bed = 480;// [kg/cubic m]
capablity = 0.45;// [kg vapour/kg carbon]
dp = 0.0028;... |
317ff4531785024d6c12b9451a01818398639ad5 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/midcross.sci | 445e5f47a90e49ac1839027174305be8fc1d6f97 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,793 | sci | midcross.sci | function [midcrossvalue, midreference, levels, t, tolerance, Tinput]= midcross(x, varargin)
// This function estimate midcross values of real vector X.
// Calling Sequence
// midcrossvalue=midcross(x)
// midcrossvalue=midcross(x, Fs)
// midcrossvalue=midcross(x, t)
// midcrossv... |
43f717a690d34da358aec8fe55d811403a22c146 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH4/EX4.35/Ex4_35.sce | 1e69d2ea2ac347d97788dda684feee7ad584aa70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Ex4_35.sce | // Calculating the continuous rating of motor
clc;
disp('Example 4.35, Page No. = 4.67')
// Given Data
Psh = 37.5;// Power rating of motor (in kW)
th = 30;// Time (in minuts)
Th = 90;// Heating time constant (in minuts)
// Calculation of the continuous rating of motor
ph = 1/(1-%e^(-th/Th));// Heating overload ... |
c4e9d79999fb006dff0ebda9605340715539d00a | c3d38db94d5862857932065e0c266a64e426002a | /tst/Ex14.tst | 14ddd5311ea27bddd96c464c319554e4ff2c218e | [] | no_license | fingolfin/carat | 69806199557c0b46b752d83b0755c627ed5877ec | 21741c23edb7d5cf410e7dc1698f7fb942573e9e | refs/heads/master | 2020-09-03T15:33:29.255011 | 2019-05-23T07:31:58 | 2019-05-23T07:31:58 | 133,804,402 | 0 | 0 | null | 2018-05-17T11:35:02 | 2018-05-17T11:35:02 | null | UTF-8 | Scilab | false | false | 449 | tst | Ex14.tst |
echo "### Test Ex14-1"
../bin/carat/KSubgroups -a -t -n Ex14_R 2
echo "### Ex14-1 return code $?"
echo "### Test Ex14-2"
../bin/carat/KSupergroups -a -t -n Ex14_R 2
echo "### Ex14-2 return code $?"
echo "### Test Ex14-3"
../bin/carat/TSubgroups -a -t Ex14_R
echo "### Ex14-3 return code $?"
# this one segfaults:
# e... |
02cc73aea8f14d9e2beb1e10baae2431818c9151 | b260f3d67de5bd0fbb64f116da0d48c79d85382a | /primpoly/primpoly.sci | a2a6dc4fd960cf874559ce8d27df1c82e73d3dff | [] | no_license | nikitapinto/Scilab-Communications | 92c1002a14452dab39edda3675bc0c4a4da25919 | 4ebf7bbd70374b812eeb8dd3333ed997bca70b09 | refs/heads/master | 2021-01-10T06:27:41.892245 | 2016-04-02T16:37:42 | 2016-04-02T16:37:42 | 51,426,801 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,856 | sci | primpoly.sci | funcprot(0);
// Find primitive polynomials for Galois field
// pr = primpoly(m) computes one degree-M primitive polynomial for gf(2^m).
//
// pr = primpoly(m, option) computes primitive polynomial(s) for GF(2^m).
// option = 'min' find one primitive polynomial of minimum weight.
// option = 'max' find... |
63b23f4a5c2793a63d83df4ef26b972df20b20e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH1/EX1.28/example1_28.sce | 82277dfc50455ab547a3f27c03cfcc88f1167c88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | example1_28.sce | // To prove,resistivity is 45 ohm-cm
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 1-28 in page 53
clear; clc; close;
// Data given
ni=2.5*10^13; // Intrinsic concentration /cm^3
mu=5600; // Sum of mobilities of holes and electrons
e=1.6*10^... |
257ecad81ed80e1d2a6ef04b0a9c578b448e2de9 | 33cf645e9e65f22a3670517a08959b0963cd0cd3 | /Exercice3_tp1.sce | 7ffeb58685d872748806627ca7c666119b82f0fb | [] | no_license | Abla-Adem/TP-calcul-numerique | eecda616e8d512e972c19701c3ff847c184c9e6b | c75cc37dd09787fa87867c106adb1ee69d6b581d | refs/heads/main | 2023-02-06T15:15:50.993839 | 2020-12-25T13:10:35 | 2020-12-25T13:10:35 | 314,226,297 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Exercice3_tp1.sce | function [c]=matmat3b(a,b,n)
c=zeros(n,n);
for i=1:n
for j=1:n
for k=1:n
c(i,j)=a(i,k)*b(k,j)+c(i,j);
end
end
end
endfunction
function [c]=deux_boucle(a,b,n)
c=zeros(n,n);
for i=1:n
for j=1:n
... |
87f5d2208624aabada9487f211992d414c06b5d4 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Quick Flick.sce | 1c5e583d57234eaa616b39c5315c1671f4a331be | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 113,485 | sce | Quick Flick.sce | Name=Quick Flick
PlayerCharacters=player_char
BotCharacters=QFmain.bot;QFsub.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=player_char
AddedBots=QFmain.bot;QFsub.bot;QFsub.bot
PlayerMaxLives=1
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=quick_flick.map
MapScale=10.0
BlockProjectilePredictors=... |
498690520b464f3a53d044b6e8d744e9bfafbd64 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH22/EX14.22.6/Ex14_22_6.sce | 962a1787b28677f03c65d5a2429210eb25ae8c89 | [] | 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 | 246 | sce | Ex14_22_6.sce | //Section-14,Example-2,Page no.-PC.54
//To calculate force necessary to lift a ring of 1.0 cm radius from liquid water.
clc;
y=72.8
r=1
F=2*(2*%pi*r)*y
disp(F,'Force necessary to lift a ring of radius r from a liquid of surface tension y)
|
e96819e0e42c382a440e5ff3764d5c2f7ba0c501 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/percent/%c_o_l.sci | db47e6e1d01c101074ca57fdf1f4b670a07ea53f | [
"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 | 84 | sci | %c_o_l.sci | function [r]=%c_o_l(l1,l2)
//%c_o_l(l1,l2) : l1==l2
//!
// Copyright INRIA
r=%f
|
d1a0b35e01f603aee8b510ff3a51cb31d6feef6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH3/EX3.22/example3_22.sce | 95d82200908e39f1c14d2fc4276bff4bf6f624d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | example3_22.sce |
//example 3.22
//calculate
//discharge required at head of distributory
clc;
//given
GCA=10000; //gross commanded area
CCA=0.75*GCA; //Culturable commanded area
IR=0.6; //intensity of irrigation during rabi season
IK=0.3; //inten... |
94cd4ca4175b245f21c7ffdd9a45f51f2d42a72f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/fftfilt/fftfilt6.sce | af5f2bb1c468d320195e3cf177bc86ffc24bb674 | [] | 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 | 211 | sce | fftfilt6.sce | //less than 2 i/p args are passed to the function
b=[0.1 2 3 4 0.12];
y=fftfilt(b);
disp(y);
//output
//!--error 4
//Undefined variable: nfft
//at line 128 of function fftfilt called by :
//y=fftfilt(b);
|
3be79df381c5e2f926bdeae6e24db637ca45be78 | 420d4bcc40d948804a4370652e50a00cbe639cfe | /Graphs API/trip-tests/explore03.tst | e1bbe57e1c88458373de87fb4c0b904b23fe6dbc | [] | no_license | itsbriantruong/projects | 8cce3eba78a98e598e249f0adffcd9c3b9e3d5ab | 252ad31d3c74ef77e1cee43244e8f51ca47f9b63 | refs/heads/master | 2021-05-29T19:08:04.548321 | 2015-09-09T09:03:16 | 2015-09-09T09:03:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | tst | explore03.tst | java -ea trip.Main -m trip-tests/explore02 <<EOF
Fort_Lee, East_Harlem, Troy, Fishkill
EOF
|
eed12a627ed8ef9bde921cce4db7acdadc0018a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH10/EX10.3/ex10_3.sce | ac4ffe33e21e3847f7b99220c26d9fc8fad89239 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,848 | sce | ex10_3.sce | clear;
//clc();
// Example 10.2
// Page: 262
printf("Example-8.2 Page no.-262\n\n");
//***Data***//
// The initial data for this example is same as that of example 10.2, i.e.
P = 800;//[psia] Bubble point pressure
x_e = 0.60;// Mole fraction of ethane in liquid phase
x_h = (1-x_e);// Mole fraction of n-... |
c910de472692fd0bf853913f85bff9467574db80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH7/EX7.9/Oscillators_Ex_7_9.sce | c72271db7186b668b1ffde177fadef1bf3a7f536 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | sce | Oscillators_Ex_7_9.sce | clc
//Chapter 7:Conditions for Oscillation
//example 7.9 page no 284
//given
rd=50*10^3
gm=5*10^-3//transconductance
f=16*10^6//frequency of oscillation
Rs=15
XC1=1*10^3//capacitive reactance of first capacitor
XC2=Rs/(gm*XC1)//capacitive reactance of second capacitor
C1=(2*%pi*f*XC1)^-1//value of first capac... |
48d06786cd5a8709a8d8ec74ee66ad50358ec306 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.1/Ex5_1.sce | dd8a5348747f65247847c1834e841c8414b63fef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Ex5_1.sce | clear;
clc;
disp('Example 5.1');
// aim : To determine
// new pressure exerted on the air and the difference in two mercury column level
// Given values
P1 = 765;// atmospheric pressure, [mmHg]
V1 = 20000;// [mm^3]
V2 = 17000;// [mm^3]
// solution
// using boyle's law P*V=constant
// hence
... |
2b74f1bf503aba7456a028d4f887ab45438c8ca8 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /mattranspose.sci | 22628f35ca0807d094db2d925a2c5429d0104dc4 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sci | mattranspose.sci | //SCI2C: DEFAULT_PRECISION= FLOAT
function mattranspose()
a = int8([1,-2,3;4,5,6;-7,8,9]);
b = int16([10,-11,19;1,2,-3;0,-10,18]);
c = uint8([21,1,0;3,56,90;1,2,3]);
d = uint16([1,2,4;10,15,20;90,12,100]);
e = a';
f = b';
g = c';
h = d';
disp(e);
disp(f);
disp(g);
disp(h)... |
acbbb2d3558934f100163af011ae26d4fb3f9560 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH8/EX8.9/Ch08Ex09.sce | e9b5f7686f8583d4e07a84d8c77c9a1e4b1407d5 | [] | 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 | 965 | sce | Ch08Ex09.sce | // Scilab code Ex8.9: Pg.350 (2008)
clc; clear;
// For simplicity let h & f be unity
// At low temperatures
h = 1; // Plank's constant, J-s
f = 1; // Frequency, Hz
kT = 0.5*h*f; // Product of Boltzman's constant & temperature, J
n = 1; // Integer value
f_1_0 = exp(-(h*f)/kT); // Ratio of fractio... |
e7e0a74a6b8b3d0378b86d2bf444ee4964e463fc | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/X07H.prev.tst | 64b6c8f3dfb15191bf22c979cdcde1e20ad98663 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,013 | tst | X07H.prev.tst | # start Schwering-Kuehne.X07 3*p^3*r + 3*p^2*q*r + 3*p*q^2*r - 9*r^4
# start Schwering-Kuehne.X07 - 3*p^2*q*r - 3*p*q^2*r - 3*q^3*r + 9*r^4
# start Schwering-Kuehne.X07 p^4 + 2*p^3*q + 3*p^2*q^2 + 2*p*q^3 + q^4 - 9*p*r^3
# start Schwering-Kuehne.X07 - p^4 - 2*p^3*q - 3*p^2*q^2 - 2*p*q^3 - q^4 + 9*q*r^3
Schwering-... |
d442cd1b27a8ece14a6946db444820fd8d22ae7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH4/EX4.12/exa_4_12.sce | 9fa83d293a42714187e770b90abb33141c03b3b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | exa_4_12.sce | // Exa 4.12
clc;
clear;
close;
// Given data
I=0.8;// in mA
I=I*10^-3;//in A
V_A= 100;// in V
Bita=160;
VT=25;// in mV
VT= VT*10^-3;//in V
gm= (I/2)/VT;// in A/V
Gm= gm;// Short circuit trnsconductance in mA/V
disp(Gm*10^3,"The value of Gm in mA/V")
ro2= V_A/(I/2);// in ohm
ro4= ro2;// in ohm
Ro= ro2*r... |
5083779272f60687b800922b77f36839bd6f7965 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/robust/tf2des.sci | 5c17f6c977416731de8fe4cb76cc4bb34bed91ca | [
"MIT",
"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 | 728 | sci | tf2des.sci | function [S]=tf2des(G)
//[S]=tf2des(G)
// Transfer function to descriptor form: S=list('d',A,B,C,0,E)
// E*dx=A*x+B*u
// y=C*x+D*u
//!
Num=G(2);Den=G(3);
%s=poly(0,varn(Den));
[n,m]=size(Num);
pol=zeros(n,m);pro=pol;
// Pro = strictly proper part of G
// Pol = polynomial part of G.
for l=1:n,
for k... |
6797dafa5037446345183e67eb19159dea015c75 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /GS/SCENARIO/ManipulationTestGripper.sce | 551b15e7de87371a72dc3b5b1b8214fa638a2fd5 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,958 | sce | ManipulationTestGripper.sce | #************************************************************
# Scenario of grande_salle
#
# date : Fri Mar 18 13:37:23 2011
#************************************************************
p3d_sel_desc_name P3D_ENV grande_salle
p3d_sel_desc_name P3D_ROBOT LOTR_TAPE
p3d_set_robot_steering_method Linear
p3d_set_robot... |
daa79768f370ee668c9b5cfa675be27b638577da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH4/EX4.14/Example_4_14.sce | 5ca5b7612f63a1d8718f48e070e2caf9f3f083ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Example_4_14.sce | //Example 4.14 10 life Insurance policies in a sample of 200 taken out of 50,000 were found to be insured for less than Rs 500
clc;
clear;
N=50000;
n=200;
p=10/200;
q=1-p;
S_E=sqrt(p*q/(n))*sqrt((N-n)/(N-1));
disp((p-1.96*S_E)*N,"and",(p+1.96*S_E)*N,"The number of each policies lies between ",(p-1.96*S_E),"to... |
5770277e63b8d3269ad7421b22e4098370cf09dd | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.10_16.tst | 894c0a80e019e6029b8c7134336f9d64a2cc3e09 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,477 | tst | bow.10_16.tst | 10 55:0.16666666666666666 56:1.0
10 2:0.038461538461538464 4:1.0 13:1.0 88:1.0 143:1.0
10 13:1.0 27:0.5 29:0.16666666666666666 42:0.5 45:1.0 68:0.25 69:0.5 70:1.0 71:1.0 73:1.0 108:1.0 115:2.0 165:1.0 169:0.3333333333333333 211:0.5 282:1.0 469:1.0 548:1.0 558:1.0 580:1.0 1305:1.0 1546:1.0
10 2:0.038461538461538464 17:1... |
9a518afd2ba446cb1a7b554c454709fb12d21568 | 2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf | /Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab5_ec_diferentiale.sce | 6686a86015caf936f358ecb0c6e77e5cde9cd5d6 | [] | 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 | 314 | sce | lab5_ec_diferentiale.sce | function y=f(t,y)
y=10*sin(100*t)-y/0.5;
endfunction
a=0;
b=1;
y(1)=0;
n=100;
h=(b-a)/n;
for i=1:n-1
t(i)=a+i*h;
k1=(f(t(i),y(i)));
k2=f(t(i)+h/2,y(i)+k1*h/2);
k3=f(t(i)+h/2,y(i)+k2*h/2);
k4=f(t(i)+h,y(i)+k3*h);
y(i+1)=y(i)+h/6*(k1+2*k2+2*k3+k4);
end
plot(y)
|
4fe82ec295feae53f9e91e865c9ab3087ed0cb0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.48/5_48.sci | 4c03386723988bd4ff3c2968a02bee0640379afd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | sci | 5_48.sci | //
clc;
Kh=-1*10^-6;
I=3;
B=0.5;
t=2*10^-3;
Eh=Kh*I*B/t;
disp(Eh,'output voltage (V)') |
47d5606a38d1a06cd8b3cc0d8414238eac263e47 | 4a1949be12fbe9a81d9308381b34c611e65877ca | /tests/arbre/3.tst | ce547285a48e253fa3871963ac1a1bd686287511 | [] | no_license | ng88/trad | 26439d8fe2284ece19d6fbfaa397d3f6f0d13e78 | e4d3d4d56928539144d30c5c49e01e65c9b8729c | refs/heads/master | 2020-12-05T07:31:25.854231 | 2008-02-29T10:15:34 | 2008-02-29T10:15:34 | 67,351,952 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,097 | tst | 3.tst |
class MaClasse
public MaClasse() {}
public void main()
private void main(string arg1, string arg2)
{
VAR int a, b, c, d;
if 1 = 3-2 then
a := 5;
else
{
b := 6;
c := 7;
while 1 do
a... |
675eb0631abeacef2002c9163bcbcf727f1f946a | 51abd391b32fda845622cc93f23d0c65ea6bdb4a | /src/Ampl_JuMP/bug_hprod_ampl_linux.sce | 943c099e554a32b4314bd792413d9677143f5785 | [
"MIT"
] | permissive | vepiteski/SolverComparator.jl | 5223b1dc9724df18474845beab61aef73cef5536 | f2527afcc948fcf0749ca28a19deaee11ddb829a | refs/heads/master | 2021-01-12T15:34:46.334370 | 2017-09-07T14:50:11 | 2017-09-07T14:50:11 | 71,840,079 | 0 | 1 | null | 2017-07-03T13:01:58 | 2016-10-24T23:18:49 | Julia | UTF-8 | Scilab | false | false | 626 | sce | bug_hprod_ampl_linux.sce | //using AmplNLReader
//#nlp = AmplModel("../ampl/msqrtals") # loads the msqrtals.nl model
[asl, x0, bl, bu, v, cl, cu] = ampl_init("msqrtals.nl");
//nlp = AmplModel("../ampl/curly10") # loads the msqrtals.nl model
nvar = length(x0)
//x0 = nlp.meta.x0
nbt=100000
mprintf("evaluating %i times the Hv product\n",nbt)
go... |
3782f6be0fcf06e34fb99111ac2ca3dbd3a6bb84 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /AkarPersamaan/scilab/test_rootsearch_01.sce | 6f670aec4b157cc3ac27079bf2569af53e90af7e | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | test_rootsearch_01.sce | function y = func1(x)
y = x^3 - 10*x^2 + 5
endfunction
exec("rootsearch.sce")
dx = 0.1
a = 0
b = 1
[x1,x2] = rootsearch( func1, a, b, dx )
printf("x1 = %f, x2 = %f\n", x1, x2)
|
4567d01705a3f65548215c7843f2e5cfba8e1698 | 449d555969bfd7befe906877abab098c6e63a0e8 | /196/CH3/EX3.3/example_3_3.sce | 8e1c7baea52b2a9d41228ff76f902fc751795f13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | example_3_3.sce | //Chapter 3
//Example 3-3
//ProbOnOpampParameters
//Page 48,49,figure 3-2
clear;clc;
//Given
Rf=250*(10^3);//Feedback Resistance in Ohms
Ri=10*(10^3);//Input Resistance in Ohms
Ei=0.5;//Input voltage
//Calculate
//Example 3-3(a)
I=Ei/(Ri);
printf("\n\n Value of current through Rf = %.6f A \n\n",I)
//Exam... |
4f046ce40b2434c7936c935d02be57a72915ae73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.4.2/Example1_10.sce | 8fae414c4e7bced870ac734c338910d41000a241 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Example1_10.sce | //Chapter-1,Example1_4_2,pg 1-32
//For dark rings Dn=sqrt(4*R*n*wavelength)
n=10 //10th ring
Dn=0.5 //diameter of 10th ring
wavelength=5*10^-5 //wavelength of light
R=Dn^2/(4*n*wavelength) //radius of curvature
t=Dn^2/(8*R) //thicknes... |
c5232c3820b3d8de984bd0b72f3776da24088f91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH13/EX13.17/Ex13_17.sce | 040f657a3fb27d21312cf08908401a7fcf8513d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sce | Ex13_17.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.17
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
lambda=1550e-9;//Operating wavekength of the system in m
alpha=0.2;//Fiber loss in dB/km
Pi=1e-3;//Input power in W
Np=1000;//Minimum number... |
c245a876c6c7671b7b5355b6a01c307031e35d6a | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/29.tst | fd047ae6adf089667f8f6ffbf0ca2fa0da8d3952 | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | tst | 29.tst | 1000 1000
48
30 950 10
50 970 10
70 910 10
90 930 10
110 870 10
130 890 10
150 830 10
170 850 10
190 790 10
210 810 10
230 750 10
250 770 10
270 710 10
290 730 10
310 670 10
330 690 10
350 630 10
370 650 10
390 590 10
410 610 10
430 550 10
450 570 10
470 510 10
490 530 10
510 470 10
530 490 1... |
d1bfb424705327141bf7cac9fc7bd91ffec861cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH23/EX23.2/ex23_2.sce | 4ea14b98cfdc7d9751c97baf1e373341102327e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | ex23_2.sce | clc;clear;
//Example 23.2
//calculation of electronic polarizability
//given values
e=8.85*10^-12;//permittivity in F/m
er=1.0024;//relative permittivity at NTP
N=2.7*10^25;//atoms per m^3
//calculation
alpha=e*(er-1)/N;
disp(alpha,'electronic polarizability (in F/m^2)is ');
|
71f069c15a3e2933afd7a4cd1230e0ce321f1ef3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH19/EX19.6/Ex19_6.sce | 81b60bd431dd60840bdca2bb3e49bf299894f87e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | Ex19_6.sce | //chapter19
//example19.6
//page420
fc=1000 // kHz
fs=5 // kHz
m=0.5
Ec=100 // V
lower_sideband=fc-fs
upper_sideband=fc+fs
amplitude=m*Ec/2
printf("lower and upper sideband frequencies = %.3f kHz and %.3f kHz \n",lower_sideband,upper_sideband)
printf("amplitude of each sideband term = %.3f V \n",amplit... |
656ac2df46b9c313aa1e351deabe1d1d34efb1c4 | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /easy/tests/doubleAssignmentPrint.tst | fca34b0bd7fd1115644758434b5016f81a04df13 | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | tst | doubleAssignmentPrint.tst | main begin
int x;
int y;
x=4;
y=6;
print(x);
print(y);
return x;
end |
26710be6c3ebb11428f9ca2cd182ecbcd67b2b0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.17/Example6_17.sce | db1c3cbacc1af9ee3acc889901b98ed8caaa9be8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Example6_17.sce | //Example 6.17.
clc
format(6)
beta=49
alpha=beta/(1+beta)
disp("We know that, alpha = beta/(1+beta)")
disp(alpha,"Therefore, the common base current gain is, alpha = ")
disp("We also know that, alpha = IC / IE")
IE=3*10^-3
IC=alpha*IE
IC1=IC*10^3
disp(IC1,"Therefore, IC(mA) = alpha * IE = ") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.