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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9a80e23205b16c0be63d494d519271089f905f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH11/EX11.2/11_2.sce | 4b2f0f88c499ed09fd38b3ddeb65c300e1c4c349 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | 11_2.sce | clear; clc; close;
Rf = 240*10^(3);
R1 = 2.4*10^(3);
Vi = 120*10^(-6);
A = 1+(Rf/R1);
Vo = A*Vi;
disp(Vo,'Output voltage(Volts) = ');
|
a0f54e05bc29be47a27824ce5ac428ee02c2a7f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH19/EX19.11/19_11.sce | d0dce13d6c5a8e8c13d54251164aab3b9e75f66e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | 19_11.sce | clc
//initialisation of variables
b= 1475.30 //kJ/kg
b0= 144.44 //kJ/kg
h2= 3448.6 //kJkg
h1= 860.5 //kJ/kg
k= 1.27
k1= 1.34
R= 8.314 //J/mol K
hf= -393520 //kJ/kmol
hg= 72596 //kJ/kmol
Mc= 12 //kg
n= 1.2 //moles
n1= 3.76 //moles
M= 32 //gms
M1= 28 //gms
M2= 44 //gms
n2= 0.2 //moles
n3= 4.512 //moles... |
15619f904bbc9866fcdf69c3c10e2b7d90f71838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH10/EX10.2/ex10_2.sce | 0b820abf8a200432b6366cfb59c3940cd470a620 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex10_2.sce | // Example 10.2
format('v',6)
clc;
clear;
close;
// given data
V_CC= 15;// in V
I_Csat= 150;// in mA
P_Lmax= 563;// in mW
I= 0.02*I_Csat;// in mA
Idc= 0.318*I_Csat;// in mA
I_CC= I+Idc;// in mA
P_CC= V_CC*I_CC;// in mW
// The efficiency of amplifier
Eta= P_Lmax/P_CC*100;// in %
disp(Eta,"The efficiency ... |
6eedfdf9670c3bb1710ac70c7f59989449a23560 | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A8/AP186_A8.sce | a3e820166ebb648a0771671a6e1c42d170b6ac2f | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,514 | sce | AP186_A8.sce | ////Grayscale image of a check
chec = imread("C:\Users\Anton Cruz\Desktop\186\AP186\186A8\check.jpg");
chec = rgb2gray(chec);
[count, cells] = imhist(chec, 256);
plot (cells, count);
isoview();
xs2png(gcf(), "A8PartA1.png")
BW = chec < 140;
imshow(BW); isoview();
imwrite(BW, "A8PartA2threshideal.png")
//for i = 50:1... |
45e6939d0162cb90a14eac4f31dae37f1d736b2d | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testfplot3d.sce | f46077e9148b663b459f36c13962b64820604151 | [] | 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 | 270 | sce | testfplot3d.sce | function z=saddle(x,y)
z=x^2-y^2
endfunction
// define the grid
x=[-1:0.2:1];y=x;
// display the surface
clf;
subplot(121)
fplot3d(x,y,saddle)
xtitle('fplot3d')
subplot(122)
fplot3d1(x,y,saddle)
xtitle('fplot3d1')
// color table
F=gcf();F.color_map=jetcolormap(8);
|
d3d8ec45cb24e2cfbc205075bca8fe6ae54ff35b | 717ddeb7e700373742c617a95e25a2376565112c | /2606/CH8/EX8.24/ex8_24.sce | aac6ea7795281c3069363497032667035b00f5e7 | [] | 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 | 369 | sce | ex8_24.sce | //Page Number: 8.25
//Example 8.24
clc;
//Given, band limited gaussian noise with psd,
S=9.6D-5; //W/Hz for |f|<8kHz
L=100D-3; //H
R=100; //Ohms
//(a) Noise power at input of filter
x0=-8000;
x1=8000;
Pni=S*(integrate('1','f',x0,x1));
disp('W',Pni,'Noise power at input of filter:');
//Plot
x=linspace... |
34150da1cc768178607bd034c1a94efc46ef3c74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH8/EX8.3/Example8_3.sce | 8a70cd83a77a3796d65c22e0deb48eba085b447e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | Example8_3.sce | //clear//
//Caption:Hamming Codes Revisited
//Example8.3:(7,4) Hamming Code Revisited
//message sequence = [1,0,0,1]
//D = poly(0,D);
clc;
D = poly(0,'D');
g = 1+D+0+D^3; //generator polynomial
m = (D^3)*(1+0+0+D^3); //message sequence
[r,q] = pdiv(m,g);
p = coeff(r);
disp(r,'remainder in polynomial form')
... |
316e3c639f8120ce483ab60c3352c722d67fa8f9 | 1c74602a54d9d18d730ae546b0f942aea55877b0 | /matrices.sce | 5bf82a0c7f34b44cca1bd5e29c345e566b501caa | [] | no_license | sainath18302/new_repository | a6fe43c28ee32d56bbe881594446336a9a1b89de | 8acd379431139a2573d34b1488d013ea9099cb27 | refs/heads/master | 2020-04-01T12:59:39.604160 | 2018-10-16T06:43:48 | 2018-10-16T06:43:48 | 152,360,721 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | matrices.sce | a=[3,10,5;7,5,9;-2,7,5];
b=[2,7,9;5,7,3,;0,5,2];
d=a+b
disp(d,'the d is:');
r=b-a
disp(r,'the subtraction is:');
f=5*a-3*b
disp(f,'the f is:');
g=a^2
disp(g,'the g is:');
h=a^3
disp(h,'the h is:');
j=a^3-a^2
disp(j,'the j is:');
|
d47ec265645a50e193094f1d894a1a6f49735be6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH6/EX6.3/Ex6_3.sce | 1b4b1de4e221b94a9012d0c06af65bd76590a137 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | Ex6_3.sce | //Example 6.3, page 216
clc
v=50//in Mev
E=55//in Mev
x=sqrt(1-(v/E))
//disp(x)
R=((1-x)/(1+x))^2
printf("\n Probablity of neutron will be reflected is %f ",R) |
4d1189ba682471fb87b59d4dea13172d91299e0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH4/EX4.2/ex4_2.sce | 5592ea92a55f8816be1937fc877462fa478c7990 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | ex4_2.sce | //Exam:4.2
clc;
clear;
close;
r_o=3.14;//nearest neighbour equilibrium distance in Å
R_o=3.14*10^(-10);//nearest neighbour equilibrium distance in m
K=5.747*10^(-11);//compressibility of KCl in m2/N
M=1.748;//Madelung constant
pi=22/7;
E_o=8.854*10^(-12);
q=1.6*10^(-19);//electron charge
n=1+18*(R_o^4)*4*pi*... |
25ef595decd14d3c0209409ae5b4f542b8d69652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.23/ex6_23.sce | 7c575d9111427408916ac5fa5d4d34aebe6bf4bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | ex6_23.sce | // Exa 6.23
clc;
clear;
close;
// Given data
r_d = 25;// in kΩ
R1 = r_d;// in kΩ
R2 = r_d;// in kΩ
g_m = 2;//mA/V
g_m= g_m*10^-3;// in A/V
R_L = (r_d*R1*R2)/(r_d*R1+R1*R2+R2*r_d);// in kΩ
R_L= R_L*10^3;// in Ω
A_v = -g_m*R_L;
disp(A_v,"The voltage gain is ");
|
0fd9fa6e25fee7bd49d0791d059613b10ffe02d2 | e176c804d3e82d065a9c9635dad92da21c1483a9 | /libs/median.sci | 6a9ed42999899eabe2c9c7d2dfc2ee20ae4bd854 | [
"MIT"
] | permissive | Exia-Aix-2016/ExoLife | 38f7d5e54a1fd26333f19d99a8b63f0d64cc4c4c | a88d4bc3b852f8a85b6c8cc0979ced29fb28b751 | refs/heads/master | 2021-09-07T01:47:04.742247 | 2018-02-15T11:57:47 | 2018-02-15T11:57:47 | 120,471,380 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,156 | sci | median.sci | //Apply a median filter to the image
//imgsrc : the image to apply the filter
function render=median(imgsrc,tolerance)
//The size of the images
[wd,he]=size(imgsrc);
//Create an empty image
render = zeros(wd,he);
//For each lines
for i=1:he
//For each columns
for j=1:wd
... |
25aa3157dc2eded4a13f6fa6c91a4ce52298f4d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH11/EX11.14/chapter11_ex14.sce | 0fc03bc5723a621999dc5d12e031ed4b8dce770f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | chapter11_ex14.sce | clc
clear
//input
//given h-parameters of a junction transistor
hie=1000;//in ohms
hoe=100*(10^-6);//Sec
hre=0.0005;
hfe=50;
rl=10000;//load resistance in ohms
//calculations
Yt=hoe+(1/rl);
v=(1/((hie*(-Yt/hfe))+hre));//voltage gain and - signifies the 180 degree phase shift
vg=-v;
//output
mprintf('t... |
9c5f25583fe7183a12683ac1a6f20049de7259d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH9/EX9.10/9_10.sce | 1139ee923eb08d79642c07cc5e7657cbefd46ca7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | 9_10.sce | //Problem 9.10: An 8 H inductor has a current of 3 A flowing through it. How much energy is stored in the magnetic field of the inductor?
//initializing the variables:
L = 8; // in Henry
I = 3; // in Amperes
//calculation:
W = L*I*I/2
printf("\n\n Result \n\n")
printf("\n Energy stored, W = %.0f J\n",W) |
8c6e7ff819fd2633e996ac5058b57a903139dd2c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/metanet/addra.sci | 0c744e28eb3396f21d8eb4882c2b229746130fc9 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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,004 | sci | addra.sci | function g1=addra(g)
[lhs,rhs]=argn(0), if rhs==0 then g=the_g, end
is=find(g_ntype(g)==2), it=find(g_ntype(g)==1)
if prod(size(is)) <> 1 then
error('there must be one and only one source')
end
if prod(size(it)) <> 1 then
error('there must be one and only one sink')
end
if g_direct(g) == 0 then error('graph mus... |
81bdb0fb6bc727b98f7765e64921258f8b683d08 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20170217_xor/xor_weight.sce | 21b8fce0168cc4accb710277572306795eeb9343 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | xor_weight.sce | weight4x4=[
1e-9,2e-9,3e-9,4e-9;
5e-9,6e-9,7e-9,8e-9;
9e-9,10e-9,11e-9,12e-9;
13e-9,14e-9,15e-9,16e-9];
|
9eba0dbd9e855a721e4a302f04466415b42b8ce3 | e6ff786cf08e47aecf17aa0b7d9b08c3819c553e | /2016 drone/undou.sce | 79596b9ff5b5780ce9ca2aa3eda6c43beafc7003 | [] | no_license | Itolab2016/drone-2016 | 3ce69342239ec1e1efce9fe636e2295d9bb1edca | 32eee956b4d8c4f3a048b57a85fb82f38e11c9d1 | refs/heads/master | 2020-07-28T22:01:32.056603 | 2016-12-12T11:04:22 | 2016-12-12T11:04:22 | 73,694,678 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | undou.sce | A=[0 0 0 0 0 0 0 -9.80665 0;0 0 0 0 0 0 9.80665 0 0;0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0;0 0 0 1 0 0 0 0 0;0 0 0 0 1 0 0 0 0;0 0 0 0 0 1 0 0 0]
a=77.259
b=0.26152
c=0.26152
d=93.510
l=0.136
k1=4.0857
k2=3.5421
k3=3.5284
k4=3.7375
kt1=2
kt2=2
kt3=2
kt4=2
m=0.716
Iyy=0.010895
B=[0 0 ... |
cba603e0968c355a02aa755cd93892e84f9dd8af | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH11/EX11.12/11_12.sce | 6a9ec78fab4cd02dc9ee62adac64ec021e51c00f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 11_12.sce | clear; clc; close;
R1 = 1.2*10^(3);
C1 = 0.02*10^(-6);
foh = 1/(2*%pi*R1*C1);
disp(foh,'Cutoff frequency of low pass filter(Hertz) = ');
|
31c2cb8cea9021a2d8535e116308da66475fe474 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH6/EX6.7/6_7.sce | c440f44963f803f5b1641512800cd382e4738799 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | 6_7.sce | clc;
clear;
//Example 6.7
//From previous example:
mf_dot=5000 //[kg/h]
Hf=125.79 //[kJ/kg]
lambda_s=2230.2 //[kJ/kg]
mdash_dot=2500 //[kg/h]
Hdash=313.93 //[kJ/kg]
mv_dot=2500 //[kg/h]
Hv=2635.3 //[kJ/kg]
ms_dot=(mdash_dot*Hdash+mv_dot*Hv-mf_dot*Hf)/lambda_s... |
6bc054d47ea5ec17d6d3c22c7bd8780039a1e67f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH6/EX6.15/arx_est.sce | e6e1dda0d4e85b19df7de5eb7788afa3b0769190 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,032 | sce | arx_est.sce | // Determination of ARX parameters as described in Example 6.25 on page 203.
// 6.15
exec('armac1.sci',-1);
exec('cra.sci',-1);
exec('arx.sci',-1);
exec('filt.sci',-1);
exec('covf.sci',-1);
exec('stem.sci',-1);
process_arx = armac1([1 -0.5],[0 0 0.6 -0.2],1,1,1,0.05);
u = prbs_a(5000,250);
xi = rand(1,500... |
6440c789e8dc73901b80e862f318f388faa88d66 | 4d006f4893193d20441423bef19f0a20798455ba | /Scilab/HigherPass.sce | e40e85bdbb24289f480437fe7e5401acca9e39f3 | [] | no_license | caaarllosR/ImageProcessing | b1447f7a37ac26061f1d695779d7cd723f26156a | 7c40dc31c5b3cdf028b19dbbd4d2946ef725a400 | refs/heads/master | 2020-04-08T02:57:21.980270 | 2018-11-24T16:53:43 | 2018-11-24T16:53:43 | 100,518,670 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,653 | sce | HigherPass.sce | clear
close
xdel(winsid()) // close all windows
clc
// High-Pass
imOriginal = 'images\lua.tif'
im = imread(imOriginal);
[x,y] = size(im);
im2 = [cat(2, double(zeros(x,2)), double(im), double(zeros(x,2)))]; //adds 2 zeros columns to the right and left
im2 = [cat(1, double(zeros(2, y+4)), double(... |
ada9afb506b02b41376b257a07030478c83ed4e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH4/EX4.18/Example_4_18.sce | 0f4e13bba9401729dc4a44e67081f4aa45d26a8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Example_4_18.sce | // Example 4.18 A sample size 8 from a normal population yields as the unbiased estimate of population variance
clc;
clear;
n=8;
sd=4.4;
disp(((n-1)*(sd))/0.99,"to",((n-1)*(sd))/20.3,"The required 99% confidence limits for population proportion variance are ")
|
a7becc1814b821b490705b0031c502d5fb6473f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.a.10/Example_a_1_10.sce | 765699bbbc8dcc68f83abd24e7c6efafe2096613 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Example_a_1_10.sce | //Example 1_10 page no:28
clc;
It=4;
Rt=7;
R2=2;
R10=10;
I10=It*(Rt/(Rt+R10));
disp(I10,"the current flowing through 10 ohm resistor is (in A)");
I5=It*(R10/(R10+Rt));
V=I5*R2;//the voltage across 2 ohm resistor Vs
disp(V,"the voltage across 2 ohm resistor Vs is (in V)");
|
ed8272162c513f6715c4c9e8563cc6a3e8e07f9b | 3073307fa4b6da9371518f0718c199501b8c5c71 | /elimGaussPivoteoParcialEscalado.sci | 1f54ac17b5265ed17a99cb3c1bcb481042576a89 | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,624 | sci | elimGaussPivoteoParcialEscalado.sci | //Realiza la eliminacion de Gauss para una matriz A y un vector b
// Devuelve: B matriz triangular superior resultado de aplicar eliminación
// Gaussiana a A. Realiza pivoteo parcial escalado.
// Pivoteo Parcial Escalado: Busca el mejor candidato para pivote:
// Calcula el mayor valor absoluto de cada fila y en ca... |
a129b18af8e06e2b7c6a03b8581ba116b106701b | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH3/EX3.11/3_11.sce | 9adf69ffbf48c93ef255ccb284a1ec177e7c3161 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,315 | sce | 3_11.sce | clear;
clc;
//Example - 3.11
//Page number - 97
printf("Example - 3.11 and Page number - 97\n\n");
//Given
n = 1.5;// - ratio of heat capacities
T_1 = 500;//[K] - Initial temperature
T_2 = 1000;//[K] - Final temperature
P_1 = 1;//[bar] - Initial pressure
P_1 = P_1*10^(5);//[Pa]
R = 8.314;//[J/mol*K] - Un... |
f9e1e04629433c9b1f82755da062438efe2d20cf | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/ameliorationContrasteNormalisation.sci | 15fb2adc14da3352634913999cd77acb613bac0a | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 911 | sci | ameliorationContrasteNormalisation.sci | // Amélioration des contrastes de l'image à l'aide d'une droite linéaire. Normalisation de l'image
// Voir les commentaires pour startHisto et endHisto
// Pour la suite, voir si possibilité d'ajouter différentes façon d'obtenir la courbe afin de mieux lisser
function image_out=ameliorationContrasteNormalisation(image,... |
37310c96c78edb73b1a38976203a0043fee5b5ee | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/cbr.instr.tst | 597e7f1f90e24955033d8bf3214a6df57b52656b | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,246 | tst | cbr.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000054 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000088 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x00 0x78 andi r16, 0x80 ; 128
0x2: 0x1... |
ef6067bed592270fb42b493ef26e241b6ef5735d | 8c9e7e9371ab3ab1b8d07c51188e55b24a7634c2 | /EXP-2_60002190039_DURVANG_VIJAY_PARAB_Linear_convolution_and_correlation.sce | 3e99be70eb6c36c0fd223c732d50d70ada3025b2 | [] | no_license | durvangparab967/SYSTEMS-AND-SIGNALS-EXPERIMENTS | 0b82f8d1e90b5f4b36366e34ff703738ad4cd32b | ab23491f9aaeebb230832826a3b5e5d6788c5b1d | refs/heads/main | 2023-01-22T11:25:20.906104 | 2020-11-25T10:13:44 | 2020-11-25T10:13:44 | 315,895,563 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,124 | sce | EXP-2_60002190039_DURVANG_VIJAY_PARAB_Linear_convolution_and_correlation.sce | //To study and plot convolution
//Discrete convolution(with command):
clc;
clear all;
close;
clf();
x1=input(' Enter first sequence')
x2=input(' Enter second sequence')
disp('Covolution of two function is as follows')
x3=conv(x1,x2)
disp(x3)
//Discrete convolution(without command):
clc;
clear all;
close;... |
fafba82f69e19d128afc77bd1387adc7dc413149 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.4/Ex2_4.sce | d7b0c848b16a1efbba59c6d7f87a294c89290868 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex2_4.sce | //problem 4 pagenumber 2.87
//given
format(6);
r1=10e3;//ohm
rf1=20e3;//ohm
r2=5e3;//ohm
//determine gain of amplifier
a1=1+rf1/r1;
a2=-rf1/r1;
disp( 'Switch off gain = '+string(a1+a2));//no unit
disp( 'Switch on gain = '+string(a2));//no unit
|
3e904fd92bf7683fc333d6386d2db982b291a765 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/solvePnPRansac/test2.sce~ | 0e9a3b40c6b1991c619bbd9900f87f62b7fb3078 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | test2.sce~ | //Checking if error message pops up when obpts is a N x 2 matrix instead of N x 3
obpts = [ .5 .5;
.5 .5 ;
-.5 .5;
.5 .5 ;
.5 -.5 ;
-.5 -.5;
-.5 -.5];
impts = [282 274;
397 227;
577 276;
462 378;
270 479;
450 523;
566 476];
camera = [ 1 0 0;
0 1 0;
0 0 1];
dist = [0
0
0
0];
iterations = 5;
reproject... | |
bd7cf852c1931975ac58cacf4e299d6038ebf13c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH19/EX19.3/Ch019Ex3.sce | e7f75866eb7565dcd4740e6dd5c548a8ac219c66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Ch019Ex3.sce | // Scilab Code Ex19.3: Page-960 (2011)
clc; clear;
d = 1e-003; // Diameter of aluminium wire, m
r = d/2; // Radius of aluminium wire, m
H_c = 7.9e+003; // Critical magnetic field for Al, A/m
I_c = 2*3.14*r*H_c; // Critical current through superconducting aluminium wire, A
printf("\nThe critical cur... |
93f760ce1c1707ae550dd05074b25ed1ba568ed4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH14/EX14.10/EX14_10.sce | f126d03e958c11919cd42cf67ff2ff4709e02d4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,526 | sce | EX14_10.sce |
// Example14.10 // Design a video amplifier of IC 1550 circuit
clc;
clear;
close;
Vcc = 12 ; // V
Av = -10 ;
Vagc = 0 ; // at bandwidth of 20 MHz
hfe = 50 ; // forward emitter parameter
rbb = 25 ; // ohm // base resistor
Cs = 1*10^-12 ; // F // source capacitor
Cl = 1*10^-12 ; // F // load capacitor
... |
cf0b386a34b1e4281dfa038248ecbcd402b57e88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH1/EX1.1/ex_1_1.sce | 9a55a7f22d9acfcae911e2959a8972ca5403c482 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | ex_1_1.sce | //example 1.1//
clc
//clears the screen//
clear
//clears the existing variables//
disp('the locker door (Y) can be opened using one key (A) which is with you and the other key (B) which is with the bank executive. When both the keys are used, the locker door opens, i.e. the locker door can be opened (Y=1) only whe... |
5ded220b9c7fa4b44895433528b1b7fee43d4e9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH5/EX5.7/chapter5_ex7.sce | 977ca8a1e7cfd0f7ec49e2aca85bfbdf69883701 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | chapter5_ex7.sce | clc
clear
//input
r=32;//resistance in branch 1 in ohms
l=0.08;//inductance in branch 2 in henry
c=200*(10^-6);//capacitance in branch 3 in farad
//braches 1,2 and 3 are in parallel
v=240;//supply voltage in volts
f=50;//supply frequency in hertz
//calculations
g1=1/r;//conductance of branch 1 in siemens
... |
762325de84553ab00b314522b154f5e45118bed6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH7/EX7.10/Ex7_10.sce | d2bbf802eb31ea80a93d825deace7b7a99c4e56c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 687 | sce | Ex7_10.sce |
clc
//Given that
p = 500 // power in watt
d = 1 // Distance from lamp in m
epsilon_0 = 8.854e-12 // Permittivity of free space
mu_0 = 4*%pi*1e-7 // Permeability of free space
printf("Example 7.10")
s = p/(4*%pi*d^2)// Calculation of pointing vector
E_H_ratio = sqrt(mu_0/epsilon_0) // Calculation of ratio of... |
e71205770e909aff97b2bda41235af40b2a22a89 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/ProjCurve.sci | bbe28c12891eafd1488bdc315d05a6d361984a11 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sci | ProjCurve.sci | // 08.07.11
// 08.10.07
// 09.06.02
// 09.08.23
function AnsL=ProjCurve(Curve)
global PHI THETA;
Eps=10^(-6);
AnsL=[]; // Added
SP=sin(PHI); CP=cos(PHI);
ST=sin(THETA); CT=cos(THETA);
for I=1:size(Curve,1)
P=Curve(I,:);
x=P(1); y=P(2); z=P(3);
if x~=%inf
Xz=-x*SP+y*CP;
Yz=-x*CP*CT-y... |
1672447e8164f545b351010f67903ee355816b0d | 438ae9a1bd74ad2b3b043cce005780e92c17d113 | /NvM_Scribus_Bibliothek/Impressum_2.sce | 8f50cc1d92a2b30d3fd0b00e361c069785fc25a2 | [] | no_license | ngiger/NvM | 00bb9e6e80e77c4fba8e4feab6aef61184e98be4 | c9164494fd18472004741ecfce73c34124f7d1ea | refs/heads/master | 2021-01-19T08:43:18.510498 | 2014-03-07T15:32:12 | 2014-03-07T15:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,065 | sce | Impressum_2.sce | <SCRIBUSELEMUTF8 W="140" H="265.83" previewData="iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAA51AAAOdQG5Y1EyAAAHEElEQVRogdWaSXPcxgFGH3YMgMHs5AwXbaQSUeLi2JIoxznYlVS5cs0vcS7JKcf8gSSHqJxbfoGlQ5aj7BxiJRXp4JIdyyQlciiKyywYYDCDNQeJkFSSGLpU5Ijv1AXMdH+verqnGw1hYWHhF5988svfLl+7doEjYG1tbef69T9ev3njxm+Oov59hE//9Om9jz/... |
a7254bd1b8559295b66532662f124d0722be8b78 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/timequake.tst | 2e53f4d3982e3d0c0a88fcb1e1bb97e788bde61e | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 120 | tst | timequake.tst | ## Test the setfield-commitdate and timeoffset commands
read <min.fi
:4 setfield commitdate "0 +0000"
timequake
write -
|
7c6b9d815ef64c9387416d494dbe0299e8632452 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH7/EX7.3/example7_3.sce | f64a938a0b8c5eaab5940a83c8a92c8639d34100 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | example7_3.sce | clear
clc
//Example 7.3 POWER NEEDED BY A PUMP
//Energy equation, V1=V2,(p1/gamma)+hp=(p2/gamma)+ht+hL
ht=0;
hL=3; //[m]
p1=70000; //[N/m^2]
p2=350000; //[N/m^2]
z1=30; //[m]
z2=40; //[m]
Gamma=9810; //specific weight[N/m^3]
hp=(p2-p1)/Gamma+(z2-z1)+hL //pump head[m]
Q=0.5; //rate of flow[m^3/s]
P=Gamma*Q*... |
93a19b0519ddb5c2fc86d524fd18a827894aaba2 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/Draw_read_organ.sci | f7274a91a5c83022b17a1c6f8b1da2ccc62c29dd | [] | 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 | 2,677 | sci | Draw_read_organ.sci | function [P,nbfaces,Faces] = Draw_read_organ(fid,Flag_windows)
// Ouput variables initialisation (not found in input variables)
P=[];
nbfaces=0;
Faces=[];
//****************************************
// Copyright (c) 2003 LIAMA
// File name: Draw_read_organ
// Author: Kang Mengzhen Version: 1.0 Date:... |
4df36cf84c5d81d24be533ef50bfb557dab732e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH7/EX7.6/ex_7_6.sce | 4ba1b3b817cdc265b676e14feb166fe1fd0703db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | ex_7_6.sce | //Example 7.6: Retardation
clc;
clear;
close;
//given data :
format('v',6)
S=4;// in km
Vs=45;// in km/h
Ts=(S*3600)/Vs; // in sec
D=30;// duration of stop in sec
T=Ts-D;// in sec
Vm=70;// Maximum speed in km/h
alfa=1.5;// in km/h/sec
A=((Vm*T)-(S*3600))/Vm^2;
B=1/(2*alfa);
Beta=1/(2*(A-B));
disp(Beta,"Retardation(km/h... |
c0431445149e91ec382adc522c662d07db54b930 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH28/EX28.6/28_6.sce | 0337c11094ba770af02bfe5df01f83618bdefafe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | 28_6.sce | clear//
//Variables
fo = 455.0 * 10**3 //Resonant frequency (in Hertz)
BW = 10.0 * 10**3 //Bandwidth (in Hertz)
XL = 1255.0 //Inductive reactance (in ohm)
//Calculation
Qo = fo / BW //Quality factor
R = XL / Qo //Resistance (in ohm)
L = XL / (... |
b4560e305d1d7b90675e63764a9b5614e6f4065e | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/hw2/Mux16Way16.tst | 9525ce70f2f6b691f8d2762daf12c43df8451ff8 | [] | no_license | jyuan2pace/CS506 | afca44ee8df14436d72de97e658a61841091e651 | fa80d2786f006c226c6e6413ee23fe306d6c57d0 | refs/heads/master | 2020-07-28T13:04:37.077116 | 2019-11-24T20:15:20 | 2019-11-24T20:15:20 | 209,419,478 | 8 | 11 | null | null | null | null | UTF-8 | Scilab | false | false | 1,697 | tst | Mux16Way16.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/Mux8Way16.tst
load Mux16Way16.hdl,
output-file Mux16Way16.out,
compare-to Mux16Way16.cmp,
output-list a%B1.16.1 b%B1.16.1 c%B1.16.1 d%B1.16.1 e%B1.16.1 ... |
ce2c74acc5faa95bf7a5dc7a3389e6f5ea47cff2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH5/EX5.9/5_9.sce | 788b18ef448a7cbbcbbde1e0045ec44b10e4746f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 708 | sce | 5_9.sce | clc
//ex5.9
//L is load
P_L=50*10^3; //power of load
f=60; //frequency
V_rms=10*10^3; //rms voltage
PF_L=0.6; //power factor
phi_L=acos(PF_L); //power angle
Q_L=P_L*tan(phi_L); //reactive power of load
//when capacitor is added, power angle changes
PF_L_new=0.9;
phi_L_new=acos(P... |
cafba1eaf7357c7788d467c8a0d7a9c2f908223e | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_a6_bfa_mt/~BivLCM-SR-bfi_a6_bfa_mt-PLin-VLin.tst | 17eb2d539d3d455bb281a915d701e85311cae53a | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_a6_bfa_mt-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.354132D+00
... |
1b97ce953a2855732cb129be14b13c5b248db4be | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH18/EX18.6/Example18_6.sce | 909e5a79d93dc5728c949fa4f7efdf726935bd57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Example18_6.sce | //Given that
L = 67*10^-2 //in cm
Vs = 343 //in m/s
//Sample Problem 18-6a
printf("**Sample Problem 18-6a**\n")
//Open Ends
f = Vs/(2*L)
printf("The frequency of sound in case of open end is %fHz\n", f)
//Sample Problem 18-6b
printf("\n**Sample Problem 18-6b**\n")
//cloes end
fo = Vs/(4*L)
printf("The... |
9be82fd2e3659b57d25dd6ebe23a8224078207c5 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Sectionview.sci | e918e475144d42e61746232e2f6e23013486d078 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sci | Sectionview.sci | // 09.09.10
// 09.10.12 remove:Uveq, add:Glist
function Out=Sectionview(PtA,Vec,Fd,Glist,Np,Eps)
Uv=1/norm(Vec)*Vec;
Nv=[Uv(2),-Uv(1),0];
G1=Sfcutdata(Fd,Mix(Nv,PtA),Np);
G2=Spaceline([PtA,PtA+10*Uv]);
Tmp=Mixjoin(G1,G2,Glist);
Tmp1=Viewfrom(Nv,Tmp);
Out=Tmp;
endfunction;
|
2e976e260f6f7274ed0a77cdb294622853cccb8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH4/EX4.8/example4_8.sce | bf33eb6f243ca812e71d2bf5f00d3d4cec8ca222 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,176 | sce | example4_8.sce | // To find shunt and current limiting resistor
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 4-8 in Page 70
clear; clc; close;
// Given data
I_fsd = 10*(10... |
f36bf1082e5d6fdfd4132eae2c567337495d211a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH5/EX5.6/Ex5_6.sce | c4265d5ffa642e4b3f2684127d3ee2df97b1cc0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | Ex5_6.sce | //============================================================================================
// chapter 5 example 6
clc;
clear;
//input data
W = 107.9; //atomic weight
p = 10.5*10^3; //density in kg/m^3
sigma =6.8*10^7; //conductivity in ohm^-... |
bdf4dae123fef6613b9d969ef2701ab35e8b5e98 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/calpol/detr.sci | c3c3b8868be00c9b739e30888a0f39f3aaf221e6 | [
"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 | 669 | sci | detr.sci | function [d]=detr(h)
//[d]=detr(h) computes de determinant of a polynomial or
//rational function matrix h using Leverrier's method
//!
// Copyright INRIA
h1=h(1);
if type(h)< 3 then
[m,n]=size(h);
if m<>n then error(20),end
f=eye(n,n);
for k=1:n-1,
b=h*f,
d=-sum(diag(b))/k
f=b+eye(n,... |
2b4b21297bf00081d73ef6e20d819352f39f9ad9 | 38b9326e71d3828aaf1000a032c940280be1a6e2 | /me file1/me.tst | 8dd83ab6ed74c92a16fba6378b85f11af296e130 | [] | no_license | adityavirajrao/CS2300-week-3-by-team-kuviyu | c1e7bbfd78693e70e6ba481a835da50c5c93bd72 | c0d7ae4eea43cba02d388d3bd32b8abc440b18e4 | refs/heads/main | 2023-07-14T04:15:07.624144 | 2021-09-04T19:06:26 | 2021-09-04T19:06:26 | 403,221,471 | 0 | 0 | null | 2021-09-05T05:14:39 | 2021-09-05T05:14:39 | null | UTF-8 | Scilab | false | false | 1,306 | tst | me.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/And.tst
load me.hdl,
output-file me.out,
//compare-to And.cmp,
output-list x[16]%B3.1.3 y[16]%B3.1.3 s[16]%B3.1.3 as%B3.1.3 overflow%B3.1.3;
set x0 0... |
a616237767769f4e3a08fe1b8ba758b1fc8dbb57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH18/EX18.2/Ex18_2.sce | 72ae7d8894118ab25ecc9068385b4d69c39e2a03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Ex18_2.sce | clear
//Given
a=51 //Degree
A=60 //Degree
//Calculation
//
b=(A+a)/2.0
c=A/2.0
u=(sin(b*3.14/180.0))/(sin(c*3.14/180.0))
//Result
printf("\n (i) The refracting angle of the prism is %0.3f Degree", A)
printf("\n (ii) The refractive index of the mater... |
46a13cfbbdc214661a1f2a5251ac6290ff762def | 993c10f7706af779d36ea4b5254792a34da554c1 | /ann/practice/Classificacao_gaussiana/geragauss.sce | 4fd7b1ea4f68647bdaf0219a05b7a6f4538e067a | [] | no_license | francislz/college_codes | e1c113a29fcb704a243e5a942bf2c629157d315a | 41bbefbe13135eb2654815aeb546a44462847b87 | refs/heads/master | 2022-01-29T11:15:15.597217 | 2018-11-01T22:40:13 | 2018-11-01T22:40:13 | 155,784,263 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | geragauss.sce | function [X, Yd] = geragauss(nc, npc, mc, varc)
X = [];
Yd = [];
for i = 1:nc,
clear classes;
aux = rand(2, npc(i), 'normal');
for j = 1:npc(i),
for k = 1:2,
aux(k,j) = aux(k,j) * varc(k,i);
aux(k,j) = aux(k,j) + mc(k,i);
end
end
X = [X aux]
classes(1, 1:npc(i)) = i - 1;
Yd = [Yd classes]... |
57382c3241bc4720b25ef8e17a2fed27b633d0a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH11/EX11.1/Ex11_1.sce | bc4279420acbafa579f4ce88952b5712ae47f830 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Ex11_1.sce | //Example 11.1
//Fracture Toughness
//Page No. 354
clc;clear;close;
a=5; //in mm
a=a*10^-3; //conversion to m
t=1.27; //in cm
t=t*10^-2; //conversion to m
K_Ic=24; //in MPa*m^(1/2)
sigma=K_Ic/(sqrt(%pi*a)*sqrt(sec(%pi*a/(2*t))));
printf('Since Fracture Tou... |
dee2bf0fbc8930832b080143568f00a79f8921e1 | 364fc2bac23ae5482a18e5e9392ff63e68642dae | /TP2/exo2.sce | fcc4616e94634f85002869c7b50ce36369be5383 | [] | no_license | Raphael-De-Wang/2M310TP | 259e55e9dc931b0a0102ed7a5dbbb31e82b88295 | af21ffee07fadeb5b27c5f30d0deb1926972ccee | refs/heads/master | 2021-01-11T14:14:21.447623 | 2017-03-29T20:27:35 | 2017-03-29T20:27:35 | 81,227,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | exo2.sce | clear
// Q1
function y = f1(x)
y = x.^2;
endfunction
// Q2
function X = x(t)
X = [cos(t);sin(t)];
endfunction
// Q3
function Ax = rot(theta,x)
function r = A(theta)
r = [cos(theta),-sin(theta);sin(theta),cos(theta)];
endfunction
Ax = A(theta) * x
endfunction
x = [1;2];
tht = %pi / 4;
Ax... |
4c2dcb04378c4d916f3ccefdfdc440761692a485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.4/Exa1_4.sce | d30a601be2380d684f64b911e2ad9b0a5c9e6983 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | Exa1_4.sce | //Exa 1.4
clc;
clear;
close;
//given data :
W=625;//in KW
r=30;//in Km
Erms=sqrt(90*W*1000)/(r*1000);//in V/m
disp(Erms*1000,"Strength of Electric field at 30Km away in mV/m : "); |
d855dcb9964cc8603c5fcea6f7dfd389395dc620 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH7/EX7.1/7_1.sce | c296344916f744e7ac94d73ed78c165d7ce5f50b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | 7_1.sce | //example 7.1
clc; funcprot(0);
// Initialization of Variable
P=1.014;
vg=1.673;
vf=1.0435/1000;
T=373.15;//temperature
sg=7.3549;
sf=1.3069;
k=P*(vg-vf)*10^5/1000;
disp(k,"W/m in kJ/kg");
k1=T*(sg-sf);
disp(k1,"Q/m in kJ/kg");
clear()
|
e2734b40e3a2507237717eff1510f1cfcc488a09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.3/ex1_3.sce | d1ef8c27bb4e6f82baa6659d839e289f87f962c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex1_3.sce | // Exa 1.3
clc;
clear;
close;
// Given data
V_L = 10;// in V
R_L = 1*10^3;// in Ω
I_L = V_L/R_L;// in A
I_L = I_L*10^3;// mA
disp(V_L,"The load voltage in volts is : ")
disp(I_L,"The load current in mA is");
|
5b2bafbf40eeffaa225258db978fe5cbd8608f09 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH14/EX14.11/ex_14_11.sce | d60f20a311696914efff98af1556e383ff48535e | [] | 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 | 1,083 | sce | ex_14_11.sce | //determine dia of the shaft
clc
//solution
//given
//ref fig 14.6
AB=800//mm
a=(%pi/180)*20//rad
Dc=600//mm
Rc=300//mm
AC=200//mm
Dd=700//mm
Rd=350//mm
DB=250//mm
W=2000//N
T1=3000//N
T2=T1/3//N
t=40//n/mm^2
T=(T1-T2)*Rd//N-mm
Ftc=T/Rc//N//tangential force acting oon gear C
Wc=Ftc/cos(a)//N
Wcv=Wc*... |
cbed8cbf115e734b79e2b8c60e40d7596d3354cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH3/EX3.8/pe3_8.sce | bec0ae0c6f6367452270c0c81505214156830451 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | pe3_8.sce | //example 3.8
clc; funcprot(0);
// Initialization of Variable
M=1000;
H=40;
T=30;
E1=.9;
E2=.5;
V=220;
//calculation
W=M*H;
P=(W)/(T*550);
disp(P,"power required in hp")
printf('Pick a 5HP motor')
P1=5;
Pe=P1/E1;
I=(Pe*746)/V;
disp(I,"current required in amp")
clear()
|
1b2ca7bc41f36b9b905a184e9ccb2d5447c6a795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH4/EX4.23/ex4_23.sce | f2e9661e30da66b15e6519293423ca0747d846bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | ex4_23.sce | clc;
v=100; //v in volt
c1=8*10^-6; //capacitance in Farad
c2=12*10^-6; //capacitance in Farad
c3=24*10^-6; //capacitance in Farad
cs=4/(10^6); //calculating series capacitance
cp=(c1+c2+c3); //calculating parallel capacitance
disp(cs,"Equivalent Series capacitance in farad = "); //displaying result
... |
2dceb5fd836c690bbd56a2d0721c17780bfe0179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH4/EX4.11/Exp4_11.sce | 7397e1df2b43e893b127dc4dfbbdc1a80066f232 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,529 | sce | Exp4_11.sce | //Example 4.11
clc
disp("P = 12, N_s = 600 r.p.m")
f=(12*600)/120
format(3)
disp(f,"Therefore, f(in Hz) = P*N_s/120 =")
disp("(i) Average value of e.m.f in a conductor = 2*f*phi")
rms=1.11*2*60*0.05
format(5)
disp(rms,"Therefore, r.m.s value(in V) = 1.11*2*f*phi =")
disp("(ii) Average value of e.m.f in a t... |
40a6cef6fc55a1fb0349cf94792ab33735bd0f6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH27/EX27.1/Ex27_1.sce | 2d7b48b6158bbf0ea846775253187cd14d02e2d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,019 | sce | Ex27_1.sce | //chapter27
//example27.1
//page574
R1=10 // ohm
R2=5 // ohm
// for h11 and h21, imagine that output terminals are shorted hence it is clear that input impedence is equal to R1.
// this is h11 by definition so
h11=R1
// now current will flow of same magnitude but in opposite directions through... |
f5313868a6be350cd7e9c5b22192a03b5d1be3b9 | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Calculo_Numerico/Ajuste_Trigonometrico.sci | f8bac21596d434351e366919568457cdfbb7d42a | [] | no_license | draetus/faculdade_trabalhos | ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a | e9971b4478112fbe7333ad71d1b4f1620b384eb6 | refs/heads/master | 2022-12-30T19:39:42.191109 | 2020-10-16T13:12:03 | 2020-10-16T13:12:03 | 87,357,566 | 4 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sci | Ajuste_Trigonometrico.sci | clear
close
clc
valor = 4.5
x = [%pi/4; %pi/2; 3*%pi/4; %pi; 5*%pi/4; 3*%pi/2; 7*%pi/4; 2*%pi]
y = [126; 159; 191; 178; 183; 179; 176; 149]
X = [size(x,1) sum(cos(x)); sum(cos(x)) sum(cos(x)^2)]
Y = [sum(y); sum(cos(x).*y)]
A = X\Y
a = A(1,1)
b = A(2,1)
resultado = a+b*cos(valor)
disp (resultado, "Resultado: ")
di... |
29a040fee24e7ef864f11b5100c1b5bff1fc4d8d | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r34.1/lib/changevar.tst | 5ed040b76cc38d85a815b29bb120701b32ba9429 | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 5,919 | tst | changevar.tst | %*********************************************************************;
% This is a test file for the CHANGEVAR package. ;
% Make sure that before you attempt to run it the ;
% MATRIX package and CHANGEVAR is loaded. ;
%*******************************... |
7b4532dcc5314fd0b7d7d6e2e13841bbec6fe9e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH2/EX2.3/example_2_3.sce | 1bf18bc8ac4a2c658a08548da64f54f31a2cb089 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,280 | sce | example_2_3.sce | //Chapter 2
//Example 2.3
//SubstationBus
//Page 28
clear;clc;
//Given values
Vll = 4.4e3;
Vln = Vll / sqrt(3);
Zline = 1.4 * (cos(75 * %pi / 180) + %i * sin (75 * %pi / 180));
Van = Vln * (cos(0) + %i * sin(0));
Zload = 20 * (cos(30 * %pi / 180) + %i * sin(30 * %pi / 180));
printf("\n\n Given line-line voltage = %.... |
fded91605210f9b29dad173242c3e0ee1b92bee9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/4_09data.sci | e4c7ccbf8c28ecb50cb2aeb26277ebdd97fe3286 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sci | 4_09data.sci | //deals with properties of air flow through supersonic wind tunnel
To=1000; //air temperature at the reservior of wind tunnel in degree Kelvin
Po=10*1.01*10^5; // air pressure at the reservior of wind tunnel in N/m^2
R=287; //gas constant for air
Do=Po/(R*To) //density at the reservior
Te=300; //static temperature... |
16c5fde71697db8d137822d844ea7950ceaf0c0a | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Laboratório de Medições e Controle Discreto/Atividade 2/T2.sce | 86324da656539789f0874aea7dc11725ce2f2302 | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,132 | sce | T2.sce | clc
clear
/*
ATIVIDADE 2 - 14/09
TAREFA 2
Gabriel de Sousa Araujo - 9299341
Gustavo Lopes Oliveira - 10335490
Herval Pereira de Castro Junior - 10335792
Leonardo Silva Almeida Serra - 1033656
Lucas Hideki Takeuchi Okamura - 9274315
*/
/*
As leituras serão realizadas por integrante do grupo, sendo que cada um gravou
... |
ca604da3e9cd39a11db8f6e27988b52ef09342e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH21/EX21.9/Ex21_9.sce | e1bb298c8cd8f912e80cbd3aa8554fff52b875a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Ex21_9.sce | // Initilization of variables
l=1 // m // length of bar AB
v_a=5 // m/s // velocity at A
theta=30 // degree // angle made by the bar with the horizontal
// Calculations
IA=l*sind(theta) // m
IB=l*cosd(theta) // m
IC=0.5 // m // from triangle IAC
// Angular veocity is given as,
omega=v_a/(IA) // radian/second
... |
7e89e880e8f6ebbef0fe4b73bd2036b6b0585c98 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SpiceImpedanceBlock/SpiceImpedanceBlock.sce | 429009c8981626abbf6f6ce6b3242ea2e1f89c97 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,977 | sce | SpiceImpedanceBlock.sce | //Conversion of an impedance vs frequency table into an equivalent Spice subcircuit
//Original purpose of this file is to export the capacitor impedance profile
//from Kemet Spice
//
//This guides on how to export the data from Kemet Spice in proper format
//
// 1. In Kemet Spice select the desired capacitor
... |
70d71b16f5cb34c1b0d19f50aa68c246521251aa | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testexo5f.sce | afb2e7b1767fb41e78ed75328f259dc287a8c690 | [] | 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 | 90 | sce | testexo5f.sce | u6=(1)./[2:9] // warning: 1./ = (1.)/ =/= (1)./
u6=[2:9].^(-1) // second solution
|
38f42a13b25de5ab1cbcfecbf262e1e8d6408424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.71.a/ex_3_71_a.sce | 0738d30f306e67af1867b6b7fa720ad23c13f81f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | ex_3_71_a.sce | //Example 3.71.a:resistance and capacitance
clc;
clear;
close;
c2=0.004;//micro-F
c3=0.001;//micro-F
r3=10;//killo ohms
r4=5;//killo ohms
f=1;//kHz
rx=(c3/c2)*r4;//killo ohms
cx=(r3/r4)*c2;//micro-F
disp(rx,"resistance is ,(k-ohm)=")
disp(cx,"capacitance is,(micro-F)=")
|
49bc742b995a8f1173495b3a07f82677541c324e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH13/EX13.6/Ex13_6.sce | 01ad54985754007a09167637131df77b72300068 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | Ex13_6.sce | //Example 13_6
clc;clear;
// Given values
b=6;//Width in m
S_0=0.004;// The bottom slope
y=2;// m
g=9.81;// m/s^2
//Properties
n=0.014;// The Manning coefficient
a=1;//The factor a is a dimensional constant in m^(1/3)/s
//Calculation
A_c=y*b;//The cross sectional area in m^2
p=b+(2*y);// Perimeter in m
R... |
d9eca7d5bfd1f7d2ef0a28aaddf0e24e952f8a14 | 28b24ec288a5cf2babf644edafb55fc68a19cabf | /edo/integracao2_GL.sce | 4cc3ba9ee2c3fe81059f1e350070867218645845 | [] | no_license | ferreiraalves/metodos-numericos | 5100e3d66613c266203d87880fc5c944bcc81e0e | 31162df9dd824c6a621c34a8a1c5c81ee521c470 | refs/heads/master | 2020-03-25T21:43:35.324923 | 2018-12-04T14:32:58 | 2018-12-04T14:32:58 | 144,187,337 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,468 | sce | integracao2_GL.sce | function[A, T, CondErro] = PesAbsGL(n)
CondErro=0;
pi=3.14159265358979323846;
m=floor(0.5*(n+1));
if n<1 then
CondErro=1;
else
for i=1:m
z=cos(pi*(i-0.25)/(n+0.5));
while 1==1
p1=1;
p2=0;
for j=1:n
... |
dd30acf3631494c1a7d07f94c876e6b008bb4814 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.61/ch7_61.sci | 6ad8cadf2f9c0ef0864d4a70474979c3f0e7c312 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sci | ch7_61.sci | //to calculate rotational loss ,armature resistance,eff,line current and speed
clc;
Pshaft=20000;
eff=.89;
P_L=((1/eff)-1)*Pshaft;
Pin=Pshaft+P_L;
V=250;
I_L=Pin/V;disp(I_L,'line current(A)');
Rf=125;
If=V/Rf;
Ia=I_L-If;
Ploss=P_L/2;
Ra=Ploss/Ia^2;disp(Ra,'armature resistance(ohm)');
Psh=V*If;
Prot=Pl... |
b07c3d044a9d15991ada58c1cf40650207053be3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.6/Example9_6.sce | 3af00ba6fe7edc8207b545096b11ddd957725607 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Example9_6.sce | //Example 9.6
clc
disp("As input is applied to the non-inverting terminal, the circuit is non-inverting Schmitt trigger.")
disp(" R1 = 100 k-ohm, R2 = 1 k-ohm")
vut=13.5*(1/100)
format(6)
disp(vut,"Therefore, V_UT(in V) = +V_sat * R2/R1 =")
vlt=-13.5*(1/100)
disp(vlt,"Therefore, V_LT(in V) = -V_sat * R2/R1 ... |
71003a0d64cb46792dc8569ba4858752983cbb1c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/graph_2_mat.man.tst | d4f5714057560c88a22abf0afc630a384796028e | [
"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 | 106 | tst | graph_2_mat.man.tst | clear;lines(0);
g=load_graph(SCI+'/demos/metanet/colored');
a=graph_2_mat(g)
a=graph_2_mat(g,'node-node')
|
596c27484e7452ffc2fdd3bd7eb62dce27fa6fbd | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.12_1.tst | f26f056ee48c6af6cb7d8805fe87046c1ac02c4e | [] | 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 | 4,546 | tst | bow.12_1.tst | 12 4:0.2222222222222222 14:0.06666666666666667 64:1.0 69:0.2 265:1.0 386:2.0 469:1.0 554:1.0 953:1.0 1031:2.0 1275:1.0 1315:1.0 1481:1.0
12 4:0.1111111111111111 17:0.017543859649122806 30:0.2 146:1.0 236:0.5 316:1.0 386:1.0 901:1.0 1031:1.0 1337:1.0 1465:1.0
12 3:1.0 6:1.0 10:0.5 13:2.0 14:0.06666666666666667 17:0.1228... |
442a87a1f1237dfe0ef4bb641fe74c0a2f98c78e | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/squash-id.tst | 338cab5be5af4820750639929f42fb48dd4f9127 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 165 | tst | squash-id.tst | ## Test use of legacy IDs after a squash --delete
read <squash-id.svn
<3> squash --delete --quiet
<4> append "appended to legacy rev 4 comment\n"
prefer git
write -
|
605cbf92fc751add620ca2d99405971de9cccd60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.52/Ex1_52.sce | e8cc26cc34ecba71c4a1af02ee739f447795cfab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,146 | sce | Ex1_52.sce | clc;
// two transformers are connected in parallel and has following data
P1=100; // rated KVA of transformer 1
E11=6600; // rated primary voltage for transformer 1
E21=230; // rated secondary voltage for transformer 1
z1=1.5+4*%i // percentage leakage impedance for transformer 1
P2=200; // rated KVA of transform... |
cc95cf09f30eb1ea6d533b78a98c18e444e475d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.22/22.sce | b0d6c4bcf950d8c6274471aaf83c2bf478888df0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | 22.sce | clc
clear
//INPUT DATA
r=1.2*10^-10//atomic radius of crystal of BCC structure in m
//CALCULATION
a=((4*r)/sqrt(3))//lattice constant of BCC structure in m
V=((a*a*a)/10^-29)//The volume of cell in m^3*10^-29
//OUTPUT
printf('The volume of cell is %3.3f*10^-29 m^3',V)
|
91fc94ccad7f2e94507ce6b769e2d394afb23ecd | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH4/EX4.2/4_2_Theoretical_Problem.sce | 21ba9886b703fa331f4fa0aa01e094bb119d1e3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | 4_2_Theoretical_Problem.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 4.2 Page 218 \n')// Example 4.2
//Theoretical Problem
printf('\n The given example is theoretical and does not involve any numerical computation')
//End
|
6a503a6bbb9bd91d05d978951a1715fc1dcde1ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH3/EX3.14/Ex3_14.sce | 3ed84b0916a68d3d99d44230d1224e186e034683 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_14.sce | //Example 3.14 (a)//
a=2;//given
rw=0.137;//nm // atomic radius of Tungsten
r=a*rw
mprintf("r = %f nm",r)
r1=1/(r) //Taking inverse of r
mprintf("\nr1 = %f atoms/nm",r1)
//Example 3.14 (b)
b=0.143;// atomic radius of Aluminium
a1=(4*b)/(sqrt(2)) //Face centered cubic
mprintf("\n a1 = %f nm",a1)
r2=sqrt(3)*a1; //body d... |
ce3d6b135a94bd5fa283888cce66d6750c077649 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH8/EX8.4/Ex8_4.sce | 9ae19299522c3217eafa0378e350c88f23b52f8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Ex8_4.sce | //Example No.8.4.
//Page No.232.
clc;clear;
ue = 0.0035*10^(3);// mobility of electron
E = 0.5;//Electric field strength
vd = ue*E;
printf("\nThe drift velocity of the electron is %.2f m/s",vd);
|
92603d23f7e8ab6f148542fcb33c1fc6d391a54b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH9/EX9.7/9_7.sce | 72c6a93018a19d979b86b1e899b630c415d8d53f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_7.sce | clear
clc
z=[
%i*1 0 0 0 0
0 %i*.4 %i*.2 0 0
0 %i*.2 %i*.5 0 0
0 0 0 %i*.2 0
0 0 0 0 %i*.25
]
y=inv(z)
A=[
1 0 0 0
-1 1 0 0
-1 0 1 0
0 0 1 -1
0 -1 0 -1
]
Y=A'*y*A
disp(Y)
|
c85480d4dc0c489d3f27b63d578bc1d1924adbae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH4/EX4.21/4_21.sce | 9bdb5e85389660376acdc656b4adfd2df13a90d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 4_21.sce | clc
//initialisation of variables
Cd= 0.62
H1= 6 //ft
H2= 3 //ft
H= 4 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
Q1= 2*Cd*H*sqrt(2*g)*(H^1.5-H2^1.5)/3
Q2= Cd*H*(H1-H)*sqrt(2*g*H)
Q= Q1+Q2
//RESULTS
printf ('Total discharge= %.f cuses',Q)
|
56ba6dd5152e935e95943d4d4c9093fde9d1fa23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH8/EX8.2/eg_8_2.sce | 5f046e58ab3db04516668e63fdd7607f9344bab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 778 | sce | eg_8_2.sce | clc;
clear;
disp("To prove whether there possibiliy of identifing the fault by sensitising just a single path");
disp("Let us sensitize the path G3 G6 G9");
disp("This requires G6=1 , G10=0 , G11=0 ,G8=0 ");
disp("Which inturn requires x2=0 and x3=0 (since G6=1)");
disp("G10=0 impiles that x4=1 regardless of whet... |
6e19707548d0802c20f99ac50c0903b3b7ed425b | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Ripper-C/results/Ripper-C.abalone-10-1tra/result1s0.tst | 8187b4a4319baac5fe59a6d1e856c8fe63bc82ea | [] | 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 | 2,578 | tst | result1s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
f626ea880fa354482f0b362f38f97ba5a1e2e0fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH5/EX5.7.2/Ex5_9.sce | 3c7585937f9413771e2c6323c7c306d99ef3fcc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,582 | sce | Ex5_9.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 5.7.2\n')
//given data
W1=220*2*%pi/60//vibrating frequency at 220 RPM (in rad/sec)
W2=W1//frequency to which the spring mass system is tuned to.
M2=1//mass in spring mass system in kgs
N1=188//first resonant freq of spring mass system in cpm
N2=2... |
51b561783a0475b383c3c25073ef79064ab883fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH16/EX16.3/Ex16_3.sce | 417d056e1f1b3372b8b1f4b2c70a96bf942cffd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Ex16_3.sce |
//Example 16_3
clc();
clear;
//To find the speed of an electron
e=1.6*10^-19 //Units in C
vab=45 //Units in V
m=9.11*10^-31 //Units in Kg
va=sqrt((2*e*vab)/m) //Units in meters/sec
printf("The speed of the electron is Vab=%.2f meters/sec",va)
|
b8260483197eac156293813f9111375d17b7fb05 | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial01-Basics/Scilab_code/mystdev.sci | 53849a465c1abd42c51533aa8186d890d2e5eec7 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sci | mystdev.sci | //A function to compute standard deviation of a given data
//Input: Data (a vector) and mean of the data as input
//Output: standard deviation of the data
function standard_dev = mystdev(data,mean_of_data)
temp = (data - mean_of_data*ones(length(data)))^2;
standard_dev = sqrt(sum(temp)/(length(data)-1));
endfu... |
ad70653d0d4ee17387636947bbd5a04676dcf963 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introductory_Fluid_Mechanics_J._Katz_2783.zip/Introductory_Fluid_Mechanics_J._Katz_2783/CH3/EX3.4/Ex3_4.sce | 71936f98aaca9bcc23044c74010bc9899d4b1e37 | [] | 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 | 261 | sce | Ex3_4.sce | errcatch(-1,"stop");mode(2);
//initialization of new variables
F=20.9 //N
Vc=310 //cm^3
rho_w=1000 //kg/m^3
g=9.8 //m/s^2
//calculations
Wc=F+rho_w*g*Vc*10^-6
rho_c=Wc/(Vc*10^-6*g)
//result
printf('The crown density is %d kg/m^3',rho_c)
exit();
|
951cfebcf7e30c286728fc9a3ccde06f5855dab1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH8/EX8.5/Exa8_5.sce | 799aa6c62b0ebedc2ee083e09a2353821f77ae9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 885 | sce | Exa8_5.sce | //Exa 8.5
clc;
clear;
close;
//Alternative 1: Old deisel Engine :
Pprice=50000;//in Rs
P=15000;//in Rs
F=8000;//in Rs
A=14000;//in Rs
i=15;//in % per annum
n=5;//in years
//Formula : (A/P,i,n) : ((i/100)*(1+i/100)^n)/(((1+i/100)^n)-1)
AE1=(P-F)*((i/100)*(1+i/100)^n)/(((1+i/100)^n)-1)+F*i/100+A;//in RS
dis... |
910ec15b3fe96adfe1010a897573c639853d4d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH5/EX5.15/ex_15.sce | c7721e1e6160258c436ee26cf2ef266372417a73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | ex_15.sce | //Example 15 // Energy radiated and energy current
clc;
clear;
close;
//given data :
p=1.29;// in kg/m^3
a=.15*10^-2;// in m/s
n=76;// in Hz
E=2*%pi^2*n^2*a^2*p;
disp(E,"(a). Energy radiated,E(J/m^3) = ")
v=332;// in m/s
Ev=E*v;
disp(Ev,"(b). The energy current,Ev(W/s) = ")
// energy current is calculated wrong in the... |
21b45d76248d8065a8452f6ae79fe3590def902f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH3/EX3.2/3_2.sce | 49b0245a0d83a79db6e5e5ba1725e93abeeb7399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | 3_2.sce | clear;
clc;
Zo=50;Vr=10;Ir=0;a=0;
B=%pi/4;
V=(Vr*cos(B))+(%i*(Ir*Zo*sin(B)));
I=(Ir*cos(B))+(%i*((Vr*sin(B))/Zo));
C=real(I);
D=imag(I);
printf("-R.m.s.voltage at the required distance is V = %f volts\n",round((V)*100)/100);
printf("-R.m.s.current at required distance is I = %f /_ %f Amps",round(abs(I)*1000)/... |
1a5100be27e2732ab4af1fd80fa1a4240da1be95 | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/sessao05.sce | 4346c73eeaea30329be429f5ea7436694bc11b73 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | sessao05.sce | mode(7);
// Primeira sessao no Scilab (parte 5)
// salvando o ambiente no arquivo de nome : meuarquivo
save('meuarquivo')
// Solicita ao sistema operacional um comando de sistema
unix_s('rm meuarquivo')
// Solicita ao sistema operacional um comando, sendo que
// a saida deve ser na janela do scilab
unix_w('date... |
831225d367965f46170f1bb3f8a95b132e78c745 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH2/EX2.10/ch2_10.sce | 390cc3c5efb83dccff750780315f51cde61c6d42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,198 | sce | ch2_10.sce | clc;
clear;
printf("\t\t\tChapter2_example10\n\n\n");
// determination of optimum fin length and heat transferred by fin
k=8.32; // thermal conductivity of Type 304 stainless steel in BTU/(hr.ft.degree Rankine)from appendix table B2
hc=400; // the convective heat transfer coefficient given in BTU/(hr.ft^2. degree ... |
583ede19f5d67357fb34026dc8ba160dd6753dd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH3/EX3.12/Ex3_12.sce | 4ab40873c7cff47a7fb41f264a59ab3296dd5636 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex3_12.sce | clc
//Chapter3
//Ex_12
//Given
x=9
for n1=1:x
for n2=1:x
for n3=1:x
y=n1^2+n2^2+n3^2 //let y=N^2=n1^2+n2^2+n3^2
if (y==41)
mprintf('%d\t%d\t%d\n',n1 ,n2 ,n3 )
end;
end
end
end
disp("Thus there are nine possible states")
|
0362e10d18a6c28926d57bb4588b51c6a5d5fcaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH3/EX3.22/ex_3_22.sce | ec29f33cee6f25ac7751ba2e363c8c4c5c53e454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | sce | ex_3_22.sce | syms t s a
x=ilaplace((s+a)^-2)
disp(x*'u(t)',"x(t)=") |
734118e5b8981b1b42d1be88c9656423b4c5838e | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH1/EX1.5/1_5.sci | 9b9b68e178f4903d6c24b5e2e3580b5573b44474 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sci | 1_5.sci | clc();
clear;
//To determine the frequency of ultrasonic waves
Y=77*(10^10); //Youngs modulus for quartz in dyne/cm^2
rho=2.6; //density of quartz in g/cm^3
t=0.4; //thickness in cm
f=((1/(2*t))*sqrt(Y/rho))*10^-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.