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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
02c379d2b27bb3957bd1ae1f294d00eb0496ceff | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.9.b/solution10_9.sce | 5b03a3b4174e7d82c6328cc7796e21c096337979 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,105 | sce | solution10_9.sce | //Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0) then
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution10_9.sce')
//Obtain path of data file
datapath = path +... |
df207925efe782da6180305632412099b11b9b91 | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/empty_c_runme.sci | c796ddb8470c1ba1d30c1058f5bbb5b932744c1b | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | sci | empty_c_runme.sci | exec("alaqiltest.start", -1);
exec("alaqiltest.quit", -1);
|
7d14cc749a05a79ef7d17c16d7d73883f45bf24b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH13/EX13.2/132.sce | b8d524eb909608873a7d1690b5bdf1a40f323f5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 132.sce | clc;
//Example 13.2
//page no 137
printf(" Example 13.2 page no 137\n\n");
//refer to part a of example 1
//appplying Hagen-Poiseuille equation
meu=6.72e-4//viscosity of water
v=0.13//velocity of water
D=2.067/12//diameter of pipe
P_l=32*meu*v/(D^2)
printf("\n pressure drop per unit length P_l=%f psf/ft",P_l)... |
a5b33b8c17dc0b47b8bbc08cd568358a16b01170 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.10/ex6_10.sce | 6b468b56bd17c3e4e68efdcbbc7ebf1b70672cda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | ex6_10.sce | // Exa 6.10
clc;
clear;
close;
// Given data
I_DSS = 4;// in mA
I_DSS= I_DSS*10^-3;// in A
V_P = -4;// in V
V_GG = -2;// in V
V_GS = V_GG;// in V
disp(V_GS,"The value of V_GS in V is");
I_D = I_DSS*(1-(V_GS/V_P))^2;// in A
disp(I_D*10^3,"The value of I_D in mA is");
V_DD = 10;// in V
R_D = 5;// in kohm
R... |
a5b120add13e4d6121b8653c3dcaf96125b0cb2b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/scicos/do_setup.sci | d1a27fd64a7da19536eb30ed339ad36bd13ca0ae | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 1,352 | sci | do_setup.sci | function wpar=do_setup(wpar)
wd=wpar(1);w=wd(1);h=wd(2);
nm=wpar(2)
tolerances=wpar(3);
if tolerances==[]|tf==[]|sim_mode==[] then //super block
while %t do
[ok,nm,h,w]=getvalue('Set parameters',[
'Super block name';
'Window height';
'Window width'],list('str',1,'vec',1,'vec',1),[nm;string([h;w])])
if ~ok ... |
a6d5595539b91ef8de3704be7cc9d9eef500f2e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH5/EX5.9.iii/Example_5_9_iii.sce | 0b532366b6de8a5c03435456785fcb297c120036 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Example_5_9_iii.sce | //Scilab Code for Example 5.9(iii) of Signals and systems by
//P.Ramakrishna Rao
clc;
clear;
q=0;
a1=0.5
a2=-0.5;
n=1:101;
x1=a1^n;
x2=a2^n;
w=2;
n=0:100;
z=(exp(-%i*w*n));
for n=0:33;
X(n+1)=z(n+1)*x1(n+1)*cos(0.4*%pi*n);
q=X(n+1)+q;
end
disp(q,'Y3(e^2j) at a=0.5');
for n=0:33;
X(n+1)=z(... |
aa4cca71e15f1002b64bb1247ed6e87795eb899c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH15/EX15.2/Ex15_2.sce | c6e97c1726b91e115485f92d703aec03503d4b53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,027 | sce | Ex15_2.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 15.2
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
r=1.5; //Conductor radius in cm
R=3; ... |
d20d2aff0c6efe9b69539ada8ea62a17a512548d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH9/EX9.8/Ex9_8.sce | 7e795086c6f8e2fc617f8a2de40f1d2c1b8f102e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_8.sce |
// Ex9_8
clc;
// Given:
a1=0.015;
a2=0.04;
// Solution: Defining the seperation factor f as approximately equal to (a2/a1) where a1, a2 are the relative abundances of the isotope of interest in the initial and final fractions, we have
f=(a2/a1);
printf("The single stage seperation factor is = %f",f)
... |
91bb2e6bbad5030050a7061ffa0122f300d551d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH7/EX7.1/Ex7_1.sce | 2e3d2e16b2f379a5e024a8d1ab3e3973154234a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sce | Ex7_1.sce | //Example number 7.1, Page number 146
clc;clear;
close;
//Variable declaration
epsilonr=3.75; //relative dielectric constant
T=27; //temperature(C)
gama=1/3; //internal field constant
rho=2050; //density(kg/m**3)
Ma=32; //atomic weight(amu)
Na=6.022*10**23; //avagadro number
epsilon0=8.85*... |
02356a704063bc333ceadd0f02786cab4f3bad8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH8/EX8.8/example_8_8.sce | dccb26a9b747382d219859e727d3121673b2b4ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_8_8.sce | s=%s
F=s^6+3*s^5+4*s^4+6*s^3+5*s^2+3*s+2
disp(routh_t(F))
r=coeff(F)
routh=routh_t(F)
n=length(r)
c=0;
for i=1:n
if (routh(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("system is unstable")
else printf("there are no roots on RHS")
end
disp("s^2 is")
R=roots(routh(3,:))
disp(R)
disp("as... |
c6ed93701d2a0cfa40eaebdcaac952f2aa973206 | 8bc8cad4ff08d4d9e353e7a5a1baa8b188b994f3 | /NpointDFT/nPointDFT.sce | 8d7c72bc6792b5ceb32a1fd38d4b0caa78d89d06 | [] | no_license | ROHITDH/scilabBasics | 259c74030901258dbe8d77c61eacd467fc58b9de | f29b20b645d0f8181a3abc14c0d03ff59b69bd40 | refs/heads/main | 2023-02-22T12:21:31.459103 | 2021-01-27T01:24:22 | 2021-01-27T01:24:22 | 333,165,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,386 | sce | nPointDFT.sce | //computation of N point dft
clear
clc
close
x = input("Enter sequence x(n): ")
N = input("Enter no.of points of DFT: ")
//dft by calculation
n = 0:N-1;
k = n;
WN = exp(-%i*(2*%pi)/N)
kn = k'*n
W = WN .^ kn
X = W * x'
disp("DFT (calculation): ",X)
/*X1 = x * exp(-%i*2*%pi.*k'*n/N)
disp("DFT (calculation): ",X1)*... |
cbfe8f00008813b29069411f43dc14bf0de1b432 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH2/EX2.19/19.sce | 74c02740489e319658a7e0626b4afd8287640cf5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 19.sce | clc
//calc the height to which liq in a cylinder rises when rotated
f=78/60;//rps
r=0.15;//m
g=9.81;//m/s^2
//omega=2*(%pi)*f
z=[(2*(%pi)*f)^2]*r^2/2/g;//m
disp("The liquid in the cylinder rises to a height of")
disp(z)
disp("m") |
655814233e589b67463f3a0105989f60ab03e272 | 608ce453a5e6495299d7099c28b04d167ac50a76 | /Project1/PriorityEncoder83.tst | 39e2e0a3ac69b1636e416b4ac3a3303012c1dafc | [] | no_license | andreww-han/CSCE-312 | abad4364c0a6a9f406a8a409145ec94a6eb52b88 | c3d23e7f5a13df9413656bda76ec82ab8bdc3a1c | refs/heads/master | 2022-11-27T18:52:41.794118 | 2020-07-20T20:16:53 | 2020-07-20T20:16:53 | 281,214,854 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | tst | PriorityEncoder83.tst | load PriorityEncoder83.hdl,
output-file PriorityEncoder83.out,
compare-to PriorityEncoder83.cmp,
output-list d%B1.8.1 o%B1.3.1;
set d %B00000001,
eval,
output;
set d %B00000010,
eval,
output;
set d %B00000100,
eval,
output;
set d %B00001000,
eval,
output;
set d %B00010000,
eval,
output;
s... |
11180ba10db701a0dca4ac177307d44d02130e5b | 845c8ae1a329364b6568f3529318bf19080ab941 | /hdl/Decoder.tst | 545c1a324a7e648398cecbe6e27f133992127c41 | [
"Apache-2.0"
] | permissive | DChristianson/FPGA_lpu | 133a843e4b1df4f225aee01438930d7c42659d08 | 86f6cdc9b0aecfbdccd6ed23b73a5026776db18f | refs/heads/main | 2023-02-26T04:53:41.561411 | 2021-02-04T23:52:08 | 2021-02-04T23:52:08 | 336,049,181 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,007 | tst | Decoder.tst | load Decoder.hdl,
output-file Decoder.out,
compare-to Decoder.cmp,
output-list time%S1.4.1 in%D1.3.1 field%D1.3.1 row%D1.3.1 quote%D1.3.1 esc%D1.3.1 load%B1.1.1 reset%B1.1.1 out%D1.3.1 c%B1.1.1 f%B1.1.1 r%B1.1.1;
set field 44,
set row 10,
set quote 34,
set esc 92,
set load 1,
set in 97,
tick,
eval,
output;
tock;
set... |
5541563ab315bab4f49d00266ecfebf981ef32c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH14/EX14.4/Ex14_4.sce | 72a878a27616bcec0f5779d26b9465797c33982e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,717 | sce | Ex14_4.sce | // chapter 14
// example 14.4
// fig. 14.13
// Determine motor torque, speed of the motor, supply power factor, firing angle and power fed back to the supply
// page-865-866
clear;
clc;
// given
HP=10; // in HP (power of motor)
E=210; // in V
N=1000; // in rpm (speed)
Ia=30; // in A (armature current)
Ra=0.25; // in oh... |
a9f65aa88c666e93cfd8051b9e3e478e2820862a | 449d555969bfd7befe906877abab098c6e63a0e8 | /53/CH5/EX5.4/example_4.sce | 8cac04b61fe97dd6bf43774e16c170c6c4752c23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,365 | sce | example_4.sce |
//example5.4
//Shunt circuit feedback configuration//given
R1=10000;//in ohms
R2=2000;//in ohms
Rc1=5000;//in ohms
hie=1000;//in ohms
hfe=100;
//unloaded feedback fraction B1
B1=R2/(R1+R2);
disp('open loop forward current amplification A1=io/i');
iia=1;//let
disp('ib=input-current coupling factor*iia');
disp('ib=(R1+... |
625d873a27b1b2494c3e31b6fb66fa6df76ed2c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH2/EX2.6/Example2_6.sce | 70a69f628c513fd2b41ebcfdb11b887ad478728a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | Example2_6.sce | //clear//
//Caption:Channel Capacity of a Binary Symmetric Channel
//Example2.6:Channel Capacity of Binary Symmetri Channel
clear;
close;
clc;
p = 0:0.01:0.5;
for i =1:length(p)
if(i~=1)
C(i) = 1+p(i)*log2(p(i))+(1-p(i))*log2((1-p(i)));
elseif(i==1)
C(i) =1;
elseif(i==length(p))
C(i)=0;
... |
da01bb87199eaaf4260af7684bd46d443b4bf4b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH4/EX4.2/Example4_2.sce | a9a17b2e2af0fc23c73e35bc97227e5e693617c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example4_2.sce | //Chapter-4,Example4_2,pg 4-24
E1rms=10
E2rms=15
E1m=E1rms*sqrt(2)
E2m=E2rms*sqrt(2)
//voltage across AB is proportional to E1+E2 in positive half cycle
Ep=(1/(2*%pi))*(2*E1m+E2m)//output in positive half cycle
//voltage across AB is proportional to E1-E2 in negative half cycle
En=(1/(2*%pi))*(2*E1m-E2m)//outpu... |
75bc7f4523046b0842c6616152d3294c894f7bcc | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rootmusic/rootmusic4.sce | 398a8b40a98f3a0daeb0ccd27f2df951318d1d04 | [] | 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 | 381 | sce | rootmusic4.sce | //sampling frequency is passed as an i/p arg
R=[6.1117 + 0.0000*%i 3.8205 - 3.9887*%i -0.2138 - 5.5126*%i
3.8205 + 3.9887*%i 6.0796 + 0.0000*%i 3.8205 - 3.9887*%i
-0.2138 + 5.5126*%i 3.8205 + 3.9887*%i 6.1117 + 0.0000*%i];
Fs=200;
[F, POW]= rootmusic(R,2,Fs);
disp(F);
disp(POW);
//output
// 63.273966... |
60b17331305e4749696ea4c698d563ddefc6d58c | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH9/EX9.2/9_2.sce | 958135b3af4fc21d2bb0a3f5a938d296bec73055 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | 9_2.sce | //Eg-9.2
//pg-387
clear
clc
//zeros of T3(x)
n=3;
for i=1:3
lambda(i)=cosd((2*i-1)*180/(2*n));
end
disp("zeros of T3(x)")
disp(lambda) |
7a196582cb0d5f2a264e49c16160d78190da23be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH12/EX12.6/Ex12_6.sce | 9d1f23a6faea2bcf8f5e398c377445ca63b14e77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | Ex12_6.sce | // Ex12_6 Page:248 (2014)
clc; clear;
e = 1.6e-019; // Charge on an electron, C
n = 5e+028; // Number of atoms per unit volume of Cu, per metre-cube
R_H = -1/(n*e); // Hall coefficient, metre-cube/C
printf("\nThe Hall coefficient for Cu = %4.2e metre-cube/C", R_H);
// Result
// The Hall coefficient for Cu = ... |
675f973d9380efae2cdc61b1bb132312fe003ca6 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/D06.prev.tst | 8f26d3814b4106daf6604760cdff0f49360273cc | [
"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 | 2,146 | tst | D06.prev.tst | #0 true: 0 1 2
#1 true: 0 1 3
#2 true: 0 2 3
#3 true: 1 2 3
#4 true: 0 1 4
#5 true: 0 2 4
#6 true: 1 2 4
#7 true: 0 3 4
#8 true: 1 3 4
#9 true: 2 3 4
#10 true: 0 1 5
#11 true: 0 2 5
#12 true: 1 2 5
#13 true: 0 3 5
#14 true: 1 3 5
#15 true: 2 3 5
#16 true: 0 4 5
#17 true: 1 4 5
#18 true: 2 4 5
#19 true: 3 4 5
#20 true: ... |
57c4a56ab4a0ced6ef22ae0d8ff7918d3b28095b | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH2/EX2.9/9.sce | 797a089cfc9531def08de1655ac1985280248d22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 9.sce | clc
N=60; //rpm
r2=0.25; //m
g=9.8; //m/s^2
w=2*%pi*N/60;
dz_12=(w*r2)^2/2/g; // dz_12=z2-z1
c=w*r2^2;
dz_23=c^2/2/g/r2^2;// dz_23=z3-z2
dz_13=dz_23+dz_12;
disp("Total depression =")
disp(dz_13)
disp("m") |
52fb0411724a570c1294f426a4dca6d76c3a5f52 | 97c8abd041ed2f70a83ad14ac8caa7999be2819f | /scilab/Newton.sce | f603442076f07ce93c6c6bd3cad21d44b80c515a | [] | no_license | thelittlewitch1/labs-numerical-methods | 931612cd860e6a41a5dc74dd269179e656f4ecb2 | 1eac7090fda2d8cebda4aa4482f6323e88d04ca7 | refs/heads/main | 2023-05-18T11:18:36.619697 | 2021-06-13T21:03:54 | 2021-06-13T21:03:54 | 331,098,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Newton.sce | res = mopen ('E:\SciLabProg\ЧМ\Newton.csv', 'wt');
eps = 10^-9; i = 0;
x1 = 0; x2 = 0;
y1 = 1; y2 = 0;
f1 = x1*x1 - x2 + 1; f2 = x1 - cos(%pi*x2/2);
mfprintf (res, 'I, X1, X2, F1, F2\n');
mfprintf (res, '%d, %f, %f, %f, %f\n', i, y1, y2, f1, f2);
while ( sqrt( (y1 - x1)^2 + (y2 - x2)^2 ) >= eps )
x1 = y1; x2 =... |
242c2f380316b7f65c2494690d2c9b594d1d73ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH6/EX6.4/Ex6_4.sce | c86227fbec36d731e2db2fdd29ec77a81d8bffd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Ex6_4.sce | //input of lossless transmission line
//given
clc
Zo=50//ohms
Zl=%inf//defined as infinity
Bl=2*%pi*0.1
Zi=(Zo*(1+%i*(Zo/Zl)*tan(Bl))/(Zo/Zl+%i*tan(Bl)))//taking Zl common from numerrator and denominator
Zi=round(Zi*100)/100///rounding off decimals
disp(Zi,'the input of 50ohm lossless transmission line')//ohm
|
6eb5af4dda1a23c06bd1ba76019d9e494bc3997b | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH43/EX43.7/Example43_7.sce | 72b953464c125773798cac44eef5af76c1fc7ffd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | Example43_7.sce | //Given that
M_P = 31.97391 //in u
M_S = 31.97207 //in u
uCsqure = 931.5 //in Mev
//Sample Problem 43-7
txt = mopen('Example43_7_result.txt','wt')
mfprintf(txt, '**Sample Problem 43-7**\n')
Q = -(M_S - M_P)*uCsqure
mfprintf(txt, 'The disintegration energy for the beta decay of Phosphorus is %fMev', Q)
mclo... |
cdfe7e589d8a2fcf9e1fff3496339579f45b96df | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Korns_07.tst | 3292c2f8b45930c1f9e9cdbe4180c4c029c6dfd7 | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 126,800 | tst | Korns_07.tst | x y z v w
f(xs)
47.127080 -38.407228 22.920481 -39.958377 -36.057411 213.809409
16.377472 -17.812111 45.417505 -7.058139 -29.702611 213.782011
29.358169 -42.581853 -21.878549 -7.074223 3.901738 213.809386
40.472785 23.503588 -11.465032 -14.023946 -6.736256 213.809409
-3.151979 44.754591 -2.685223 9.000452 -23.551... |
5c036f2b56c2a0c40fdb1794d42987e77291eca2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.7_19.tst | 15140e789735478ad749616d2420cdd48ff0dfc8 | [] | 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 | 502,488 | tst | 5.7_19.tst | 7 276:1 327:1 437:1 984:1 1235:1 1394:1 1539:1 1653:1 1827:1 1848:1 1879:1 1964:1 1967:1 2091:1 2181:1 2378:1 2445:1 2460:1 2590:2 2893:1 2948:1 3332:1 3782:1 4082:1 4284:1 4414:1 4429:1 4430:1 4765:1 5275:1 5600:1 5625:1 5818:1 5847:2 6246:1 6723:1 6803:1 6824:2 7180:1 7201:1 7219:2 7611:1 7790:1 7835:2 8498:1 8748:1 ... |
c32cc3a1a8dfca9d0f9bfce5cbaf422e867320b4 | d788f2e3277d6274db345084f3f127de0f23b068 | /charles-university/speech-recognition/speech-recognition-project/test/dict.tst | 47adf6789a239a3037ec7122fa475f566f50fa7c | [
"MIT"
] | permissive | Hyperparticle/lct-master | 2af75fcd68990d6e5906be39e63d5a4a45db5a5e | 8acb0ca8fe14bb86305f235e3fec0a595acae2de | refs/heads/master | 2022-03-09T22:59:20.496277 | 2019-01-23T17:25:57 | 2019-01-23T17:25:57 | 106,123,054 | 3 | 0 | MIT | 2022-02-19T21:05:02 | 2017-10-07T19:00:34 | HTML | UTF-8 | Scilab | false | false | 3,297 | tst | dict.tst | A [A] ah sil
ANY [ANY] eh n iy sil
BOY [BOY] b oy sil
BY [BY] b ay sil
CAME [CAME] k ey m sil
CAT [CAT] k ae t sil
CHAIR [CHAIR] ch eh r sil
DOG [DOG] ... |
f056cc1b1526753634c23579992774a44a3f504e | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_27/results/27/g20-2/result0s0.tst | ce6a9c954330576eb1fbfc438b0e4723f1c0ab0b | [] | no_license | Tiburtzio/TFG | 3132fd045de3a0e911e2c9e23e9c46e1075a3274 | 864ce4dd00b7f8fe90eafa65b11d799c5907177e | refs/heads/master | 2023-01-03T12:44:56.269655 | 2020-10-24T18:37:02 | 2020-10-24T18:37:02 | 275,638,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,750 | tst | result0s0.tst | @relation unknow
@attribute mcg real[0.11,1.0]
@attribute gvh real[0.13,1.0]
@attribute alm real[0.21,1.0]
@attribute mit real[0.0,1.0]
@attribute erl real[0.5,1.0]
@attribute pox real[0.0,0.83]
@attribute vac real[0.0,0.73]
@attribute nuc real[0.0,1.0]
@attribute class{MIT,NUC,CYT,ME1,ME2,ME3,EXC,VAC,POX,ERL}
@inputs... |
c7744d8e73d2fdd964b71128bd8ccc1642d01e1c | ecacacf117304ca56cff1b2242641703e3b86baa | /ALU/Or16Way.tst | 953c7d10cc166c8d49f11b951ecd55b555bb866f | [] | no_license | wccrawford/ECS-Projects | d9a78a4223c9bc79d97fb28085218e5e4da07ca5 | 66d260afa57b70716fdc477540dd13a84930b62c | refs/heads/master | 2021-01-21T13:56:45.339492 | 2011-09-11T19:53:02 | 2011-09-11T19:53:02 | 2,283,122 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | tst | Or16Way.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/01/Or16Way.tst
load Or16Way.hdl,
output-file Or16Way.out,
compare-to Or16Way.cmp,
output-list in%B1.16.1 out%B2.1.2;
set in %B0... |
604f04b8053a2ef323562b37ebe534363facac5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.10/Ex11_10.sce | 7482988e530789cc1f9306bf5e571edc780ece2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | Ex11_10.sce | //example 11.10
clc; funcprot(0);
Hp=350;
vp=0.0016;
Sl=0.762e-3;
f=115;
Qu=(0.746*Hp+98*vp)/(vp+Sl*f);
disp(Qu,"ple load capacity in kN");
|
7a7e7944aadd935c9052a3f3194fa21dc48ec7be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.20/Chapter3_Exampl20.sce | d480c85f71389d4f3f02c347f71b6ff215ff95d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,589 | sce | Chapter3_Exampl20.sce | clc
clear
//INPUT DATA
Rc=15;//compression ratio
r1=1.84;//cutoff ratio
r2=1.98;//cutoff ratio
g=1.4;//constant
p1=101.325;//Pressure in kN/m^2
Rc3=17;//compression ratio
r3=1.84;//cutoff ratio
Rc4=18;//compression ratio
r4=1.88;//cutoff ratio
//CALCULATIONS
nd1=(1-(((1/(Rc^(g-1))))*(((r1^g)-1)/((r1-1)*g... |
23892bf54200c746f975152baa7fc339c88cf0eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.9/Example4_9.sce | 8fe1ad62ef6b6c58c784c89775628ec9b98ebe89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Example4_9.sce | //Exa 4.9
clc;
clear;
close;
//Given data :
r=4/2;//cm
rdash=0.7788*r;//cm
d=300;//cm
d3=6*100;//cm
LA=0.2*[log(d/rdash)+1/2*log(2)-%i*0.866*log(2)];//mH
disp(LA,"Inductance per km of phase1(mH)");
LB=0.2*log(d/rdash);//mH
disp(LB,"Inductance per km of phase2(mH)");
LC=0.2*[log(d/rdash)+1/2*log(2)+%i*0.866... |
4363e5b816b2d0a8914e28adebf478396fe207e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH2/EX2.5/example5.sce | 1c5a1e72295de863efe3a1cc047b200d6e702745 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | example5.sce | //Chapter-2 example 2.5
//=============================================================================
clc;
clear;
Vo=3*10^8;//velocity in m/s
Pt=1*10^6;//peak power in watts
PW=1.2*10^-6;//pulse width in sec
PRI=1*10^-3;//pulse repetition interval in sec
//Calculations
PRF=1/PRI;//pulse repetition frequency ... |
65cb16f25f26b6cd94e9f0c0b79d58da5f3b6582 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH14/EX68.3/68.sce | 9c022fd586338db4f282dd510c960cec412eba57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | 68.sce | clc
//initialisation of variables
w=0.95//kg=m
h=3206*10//kg-m
G=2250//kg
k=0.4//mm
r=45000//mm
//CALCULATIONS
n=(1/((G/r)+1))*(1-(k^2))//kg-m
Wn=h*n//kg-m
//RESULTS
printf('the efficincy of the hammer through=% f kg-m',Wn)
|
b7373ec9f5aa7c1966f29e8352411e23e553eae0 | 57a39df08383d18148a77915551223cef3bc8cd6 | /capacitor.sce | eac4e946338f0d2a91e0ab2f5b0fa7d83d09ddac | [] | no_license | sonusharma55/Misc.-MATLAB-Scilab | 0abbc7ab22e963b3b3e147a18e17af2f3021d3ce | dbfaab1b84719948ef665798c4192e6ca934e46a | refs/heads/master | 2020-07-25T22:00:11.975476 | 2019-09-14T12:31:37 | 2019-09-14T12:31:37 | 208,434,501 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | capacitor.sce | f=10^6:10^7:10^10;
rs=(4.8*10^-6).*sqrt(f);
re=(33.9*10^12) ./f;
c=47*10^-12;
w=2*%pi.*f;
l=2*1.25*10^-2;
a=2.032*10^-4;
temp=log(2*1/a)/log(%e);
lex=mu0*l*(temp-1)/(2*%pi);
z=1 ./(1 ./re +w*c*%i)+rs+w.*lex*%i;
zideal=1 ./(w*c*%i)
plot2d("gll",f,abs(z));
plot2d(f,abs(zideal));
title("Frequency response of ... |
29f2875df9a4025cae27a48ac7a58b2e7a24533d | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshift/test_4.sce | 867086857519b220d5ad929ad83e16a438e1c428 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | test_4.sce | // Test # 4 : Input Argument #1 is of complex type
exec('./allpassshift.sci',-1);
[n,d]=allpassshift(%i,0.6);
//!--error 10000
//Wo must be real ,numeric and scalar
//at line 33 of function allpassshift called by :
//[n,d]=allpassshift(%i,0.6);
|
c11e426ab706945604efaadbb973b426bc2abf79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH4/EX4.5/Ex4_5.sce | fd32000797377c8be59f347c0d7bf3f602085ca0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 933 | sce | Ex4_5.sce | //Chapter 4: Radiation
//Example 4-5.2
clc;
//Variable Initialization
L = 5 //Length of radiating element (m)
f1 = 30e3 //Frequency (Hz)
f2 = 30e6 //Frequency (Hz)
f3 = 15e6 //Frequency (Hz)
c = 3e8 //Velocity of light (m/s)
//Calculation
wave_lt1 = c/f1 //Wavelength (m... |
8df2ffc0717d2af0e264afaa977a207e78b44475 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH10/EX10.22/example_10_22.sce | a3c7c8abdc13ddf045c28dcbfbe7f766689654bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,638 | sce | example_10_22.sce | clear;
clc;
disp("--------------Example 10.22---------------")
// at the sender
n1=7;
n2=11;
n3=12;
n4=0;
n5=6;
s_sum=n1+n2+n3+n4+n5; // find the sum
s_bin=dec2bin(s_sum);
s=strsplit(s_bin,length(s_bin)-4);
a=bin2dec(s(1));
b=bin2dec(s(2));
f=a+b; // wrapping the sum
s_checksum=bitcmp(f,4); // compleme... |
a1463bbb833f9068c44bed4393e64a4b61582c3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH7/EX7.7/Ex7_7.sce | b16964ff5161bd7ec8d7a0c0cdfd75fcde3edca0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_7.sce | clc;
close();
//page no 231
//prob no. 7.7
delta_theta=6; //kHz
fm=5; //kHz
disp('The expression is');
mprintf('v(t)=A*cos[(2*pi*10^8*t)+%i*sin(%i*2*pi*10^3*t)]',delta_theta,fm);
|
8d9b26525c471123c02894df3902292f14bb5912 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH7/EX7.12/7_12.sce | 55c01b3fdeca213513e2e58e78956edc7829e02f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | 7_12.sce | //pathname=get_absolute_file_path('7.12.sce')
//filename=pathname+filesep()+'7.12-data.sci'
//exec(filename)
//Enthalpy at entrance(in kJ/kg):
h1=4142
//Enthalpy at exit(in kJ/kg):
h2=2585
//Availability of steam at entrance(in kJ/kg):
A1=1787
//Availability of steam at exit(in kJ):
A2=140
//Maximum work pos... |
8375a1283b3565f810f50211872f0cbda2585483 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.26/Ex10_26.sce | 8f45fed5d2563ff3eb8b9269d35f463b512723d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Ex10_26.sce | clear
//Given
l=0.05 //m
d=0.12 //m
H=0.34*10**-4 //T
//Calculation
//
u=4*%pi*10**-7
M=(4*%pi*H*(d**2+l**2)**1.5)/u
//Result
printf("\n Magnetic moment of the magnet is %0.3f J/T",M)
|
bac84edc2fa07ff890d5b8c2b749bd4cb1c04dc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH1/EX1.13/exa_1_13.sce | 8af0cd6588b3669d48694607e2d222f5e540aa34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sce | exa_1_13.sce | // Exa 1.13
clc;
clear;
close;
// Given data
Bita_ac= 100;
Bita_dc= Bita_ac;
V_BE=0.715;// in volt
V_D1= V_BE;
R3=2.7*10^3;// in ohm
R_C=4.7*10^3;// in ohm
V_EE=10;//in volt
V_CC= 10;// in volt
V_Z= 6.2;// in volt
I_ZT= 41;// in mA
I_ZT=I_ZT*10^-3;// in amp
V_B3= -V_EE+V_Z+V_D1;// in volt
V_E3= V_B3-V_... |
a75b3695dca8cc5dbd304b47d653cd736cf61176 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH28/EX28.08/28_08.sce | fc8407a4b29fd76d09b11573a3b3126eba0614eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,314 | sce | 28_08.sce | //Problem 28.08: An R–L–C series circuit has a resonant frequency of 1.2 kHz and a Q-factor at resonance of 30. If the impedance of the circuit at resonance is 50 ohm determine the values of (a) the inductance, and (b) the capacitance. Find also (c) the bandwidth, (d) the lower and upper half-power frequencies and (e)... |
dae3d8a9a112acf0a83dccb19ffb3f076e0c1a36 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 9/Lista Baron/Questao_1.sci | f70d7f0d8085028ada4f22501a7973e261faf340 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sci | Questao_1.sci | function A=Questao_1(autovalores)
//pegando o tamanho do vetor
n=length(autovalores)
// criando uma matriz aleatória
V=rand(n,n)
//criando e motando a A
A =zeros(n,n)
for i =1:n
A(i,i)=autovalores(i)
end
//deixando a V simétrica
V= (V + V')*0.5;
... |
f1b5c689cd39946174382864bf66303d24452d0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH4/EX4.16/Ex4_16.sce | a0b4251138c47be8467fb3bd90d9bbb49b38a9d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | Ex4_16.sce | // exa 4.16 Pg 122
clc;clear;close;
// Given Data
Pmin=-15;// kN
Pmax=25;// kN
Se_dash=360;// MPa
Sy=400;// MPa
Ki=1.25;// impact factor
n=2.25;// factor of safety
ka=0.88;// surface finish factor
Kt=2.25;// stress concentration factor
Pm=(Pmax+Pmin)/2;// kN
Pa=(Pmax-Pmin)/2;// kN
q=0.8;// sensitivity factor
// sigma... |
02b9e14eb257ac3ac12044f293f3532720d3909a | c908c5ec283c57c29da044966fce0fee1f659873 | /codes/algoritmo de taylor.sce | 760086590489a0cb35198540b232c7555e8cea87 | [] | no_license | marialago/numerical-computation | 3ca0e95c637c1d4d3ea79789d1bda0b84ca29ca5 | c88c0ddc6f7501ed115556f72f5f5db3a8610f6b | refs/heads/master | 2022-10-30T01:42:21.032196 | 2020-06-14T18:33:45 | 2020-06-14T18:33:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | algoritmo de taylor.sce | clc
function y=taylor(x0,x,n)
y=%e^x0;
for i=1:n;
y=y+((%e^x0)*(x-x0)^i)/factorial(i)
end
endfunction
|
7173d89fe5ffe3d903c7f7cc736a8250590dc44b | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH5/EX5.1.a/example_5_1a.sce | b350271a61324207689fef242c16a65cdd0c9487 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | example_5_1a.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 5
// Heat Transfer by Forced Convection
// Example 5.1(a)
// Page 209
printf("Example 5.1(a) \n\n")
D = 0.015 ; // [m]
Q = 0.05 ; // [m^3/h]
H = 1000 ; // [W/m^2]
T_b = 40 ; // [degree C]
// From table A.1, properties at 40 degr... |
5a5f8c511c1d99f944d3bd51260e5e24a8583c19 | 01382fa3a0b31f45e2664d4c22c9a966a7b37e63 | /source/fit_test/error_calculation.sce | edc07948cbb773cac0433c6aaec2501fc1fabdb5 | [] | no_license | sashgeophysics/MuMaP | 8c4e2c41d93da4a2c03f96af4e3dd78e6828c140 | b2c42420f5a52d84a1069fb28917af91a85af251 | refs/heads/master | 2022-04-04T20:57:02.982991 | 2020-02-18T11:45:25 | 2020-02-18T11:45:25 | 146,561,160 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,128 | sce | error_calculation.sce | clear;
function [dydx]=der(y,x)
n=size(y)
dydx=diff(y,1)
h=(max(x)-min(x))/size(x,1)
endfunction
hawaii=read('hawaii_melt_clap_impedance.dat',-1,3)
melt_hawaii=hawaii(:,1)
clap_hawaii=hawaii(:,2)
eta_hawaii=(hawaii(:,3))
n_hawaii=size(melt_hawaii,1)
m_hawaii=sqrt(n_hawaii)
dmeltdv_hawaii=zeros(m_hawaii,m_... |
e2e3bc61c5dcb1ef80ae0b5ca9072d5ab7eee3c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH3/EX3.9/Ex3_9.sce | 36f6d2d54f8c2fbbe32f72cf9b268862742fbd40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | Ex3_9.sce | clear
//
//
//
//Variable declaration
a=0.26 //lattice spacing(nm)
lamda=0.065 //wavelength of X-rays(nm)
h=1
k=1
l=0
n=2
//Calculation
d=a/sqrt(h**2+k**2+l**2)
sintheta=n*lamda/(2*d)
theta=asin(sintheta)*180/%pi //glancing angle(degrees)
thetad=int(theta) ... |
025e0954b627ae3ccf3293042500abf1376e98e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH5/EX5.14/Example5_14.sce | 417670b7509b837f0b32fb83baef87e224f1825c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_14.sce | //Dalton's Law of Partial Pressures
clear;
clc;
printf("\t Example 5.14\n");
nNe=4.46;//moles of Ne
nXe=2.15;//moles of Xe
nAr=0.74;//moles of Ar
PT=2;//total pressure in atm
XNe=nNe/(nNe+nAr+nXe);//mole fraction of Ne
XAr=nAr/(nNe+nAr+nXe);//mole fraction of Ar
XXe=nXe/(nNe+nAr+nXe);//mole fraction of ... |
7a35e6b59bb240b0a0eaed7deb0d935bc6e5890e | 9d0d8cfb131efa34cafc47d938fac6ddcee0750c | /miniproject/1prob/signal_noise.sci | 57d99088c95adf882206e29464ce7c9a738576d0 | [] | no_license | kazipetasurya/ee340 | 52c688b028a28effa88dc4a9eb653735e4fc19bc | 3885ad37122817c03d9a51d9f7df2c9c9f5f7251 | refs/heads/master | 2021-01-18T15:10:53.081056 | 2012-09-07T06:43:54 | 2012-09-07T06:43:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sci | signal_noise.sci | exec("sinusoidal_vector.sci",-1)
exec("normalnoisevec.sci",-1)
function[yvec]=signalnoise(a,N,Variance)
xvec=sinusoidalvec(a,N)
vvec=gaussiannoise(Variance,N)
//disp(length(xvec))
//disp(length(vvec))
yvec=xvec+vvec
endfunction
|
328210b3a24f766176f61c0579cc4f6d8aead702 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH1/EX1.23/1_23.sce | 6499d9c34a07e0a62d54db0aba4aab8a933febad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | 1_23.sce | clear;
clc;
// Illustration 1.23
// Page: 62
printf('Illustration 1.23 - Page:62 \n\n');
// Solution
//*****Data*****//
// A-beta dextrin B-water
T = 293; // [K]
d = 88.8; // [Average pore diameter, Angstrom]
d_mol = 17.96; // [Molecular diameter, Angstrom]
e = 0.0233; // [porosity]
t = 1.1; // [tor... |
2b5dcc6d56e0d637aa2512d16cfb808848fa6dbc | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_diff.sci | 0413d74ebecfff7fdd94a282ef48e3fa823ea342 | [
"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 | 146 | sci | mtlb_diff.sci | function y=mtlb_diff(x,N)
[lhs,rhs]=argn()
if rhs==1 then N=1,end
if or(size(x)==1) then
y=x(1+N:$)-x(1:$-N)
else
y=x(1+N:$,:)-x(1:$-N,:)
end
|
bcae73c689eb29d9e099ffcd6a6003963e8d6404 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CMP1.prev.tst | 4aadec6b92c89c564222bd82619c29e9b13bc19b | [
"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 | 842 | tst | CMP1.prev.tst | 2_a: (a^2 + b^2)^2 = (a^2 - 17*b^2)^2 + (2*a*b)^2
2_b: (a^2 + b^2)^2 = (a^2 + 17*b^2)^2 + (0)^2
2_c: 1 - 17; 2;
2_d: 1 + 17; 0;
3_a: (a^2 + b^2)^3 = (a^3 - 51*a*b^2)^2 + (3*a^2*b - 17*b^3)^2
3_b: (a^2 + b^2)^3 = (a^3 + 17*a*b^2)^2 + ( - a^2*b - 17*b^3)^2
3_c: 1 - 51; 3 - 17;
3_d: 1... |
70d94eeb11bcce10b8dc02836075d7c27cc307cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH6/EX6.27/SolEx6_27.sce | 11da9d185a0703b3b3899618a82a2034d6660718 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | SolEx6_27.sce | //Find (a) the overall voltage-gain ratio
//Av ¼ vL=vS and (b) the overall current-gain ratio Ai ¼ iL=iS.
//Example 6.27 page no 194
clear
clc
hfb1=-0.99
hfc2=-100
Rb=33.3*10^3
Re1=5*10^3
Re2=2*10^3
Rl=2*10^3
hic2=500
hib1=50
hic2=500
Av1=-((hfb1*Rb*hic2)/(hib1*(Rb+hic2)))
Av2=0.995
Av=Av1*Av2
printf("... |
7859f0ba90b023aa1997d9e1ff64fa62193c7b8c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.3_7.tst | ab81ece9cdb07dba0e966c528f3cac8b9e992173 | [] | 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 | 34,268 | tst | bow.3_7.tst | 3 15:0.08333333333333333 17:0.16666666666666666 23:0.2222222222222222 37:0.3333333333333333 82:0.16666666666666666 95:1.0 96:0.1111111111111111 97:0.6666666666666666 114:0.14285714285714285 115:1.0 116:2.0 128:0.3333333333333333 145:0.5 171:0.5 272:1.0 350:0.125 531:0.5 561:0.5 622:1.0 641:1.0 809:1.0 892:1.0 938:1.0 1... |
fa5faa4295d25fafa1ca2e21ddbd1af79c932f62 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testxgridlegend.sce | 46e3aa1bad83ef27f6b8f6594543e3e47ef9cc4c | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | testxgridlegend.sce | exec('testplot.sce',-1)
// add a title
xtitle(' figure title')
// add a green (=3) coordinate grid
xgrid(3)
// add a legend in the upper-right corner (2) with a box (1) surrounding it
legend('circle','tangent','normal',2,1);
// add a legend in the lower-right corner (4) without a box (0)
legends(['circle','tange... |
bdc08e96b1487a3ae48751843851298607479b49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH21/EX21.1/183ex1.sce | aa7aa4ab5a26c59fc770111264fd526aed0745e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | 183ex1.sce |
//spiral spring example
clc;
clear;
close;
clf();
weight=linspace(0,0.5,6);
extension=[0 0.15 0.3 0.44 0.6 0.75];
plot2d(weight,extension,13);
xtitle("spiral spring example","vaues of L","values of E");
xgrid();
//Extension varies directly as the attached load
//let E=Extension,L=Load
//to find 'k',a pair ... |
1f95c32023eab9d020117a0b229f48604120bc4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH3/EX3.25/ex3_25.sce | 5cf20b3fa7859af81275ad6c0942fdcc8114f216 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | ex3_25.sce | // Example 3.25, page no-156
clear
clc
Vo=3
Vi=10*10^-3
R2=1*10^6
Av=300
fL=100
RL=15*10^3
R3=R2/(Av-1)
R1=R2-R3
C2=1/(2*%pi*fL*R3)
C2=C2*10^6
printf('\nC2= %.2f uF',C2)
C3=1/(2*%pi*fL*RL/10)
C3=C3*10^6
printf('\nC3= %.2f uF',C3)
|
51054af27e5812da3b4065b1e11337617b0bfffe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH11/EX11.12/11_12.sce | 252b54731f4bdda6d03ce7747a62f46208601a86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | 11_12.sce | clear
clc
//initialisation of variables
sl= 12 //ft
l= 20 //ft
d= 4 //in
dp= 6 //in
lst= 18 //in
k= 0.025
H= 32 //ft
g= 32.2 //ft/sec^2
pf= 6 //ft
a= 33.83
a1= 9.53
//CALCULATIONS
A= sqrt((H-sl-d)*g/a)*a1
Q= 2*%pi*(dp/12)^2*lst/(12*4*60)
v= Q/(%pi*(d/12)^2/4)
kh= v^2/(2*g)
fh= k*l*v^2*12/(2*g*d)
N=... |
0e9457766d706a3be3c50e77512ad599343cd5e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH11/EX11.14/Ex11_14.sce | 5a47365e048211f5bf7b21acf09a96c44fdbc116 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | Ex11_14.sce | clc();
clear;
//Given :
sigma = 4*10^-4; // conductivity at room temperature in ohm^-1 m^-1
M = 28.1; // atomic weight in kg/kmole
d = 2330; // density in kg/m^3
dop = 10^8 ;// doping per 10^8 silicon atoms
e = 1.6*10^-19; // charge of an electron in C
mue = 0.135; // mobility of free electrons for silicon in m... |
69a522a4405b4f45aadc45555ded0ec42dc70c47 | abdfb2db73e5240261372a514baa0c1a7bed7467 | /cudd-3.0.0/nanotrav/s382.tst | 3f4f71f2112aaab92808663292868266bbadc159 | [] | no_license | steefbrown/ece6740 | 21001ca156e24e23b71d6b719f11010ba4ce2a40 | cefe8dd498c7849546ece98fbd4d70b844f2bd5c | refs/heads/master | 2021-01-01T05:23:01.008122 | 2016-05-09T19:16:56 | 2016-05-09T19:16:56 | 57,227,414 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,369 | tst | s382.tst | # Nanotrav Version #0.12, Release date 2003/12/31
# nanotrav/nanotrav -p 1 -trav -image part -autodyn -automethod sifting -drop -scc -shortpaths bellman ./nanotrav/s382.blif
# CUDD Version 3.0.0
**************READING IN NETWORK***************
Number of inputs: 1
**************GENERATING NETWORK BDD***************... |
2437d01a355cad9ef0a80b78538eb76ce433ba9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH4/EX4.15/pe4_15.sce | 7e46fa1c9779280839455d27be485657abc1d58b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | pe4_15.sce | //example 4.15
clc; funcprot(0);
// Initialization of Variable
R=8//resistance
Ts=35//temperature
Ta=150//temperature
Vm=42//voltage
//calcuation
Vp=Vm-5;
Vr=Vp/2^.5;
Pm=Vr^2/R;
disp(Pm,"power delivered in watt:")
P=45;
Qs=(Ta-Ts)/P-1.2;
disp(round(Qs*10)/10,"thermal resistance in degreeC/W")
clear()
|
91fe0bf2e3768282175f969b2c86f19045f0ce5d | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/bin/inter_draw_expan.sci | 43c224b7f96a94baacd90c6947603281361ea60c | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sci | inter_draw_expan.sci |
// to show expansion curve of organs
xdel(winsid());
Val_exp=zeros(t_ex,1);
s=0;
for i = 1 : t_ex
Val_exp(i)= ((i-0.5) / t_ex) ^ ( b_exn - 1) * (1 - (i-0.5) / t_ex ) ^ (b_exp- 1) * (1 / t_ex);
// s = s+ Val_exp(i);
end;
s = max(Val_exp);
for i=1:t_ex
Val_exp(i) = Val_exp(i)/s;
end;
i=1:t_ex;... |
4370ce1230463c64d8a15d359e00142f45bb53d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH10/EX10.6/Ex10_6.sce | 671c3aa7b86856d2011e94b12b860166093a1f62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,136 | sce | Ex10_6.sce | clear all; clc;
disp("Scilab Code Ex 10.6 : ")
//Given:
ep_x = -300;//(*10^-6) Normal Strain
ep_y = -100; //*(10^-6) Normal Strain
gamma_xy = 100; //*(10^-6) Shear Strain
theta = 20; //degrees
//Construction of the circle:
strain_avg = (ep_x+ ep_y)/2;
tou = gamma_xy/2;
R = sqrt((-ep_x + strain_avg)^2 ... |
ae9b1eefbb2ebdfe0c0c5ed6f3b1f6b4dbc95eb2 | 9d2c9394c6b6997318b9d04556462c9bba639045 | /Replication 2/Dave_RIFData/Dave_RIFData/Sub16/VP16_OneBack.sce | a12052bc7e666eecdca6a39db5c765608f591221 | [] | no_license | rettopnivek/Wimber_et_al_replication_3 | 673b156d8d18d58b92b2f05fedef87976e787089 | 8dbc22329093a61b1e5cb8aac3feca45a5c82d06 | refs/heads/master | 2020-12-31T04:42:39.856717 | 2018-02-01T15:49:15 | 2018-02-01T15:49:15 | 58,006,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,884 | sce | VP16_OneBack.sce | array <int> finalSeq[432] = {7,14,26,24,33,38,29,29,27,20,30,12,72,55,30,30,14,61,46,42,42,63,11,11,12,20,59,70,28,9,63,56,55,42,2,69,16,41,22,64,16,42,17,68,63,6,6,32,21,53,8,8,21,64,38,38,48,47,42,56,50,50,62,21,5,29,69,35,23,59,62,48,48,11,11,54,50,57,4,58,58,48,49,62,13,13,32,32,17,15,65,65,25,13,9,50,23,67,53,53,4... |
4b8136f8720e8784dd67940fb2b8f6dff7fdf17c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH1/EX1.24/Ex1_24.txt | 0dab8bb08d651cc56261383aecb4e0a90a8fd55f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | txt | Ex1_24.txt | //Ex:1.24
clc;
clear;
close;
Er=15;// relative permittivity
ur=5;// relative mobility
B=1/sqrt(Er*ur);
A=3*10^8;// the value of 1/sqrt(Eo*uo)
V=A*B;// velocity of propagation in volt
printf("The field strength = %f*10^7 m/s", V/10^7); |
ecb82ae3c342e293c8e78789c05806b097c348b6 | 872b5ff8852c926ca1261037de07449db7ac51db | /area-03/cap10/calcula_pesos_quadratura.sce | 3008f4607c4461076602b7a383cfc97bd70965c8 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | calcula_pesos_quadratura.sce | clear
/**
* Para encontrar pesos wi (ou Ai) da quadratura
* I = w1*f(x1) + ... + wn*f(xn) com o menor error possivel
*
* vetor_nodes: vetor x de nos
* lim_inicial: limite inicial da integral
* lim_final: limite final da integral
*
* w: vetor de pesos (retorno)
*/
function w=pesos(vetor_nodes, lim_inicial, lim... |
73d22d388d9a8032c54275da8a5140766ade0666 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.6/12_6.sce | 1f666cba1401a9df537396f96512e9e8b7874977 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,390 | sce | 12_6.sce | //To find teeth, angle and ratio
clc
//Given:
phi=20 //degrees
m=6, addendum=1*m //mm
t=17, T=49
//Solution:
//Number of pairs of teeth in contact:
//Calculating the pitch circle radius of pinion
r=m*t/2 //mm
//Calculating the pitch circle radius of gear
R=m*T/2 //mm
//Calculating the radius of addendum cir... |
b5218e56ac30557e6d9ef83e266993641358df5c | be6c437e65374d9f058b6a13ec704e0ebddeda4b | /ChoreStorefront/Typewriter/controllers/typewriter-controllers.tst | fae8ee740da59ac6e2c89985683dd7ee0fd70bc0 | [] | no_license | dlswimmer/ChoreStorefront | 9bab0b6fc183ac69f754c66db3a0bf1fe290fbf6 | 37c03fee7a5216bc093722d5d0d3be01b7b024c6 | refs/heads/master | 2023-01-16T06:26:34.679767 | 2020-11-29T22:05:29 | 2020-11-29T22:05:29 | 317,050,361 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,827 | tst | typewriter-controllers.tst | // @ts-ignore
import * as enums from '../enums';
${
Template(Settings settings)
{
settings.IncludeProject("ChoreStorefront");
}
// =================================== SHARED LOGIC -- PLEASE KEEP IN SYNC WITH typewriter-definitions.tst and typewriter-controllers.tst and typewrite... |
f7235ddd29ee0f72b97f096bc1855bf26427af8d | 67dbdbcd3c2ac24086b6b82a28371e19db393e9b | /zz.tst | 7fa0fcfaf569e374fa16bc2cd2ef873ec47d6d29 | [] | no_license | bigmortar/test | ec40a67ba437075eda8632f3c8b985077d44c42a | 41b436609b5f6b5c0cf11727d92d70b286872e5d | refs/heads/master | 2020-06-01T21:08:15.256407 | 2020-05-31T19:57:29 | 2020-05-31T19:57:29 | 190,927,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33 | tst | zz.tst | ver1
ver2
ver2
ver3ver4
ver5
ver6 |
ef6e50ed89ff7403df1ad2bc5596f2be576ece95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH4/EX4.9/4_9.sce | a1200c7a8037fd7803006bf20eeb067d294fe250 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,910 | sce | 4_9.sce | //Example 4.9
//at what temp. does the water leave the pipe.
//Given
T1=28 //C, inlet temp.
T2=250 //C,bulk temp.
V=10 //m/s, gas velocity
l=20 //m, length of pipe
mw=1*3600 //kg/h, water flow rate
di=4.1*10^-2 //m, inlet diameter
Tm=(T1+T2)/... |
663db4f3344b80ba021a32359ddd20373a186842 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH20/EX20.8/Ex20_8.sce | b49e25960d4457ce246c89b85b905e664c35a04f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | Ex20_8.sce | clear
//Given
ra=60
rb=45.0
a=40.0
//Calculation
ia1=(ra**2)/(rb**2)
ia=(ra**2)/(a**2)
i=ia-ia1
A=(i*100)/ia
//Result
printf("\n percentage of light is absorbed by the glass is %0.0f percentage",A)
|
519fce3766f0be30518f8ec8243ab86244f3a36a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH4/EX4.7/Ex4_7.sce | 26ecf12e3a389e5eeba165f6475d54503e3a1b3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,124 | sce | Ex4_7.sce | clc;
clear;
delp=4*10^14 //excess EHP in cm^-3
deln=4*10^14 //excess EHP in cm^-3
n0=10^15 //donor atoms in cm^-3
p0=0 //in cm^-3
t=0.5*10^-6 //hole-lifetime in s
myu_n=1200 //mobility of electron in cm^2/V*s
myu_p=400 //mobility of hole in cm^2/V*s
q=1.6*10^-19 //electron charge in eV
ni=1.5*10^10 //in cm^-3... |
607f2006bbf039c48d11d8d0fa685fa7890414fe | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/elem/acos.sci | 57371135374edcdcb6b13b669cbead94386e436a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 383 | sci | acos.sci | function t=acos(x)
// Element wise Arccosine Cosine-inverse
// Entries of vector x must be in [-1, 1]
// Entries of T are in ] 0,pi[ x ]-inf +inf[
// [0] x [0,+inf] et [pi] x ]-inf,0] (real x imag)
//!
if type(x)<>1 then error(53),end
if x==[] then t=[],return,end
t=-%i*log(x+%i*sqrt(ones(x)-x.*x)... |
87387a7b2b64fbdf48f67345b99ccf0eae9abb5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.25/Ex9_25.sce | 14d2c5efdf8df22e6b5cdf94ff6e47ad46529948 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex9_25.sce |
clear
//Given
m=1.2*10**-3
B=0.6 //T
g=9.8 //m/s**2
r=0.05
b=3.8
//Calculation
I=(m*g)/B
R=r*b
V=I*R
//Result
printf("\n Potentila difference is %0.1f *10**-3 V",V*10**3)
|
2c9f67cb700b1914ebd20a006bdd0670f5c5f8b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH10/EX10.1/Ex10_1.sce | 65c9ca786299726eb95b0238944f9aa601739982 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_1.sce | //============================================================================
// chapter 10 example 1
clc;
clear;
// Variable declaration
E2 = 5.56*10^-19; // Higher Energy level in J
E1 = 2.36*10^-19; // Lower Energy level in J
h = 6.626*10^-34; // plancks constant... |
a414528f962743dd227eae8091c79e35228ab200 | ca36627fc8522c67503588f0163ccfbe71d10aa9 | /Scilab/scilab_lab07.sce | 6012a53e366316c78269349e3e5bb94f19ea07f8 | [
"MIT"
] | permissive | flaviojoliveira/estudos_tcm | 0730cf4d7b687d379cfdbf92b06feae78cb0f038 | d9a25a762bd7a9074ba715e321e38054544ce8b8 | refs/heads/main | 2023-01-29T06:42:05.124888 | 2020-12-15T01:59:08 | 2020-12-15T01:59:08 | 308,009,924 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 47 | sce | scilab_lab07.sce | x = 0:0.1:6*pi;
plot2d(x,[sin(x)' cos(x)']);
|
d5206ac07a3c38bd008156aa9480e2ae6f8c4a27 | 34dcfd0a3d3a661a623ba00e305d50592ca2e9cf | /Falsa Posição.sce | ef41a84c6c285b201b932068b46956e23a49320f | [] | no_license | kelly-santos/M-todo-N-merico | 65bc023d4a705c83037634540d2b6ae1ed967242 | 9ae1c6d1eeb8bb855b8d911e896d2a918762c66b | refs/heads/main | 2022-12-27T10:17:16.964964 | 2020-10-12T17:12:15 | 2020-10-12T17:12:15 | 303,458,411 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Falsa Posição.sce | function y =t0(x)
y = -481 +408 +589.64 * x + (-2349.163 * x^2)/2
endfunction
a = 0
b = 0.3
x= a
contador = 0
while(1)
xOld = x;
x= abs(a - (t0(a)*(b-a))/(t0(b)-t0(a)));
Er = abs((x-xOld)/x)
contador = contador +1
if (Er < 10^-3) then
break
end
if(t0(a)*t0(x) ... |
1d20ccca8e308a79f6c2bfc252a20b1f16b4b711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/DEPENDENCIES/kmap3.sci | 00ee0cb76cf591425bb3abd660c3fd2d262aff58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,307 | sci | kmap3.sci | //3-VARIABLE KMAP
//this function returns the a string containing the minimized expression for the given 3 variable kmap
//this function requires
//noof.sci
//noof0.sci
function bi = kmap3(k)
n=4;
m=2
k(:,:,2)=zeros(m,n);
var=['Cn' 'Bn' 'An'];
p1=['Cn''' 'Cn'];
p2=['Bn''An''';'Bn''An';'... |
2a7bae2508c9fcfb4b588bb6b284f60bc38554a2 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GFS-GCCL-C/results/GFS-GCCL-C.vehicle-10-1tra/result3s0.tst | 18264641d182717b9a5175251478bf1eaf1d5609 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,893 | tst | result3s0.tst | @relation vehicle
@attribute Compactness integer[73,119]
@attribute Circularity integer[33,59]
@attribute Distance_circularity integer[40,112]
@attribute Radius_ratio integer[104,333]
@attribute Praxis_aspect_ratio integer[47,138]
@attribute Max_length_aspect_ratio integer[2,55]
@attribute Scatter_ratio integer[112,26... |
656651037f62059fb81242c97ee1beee324e6f57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/3_3_1.sci | b15f981ae2093b6800d083afef4ea9a3af3189f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 48 | sci | 3_3_1.sci | mass=100 //g of CO2
M=44.01 //molecular weight |
dcceb33ddb8993d078d851e0f9257f62ff82c32e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH9/EX9.4/Ex9_4.sce | 8a8068362e0a4eee7501c0141b68242d831bee0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex9_4.sce | //Chapter 9 Ionic Equilibria and Buffer Action
clc;
clear;
//Initialisation of Variables
K= 1.4*10**-5
T= 25 //C
V= 200 //ml
m= 3.7 //gms
m1= 4.8 //gms
M= 74 //gms
M1= 96 //gms
//CALCULATIONS
x= m*1000/(V*M)
y= m1*1000/(V*M1)
X= K*x/y
//RESULTS
mprintf("hydronium-ion concentration = %.2e mole per litre",X)
|
6adab0f8aa0321560224138a36c55b7acb6a017a | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/cpsd.sci | 5e56d7a8c074f29bc79e6f26f83d598c6122c80a | [] | 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 | 1,558 | sci | cpsd.sci | function [PXX, FREQ] = cpsd(X, Y, varargin)
//This function estimates cross power spectrum of data x and y by the Welch (1967) periodogram/FFT method.
//Calling Sequence
//[PXX, FREQ] = cpsd(X, Y)
//[...] = cpsd(X, Y, WINDOW)
//[...] = cpsd(X, Y, WINDOW, OVERLAP)
//[...] = cpsd(X, Y, WINDOW, OVERLAP, NFFT)
//[...] = c... |
c1e6f63fc38554036ce8a4dbc4d830813faf3aa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH21/EX21.5/Ex21_5.sce | 89bc80c2c8c98d8d388550a71826accfa517e447 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | Ex21_5.sce | //Chapter 21: Antenna Measurements
//Example 21-4.2
clc;
//Variable Initialization
pat_lev1 = -22.3 //Pattern level maximum (dB)
pat_lev2 = -23.7 //Pattern level minimum (dB)
//Calculations
S = abs(pat_lev2-pat_lev1) //Amplitude ripple (dB)
a = (pat_lev1+pat_lev2)/2 //Pattern level (dB)
R = a + 20*log10((10... |
820dc01229be1674992b42375d32de13d1906da5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH10/EX10.7/Ex10_7.sce | b65aac605d47ec15b639677fe65c5b593a47ffb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | Ex10_7.sce | //Example 10_7
clc();
clear;
//To find out the final pressure in the drum
p1=1 //Units in atm
t2=333 //units in K
t1=293 //units in K
p2=p1*(t2/t1) //units in atm
printf("The final pressure in the drum is P2=%.2f atm",p2)
|
4ca0084d41d2860dd66e049c03cd2871354f7ffa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH4/EX4.11/division.sce | 08a54e3b3ec1c0a0ce8e8d5a351a23f49c32dc19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | division.sce | // Long division of problems discussed in Example 4.32 on page 102
// 4.11
exec('tf.sci',-1);
exec('label.sci',-1);
num = [11 -15 6];
den = convol([1 -2], convol([1 -1],[1 -1]));
u = [1 zeros(1,4)];
y = filter(num,den,u);
G = tf(num,den,-1);
u1=zeros(1,90); u1(1)=1;
x1=dsimul(tf2ss(G),u1);
plot2d(x1)
la... |
54efc07c56ea6a4c6e9e8e2b34c6c5849ed6dae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.17/Ex19_17.sce | 106e5cbb9596d5ea70f44acc7ecf80853d3c21d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Ex19_17.sce | //Ex19_17 Pg-963
clc
//Integer part
bin='1011'; //binary input
dec_I=bin2dec(bin) //decimal output
oct_I=dec2oct(dec_I) //octal output
//Decimal part
bin='11010'; //binary input
dec_D=bin2dec(bin) //decimal output
oct_D=dec2oct(dec_D) //octal output
oct=oct_I + oct_D //final octal output
b = strcat([ oct... |
a9320a5355aed7c1eff14a555852d2c9997c106f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.27/Exa_2_27.sce | b30e079ccbd56f86d0224b7ed891b4648d00b272 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_2_27.sce | //Exa 2.27
clc;
clear;
close;
format('v',8);
//Given Data :
Q1_2=85;//KJ
Q2_3=-90;//KJ
W2_3=-20;//KJ
Q3_1=0;//Adiabatic process
W1_2=0;//constant volume process
//integrate(dQ)=integrate(dW)
W3_1=Q1_2+Q2_3+Q3_1-W1_2-W2_3;//KJ
disp(W3_1,"Direction is 3-1 and work in KJ : ");
|
6531eae9552bb8c5acf627ef13f9ecd2533396f0 | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch9_I.sce | 806b2a364482d08c95eec3901e0f39df85a579f1 | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | Ch9_I.sce | //Sa se rezolve ecuatiile polinomiale
c=[-9,-9,20,2,-5,-1,2]
p=poly(c,'x','coeff')
x=roots(p)
|
80fa3618a59f6ceb4a87d0ad683e9f7be05725da | 8d952a06e3809a06825a3be7b067201f3652f16a | /debug/example/common/Scilab/functions.sce | 0f108d17153f47367bb70d89c4b08d62927fed86 | [
"GPL-3.0-only",
"MIT"
] | permissive | andyLaurito92/haikunet | b771eaf6bd91292485f0a49698ce123b9308d676 | db44623b248c56735c28a5f589c3239dc7e9855e | refs/heads/master | 2021-06-14T12:38:38.996450 | 2021-05-05T18:26:02 | 2021-05-05T18:26:02 | 75,564,849 | 2 | 1 | MIT | 2021-05-05T18:26:26 | 2016-12-04T21:12:31 | C++ | UTF-8 | Scilab | false | false | 2,583 | sce | functions.sce | function [] = saveSimulationResults(saveDirectory, simu_index)
dt = getdate();
backupDirectory = sprintf('%s/%s_%i%.2i%.2i/', saveDirectory, SimulationName, dt(1),dt(2),dt(6));
logFileName = sprintf('%s_%i_%i%.2i%.2i_%2i%2i%2i', SimulationName, simu_index, dt(1),dt(2),dt(6), dt(7), dt(8), dt(9));
mkdir(backupDirec... |
51db9874e2e91d502e026683c29ece773e2ccb61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH2/EX2.13/ex2_13.sce | 29d6cfa5fd58f340f0021e538db18ff104abc981 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | ex2_13.sce | // Exa 2.13
clc;
clear;
close;
format('v',6)
// Given data
Vdc = 50;// in V
Vrms = 5;// in V
// The ripple factor,
Gamma = Vrms/Vdc;
disp(Gamma,"The ripple factor is");
|
2be400da6c01c5bf5ba317e9379fd7a2e2668cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH8/EX8.17/example817.sce | 81e72ff1caff4ed4ee6e5235c1db959cafdf2cdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | example817.sce | //Example 8.17
//Determine the DFT of the following sequence
clc;
x=[0,0,1,1,1,1,1,0,0,0];
X=fft(x,-1);
disp(X,'X[k]='); |
681e9525ea918b17aff210c783935c21d5fef01c | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH1/EX1.8/Example1_8.sce | a4906635af55cfc583cb232e13b30b5b9147ce7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Example1_8.sce | clear;
clc;
// Example: 1.8
// Page: 11
// Solution
printf("Example: 1.8 - Page: 11\n\n");
//*****Data*****//
g = 9.81;// [m/square s]
Z = 100;//[m]
//***************//
// Basis: 1 kg of water
m = 1;// [kg]
Ep = m*g*Z;// [J]
printf("Change in potential Energy is %d J\n",Ep) |
efb7cc2fd09eaf204c25b510aa8821c5044abac0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH3/EX3.4/Ex3_4.sce | ff6a28e5a929db72f2656758a4b637cee8855fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sce | Ex3_4.sce | //Ex3_4
//refer fig3.2(a)
clc
VCC=20
disp("VCC = "+string(VCC)+" volts") // collector supply voltage
VBB=VCC
RL=5*(10^3)
disp("RL= "+string(RL)+ " ohm") //resistance
RB=965*(10^3)
disp("RB = "+string(RB)+ " ohm") //initialization base resistance
VBE=(0.7)
disp("VBE = "+string(VBE)+" volts") // value of ba... |
f2170583765d44e1ddb4158698b3c1f12e92d1f0 | 0480f6392643f10964ff6b301b2be49036bfe7d9 | /ampdemod.sci | c5e4a0784bff818a0bf7dadc190249ec6078cc80 | [] | no_license | vbv15/helloworld | 02f13332442310e95126067564516a8500b072c3 | 7982e10b0195afc1adb582ec623d95bd8f9556cb | refs/heads/master | 2021-06-28T01:18:01.725621 | 2016-11-11T02:49:46 | 2016-11-11T02:49:46 | 42,517,937 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sci | ampdemod.sci | function[y]=ampdemod(Em,Ec,fm,fc,fs)
t = 0:1/fs:1;
m=0.9;
Vm = Em*sin(2*%pi*fm*t);
Vc = Ec*sin(2*%pi*fc*t);
x = Ec*(1+m*sin(2*%pi*fm*t)).*(sin(2*%pi*fc*t));
xdem = x.*Vc;
H = iir(7,'lp','butt',[fc/fs,0.5],[.01,.01]);
num = coeff(H(2));
den = coeff(H(3));
num = num(lengt... |
7bc0e16387cb915d8357a3959725e5a1505a9a95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH7/EX7.2/Ex7_2.sce | b2a9d7e9329b1328d615ed8a0630adc402c2f5e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sce | Ex7_2.sce | clear
//
//The total number of cycles the clock should perform in 24 hours for correct time is
t=24*60*60*50
printf("\n The total number of cycles the clock should perform in 24 hours for correct time is= %0.0f ",t)
//The number of cycles the clock performs from 8am to 7pm is
n=(6*49.95+5*49.90)*60*60
printf("\n The n... |
1e137f9486d76db641c0055c294cbcacc9ffc773 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH3/EX3.3.a/data3_3.sci | 54e82a95a217971c06383c7bdb06619b9af54101 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | data3_3.sci |
//(Manufacturing Considerations in Design) Example 3.3
//Refer Fig. 3.26 on page 70
//Basic diameter of hub Dh mm
Dh = 50
//Refer tables 3.2 and 3.3b for tolerances of H7-s6 fit
//Upper deviation for hub Uh mm
Uh = 0.025
//Lower deviation for hub Lh mm
Lh = 0.000
//Basic diameter of shaft Ds mm
Ds = 50
//U... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.