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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
95c13819d15713da3d650f39806a7b07a1c78e0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH3/EX3.5/Ex3_5.sci | 37f2a4f234c4cbee6ef4f1d1901957f46a0279bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,179 | sci | Ex3_5.sci | clc;
clear;
// To find the tempearure difference in the plane wall with heat sources
d1 = 0.55; // Inside diameter of copper wire
d2 = 0.8; // Outside diameter of copper wire
phi = 0.6; // Fraction of copper in wire
j = 1300; ... |
479a1b1d1559199e646ccc95113e93922e3f5185 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH3/EX3.15/3_15.sce | 2afe0f3753cd9f8c7ed2023dfdc0e87c73969f68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | 3_15.sce | pathname=get_absolute_file_path('3_15.sce')
filename=pathname+filesep()+'3_15_data.sci'
exec(filename)
//Efficiency of diesel cycle
n=1-((1/(r^(y-1)*y))*(((rc^y)-1)/((rc-1))))
printf("\n\nRESULTS\n\n")
printf("\nEfficiency of diesel engine:%f\n",n*100) |
ccf5ca87a3b8ea05aec349e79c530500b3ecbc10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH3/EX3.9/MS_9.sce | fb87986acf078b47ec22c410c6d52409cd3893d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | MS_9.sce | // sum 3-9
clc;
clear;
E=200*10^3;
v=0.29;
E1=720*10^-6;
E2=560*10^-6;
p1=121.76;
p2=-76.69;
// printing data in scilab o/p window
printf("p1 is %f MN/mm^2 ",p1);
printf("\n p2 is %f MN/mm^2 ",p2); |
12ca26f45e1e9ea75aa4ebb4a8192bbc9b82adb4 | ab34993146ea6a54f29fa5da0311aa2d0e8bfa6e | /blur_resh/test_blur.sce | b7878492ee155a2aac0af35293178982cdbd6987 | [] | no_license | Lavitha/Imageprocessing_Nov26 | 576e0980836ce39832403a03f26b39cbdc71142b | 9939837f7a0badea463c0db8353b3d25afa9c091 | refs/heads/master | 2021-01-10T16:54:47.481208 | 2015-11-26T11:13:52 | 2015-11-26T11:13:52 | 46,921,766 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sce | test_blur.sce | aaa=imread("cat.jpeg")
bbb=imread("lenaj.jpeg")
ccc=imread("lenab.bmp")
ddd=imread("lenat.tif")
eee=imread("rect.jpg")
aa=blur(aaa,6,6,-1,-1);
bb=blur(bbb,6,6,-1,-1);
cc=blur(ccc,6,6,-1,-1);
dd=blur(ddd,6,6,-1,-1);
ee=blur(eee,6,6,-1,-1);
loadmatfile("m_cat.mat")
x=list(a1(:,:,1),a1(:,:,2),a1(:,:,3))
loadmatfile("... |
476e4cf22c6ebd2562782de9d6ad1d0a893ac23e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH7/EX7.4/Ex7_4.sce | a5da6d2cdf0e292a868d6eb15a9a8ac502d3e980 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | Ex7_4.sce | clear;
clc;
//page no. 240
G = 240;//lb/sec
A1 = 4;//sqft
A2 = 2;//sqft
z1 = 30;//ft
z2 = 80;//ft
V1 = 600;// fps
V2 = 800;//fps
p1 = 20;//psia
p2 = 35;// psia
gam1 = G/(A1*V1);
gam2 = G/(A2*V2);
T1 = p1*144/(53.3*gam1);
T2 = p2*144/(53.3*gam2);
del_H = 186.5*(T2-T1);
E_H1 = (V2^2)/(2*32.2) - (V1^2... |
ff134b539bf3e700f9f677e2a0d6f5610f28241e | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH8/EX8.6/exm8_6.sce | 11c0e0a728e2091175bd628c72fe3009380c9872 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exm8_6.sce | // Example 8.6
//Write a program which would print the alphabet set a to z A to Z in decimal-
//character form.
for c=65:122
if(c>90&c<97) then
continue; //Terminate current iteration
end
c1=ascii(c); //Convert ascii value to character
printf("|%4d... |
5b39bc7ed6d359b11a5251ef240cef276591282a | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.54/54.sci | c6193bf4070b86b71de5216299b854d174e9278b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sci | 54.sci | clc;
clear all;
disp("heat loss from duct")
m=0.06;//kg/s
d=180/1000;// m diameter
ts=110;// degree C temperature of air entering
L=4.5;//m length
t=70;// degree C temperature of cooled air
ta=5;// degree C ambient temperature
ho=6.5;// W/m^2.C
tb=(ts+t)/2;// bulk temperature
rho=0.972;// kg/m^3
cp=1009;// ... |
001e13e35ee17e2389dfbb09ebca6ffe8bb558e0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/FILE_f.sci | ee5503e26a7706d80c971fb4396533645c302843 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,292 | sci | FILE_f.sci | function [x,y,typ]=WFILE_f(job,arg1,arg2)
x=[];y=[];typ=[]
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz,orient,label]=graphics(1:4)
xstringb(orig(1),orig(2),'WFile',sz(1),sz(2),'fill')
case 'getinputs' then
[x,y,typ]=standard_inputs(o)
case 'getoutputs' then
x=[];y=[];typ=[];
cas... |
847ba914d7dcf0496c89554fbbd4ba432f4befa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH9/EX9.1/Ex9_1.sce | 69f19a84e792a8e7a837adde848c31fd65cf2822 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | Ex9_1.sce | //fiber optic communications by joseph c. palais
//example 9.1
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
LE=1//coupler has excess loss of 1dB
P2byP1=(10^(-LE/10))/2//since P2/P1 is equal to P3/p1 since spliting ratio is 1:1
Ltap=-10*log10(P2byP1)//Taploss in dB
Lthp=-10*log10(P2byP1)//t... |
a5fe3cec48c46f639d9a5603bd16032185272a95 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/sci2for/num2f.sci | 7867b979c53fc11b0e6cc2650c992a96133794cc | [
"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 | 204 | sci | num2f.sci | function [stk,top]=num2f(val,stk)
// traduit la definition d'un nombre
//!
top=top+1
nn=length(val);typ='0'
for k=1:nn
if part(val,k)=='.' then typ='1',break,end
end
stk(top)=list(val,'0',typ,'1','1')
|
8769684eacd299e8506b55b7e2dc3c0940bc112f | 848985a0f79ca7b51ae07d2a69da499a3093257a | /Assignment-1/LUDecomposition.sce | 18637261986dce921a16cea7b2e34198e6fd3695 | [] | no_license | Gituser143/Linear-Alegebra-SciLab-Assignment | db69f6cf6a2431e553dbd1f067a329dcb7979f41 | 6eef13de5aa3b2f45b0faaff826648738985377a | refs/heads/master | 2020-12-30T04:18:21.185190 | 2020-04-04T07:24:22 | 2020-04-04T07:24:22 | 238,857,772 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | LUDecomposition.sce | A=[2, 1, 1; 4, -6, 0; -2, 7, 2];
U=A;
disp(A, 'The given matrix is A=');
m=det(U(1,1));
n=det(U(2,1));
a=n/m;
U(2,:)=U(2, :) - U(1,:)/(m/n);
n=det(U(3,1));
b=n/m;
U(3,:)=U(3,:) - U(1,:)/(m/n);
m=det(U(2,2));
n=det(U(3,2));
c=n/m;
U(3,:)=U(3,:) - U(2,:)/(m/n);
disp(U, 'The upper triangular matrix is U=')
L=[1,0,0;a,1,0... |
393cd3d24c37dc48870e0720e9ce62703ad2ac98 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Ripper-C/results/Ripper-C.abalone-10-1tra/result6s0.tst | 4ec65933a4d5a8218b1a24d3dfa477c79c919ccf | [] | 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,601 | tst | result6s0.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]... |
ce74c501abaa91f45ea0fe970815d18b4b7d2289 | f6b3a0c494772f6ca78e2f620df06d393dafcc51 | /sc.sce | e552798d3ce7886bbba1aae2db409eb6c886cb06 | [] | no_license | rishabhthecoder/scilab | f914595f7af9682a731f49fc1203925c9529297a | f0460b09d16d7349f408183d4089553360ca4ba5 | refs/heads/master | 2020-03-31T05:47:43.762852 | 2018-10-07T16:06:20 | 2018-10-07T16:06:20 | 151,958,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | sc.sce | //prolem cylinder x^2+y^2=4
//z=0to4
t=linspace(0,2*%pi,100)
x1=linspace(0,0,100);
[T,X1]=meshgrid(t,x1);
x=2.*cos(T);
y=2.*sin(T);
Z=X1;
surf(x,y,Z)
|
19fbedcf5bf569bb8c16e25d6792b25e0d1a2306 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH9/EX9.2/PLLA_Ex_9_2.sce | 194b35628bb66c7156a94f78e1b77f29e286a64c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | PLLA_Ex_9_2.sce | clc
//chapter 9: Stability Analysis
//Example 9.2 page no 357
//given
Kv=50//DC gain
wL=10//corner frequency
disp('The system crossover frequecny is approximately 22 rad/s')
PhaseMargin=90-(atan(22/wL)*180/%pi)//phase margin of system
disp(PhaseMargin,'The phase margin is ')
|
9dbf5410983411312711076ffa4f14d119fa56c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.2/2_2.sce | 3b88cce90ed03659a6d439284f1299c79424af0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | 2_2.sce | //Chapter-2,Example 2_2,Page 2-30
clc()
//Given Data:
m=1 //order
lam=6.5*10^-7 //Wavelength of red light
theta=30*%pi/180 //angle of diffraction
//Calculations:
//We know, a*sin(theta)=m*lam
a=m*lam/sin(theta) //width of slit
printf('width of slit is = %.7f m',a)
|
a8a914b90a86d6fa78f289a13af24e545cfc29bb | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/phasez/phasez3.sce | 5666c162c14e0d31f48d77b53815c2fb1d1b3c6a | [] | 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 | 543 | sce | phasez3.sce | //i/p arg b contains imaginary element
b=[1 2 3 5*%i 6 7];
a=[2 3 4 5 7 8];
n=10;
[phi,w] = phasez(b,a,n);
disp(phi);
disp(w);
//output
//!--error 117
//List element number 1 is Undefined.
//at line 69 of function phasez called by :
//[phi,w] = phasez(b,a,n);
//matlab o/p
// 0.2573
// 0.2055
// 0.2119
/... |
02ef80020e36b6ac8197a8527684bc24bdbd6fc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH7/EX7.11/Ex7_11.sce | c1d8b38822ba0f840723497aa696a4e9953364e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | Ex7_11.sce |
clc
//initialisation of variables
h1=1279.1 //ft/lbm
s1=1.7085//ft/lbm
x=0.1210 //Btu/lbm
h2=1116.2-x*(1022.2) //Btu/lbm
W=h1-h2 //Btu/lbm
Wa=172 //Btu/lbm
//CALCULATIONS
Nth=Wa/W*100//per cent
//RESULTS
printf('the efficiency of turbine =% f per cent',Nth)
|
2ca5f9f49ad1bc401948818ae49555926159e63c | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2302.sce | 7b6038f10dbdabb256f64b43c36d0aa6b00ba538 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 5,318 | sce | map2302.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2302" Width="13" Height="17" CellSize="40" BackgroundSize="1" Background="15plus.png">
<Cell Name="房子" X="7" Y="1" />
<Cell Name="房子" X="1" Y="2" />
<Cell Name="雪人" X="2" Y="2" />
<Cell Name="房子" X="3" Y="2" />
<Cell Name="房子" X="4" Y="2" />
<Cell Na... |
1db2db0ff1fa320cde5a6dc4501d60eda9509a5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH11/EX11.3/11_3.sce | 2a092759220daa8edadb6e520d0842881e6f1d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | 11_3.sce | clc
//initialisation of variables
M1= 238 //gms
M2= 235 //gms
A= 6
N= 19
//CALCULATIONS
r= sqrt((M1+A*N)/(M2+A*N))
//RESULTS
printf ('ratio of rates= %.4f ',r)
|
0a3ba814161978aa54673de5b1f5522e17e9744a | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH13/EX13.6/example13_6.sce | 457de640560dbd1f11570ab3841528f1189cf89b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | example13_6.sce | clear;
clc;
//Example13.6[Radiation Heat Transfer in a Black Furnace]
//Given:-
F12=0.2;
A=5*5;//Area of 1 surface of cube[m^2]
Tb=800,Tt=1500,Ts=500;//Temperature of base top and the side surfaces of the furbace[K]
//Solution:-
F11=0;
Q11=0;
F13=1-F11-F12;
Q13=A*F13*(5.67*10^(-8))*((Tb^4)-(Ts^4));//[kW]
... |
67921f26d3205047fe17905e1c980574eb849c3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH17/EX17.2w/17_2w.sce | c959f8505d669a78ca62c5c9267808fea395bceb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 17_2w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 17.2w
//calculation of the refractive index of the glass
//given data
x1=2//distance(in cm)travelled through the glass
x2=2.25//distance(in cm)travelled through the water
muw=1.33//refractive index of water
//calc... |
e652bc12c42dcd18ac0c19d628c376151768092b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH5/EX5.30/s30.sce | eac28c35d30804dfe7a28371ac9a564bf7a4cafc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | s30.sce | s=%s;
H=syslin('c',1/(s*(s+2)))
nyquist(H)
show_margins(H,'nyquist')
printf("Since P=1 and the pt. -1+j0 is encircled once by the locus")
printf("Hence N=1 therefore, Z=0(no of zeros in RHP)")
printf("System is stable")
gm=g_margin(H) // gain margin
pm=p_margin(H) // phase margin
|
8b69b26fa91dd8635a77890434b0ebd6c6854822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH3/EX3.1/Ex3_1.sce | 9537c32287e4e785566fcae86982a23d6eb6fc2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | Ex3_1.sce |
//Variable Declaration
Pss=-90 //Location of geostationary satellite(degrees)
PE=-100 //Longitude of the earth station antenna(degrees)
LE=35 //Latitude of the earth station antenna(degrees)
//Calculation
B=PE-Pss //Angle between planes containing a and c(degrees)
b=acos(cos(B)*cos(LE)) //Angle of plane c... |
ba7718880c1f10df5e48cea003ef525c8d2a2890 | 448970a51f33c84b537772b10ef3e26c165eda01 | /PCB/Spy_talk/PCB/vbreport/work/VBPCBP.TST | 48b49c6ad86f3305da968c52bbd088431a9fc580 | [] | no_license | ghsecuritylab/ZeROSEro7 | 90057b21d569cf7eb3f1495ec5d437436f0bc622 | 4a940302386d6b9312b8e835a7c6c790817c1b52 | refs/heads/master | 2021-02-26T14:28:37.967676 | 2018-02-02T03:20:59 | 2018-02-02T03:20:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,377 | tst | VBPCBP.TST | CellID CellName CompType MountType Verified NoPins GlueX GlueY AssemblyX AssemblyY Height TimeStamp History Description ... |
deac41ae2a27c3df974374984eefd8c855627819 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH14/EX14.5/ex_14_5.sce | 169f8310100daa1ad8dabc87fa279afa1b2ba750 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 780 | sce | ex_14_5.sce | //example 14.5//
clc
//clears the screen//
clear
//clears all existing variables//
disp('For address inputs (00000000)2 to (00001111)2, RAM-1 and RAM-2 are selected. RAM-1 stores higher four bits and RAM-2 stores lower 4 bits of data words corresponding to 16 address inputs mentioned above. This gives us a capacit... |
530db35d8e860a1bac43b967cf11dfd68c3ac407 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/jacobians/jacobians.sci | 84b99b0d7483d575df1d7d977f434e6ccc785283 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32,395 | sci | jacobians.sci | // Data Reconciliation Benchmark and GED Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
//Rao, R Ramesh, and Shankar Narasimhan. 1996.
//“Comparison of Techniques for Data Reconciliation of Multicomponent Processes.”
//Industrial &... |
6e398af246d5eed5772188ca77c0571359ce6f5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH7/EX7.6/Ex7_6.sce | c9f93e1369431257f369cb554866263c45223514 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | Ex7_6.sce | //Example 7_6
clc;clear;
// Given values
// Properties
//For air at atmospheric pressure and at T = 25°C
T=25;//degree celsius
rho_p=1.184;//kg/m^3
mu_p=1.849*10^-5;//kg/m.s
V_p=50;//Speed in mi/h
//Similarly,at T=5°C
T=5;//degree celsius
rho_m=1.269;//kg/m^3
mu_m=1.754*10^-5;// kg/m.s
V_m=221;//mi/h
// (... |
91829b0348d341ba132fd8067137e58acdcb925f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.66.c/ex_3_66_c.sce | 679d9e47398f3d15d028973f4a07c12733d34b5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | ex_3_66_c.sce | //Example 3.66.c:voltage
clc;
clear;
close;
zbc=1000;//ohms
f=1;//kHz
cda=0.2*10^-6;//micro-F
zab=500;//ohms
zda=(-%i/(2*%pi*f*10^3*cda));//
zcd=(zbc*zda)/zab;//
cx=-1/(2*%pi*f*10^3*imag(zcd));//
rba=1002;//ohms
v1=10;//volts
iba=v1/(zab-(%i/(2*%pi*10^3*cda)));//
vba=zab*iba;//
v2=sqrt(real(vba)^2+imag(vba)^2);//volts
... |
bea7546acc6b9914a5a6d2a71c8dc9bd613911f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH2/EX2.16/ex2_16.sce | 6e81e545704ae8ee024301ff2aa241cf15e87e30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | ex2_16.sce | // Exa 2.16
clc;
clear;
close;
// Given data
d = 4.2*10^28;// in atoms/m^3
n_d = d/10^6;// in atoms/m^3
e = 1.6*10^-19;// in C
Miu_e = 0.36;// in m^2/V-sec
Sigma_n = n_d *e *Miu_e;// in mho/m
Rho_n = 1/Sigma_n;// in ohm m
disp(Rho_n,"The resistivity in Ωm is");
|
5da662f06d4c252d51eb6dea32b68ce688bd6da7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH9/EX9.10/Ex9_10.sce | f08f1c72c8bf597ed704c534a8adafaa7b04d0f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Ex9_10.sce | clc
clear
//Initialization of variables
pb=14.696 //psia
pa=150 //psia
tb=300 //F
//calculations
disp("From steam tables,")
hb=1192.8 //Btu/lbm
ha=hb
hf=330.51 //Btu/lbm
hfg=863.6 //Btu/lbm
x=(ha-hf)/hfg
//results
printf("Quality of wet steam = %.1f percent",x*100)
|
2d53d29359ebbc5ab8419133404ad1b6daad4025 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH4/EX4.6a/eg4_6a.sce | 590bd709ce57d64835f2c5cf240ebb155b35ec3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | eg4_6a.sce | probXequalsi = 1/6;
expecXsquared = 0;
for n=1:6
expecXsquared = expecXsquared + (n*n*probXequalsi)
end
expecX= 3.5 // from eg 4.4a
var = expecXsquared - (expecX^2);
disp(var, "The variance is")
|
fd4a93067bd886270c493003b069a66dc7e8b92d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH5/EX5.15/5_15.sce | 74969e683021f7e53f86e67fd6585b7e0d5df6bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 936 | sce | 5_15.sce | //Example5.15 // Determine the loop gain of compensated network
clc;
clear;
close;
C = 0.0025*10^-6 ; // farad
R = 10*10^3 ; // ohm
F = 1*10^6 ; // Hz
Ac1 = 100 ;
angle1 = 90 ;
// the close loop gain of a compensated network is defined as
// Ac = Acl*Acom ;
//Acom = 1/(1+%(F/FL));
FL = 1/(2*3.14... |
e94716bf57f0ffad2c1acb67897cbad3392b497a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.4/ex9_4.sce | 61ec6e1405d545b6a7d525115024435571fa3e81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | ex9_4.sce | // Exa 9.4
clc;
clear;
close;
format('v',6)
// Given data
Rating = 25;// in KVA
f = 50;// in Hz
Io = 15;// in A
Wo = 350;// in W
Vo = 230;// in V
// No load power factor
phi_o = acosd(Wo/(Vo*Io));
// active component of current
Ic = Io*cosd(phi_o);// in A
disp(Ic,"The active component of current in A is... |
be9d5d03342e98519e003f36c79f358a415759b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.16/ex_4_16.sce | ff0fdac32da67af17d9b1cd1883b913e8bd35b56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | ex_4_16.sce | //Example 4.16 //illumination midway between lamps
clc;
clear;
close;
format('v',5 )
CP=400;//
h=10;//in meter
d=20;// meter
x=sqrt(d^2-h^2);//
ee=4*((CP/h^2)*(h/x)^3);//illumination at the centrelamp in lux
disp(ee,"illumination in the middle in lux")
|
a4dac4826c1e5bc341877e4ed9745a2670dd4364 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/detailEnhance/test7.sce | df5f43e0ac03532b9e66cc859f75b16ac135bfb1 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 96 | sce | test7.sce | src = imread("../images/image_0197.jpg");
output = detailEnhance(src,50, 0.3 );
imshow(output);
|
34cc2302c2cb7e9ee5778d748b129fa07b010704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH2/EX2.4/2_4.sce | 0c9fa490572e5a3144802f1fd8b5ed20545499fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | 2_4.sce | //2.4
clc;
Vm=100;
R=5;
Idc=2*Vm/(%pi*R);
printf("\nIdc = %.3f A",Idc)
Vdc=Idc*R;
printf("\nVdc = %.3f V",Vdc)
Irms=0.707*Vm/R;
printf("\nIrms = %.3f A",Irms)
Vrms=Irms*R;
printf("\nVrms = %.3f V",Vrms)
Pdc=Idc^2*R;
printf("\nPdc = %.3f W",Pdc)
Pac=Irms^2*R;
printf("\nPac = %.3f W",Pac)
FF=Vrms/Vdc;
pr... |
bd58efb91dbfc2d859b5e84858c1a517c2c2333e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH11/EX11.2/Ex11_2.sce | 081dcf9dbb50a86fb2b85e4ecfce0f7dc6354422 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,188 | sce | Ex11_2.sce |
clc
clear
//Input data
p1=0.97//Pressure in bar
t1=30+273//Temperature in K
p2=2.1//Pressure in bar
af=18//Air fuel ratio
t3=580+273//Temperature in K
p3=1.9//Pressure in bar
p4=1.06//Pressure in bar
iec=0.75//Isentropic efficiency of compressor
iet=0.85//Isentropic efficiency of turbine
cpa=1.01//Specific... |
02f9a68322ea46b5f5a0e00d2cf1737ad2a31b1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.2/Ex13_2.sce | 6def96f748251c6e159303e745f394322de0b44f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex13_2.sce | //EX13_2 PG-13.3
clc
clear
disp("Representation of the binary number 1101.101 in power of 2")
disp("N=(1*2^3)+(1*2^2)+(0*2^1)+(1*2^0)+(1*2^(-1))+(0*2^(-2))+(1*2^(-3))=13.625")
N=(1*2^3)+(1*2^2)+(0*2^1)+(1*2^0)+(1*2^(-1))+(0*2^(-2))+(1*2^(-3))
printf("\n The decimal equivalent of binary no 1101.101 is: %.3f",N)
|
7e6ac379275b9c29869db6cd84674a2ef9e58e2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH18/EX18.6/Ex18_6.sce | ada7547978cb97c33b57a120d99aa080474f4d58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex18_6.sce | // Initilization of variables
e=0.8 // coefficient of restitution
g=9.81 // m/s^2 // acc due to gravity
// Calcuations
// Squaring eqn's 1 &2 and Solving eqn's 1 & 2 using matrix for the value of h
A=[-1 (2*g);-1 -(1.28*g)]
B=[0.945^2;(-0.4*9.81)]
C=inv(A)*B // m
// Results
clc
printf('The height from which t... |
fedde4a8a5366532ee4ab3edc5e0ed77ffc3c1b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH3/EX3.3/EX3_3.sce | 1558af4ca7e3433ccdf49cbd09c5682409ad4544 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | EX3_3.sce | // Example 3.3
// Computation of (a) Buck boost transformer parameters
// (b) Repeating the same assuming utilization voltage as 246V
// Page No. 102
clc;
clear;
close;
// Given data
S=10000; // Supply voltage
VLS=212; // Voltage at the low side
VHSNEW=246; // New volt... |
32b4fa023f7071219faaab54bea9ac6744e20ce6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH17/EX17.2/Ex17_2.sce | afd18e571b8ec686fd585a1057a503b7f07a55f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | Ex17_2.sce | //Calculate the Force Constant of the HCl molucule
//Example 17.2
clc;
clear;
c=3.00*10^10; //Speed of light in cm s^-1
newbar=2886; //Frequency in cm^-1
new=c*newbar; //Frequency in Hz
m1=1.008; //Mass of the Hydrogen atom in amu
m2=34.97; //Mass of the Chlorine atom in amu
mew=(m1*m2*1.661... |
4af37a4f5a2a0b7284e8551f748a432462c377f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH7/EX7.7/exa_7_7.sce | ea0c1f66eea9e13c857b63fe6f55cb648f701fec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_7_7.sce | // Exa 7.7
clc;
clear;
close;
//given data
fo= 318;// in Hz
C= 0.015;// in microF
C=C*10^-6;// in F
R=0.159/(fo*C);// in ohm
R=R*10^-3;// in kohm
R=floor(R);
disp(C*10^6,"Value of C1, C2 and C3 in micro F");
disp(R,"Value of R1, R2 and R3 in kohm")
|
d69ac4645c9ad1e738d3974b3eec18758f0c24c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH6/EX6.17/6_17.sce | 604547149b918b50a60072a3b7d976f29aeaeb07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | 6_17.sce | clc
//initialisation of variables
b= 150 //ft
d= 12 //ft
N= 0.03
i= 1/10000
h= 10 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
A= b*d
P= b+2*d
m= A/P
v= m^(2/3)*1.49*i^0.5/N
A1= b*(h+d)
P1= b+2*(h+d)
m1= A1/P1
C1= 1.49*m1^(1/6)/N
v1= A*v/A1
s= (i-(v1^2/(C1^2*m1)))/(1-(v1^2/(g*(h+d))))
L= 2*h/s
//RESULTS
... |
f1014507ad064cf0d1cad095a89f5c538b00450d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH8/EX8.13/13.sce | 4998d63596dc3c419c2345b1f56900f9f7c443d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | 13.sce | clc
clear
//INPUT DATA
a=4*10^-9//width of potential well in m
n=1//For minimum energy n value
h=6.625*10^-34//Planck's constant in m^2 Kg /sec
m=9.11*10^-31//mass of electron in Kg
e=1.6*10^-19//charge of electron in coulombs
//CALCULATION
E=((n^2*h^2)/(8*m*a^2*e))//The lowest energy of electron in deep pot... |
8989d7ba86df775abe05eed449e9ed075d3a2e80 | 4da581946b1d34d19dde6701f7b0cb7a6b4f04cc | /moea_d_initialize.sci | 2f2616813b2a6eb054c5cb56d00cb02006611084 | [] | no_license | acdcsg66/my_master_research | 3d94069b54aa9edacd79511722c07b8b02d531b3 | f7d36bad83b6284ae50fe8efcbc92180652d3b78 | refs/heads/master | 2016-08-12T08:11:49.121756 | 2016-05-05T05:14:04 | 2016-05-05T05:14:04 | 51,115,104 | 0 | 0 | null | null | null | null | SHIFT_JIS | Scilab | false | false | 5,345 | sci | moea_d_initialize.sci | function moea_d_initialize
global objectives individuals rooms subproblem_fitness subproblem_weight subproblem_neighbors Pair children ..
generations rooms subproblem_neighbors subproblem_neighbor records weight weights
weight(:,:)=0; //MOEA/Dで使う重み
subproblem_neighbor(:,:,:)=0; //各個体は近隣の個体を交差させ子個体を生成.neighbor+1はアルゴリズ... |
4c79d5c3835498752f43db68515e6c5fa704b6da | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/931.sci | e8310717eccc462c190eb96d3e6bda146810f586 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sci | 931.sci | HCO2= -393.5 //Kj/mol
HH2O= -285.84 //Kj/mol
HC5H12= -173 //Kj/mol |
3590678c9fa3254be5dba367e7780151f778d111 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH12/EX12.1/12_1.sce | aea59816395f3b1193203006eb92522cae5fc51b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 12_1.sce | clc
//initialisation of variables
d= 0.0625 //in
sg= 0.91
vs= 1.62
ss= 7.85
g= 981 //cm/sec^2
//CALCULATIONS
v= 4*(d*2.54/2)^2*(ss-sg)*g/(3*6*30.45*vs)
//RESULTS
printf ('steady speed attained = %.4f ft/sec ',v)
|
3f1092bbab348d2e51bd755714f072fea9075429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.10/Ex6_10.sce | 634d1fc96ab75a10f8e121af10f17d56f8b0ad33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,442 | sce | Ex6_10.sce |
clc;
//from 6.9 problem
P=4;
r1=0.15;
x1=0.45;
r2=0.12;
x2=0.45;
Xm=28.5;
s=0.04;
V=400;
f=50;
Pfixed=400;
t=1.2; // rotor effective turns ratio
//for part a
//According to the conditions and diagram
t1=complex(r1,x1);
t2=complex(0,Xm);
t3=complex(r1,x2+Xm);
Ze=(t1*t2)/(t3);
Re=real(Ze);
Xe=... |
9302c7cd4b098e20d220b81b9bb77f462df8c01b | 376cc57931b03e132880ccde1bea275ddf5a546a | /Расчет рамы N134.sce | 15341cb3c6b858ebf7c9302351d34c855b4e0e2b | [] | no_license | andrew-timoschenko/Frame | ca94b201285ba2b0b0778795a3b14e7d9d28ed58 | d4ba345da12c5f79678ca0ba72d4147de3b39e57 | refs/heads/master | 2021-01-18T14:45:03.895854 | 2012-09-04T19:35:56 | 2012-09-04T19:35:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,305 | sce | Расчет рамы N134.sce | // Scilab ( http://www.scilab.org/ ) - This file is created for Scilab 5
// Copyright (C) 2011 - Andrew Timoschenko <andrew.timoschenko@yandex.ru>
// This file must be used under the terms of the (CC)BY-SA licence.
// Version 1.00 from 04/09/2012
// не проверен
// Определение усилий и моментов в раме по схем... |
4bd06139b6d662baf56ed461c5bcd2cfa1f6f7ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH6/EX6.22/Exmp6_22.sce | ccfa77828305db2d6a8aef066e29592600d21f2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Exmp6_22.sce | //Example 6.22
clc
disp("For a common collector configuration the voltage gain is 1")
disp("Therefore, V_in(peak) = V_out(peak) = 20 V")
disp("i.e. V_m = 20 V")
disp("Now V_m/I_m = R_L")
im=20/16
format(5)
disp(im,"Therefore, I_m(in A) = V_m/R_L =")
disp("while V_CC = 25 V")
pdc=(2*25*1.25)/%pi
format(8... |
9bd58f9a0e3bcbaf3eea48bd6bb984ff24b8beb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH3/EX3.4.4/Example3_12.sce | f01b5ce0b41b4e9ddcfa17fab8f7784bb056ffaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,024 | sce | Example3_12.sce | //Chapter-3,Example3_4_4,pg 3-12
wavelength=1*10^-6 //wavelength of light
d=6*10^-6 //diameter of core
n1=1.45 //refractive index of core
n2=1... |
5577f9547cdb41da0509edcb2023440b03e2ca12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.61/ex_1_61.sce | 29e4b2f3e3d4e78d57b0ff76fe16a845f63eda25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | ex_1_61.sce | //Example 1.61://standard deviation
clc;
clear;
u1=[550,700,850,1000];//
v1=[0.04182,0.04429,0.05529,0.0610];//
for i= 1:4
m(i)= u1(i)*v1(i)
d(i)= u1(i)^2;//
end
su= u1(1)+u1(2)+u1(3)+u1(4);
sv= v1(1)+v1(2)+v1(3)+v1(4);
sm=m(1)+m(2)+m(3)+m(4);//
sd=d(1)+d(2)+d(3)+d(4);//
a= ((4*sm)-(su*sv))/((4*sd)-(su)^2);//
b... |
cd0da677e8af9054485988faec4851bb30e418bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH2/EX2.16/Ex2_16.txt | eec1a66dec951bd6c95551c13749bad3feef5109 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | txt | Ex2_16.txt | //Ex:2.16
clc;
clear;
close;
D=20;// directivity
A=%pi*(D/2)^2;
f=4*10^3;// frequency in MHz
y=300/f;// wavelength in meter
n=0.55;// effeciency
G=(4*%pi*n*A)/y^2;// gain
Gdb=10*log(G)/log(10);// gain in dB
B_W=(70*y/D);// beamwidth of a paraboloidal reflector antenna
printf("The gain = %f dB", Gdb);
print... |
2686537f0b6ca546e988b5cb409185e6ef45332b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH5/EX5.6/Ex5_6.sce | 22ef15e71a0023285927ccd641f35fb60341dbff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,803 | sce | Ex5_6.sce | // Example no 5.6
// To determine proper spatial sampling interval for small scale propagation, number of samples required over 10m, time required to make these measurements and Doppler spread for this channel
// Page no. 204
clc;
clear all;
// Given data
fc=1900*10^6; ... |
b8583b55c67b26768efbb4cf7585af2fd4b333ea | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/fin.tst | 742cbd916d4cd6f69c33496e67f36de55751442d | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,100,081 | tst | fin.tst | sitronellaali sitronellaaleitta N;PRIV;PL
ponteva pontevaan ADJ;IN+ALL;SG
päämaja päämajojen N;GEN;PL
coquerelinkääpiömaki coquerelinkääpiömakeilla N;AT+ESS;PL
olympiapaikka olympiapaikkoihin N;IN+ALL;PL
megaspori megaspori N;NOM;SG
proportionaalinen proportionaalisissa ADJ;IN+ESS;PL
avittaa avitit V;IND;SG;2;POS;PST;A... |
f9e50b216b23cb3a4e0cbeccaae8b9e68ed4bd57 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3432/CH7/EX7.28/Ex7_28.sce | eda7f03da60c9d0c9a517174b7809d4fd1c0fe1a | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,624 | sce | Ex7_28.sce | //Example 7.28
// Full order compensator design for satellite attitude control.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
A=[0 1; 0 0];
B=[0 1]';
C=[1 0];
D=0;
n=sqrt(length(A));
//Desired poles for the sat... |
c82d6f0a475fd936d36186c0a45383443d116755 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testplot3d3.sce | faaaeddf1a5bbb15cafe0eeca4983edd2cc62fae | [] | 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 | 548 | sce | testplot3d3.sce | function [x,y,z]=torus(theta,phi)
R=1,r=0.2
x=(R+r*cos(phi)).*cos(theta)
y=(R+r*cos(phi)).*sin(theta)
z=r*sin(phi)
endfunction
// compute facets
phi=[0:0.1:2*3.15];
theta=[2*3.16:-0.1:0];
[x,y,z]=eval3dp(torus,theta,phi);
// surface display
clf;
subplot(121)
plot3d3(x,y,z)
A=gca();del... |
08d6588cf215166bea75c28801105ad783cf08f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.23/Ex5_23.sce | 3f4b9040c97627931f076b343afa52e7da5f9f15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Ex5_23.sce | clear
//Given
A=15*10**-4 //m**2
a=7.6*10**-8 // ohm m
l=2000 //m
b=0.005 //degree/C
//Calculation
R0=a*l/A
R50=R0*(1+(b*50))
//Result
printf("\n The value of resistance is %0.3f ohm",R50)
|
c612f26b40f1e0e9163c1ea3f37bde4bd5ff6659 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH3/EX3.1/Ex3_1.sce | f900235bc7ca760ac6065925a54b2dff4aa735cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | Ex3_1.sce |
clc; funcprot(0);
// Initialization of Variable
AB=25145.32;//distance in m
R=6370.0e3;//radius of earth in m
ha=325.14;//elevation in m
//calculation
theta=AB*cos(3+9.0/60+40.0/3600)/R;
AB_dash=AB/sin(%pi/2+theta/2)*sin(%pi/2-theta/2-(3+9.0/60+40.0/3600)*%pi/180);
CD=AB_dash-AB_dash*ha/R;
S=CD+CD**3/24.0/R*... |
338e2b8c467a903247ecbc77087f959925cf02b5 | 3aecc0a856e5ab896077f26d338574613e42a223 | /src/28.terapia_anti-tumorale.sci | 960877f858a23f7f195a9a9c18532a2c5d7ea07b | [] | no_license | wmotti/simulation | 9ebed2818f83a1ba864399ee3dc664e5303e3983 | ec4cce2ce180f947edf0ed9f501799d06b8a0416 | refs/heads/master | 2020-03-28T08:10:23.668854 | 2018-09-08T16:14:42 | 2018-09-08T16:14:42 | 147,949,219 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,759 | sci | 28.terapia_anti-tumorale.sci | function [y]=genDisc(pf)
pfNorm=pf/(sum(pf));
u=grand(1,1,'def');
s=0;
i=0;
while (u>s),
i=i+1;
s=s+pfNorm(i);
end;
y=ws(2,i)
endfunction
function [y]=Drop(ws,killed)
killid=(find(ws(2,:)==killed));
if (killid==1),
y=ws(:,[2:$]);
else
for i=[1:killid-1],
y(:,i)=ws(:,i);
en... |
f99770daf35e80ecc4a4a01519f44da0aaf86389 | 499d051e2a4fa1bb1cc5ac86c4fe23ae88d60a6d | /scilab/calcnplot.sci | 122632afb81789c2eefa62f76e723e81beff4924 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gap-packages/automgrp | 27ef69cfb6a97093e708c4241abc2f002053359b | bae72980572af919f6498e13e88d71feb9175875 | refs/heads/master | 2022-10-11T13:52:38.771189 | 2022-09-23T07:10:33 | 2022-09-23T07:10:33 | 209,880,291 | 2 | 0 | MIT | 2022-01-27T00:21:10 | 2019-09-20T21:00:32 | GAP | UTF-8 | Scilab | false | false | 282 | sci | calcnplot.sci | //
function [freq_matrix] = plot_spec(mat)
freq_matrix = nfreq(spec(mat))
num_eigens = size(freq_matrix); num_eigens = num_eigens(1);
x = [1:num_eigens]; y =x;
for i=1:num_eigens
x(i) = freq_matrix(i,1)
y(i) = freq_matrix(i,2)
end
plot2d3(x,y, strf="011", rect=[-1,0,1,max(y)])
|
c8e5ffb4c01e1da98f128f9abb9e27846196eade | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.19/ExampleA19.sce | 508d01942c2c02fbc324261b18bc59562ef66500 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | ExampleA19.sce | clc
clear
//Page number 479
//Input data
m=10;//The given amount of ice in g
T1=273;//The initial temperature of ice in K
T2=373;//The final temperature of steam in K
L1=80;//The latent heat of ice in cal/g
L2=540;//The latent heat of vapourisation of steam in cal
//Calculations
s1=(m*L1)/T1;//Increase ... |
016ccceea958d07b9ea47028d85a6848d834ba0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH12/EX12.5/Ex12_5.sce | 33e7126b54041d6337bfa2de88fabe7d9ddf6a85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | Ex12_5.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-12.5 Page No.263\n');
Su=55*10^3;
Sn=0.5*Su;
Np=24;
Pd=12;
Dp=Np/Pd;
mprintf('\n Pitch circle diameter = %f in.',Dp);
n=1800;
Vm=%pi*Dp*n/12;
mprintf('\n Surface speed = %f ft/min.',Vm);
b=3/4;
Y=0.302;
Fs=Sn*b*Y/Pd;
mprintf('\n Allowabl... |
3129d246a0fcdf92ffc95576fc4276d9484323cb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673.zip/Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673/CH1/EX1.5/1_5.sce | faee016d157c1cfcb80cf9a8f1f9521ba5c1aced | [] | 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 | 249 | sce | 1_5.sce | errcatch(-1,"stop");mode(2);//relative error
//example 1.5
//page 10
;;
n=8.6;// the corrected number
N=1;//the no is rounded to one decimal places
E_A=(10^-N)/2;
E_R=E_A/n;
printf('the relative error of the number is:%0.4f',E_R);
exit();
|
acdbeb085978d476e6fb6ca7e5962bd2d6a39a19 | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/HELPbodeplot.sci | b45ee6e39af6f7abe3e98365f4c6e9f3b417fe65 | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,452 | sci | HELPbodeplot.sci | function []=HELPbodeplot()
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distribu... |
6491f0d48366ad4021e9ae91413c54730705aaca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH5/EX5.4/ex5_4.sce | b85e88ff7fd515a255cc2b1db283d151ea9340f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | ex5_4.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
d=60//rev/min
s=5//in
v=5//in/s
a=25.2//in/s
x=2.23//in
b=4.59//in
z=20.0//in
//CALCULATIONS
U=x*v//in/s
V=b*v//in/s
B=V/z//rad/s
//RESULTS
printf('the angular velocity=% f rad/s',B)
|
61293ec28fb851900f8e16882baaedde7038ae23 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/joinRows__joinCols__joinVert__joinHoriz.sce | fbaae27b9df4593847abce2c08909a4f29f9b183 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | joinRows__joinCols__joinVert__joinHoriz.sce | // Function Name: joinRows, joinCols, joinVert, joinHoriz
// joinrows() and joinhoriz(): horizontal concatenation; join the corresponding rows of the given matrices; the given matrices must have the same number of rows
// joincols() and joinvert(): vertical concatenation; join the corresponding columns of the give... |
3e1aea5b07cc210223f82771727c5a9e78240c92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH8/EX8.5b/eg8_5b.sce | a440314f8dcdb8c47c452abb643f8ff1e41d0881 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | eg8_5b.sce | S1 = 0.14;
S2 = 0.28;
n= 10;
m= 12;
ratio = S1/S2;
prob1 = cdff("PQ", ratio, n-1, m-1);
prob2 = 1-prob1;
prob = min([prob1 prob2]);
pvalue = 2*prob;
disp(pvalue, "The p value is")
disp("So the hypothesis of equal variance cannot be rejected")
|
8fe1b4d58077db32239d4845c61ff0704b4bd68e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH9/EX9.3/9_3.sce | 92a24ff270bb381d5818d2171edfccea084bb7d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | 9_3.sce | clc
//initialization of variables
P1=500 //lb/in^2
T1=800 //F
//calculations
disp("From steam tables,")
ht1=69.7
ht3=1412.1
s3=1.6571
ht4=1175
Pt4=53
ht5=1430
s5=1.917
ht6=1070
X6=0.966
Wsum=778*(ht3-ht4+ht5-ht6)
Qsum=ht3-ht1+ht5-ht4
eta=Wsum/(778*Qsum)
//results
printf("Specific work = %d ft-lb/lb... |
06e6c2f3906fe5d91a02acbe875f184b89e76e1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH12/EX12.2/12_2.sce | 29041ac35376fd49daff9404ad4e113657bf8a39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | 12_2.sce | clear//
//Variables
VF = 0.22 //Forward voltage (in volts)
T = 298.0 //Temperature (in kelvin)
I0 = 10**-3 //Current (in Ampere)
n = 1
//Calculation
VT = T/11600 //Volt equivalent of temperature (in volts)
I = I0*(exp(VF/(n*V... |
703bd13a3aea4f8368158305d0b2f087a3f31ca2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH2/EX2.4/exm2_4.sce | 3830f8d2c2472e33413563f8360aad4cc6086c00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | exm2_4.sce | // Example 2.4
// Sample program 3(exm1.5) discussed in chapter 1 can be convered in to a more flexible intractive program using scanf() function
disp("Enter in single line separted by space");
disp("Input amount,interest rate, and period");
[amount,inrate,period]=scanf("%f %f %d"); //use of scan... |
81e9108e9f315a876ba5c4f460b9a55a7a9369e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH14/EX14.2/Ch14Ex2.sci | bd157a368b410b9837eb0d708020a756a9ea4d37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sci | Ch14Ex2.sci | // Scilab Code Ex14.2: Relative permeability of ferromagnetic material : Page-307 (2010)
H = 200; // Field strength to which the ferromagnetic material is subjected, ampere per metre
M = 3100; // Magnetisation of the ferromagnetic material, ampere per metre
chi = M/H; // Magnetic susceptibility
mu_r = 1 + ... |
228e795222214c95d0d2b1c29e5720b6c7a37dcc | 57a39df08383d18148a77915551223cef3bc8cd6 | /plot.sce | f4eac43449c009412442521d79b71343fb22539d | [] | 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 | 38 | sce | plot.sce | x = 0:0.1:2*%pi
polarplot(x,sin(x))
|
5d9032a8c8d303d5a73d7d161ad4ed8152eff42a | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH6/EX6.7/Example6_7.sce | 04d20c26f735cabecdf6f0a00a5ea770717d01a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Example6_7.sce | clear;
clc;
// Example: 6.7
// Page: 215
printf("Example: 6.7 - Page: 215\n\n");
// Mathematics is involved in proving but just that no numerical computations are involved.
// For prove refer to this example 6.7 on page number 215 of the book.
printf(" Mathematics is involved in proving but just that no ... |
bd2788235b6f40b05afc197527831cfd2d74bfd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH1/EX1.4/1_4.sce | ff44a3ae2b45262532e7ea6e5eda0f21a3d81b77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_4.sce | clc
//initialisation of variables
Cp=0.24//lb/in^2
Cv=0.18//ft^3
p1=5//lb/in^2
T1=20//Degree C
T2=150//Degree C
//CALCULATIONS
W=p1*Cp*(T2-T1)//C.H.U
H=p1*Cv*(T2-T1)//C.H.U
Gamma=Cp/Cv//lb/in^2
//RESULTS
printf('the constant pressure=% f C.H.U',W)
printf('the constant volume the value of gas=% f lb/in^2',G... |
1240a9feb7c724ceb908127d63a4c0933fb4b1d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.39/ch8_39.sci | c7dfde50d696b47ac556944b794ce5a14f8f7bba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sci | ch8_39.sci | //to calculate sync reactance,voltage regulation,torque angle, ele power developed, voltage and kva rating
clc;
r=1000*10^3;
V=6600;
Ia=r/(sqrt(3)*V);
pf=.75;
phi=-acosd(pf);
Vt=V/sqrt(3);
Ef=11400/sqrt(3);
//Ef*complex(cosd(dl),sind(dl))=Vt+j*Xs*Ia*complex(cosd(phi),sind(phi))
//after solving
//6.58*cosd(... |
8276abdc712659f1236361aa3ac2a3e186ee7ad2 | e86653ab56eded6714574f9f8f34013272027113 | /181/CH4/EX4.10/example4_10.sce | d5d624a11bdb0bc3f7e152996d4d294b8e22f350 | [] | no_license | FOSSEE/Xcos_TBC_Uploads | 3637554f9dca20d0c5ec2c5d00d30942edafe09a | 37e81552cb6d9066617ba91b13c91098e5ab6758 | refs/heads/master | 2023-03-30T10:45:38.033053 | 2021-03-15T05:40:35 | 2021-03-17T09:45:20 | 346,244,418 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | example4_10.sce | // Measurement of Circuit Voltage changes
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 4-10 in page 211
clear; clc; close;
// Given Data
Vb=-5; // Base Voltage of BJT in V
Rc=1*10^3; // Collector Resistance in K-ohms
Ie=2*10^-3; // Emitter Current of B... |
e361d9c1dfe1a6ebe82babbe86c7e0da3cfc6808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH12/EX12.12/Example12_12.sce | d04ad310d1c41c81d02888ad340c60f8aeeafc0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 937 | sce | Example12_12.sce | clear;
clc;
// Example: 12.12
// Page: 490
printf("Example: 12.12 - Page: 490\n\n");
// Solution
//*****Data******//
// Reaction: SO2(g) + (1/2)O2 ------> SO3(g)
P = 1;// [bar]
T = 750;// [K]
K = 74;
//************//
// Moles in Feed:
nSO2 = 1;
nO2 = 0.5;
// Let e be the degree of completion at... |
761a52913e394f75505a89310c8b7a7159f64b23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH5/EX5.7.2/Ch05Exa5_7_2.sci | 6bcb52164031e05b4ba9dc326505146b65b0a59d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sci | Ch05Exa5_7_2.sci | // Scilab code Exa5.7.2: To calculate the wavelength of the scattered gamma rays: P.no. 233 (2011)
h = 6.626e-034; // Value of Planck's constant, J
m_e = 9.11e-031; // Mass of the electron,Kg
c = 3e-04; // Velocity of light, m/s
A = 135; // Angle between scattered radiation and incident radiation, degree
W_i = 1.... |
6a0c07c54410a83fd07f0b2459da105f5befce9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH3/EX3.2/ex3_2.sce | a6db169cd1f284776256e4181fc69c98fb117922 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | ex3_2.sce | //Chapter 3,Ex3.2,Pg3.4
clc;
//(a)
//Given that f=50c/s and Im=100A
i=100*sin(2*%pi*50*(1/600))
printf("\n Instantaneous value of current i=%.0f A \n",i)
//(b)
t=(asin(60*%pi)/180)/(100*180)
printf("\n t=%.4f sec \n",t)
|
a69994ad4117a3c52e4dbff443df8e34f9183eed | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/sci2for/f_eye.sci | 39e0b24db01eeb558188509d16f35a0e5c3b9563 | [
"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 | 701 | sci | f_eye.sci | //[stk,nwrk,txt,top]=f_eye(nwrk)
// genere le code fortran relatif a la primitive eye
//!
txt=[]
select rhs
case 0 then
//write(6,'eye');pause
top=top+1;stk=list('1.0',0,'-1','-1','0')
case 1 then
s2=stk(top)
[out,nwrk,txt]=outname(nwrk,'1',s2(4),s2(5))
txt=[txt;gencall(['dset',mulf(s2(4),s2(5)),'0.0d0',out... |
c1504fe73b81318fc46c72c9b94a383f975a7a63 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos/clickin.sci | 4f84af53b051b3cb87d847249c68c64392e41e1e | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,997 | sci | clickin.sci | function [o,modified,newparameters,needcompile]=clickin(o)
// o : structure of clicked object, may be modified
// modified : boolean, indicates if simulation time parameters
// have been changed
// newparameters : only defined for super blocks, gives pointers to
// ... |
c274d33da9242187be0d1bf89ae47e785beda513 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.19/Chapter5_Example19.sce | 086d50a1e081574e4ecb4ad9a82f052bb928f6f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | Chapter5_Example19.sce | //Chapter-5, Example 5.19, Page 205
//=============================================================================
clc
clear
//INPUT DATA
t=0.6;//Thickness of the wall in m
x=0.1;//x value taken from Fig.Ex. 5.19 on page no. 205
Ti=20;//Initial temperature in degree C
T=[150,300];//Temperatures of the side... |
300a23d41f386868e8c401ed05b56a0028587b76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH4/EX4.6/exa_4_6.sce | aabca8fc08288531c4c336049e558f98a62f414d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | exa_4_6.sce | //Exa 4.6
clc;
clear;
close;
//given data
k=385;// in W/mK
h=100;// in W/m^2K
delta =2*10^-3;// thickness of plate in meter
A=25*25;// area of plate in square meter
rho=8800;// kg/m^3
C=400;// J/kg-K
// l_s= V/A= L*B*delta/(2*L*B) = delta/2
l_s= delta/2;// in meter
Bi= h*l_s/k;
// since Bi < 0.1 , hence l... |
64f5d35ba3ea304af19996d62d3a5478549e55da | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/examples/link-examples/ext13c.sce | 47700f723daed1956e984ce13c34cf97025b5e99 | [
"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 | 338 | sce | ext13c.sce | //Copyright INRIA
//sharing common data
files=G_make(['/tmp/ext13c.o'],'ext13c.dll');
link(files,['ext13ic','ext13oc'],'C'); //Must be linked together
a=1:10;
n=10;a=1:10;
call('ext13ic',n,1,'i',a,2,'r','out',2); //loads b with a
c=call('ext13oc',n,1,'i','out',[1,10],2,'r'); //loads c with b
if norm(c-a) > %eps t... |
c2a1931649437af0f9a86b81a48893fd75f7ec79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH4/EX4.2/ex2.sce | bdd1ade4b771ffde3cd9ef8036e7898bb5a010b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | ex2.sce | disp("chap 4")
disp("ex 2")
disp("the current equations obtained by solving diff eqn are")
disp("i1=v/r1(1-r2/(r1+r2))e^(-r1t/L)")
disp("i2=v/(r1+r2)(1+r2/r1e^(-(r1+r2)t/L))")
v=5//assumed supply=5v
r1=10//assumed r1=10ohms
r2=50
L=500//inductance=500 henry
t=0:0.1:500
i1=v/r1*(1-(r2/r1+r2*exp(-r1*t/L)))
sub... |
2a6d339562408c42a1e32ae538509d7b09cf809a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH4/EX4.2/Ex4_2.sce | 0fa217cb582a7f4b388e989a4906390078843579 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex4_2.sce | //Example 4_2
clc();
clear;
//To find the friction force that opposes the motion
F1=500 //units in Newtons
F2=800 //units in Newtons
theta=30 //units in degrees
Fn=F1+(F2*sin(theta*%pi/180)) //units in Newtons
u=0.6
f=u*Fn //units in Newtons
printf("The Frictional force that is required is f=%d N",f)
|
bed688f1c490c1c0fc64839c3f602eac313b2902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.a.6/Example_a_7_6.sce | e0d3503006c09584baf9bace65a593ac41375898 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_a_7_6.sce | //Example_a_7_6 page no:275
clc;
V=20;
Vamag=16.27;
Vaang=18.91;
I2mag=Vamag/5.38;
I2ang=Vaang-68.19;
P2=I2mag^2*2;
disp(P2,"the power dissipated at 2 ohm resistor is (in W)");
I3=-0.65-(%i*1.58);
I3mag=sqrt(real(I3)^2+imag(I3)^2);
P3=I3mag^2*3;
disp(P3,"the power dissipated in the 3 ohm resistor is (in W)"... |
c26cbb2389e2ec66a6cb628e3e95627b4810ef58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH5/EX5.28/Ex5_28.sce | e916a0ec7e4c3032d277d5425c2732139f78f452 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ex5_28.sce | //Example 5_28
clc();
clear;
//To calculate the effective temprature
theta=28.5 //units in degrees
d=0.203 //units in nm
lamda=(2*d*sin(theta*%pi/180))*10^-9 //units in nano meters
h=6.626*10^-34
m=1.67*10^-27
k=1.38*10^-23
t=h^2/(3*m*k*lamda^2)
printf("The effective tempratures is T=%d K",t)
|
989150932205d4a8c8a63b156a4e59f54fcf413a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH6/EX6.1/Ex6_1.sce | 595a7c1ab3a3897a1611703479e00a1883ca4bdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Ex6_1.sce | // Ex6_1 Page:90 (2014)
clc;clear;
a = 2e-010; // Length of the square well, m
x1 = 0; // Lower limit of position, m
x2 = 0.25e-010; // Upper limit of position, m
P = integrate('(sqrt(2/a)*sin(%pi*x/a))^2', 'x', x1, x2); // Probabilitiy of finding the electron in the given region
printf("\nThe probabilit... |
c62b93487f6c9b3c10f65ceb0b33ca0e4bcd8404 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH7/EX7.4/7_4.sce | 25cf1bc8dc93485a275fbd41dab3e1a6d6026779 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | 7_4.sce | //clc();
clear;
//To determine the ratio of stimulated emission rate to spontaneous emission
lambda=0.5*10^-9; //wavelength in nm
h=6.626*10^-34; //plank constant in Js
T=1000; //temperature in K
Kb=1.381*10^-23; //boltzmann constant in J/K
c=3*10^8;
new=c/lambda;
... |
17ce65011ad5644be42538923dfc62f714dfc77e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.40/Ex17_40.sce | 8520963097de8b8e0c1490914fd72749f1f2fdfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Ex17_40.sce | //Initilization of variables
W=8 //lb
//Calculations
//work done by the spring woithout k
Ws=0.5*((9/12)^2-(1/12)^2)
//Work done by gravity
Wg=W*(10.5/12) //ft-lb
//Change in KE is zero
k=Wg/Ws //lb/ft
//Result
clc
printf('The value of k is %f lb/ft',k)
|
2d37dd023aeca7b14aede628f413b204a909ae69 | 2f3e4d3b6b9fa6ff191b26f13fe8af8fd269d4f3 | /Gsoundrating_main.sce | cffac6e2dddba20bc3b0088e4b8a85f23a6e4fee | [] | no_license | npytabitha/German_rating---Copy | 927fa1aef1659b0acaae234aac056bf73cba2985 | 1cf99f9a35e6cc0f38b812070b2e128cc238b5ee | refs/heads/master | 2020-12-02T17:29:45.850569 | 2015-09-23T16:42:15 | 2015-09-23T16:42:15 | 42,940,457 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,299 | sce | Gsoundrating_main.sce | active_buttons = 3;
button_codes = 1, 2, 3;
response_matching = simple_matching;
no_logfile = true;
begin;
# picture that shows the craving scale with highlighted number
picture {
text { caption = " 0 "; font_size = 36; } rate1;
x = -320; y = -260;
text { caption = " 1 "; font_size = 36; } rate2;
... |
37721532121de144c0c3b4cebc77ed4afd62164f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.56/Ex4_56.sce | 14a2cccb77bfdd07d25d90cd22ef747caa9eaa0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | Ex4_56.sce | clc;
v=230; // rated voltage of dc series motor
n=1500; // speed at rated output
i=20; // current drawn at rated output
ra=0.3; // armature resistance
rf=0.2; // field resistance
disp('case a');
// At starting Ea=0, therefore
re=(v/i)-(ra+rf);
printf('External resistance to be added in motor armature circuit ... |
16c1ffa5c66fa3eec7053a07ae6ca3205617e0e6 | 816859d426ac9fa7d7ebaf7d2086470a8be226a1 | /tests/zeroneqS/expected.tst | 3324795c62df8e901e7a7bc8be87e1946639c521 | [] | no_license | clarus/coquedille | 4688ebd9e3f2678a4d597e951343f2f60a61eee6 | 1be669e3d60afb7bdc1fd2cf7330baa1dd16725d | refs/heads/master | 2021-01-03T21:02:41.248818 | 2020-01-22T13:25:31 | 2020-01-22T13:25:31 | 240,234,987 | 0 | 0 | null | 2020-02-13T10:35:27 | 2020-02-13T10:35:26 | null | UTF-8 | Scilab | false | false | 764 | tst | expected.tst | module zeroneqS.
data nat : ★ =
| O : nat
| S : nat ➔ nat.
data eq (A : ★) (x : A) : A ➔ ★ =
| eq_refl : eq x.
eq_ind : ∀ A : ★ . Π x : A . ∀ P : A ➔ ★ . Π f : P x . Π y : A . Π e : eq ·A x y . P y = Λ A : ★ . λ x : A . Λ P : A ➔ ★ . λ f : P x . λ y : A . λ e : eq ·A x y . μ' e @(λ y' : A . λ _ : eq ·A x y' . P... |
8e2cb365f64cfae0d80f91f9ca130e6a8b870f69 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/goertzel/goertzel3.sce | 1d2f11f94691db62f44ebcacf98ae44feb055acf | [] | 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 | 309 | sce | goertzel3.sce | //i/p arg data contains complex values
data=[1 2+5*%i 3; 4 6*%i 7;4 5 9];
freq_indices = 2;
dft_data = goertzel(data,freq_indices);
disp(dft_data);
//output
// column 1
// - 3. + 7.692D-16i
//
// column 2
//
// 4.6961524 + 6.330127i
//
// column 3
//
// - 5. + 1.7320508i
//
|
fe6ccb41cfa94e9bea7a960647afdf082131b28b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.22/ex4_22.sce | f2eb4ba4eb57b3253cb2abdad046a6bf0dde7bc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | ex4_22.sce | // Exa 4.22
clc;
clear;
close;
format('v',6)
// Given data
R_D = 5;// in k ohm
R_D = R_D * 10^3;// in ohm
r_d = 35;// in k ohm
r_d = r_d * 10^3;// in ohm
miu = 50;// amplifier factor
g_m = miu/r_d;// in S
Av = -g_m*( (r_d*R_D)/(r_d+R_D) );
disp(Av,"The voltage gain is");
Rout = (R_D*r_d)/(R_D+r_d);// in ... |
7b0a948646c1fa5cbed9a28b4b9423e597431c12 | 717ddeb7e700373742c617a95e25a2376565112c | /2990/CH6/EX6.14/Ex6_14.sce | 70765e79fd0bf118577229ab37c34114f7716159 | [] | 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 | 287 | sce | Ex6_14.sce |
clc; funcprot(0);
// Initialization of Variable
pi=3.14;
ri=95.0;//radial distance in mm
f=152.4;//focal length in mm
t=3*pi/180;//tilt
l=50*pi/180;//angle
//calculation
dt=ri**2*sin(t)*cos(l)**2/(f-ri*sin(t)*cos(l));
disp(dt,"tilt displacement of the image in mm")
clear()
|
f11b589b85556147190143037f5c69395e0a9a43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH8/EX8.17/Ex8_17.sce | 3d7860c79608deb837d9f4605c3412668c7ed89e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,226 | sce | Ex8_17.sce | clear
//
//
//Initilization of Variables
d_o=500 //mm //Outer Diameter
r_o=250 //mm //Outer Radius
d1=300 //mm //Inner Diameter
r1=150 //mm //Inner Radius
d2=400 //mm //Junction Diameter
E=2*10**5 //N/mm**2 //Modulus ofElasticity
alpha=12*10**-6 //Per degree celsius
dell_d=0.2 //mm
dell_r=0.1 //mm
//Calculations
//... |
549160780213008c8fd761543c4c43c6cdf1c681 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/filter2.sci | b8b48e4cfbaa8eaa33fc722bd88df0b8d86070eb | [] | 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 | 807 | sci | filter2.sci | function Y = filter2 (B, X, SHAPE)
//Apply the 2-D FIR filter B to X.
//Calling Sequence
//Y = filter2(B, X)
//Y = filter2(B, X, SHAPE)
//Parameters
//B, X: Matrix
// SHAPE:
// 'full': pad X with zeros on all sides before filtering.
// 'same': unpadded X (default)
// 'valid': trim X after filte... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.