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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9726cc2f7057603a34ab113cc1c2eb03071979c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH4/EX4.17/Ex4_17.sce | 892b2a0fcd5ff85c56f93135a617536c43076dde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,167 | sce | Ex4_17.sce | //Chapter-4, Illustration 17, Page 148
//Title: Gears and Gear Drivers
//=============================================================================
clc
clear
//Input data
Ta=20// no of teeth on pinion A
Tb=25// no of teeth on wheel B
Tc=50// no of teeth on gear C
Td=60// no of teeth on gear D
Te=60... |
4432bda80820c258db53fbec8f8bd0a398189da7 | 0d85aad5237f1842799753cb32481a4e00ca63d1 | /18.sce | ef765f3828f953f1ad2020989532ad7a2af35d13 | [] | no_license | ghassenjlassi/projectstat | fc951e46f4202c36bc0ce059ce3e7204461daca4 | 4dc3fd3797782f3cfbb2d76ca6656d1c7f77a6a3 | refs/heads/master | 2020-03-14T10:31:09.397372 | 2018-05-02T09:39:11 | 2018-05-02T09:39:11 | 131,568,916 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | 18.sce | exec('put.sci')
r=0.03
sigma=0.1
K=100
s=[1:10]*20
t=[1/12,1/6,1/4,1/3,1/2,1]
p=zeros(10,6)
for i=[1:10]
for j=[1:6]
p(i,j)=put(s(i),r,sigma,T,K)
end
end
plot3d(s,t,p)
|
1cf19cdf677da4b6c6238e57d311d4097b996f98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH14/EX14.1/ex14_1.sce | fc0811c538ba8774db9cc5a841aa7c755aede269 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | ex14_1.sce | // Example 14.1
format('v',6)
clc;
clear;
close;
// given data
V1=15;// in V
V2=1;// in V
R= 100;// in Ω
// The load current
I= (V1-V2)/R;// in A
I= I*10^3;// in mA
disp(I,"The load current in mA is : ")
|
e8a493576ef342e860cfcdf9d0a67b73cb7ceb48 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/changeModeSciMtlb.sci | eb5eb1392a096040acad496c081c1eb8aa10a8a6 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | sci | changeModeSciMtlb.sci | function changeModeSciMtlb()
//vtVar=fscanfMat(nomearq)
endfunction
|
5b365380026e6250ffc8a7f765b1e7b33121d9ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH7/EX7.1/example_7_1.sce | 14ed48c9876adac00dffe788e8559ed7ccbe430f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | example_7_1.sce | //example 7.1
clear;
clc;
//for 50 kHz clock
clk_frq1 = 50000;
c_t_500 = 1000/clk_frq1;
//for 8-MHz clock
clk_frq2 = 8000000;
c_t_8 = 10000000/clk_frq2;
printf('Cycle time for 500-kHz clock is %f milliseconds \n',c_t_500);//displaying results
printf(' Cycle time for 8-MHz clock is %f micro seconds',c... |
8457f4fe662b08609f45804c680199ea649b6893 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH4/EX4.4/Example4_4.sce | 30c5307d2ad005756f0b2d8ab213a10ac134ea25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Example4_4.sce | //Example 4.4.
clc
format(6)
disp("In an N-type material, the concentration of donor atoms is given by")
disp("ND = NC*e^(-(EC - EF)/k*T)")
disp("Let initially ND = ND0, EF = EF0 and EC - EF0 = 0.2 eV")
disp("Therefore, ND0 = NC*e^(-0.2/0.025) = NC*e^-8")
disp("(a) When ND = 4ND0 and EF = EF1, then")
disp("4... |
5e61a5121a0b5e4b7a177f9ad2d2ea676273194f | 17dd6e9c9459b72f85b0a71f73e670abf1ca9f4e | /Wiskunde1/cursus/oefeningen/equalsMatrix.sci | eb9852010c4613067450d098cbb98158cec35d05 | [] | no_license | Woumpousse/KHL | e80c9a00bf71321539b218d8ec047883a9c2fc91 | 066a06c131c617e8be9ec6ac2f4c76b637aba34e | refs/heads/master | 2020-12-24T13:18:20.656259 | 2014-09-29T16:14:00 | 2014-09-29T16:14:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sci | equalsMatrix.sci | function R = equalsMatrix(M, N)
[h,w] = size(M)
[h2,w2] = size(N)
if w <> w2 | h <> h2 then
R = %f
else
R = %t
for i = 1:h
for j = 1:w
R = R & M(i,j) == N(i,j)
end
end
end
endfunction
|
ac9483dea1c218699107cd84f4746141b40e6ba1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH4/EX4.5/4_5.sce | 886b842d72498e35dbac9469de482c4ccfa60914 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 4_5.sce |
clc
//initialisation of variables
H1= 10//ft
H2=2 //ft
d= 0.62
so= 3 //in
w= 5 //ft
g= 32.2 //ft/sec^2
b= 2.5 //ft
b1= 7.5 //ft
//CALCULATIONS
A1= w*b
A2= w*b1
a= so^2/144
T= (2*A1*(H1^0.5-H2^0.5))/(d*a*(1+(A1/A2))*sqrt(2*g))
//RESULTS
printf (' Time required to lower the level of water = %.1f sec',T... |
24cfbba653c8ba65fee010e1b5327f34154130dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH4/EX4.15.13/ex_4_15_13.sce | 3fa28f3a3ac85d98a65cbc71c1725abbdb819150 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_4_15_13.sce | //Chapter-4,Example4_15_13,pg 4-32
d=2650 //density
Y=8*10^10 //Young's modulus
n=2*10^6 //frequency of wave
k=1 //consider 1st harmonic
t=(k/(2*n))*sqrt(Y/d) ... |
c4c544e445c213d8a39344f7784f73a3f37efdb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.7.1/Ex2_7_1.sce | ba3bca495cf88987d8de48ec978e772a71ef41d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex2_7_1.sce | //Ex 2.7.1
clc;clear;close;
format('v',6);
//Given :
Vgamma=0.6;//volt
rf=12;//ohm
V=5;//volts
R=1;//kohm
IF=(V-Vgamma)/(R*1000+rf);//A
disp(IF*1000,"Diode current in mA :");
VF=Vgamma+IF*rf;//volts
disp(VF,"Diode voltage in volts :");
|
d9e9f2efaea65f56f494cc5d99495d08df6cd721 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH8/EX8.33/example33.sce | a347a6fce3761491e41d5cdbd339118f456e98af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | example33.sce | s=%s ;
//create state equation of the following matrix
TFcont=syslin ('c',(s^2+3*s+3)/(s^3+2*s^2+3*s-1))
SScont=tf2ss(TFcont )
[Ac ,Bc ,U, ind ]=canon( SScont ( 2 ) , SScont ( 3 ) )
disp(Ac,"MAtrix A=")
disp(Bc,"MAtrix B=")
s=%s;
A =[0 0 1;1 0 -3;0 1 -2];
B =[3;3;1];
x =[0 0 1];
[r c]= size (A)
p=s*eye(r,c)... |
d9a671d0d922a5af8733052117f22e37ce61720c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH8/EX8.21/Ex8_21.sce | 5042380f7cab520d5a22320147d534e678a4c2e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Ex8_21.sce | //radiation resistance of hertzian dipole
//given
clc
lemda=1//as the radiation resistance is independent of lemda
function[Rr]=rad_resistance(dl)
for(lemda!=0)
Rr=80*%pi^2*(dl/lemda)^2
Rr=round(Rr*1000)/1000///rounding off decimals
end
endfunction
dl=lemda/20
[Rr1]=rad_resistance(dl)
dl=l... |
59da6bbd4156d9e3502ad073447225b3e5b45623 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/E08.prev.tst | 3d0463f313851cc24807fb1eee625ab65615f557 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | tst | E08.prev.tst | [-85,-171,202,138]
[-3,-5,6,4]
[-27,-37,46,30]
[-19,-21,28,18]
[-69,-59,90,58]
[-5,-3,6,4]
[-49,-15,58,42]
[-9,1,12,10]
[-1,9,10,12]
[15,49,42,58]
[3,5,4,6]
[59,69,58,90]
[21,19,18,28]
[37,27,30,46]
[5,3,4,6]
[171,85,138,202]
|
d929fa316645d893978c45132d42fc69dad07b62 | 85744a910858b3185731e57d7d39dac2b5b17982 | /DPSK Modulation.sce | eab4685759d8ccb0eb0592b8efb12e4c2dfda27e | [] | no_license | shashwat2811/Analog-Digital-Communication | b53aac1ae75d53df90e0b938ef8fdc38caaf3084 | edd1ba5b0abad34aa74bed3441fddb26497f91db | refs/heads/main | 2023-06-05T04:33:21.979126 | 2021-06-12T13:41:56 | 2021-06-12T13:41:56 | 376,288,206 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,949 | sce | DPSK Modulation.sce | clc;
clear;
xdel ( winsid () ) ;
//Differential Phase shift keying
b = [1 0 1 0 1 0 1 0];
//Diffreential Eccoding
d = 1;// Initial bit
dc=[];
for i = 1:length(b)
dc = [dc d];
d=~(bitxor(d,b(i)));
end
dc=[dc d];
//Bit to symbol mapping
for ii = 1:length(dc)
if dc(ii)==1;
nn(ii)=... |
21f3be16f1f4186fff7f883ff94874af6b8951d6 | c5a6312b2689f29d943904ba13f3aca400a3a395 | /communication/first(2).sce | 9155452557b9a53592e8eb199a43555eb64f65ea | [] | no_license | orhitg/sem7 | 25b1430a300a28e8a70208abe06e776be08c695b | 89b1184cfb8a95c6b5a38ab7cff5fccc6f596e67 | refs/heads/master | 2021-01-12T17:58:23.080274 | 2016-11-12T07:38:50 | 2016-11-12T07:38:50 | 71,317,126 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | first(2).sce | Vc=9;
fc=100;
fm=50;
t=0:0.001:0.5;
m=0.5;
subplot(311);
plot(Vc*(cos(2*3.14*fc*t)+m*(sin(2*3.14*fm*t))));
subplot(312);
plot(Vc*(cos(2*3.14*fc*t)+1*(sin(2*3.14*fm*t))));
subplot(313);
plot(Vc*(cos(2*3.14*fc*t)+2*(sin(2*3.14*fm*t))));
|
c2885f0b2cfbc662f87f494c4219c4cd34b9659a | 599350b1280d641ce716acf538ba9e583923591d | /make-tests/make04.tst | 710c987c0fbfda2224006ed1ac79e8b9b74102af | [] | no_license | jasoncqiu/trip-finder | 8d7874839f3e32e0550bfbbaf300464429a13528 | 98835bf9d1d60c694c8364a0b20fb7a02818af04 | refs/heads/master | 2021-01-25T04:09:04.967312 | 2015-01-15T00:09:57 | 2015-01-15T00:09:57 | 28,654,123 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | tst | make04.tst | java -ea make.Main -f make-tests/make04.mk -D make-tests/file04 A
|
c132ef8ed9b958a545a283e2fc678c9a45b69f55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH12/EX12.18/12_18.sce | fe55a49256386bf6d8684ed936eb8e5173c0846f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_18.sce | clear; clc; close;
Tj = 200;
Ta = 40;
Qjc = 0.5;
Qcs = 0.6;
Qsa = 1.5;
Pd = (Tj-Ta)/(Qjc+Qcs+Qsa);
disp(Pd,'Maximum power dissipated(Watts) = ');
|
58cdce3c3e13113bb3bed79e7e9c00745f516b17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH6/EX6.13/Ex6_13.sce | 09ab024c22fb43d848eb38662b07dafff68937b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | Ex6_13.sce | clc,clear
//Example 6.13
//To determine the cube roots of i
z=%i //given complex number
//modulii for cuberoots
r1=abs(z)^(1/3)
r2=abs(z)^(1/3)
r3=abs(z)^(1/3)
//arguements for cuberoots
theta1= (phasemag(z)+360*0)/3
theta2= (phasemag(z)+360*1)/3
theta3= (phasemag(z)+360*2)/3
cube_root_1 = r1 *(cosd(t... |
144631b51c6eb69480704faf9b258932faa2bf8c | 717ddeb7e700373742c617a95e25a2376565112c | /1445/CH8/EX8.31/Ex8_31.sce | 5e8349ca24fdb7183d001298ee1edfbfa6399911 | [] | 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 | 947 | sce | Ex8_31.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 31
disp("CHAPTER 8");
disp("EXAMPLE 31");
//series motor
//VARIABLE INITIALIZATION
r_a=0.1; //combined resistance of armature & field resistance in Ohms
v_t=230; //in Volts
I_a1=100; //in Amperes
N1=1000; ... |
e3f174eb276e10d9bab30db996386356c76a198e | 39c201c777151f939341e8f8150242bcde5a111b | /CH3/EX3.2/example2.sce | 9b4e10a2822ee94b3e0cfda01b8b4f6bd26c92eb | [] | no_license | nidhimj22/Scilab_Project- | 925a5883384736e79f1e600535461c6c9f06de40 | 4a9d1db96787ba0ea4e996349523a0b84bdacae3 | refs/heads/master | 2021-01-20T05:49:48.811688 | 2014-02-06T10:03:52 | 2014-02-06T10:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | example2.sce | // to find if diode will get destroyed
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 3-2, page 63
clear;clc; close;
// Given data
v=1.2; // diode voltage in volts
i=1.75; // diode current in amperes
P(1)=5;// power rating in watts
// Calculati... |
dd01066f51db169098ca16c4bc118eccca8ea4dc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH13/EX13.1/Ex13_1.sce | 7c5f42997ee03110add05b364c7f66e4557561fe | [] | 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 | 231 | sce | Ex13_1.sce | errcatch(-1,"stop");mode(2);//Caption:Find the frequency of voltage generated
//Exa:13.1
;
;
p=16//Number of poles
n=375//Speed of alternator(in r.p.m)
f=(p*n)/120
disp(f,'Frequency of voltage generated(in c/s)=')
exit();
|
ad44c65001009952793eefc8c2ee6e0ce31f0824 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH18/EX18.1/ex18_1.sce | 940e1083373d1c85ce6f2889f358a1ed0bf669e8 | [] | 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 | 205 | sce | ex18_1.sce | clc;
clear all;
Vp=50;//given peak to peak envelope voltages
Vr=1;//given voltage of envelope ripple in volts
Sc=20*log10(Vp/Vr);//carrier supression in db
disp(Sc,'carrier supression in dB is=');
|
c31d309bfeb63f40650e613f6c16a10539d08bff | 964a1ce44b6391e555c0e2aeff6c55dda847d718 | /Mini Compiler for LaTeX/test result/sing_res.tst | 185b662d4766d33d6a9856ac9604ca34046df143 | [] | no_license | kennethwty/mini-compiler-latex | 6c165567298c216d39a806fa7cc05ed67f1babfc | d1b99a4fbbac906bf61242a977886578e1eb3594 | refs/heads/master | 2021-09-28T10:08:02.927880 | 2018-11-16T17:45:46 | 2018-11-16T17:45:46 | 104,703,352 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | tst | sing_res.tst |
Checking that a simple switch to
single is working. In this case, upon
encountering the single block, the
Single is for Single spacing Verbatim
allows text that matches the Itemize
uses ticks to indicate items Center
allows a block to be centered
Notice that all of the whitepace should
be remo... |
f32624b18ca0ae4cfb7ae1efdfccbc8380d05dd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH6/EX6.11/Example_6_12.sce | 881c7e02d434f1e64c507697abd2da994d6c22a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Example_6_12.sce | A=[4,-1,1;1,1,1;-2,0,-6;]
disp(A)
printf('Eigen values are:')
disp(spec(A))
printf('Display of Shifting in Power Method:')
printf('Shifted Matrix (Shifted by -6)is')
A1=A-(-6)*eye(3,3)
disp(A1)
printf('Inverse of Shifted Matrix is' )
A=inv(A1)
disp(A)
U=[1,1,1]'
for i=1:4
B=A*U
a=abs(B(1,1))
... |
6b81e68430ed49e28a98e2deae4fdcd0fe83b552 | 8bd525c791439c0bc9fc2403398da0abf8fdf796 | /NewCase/linealizado_analiticamentePap.sce | 2637b8ccb27ff4c48139fb6e0d6d9a4f0bd0a133 | [] | no_license | jfloreshu/Laboratorio3Linealizacion | 42c06ed50ba8e1fe3c9e7e3399c3e8d4ef868263 | ded2b0996adc3f0afe98d9600de9c4ba816a0e9d | refs/heads/master | 2022-11-15T17:28:08.226830 | 2020-07-12T04:03:25 | 2020-07-12T04:03:25 | 278,912,213 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sce | linealizado_analiticamentePap.sce | //valores Linealizados analiticamente caso del pendulo paper
// Load the parameters
exec('edsonjParametersPap.sce', -1);
Aa=[0 1 0 0;...
0 -((b*(I+m*l^2))/((M+m)*(I+m*l^2)-m^2*l^2)) ((m^2*l^2*g)/((M+m)*(I+m*l^2)-m^2*l^2)) 0;...
0 0 0 1;...
0 -((b*m*l)/((M+m)*(I+m*l^2)-m^2*l^2)) ((m*g*l*(M+m))/((M+m... |
218aff597a70df9f7c39cce13f0d2d13fd3da923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH12/EX12.12/12_12.sce | 07c7e68181ffb8b585a504616f3675fefcfb3275 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | 12_12.sce | //Two cars
//refer fig.12.13
//Let A and B be the positions of cars when the drivers see each other and apply brakes
//Let they meet at C
//1.car A
au=12 //m/sec
av=0
//s=x
//a1 be acceleration
//using equation of motion
//a1=(-12)/t
//x=6*t
//2.car B
bu=9 //m/sec
bv=0
//a=a2
//time=t
//s=100-x
//us... |
69a77f0aee9a66ace37c1c40e615e0f0b704b5c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH2/EX2.5/ex2_5.sce | 12493e97d2ac7efc2d5eb849bbffc51b545faf37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | ex2_5.sce | epsilonr=4.6;
f=2*10^9;
z0=50; //line impedance
mu0=4*%pi*10^-7;
epsilon0=8.85*10^-12;
zf=sqrt(mu0/epsilon0); //free space impedance
temp=((epsilonr-1)/(epsilonr+1))*(0.23+(0.11/epsilonr));
temp1=2*%pi*(z0/zf)*sqrt((epsilonr+1)/2);
A=temp+temp1;
wtoh=(8*%e^A)/((%e^2*A)-2);
Eff=(epsilonr+1)/2+(epsilonr-1)/2*1/... |
8d006da8438109a6b637151496c16022970adef5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH4/EX1.4.2/Ex1_4_2.sce | 85f92643cd90a36bd4dc8464a3e7abd013016334 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | Ex1_4_2.sce | //Section-1,Example-2,Page no.AC-343
//To calculate viscosiy index of the oil sample under test.
L=774
H=414
U=564
VI=((L-U)/(L-H))*100
disp (VI,'Viscosity index of the oil sample under test')
|
73a5ed8884b5316ca9504209f7abc5b6bfb0d969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH8/EX8.7/example_8_7.sce | d8c1b36d789c1f0ca7966131f6f504d0726a4396 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | example_8_7.sce | //example 8.7
clc;
clear;
close;
printf("For input J and K = 0 otput Qn+1 = Qn i.e output does not change its state And for J = K = 1, The Output Qn+1 = Qn` i.e output toggles " ); |
88158a6b90fceed26fec693ed2c7b370761c1af2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH10/EX10.7/Ex10_7.sce | b4c64099346be22430f0122f6e6c679908b98119 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | Ex10_7.sce | //============================================================================================================
// chapter 10 example 7
clc
clear
// Variable declaration
n1 = 1.33; //refractive index of water
n2 = 1; // refractive index of air
// Calculations
theta_c = asin((n... |
1ea124a6e0f338ea541b4d9df348ef5f43d51703 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.28/EX3_28.sce | 02aef3913735db10cb3502ec28b18e08d3d0a838 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,979 | sce | EX3_28.sce | clc;funcprot(0);//EXAMPLE 3.28
// Initialisation of Variables
t1=373;.............//Initial temperature in K
p1=1;...............//Initial pressure in bar
p3=65;..............//Maximum pressure in bar
R=287;.................//Gas constant in kJ/kg
p4=p3;
ga=1.41;.................//Ratio of specific heats
Vs=0.0... |
c8b7d2392bacb8d3bbfc38c3b7ca3ca139f981c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.11.b/solution4_11.sce | fe83fab3ed0bf06a3578d3c393f82f064c66cb45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,701 | sce | solution4_11.sce |
//Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0)
v = v + (5 - rem)
end
endfunction
function[] = plot_format()
//Get the handle of current axes
g = gca()
//Give labels and set label pr... |
14062098cfc8faf2eca64014758735c183254ec1 | 44a742973d9db97b35c88d4c28f538a48a3029c8 | /pl/math/test/testcases/directed/asin.tst | 4fb981cc00186a7f38abd16559053d4a9a42d8a3 | [
"LLVM-exception",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ARM-software/optimized-routines | ac3349617ef6c7119050e1a26f33a040448a5c7b | 4bdee55e42855a884f9da47abfe8c612b8534294 | refs/heads/master | 2023-08-15T11:56:21.269079 | 2023-08-14T12:34:34 | 2023-08-14T12:34:50 | 45,979,634 | 478 | 85 | NOASSERTION | 2023-09-12T08:13:38 | 2015-11-11T12:12:32 | C | UTF-8 | Scilab | false | false | 1,361 | tst | asin.tst | ; asin.tst
;
; Copyright 2009-2023, Arm Limited.
; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
func=asin op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
func=asin op1=fff80000.00000001 result=7ff80000.00000001 errno=0
func=asin op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
f... |
3b0144fcc898e9fd8d540ebdf3a1cc3f26ac1fef | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH4/EX4.4.29/Ch4_4_29.sce | d961ab69ffbe5ae4cc0eb6fa7575fde91201b993 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 928 | sce | Ch4_4_29.sce | clc
disp("Example 4.29")
printf("\n")
disp("Calculate suitable values of R1,Rp,R2 for SCR in circuit Fig 4.12")
printf("Given\n")
printf("Resistance are in ohms \nCurrent are in Ampere \n Voltage sources are in volt\n")
//gate current
Ig=600*10^-6
//gate trigger voltage
Vg=0.7
Vd=0.7
//supply voltage
Vs=230... |
f9132810b34a84f7eb054e7a8537f521bb30553f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH7/EX7.16/Ex7_16.sce | 1d4865d1b4e580c2bdb9f6e896967c310e9d9e48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,439 | sce | Ex7_16.sce | clc
clear
//DATA GIVEN
V1=0.216; //gas consumption in m^3/min
P1=75; //gas temperature in mm of water
T1=17+273; //gas tempertaure in K
m=2.84; //air consumption in kg/min
Ta=17+273; //air tempertaure in K
br=... |
cfff1a38892000cebb897a8044a95f98e056f539 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH4/EX4.7/Ex4_7.sce | fb42e8739c90278a3699d83e240c036b2aace166 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,486 | sce | Ex4_7.sce | // Example no 4.7
// To compute diffraction loss and identify Fresnel zone within which tip of obstruction lies for a)h=25m b)h=0 c)h=-25m
// Page no. 132
clc;
clear;
// Given data
lambda=1/3; // Wavelength in meter
d1=1*10^3; /... |
96f48bead0ff8c65d4a7558f99d894e9bf12f27a | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH19/EX19.02/19_02.sce | 6709b39513e0ae0afcec2467446ca47706c78de6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 904 | sce | 19_02.sce | //pathname=get_absolute_file_path('19.02.sce')
//filename=pathname+filesep()+'19.02-data.sci'
//exec(filename)
T1=285 //K
p1=1 //bar
T3=773 //K
p2=4 //bar
r=1.4
Cpa=1.005 //kJ/kg.K
CV=43100 //kJ/kg.K
T3=273+500 //K
//Temperature at state 2(in K):
T2=T1*(p2/p1)^((r-1)/r)
//Temperature at state 2'(in K):
T2... |
150d4445aec3faaa48614f9963ff9b5c8c22bb91 | c5f124f3f31b29a0c7f7dfac02f417eb2e3e69fd | /grafico_funcao2.sce | 98a9df4297293b42da175e59595e410e8de081da | [] | no_license | leonardbarreto/ProbInversos | 537a31158bd3022482f83a1889cc0b4bd932b5f5 | dcd682a29fd900036bd44217b21aebf9e5042727 | refs/heads/master | 2021-01-15T11:49:03.863602 | 2012-09-11T20:01:54 | 2012-09-11T20:01:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | grafico_funcao2.sce | function[z]=fx(x,y)
z=(x^2)+3*(y^2)-2*x+2*y
endfunction
x=[2:0.1:1.5];
y=x;
w=feval(x,y,fx);
plot3d(x,x,w) |
b2ea89baab5c8243b0772a7b39d29c27d1407b00 | 6cb749937ed1f53a5c22d6d7276c82f9a56ea0f4 | /arduino_svn/help/fr_FR/ANALOG_READ_SB_help.tst | 2cee3a82438b79e94349b097ffc7019bca8d89be | [] | no_license | fizcris/Scilab_Xcos_arduino_toolbox_david_MPU6050 | 2aacb3b5f75d49f1d8c8b46fa51f2b0c53afc985 | d488f268526d0cf6140f19426813b4b289566d37 | refs/heads/master | 2021-06-25T01:19:38.819142 | 2021-06-18T22:43:11 | 2021-06-18T22:43:11 | 26,444,710 | 2 | 6 | null | null | null | null | UTF-8 | Scilab | false | false | 1,279 | tst | ANALOG_READ_SB_help.tst | \name
ANALOG_READ_SB
\palette
Arduino
\smalldescription
Permet de réaliser l'acquisition d'une grandeur analogique sur le port Analogique d'une carte Arduino.
\description
La carte Arduino UNO possède 6 ports d'entrées analogiques (de A0 à A5), la carte Arduino Mega possède 16 ports d'entrée analogique (de A0 à A15)... |
da0602e283c715b2522fa168ed085f4b7b7c0ff9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH19/EX19.6/eg19_6.sce | b64fcb7340cf537609865a486e425f40f87af854 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | eg19_6.sce | clear;
//clc();
function y=z(x)
y=sin(x)
endfunction
exact=-2.5432;
pe=50;
pm=100;
p_inc=30;
del1=asin(pe/pm);
//at point b
pb=80;
del2=asin(pb/pm);
a1=pb*(0.927-0.523)-100*intg(0.523,0.927,z);
a2=100*intg(0.927,(3.14-0.927),z)-80*(3.14-2*del2);
if a1<a2 then
disp("the generator will... |
befbb189d55512e7a1c745ff2cde07c8b7ed0d8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH4/EX4.02.7/Reconstruction.sce | 706488820abf3bb92564b435122f0c30df698302 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | Reconstruction.sce | //Graphical//
//Example 4.02.7 Sampling a Nonbandlimited Signal
//Plotting Discrete Time Fourier Transform of
//Discrete Time Signal x(nT)= exp(-A*T*abs(n))
clear;
clc;
close;
// Analog Signal
A =1; //Amplitude
Dt = 0.005;
t = -2:Dt:2;
//Continuous Time Signal
xa = exp(-A*abs(t));
//Discrete Time Signal... |
0903f4577f047a16c7e90fafa35e1f7ee5f6cfe8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH7/EX7.21/Ex7_21.sce | 2f8167ce720a8cadea664f572348fe477a961da8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,186 | sce | Ex7_21.sce | clear
//
//
//Initilization of Variables
d=150 //mm //Diameter
T=20*10**6 //N //Torque
M=12*10**6 //N-mm //B.M
F=200*10**3 //N //Axial Thrust
//Calculations
//M.I
I=(%pi*64**-1*d**4)
//Bending stress
f_A=M*I**-1*(d*2**-1) //N/mm**2
f_B=-f_A //N/mm**2
//Axial thrust due to thrust
sigma=F*(%pi*4**-1*d**2)**-1
//A... |
ac9a1d4f17a596d6625aa12d91b2196ac4cab43a | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 2/Aula 11 - Métodos EDOs/Metodo_de_Taylor.sce | eaf7db2239e467de4332fdf419ddcf7b7aef015a | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,146 | sce | Metodo_de_Taylor.sce | //Método de Taylor
//Utiliza das expansões da série de taylor, onde os dois primeiros elementos são o método de Euler, o resto do somatório é o erro
//Para obter um método melhor basta calcular mais termos da série
//Método é explicito e possue uma boa zona de estabilidade
//Problema: é necessário a f e a derivada de f... |
73ae97aa26c488bbe85df6ecbb6a7948b6519a78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH4/EX4.21/Ex4_21.sce | 115f09385f4b3d03b950d9e06370e6d5cfc9e22b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,532 | sce | Ex4_21.sce |
//Variable declaration
gm = 2 //transconductance
rd = 200*10^3 //dynamic drain resistance(ohms)
Cgs = 10 //gate to source capacitance(pF)
Cgd = 0 //gate to drain capacitance(pF)
Rs = 1*10^3 //source resistance(ohms)
Rg = 1*10^6 //Rg ... |
b11eb081cbdad3c407f746a57f5189064c65db31 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Air VL Sparky.sce | 0924f5f7c56056a73b0425b1c6f3157c3c001678 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107,015 | sce | Air VL Sparky.sce | Name=Air VL Sparky
PlayerCharacters=A
BotCharacters=Bot Rotation air.rot
IsChallenge=true
Timelimit=1000.0
PlayerProfile=A
AddedBots=Bot Rotation air.rot
PlayerMaxLives=0
BotMaxLives=6
PlayerTeam=1
BotTeams=2
MapName=airvertlimited03b.map
MapScale=6.0
BlockProjectilePredictors=false
BlockCheats=true
Invi... |
a73605b1734752cab53a55339dc972906635faa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH8/EX8.6/ex_8_6.sce | 9a1124b08b4ecbc7fd37b50a0d6a7c99371b9b4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | ex_8_6.sce | //Example 8.6 //current
clc;
clear;
close;
V=220;// in volts
I=60;// in amperes
rpm=728;//turns
Ts=150;//shaft torque in N-m
nc=80;//commercial efficiency in percentge
I=((Ts*2*%pi*rpm*746)/(60*746*(nc/100)*V));// CURRENT TAKEN IN AMPERES
disp(round(I),"current taken in amperes is")
|
3fd4e585a1fe7f5abda611b4f3de65f576d909fd | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/besselj.man.tst | 2178437cce1071fa3135cb40bcfde71358467fcb | [
"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 | 36 | tst | besselj.man.tst | clear;lines(0);
besselj(0.5:3,1:4)
|
8aaa898ee4cfb641de22a2ded81afd4cb25ed77a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.14.c/1_14_c.sce | d25dcad50876e7c158a2ce62f1975a12fe3fe5b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | 1_14_c.sce | //Example 1.14<c>
// Find wheather the following signal is periodic or not x3(n)=e^(i*7*pi*n)
clc;
n=-21:21;
x=exp(%i *7* %pi *n);
f=(7*%pi)/(2*%pi);
N=1/f;
disp(N,'the given signal is periodic');
|
77d9ed636bfbdaf642f81a52e53014a6e0d8dc9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH8/EX8.20/8_20.sce | ce764774df855b86ecb52f76d869bcf5d48cfbeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | 8_20.sce | //effect of moving pole near jw axis
s=%s
sys1=syslin('c',(s+1)/(s^2*(s+10))) //a=10 b=1
evans(sys1)
sys2=syslin('c',(s+1)/(s^2*(s+9))) //a=9
evans(sys2)
sys3=syslin('c',(s+1)/(s^2*(s+8))) //a=8
evans(sys3)
sys4=syslin('c',(s+1)/(s^2*(s+3))) //a=3
evans(sys4)
sys5=syslin('c',(s+1)/(s^2*(s+1))) //a... |
714b742f9c9e2f51f224c4eb2c8240040d342c98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH8/EX8.3.5/Single_pole_filter.sce | 35614d03b42cf6838cdb76386ffe93eccb6bcbf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,154 | sce | Single_pole_filter.sce | //Graphical//
//Example 8.3.5 Sigle pole analog filter
//Bilinear Transformation
//To convert analog filter into digital filter
clear;
clc;
close;
s = poly(0,'s');
Omegac = 0.2*%pi;
H = Omegac/(s+Omegac);
T =1;//Sampling period T = 1 Second
z = poly(0,'z');
Hz = horner(H,(2/T)*((z-1)/(z+1)))
disp(Hz,'Hz ='... |
85fb0f15273947017b01bca0d85acfe2584d7809 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH7/EX7.10/Ex7_10.sce | 9d703feb2b5db00017e5968cfe739a7d3a0ebbc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,197 | sce | Ex7_10.sce | // Given:-
EfFdot = 100.00 // exergy rate of fuel entering the boiler in MW
cF = 1.44 // unit cost of fuel in cents per kw.h
Zbdot = 1080.00 // the cost of owning and operating boile... |
49d4a04139a272afbe62750367d78f2cda1834b3 | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/H2LW-qualysis-ident-1frame.sce | c23d202aa8724699dbc0fa4db1fa56423e73bdc7 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,785 | sce | H2LW-qualysis-ident-1frame.sce | // 21 janvier 2013
// construction du modele du bonhomme
// modelisation 2 D 5 segments pour le bonhomme et
// le deambulateur est un objet rigide a trois branches
// On ajoute un PI pour vrifier que la pose est telle que les pieds touchent le sol.
// read qualysis data
path = '/home/dune/Documents/data/Ana... |
dd6208039f7a5482a9ce92b07f2d3627c673637d | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/3/tests/test17.tst | 00a3985a1c5bca92ac01a495c2383f459f0e1ec6 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | tst | test17.tst | type newType = array 20 of short;
void sym1 (int a, short b, newType c) {
var e : array 10 of short;
var d : array 10 of newType;
PRINT SYMBOL TABLE
}
|
82e09b7a1efc3b0e9c3b7b18414aedf1ee869bfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.10/7_10.sce | 1c2088003c5b763c5a5c9ae9ad6cdfa631776575 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | 7_10.sce | clc
clear
//Input data
d=6;//Diameter of the bore in cm
l=9;//Length of the stroke in cm
m=0.00025;//Mass of charge admitted in each suction stroke
R=29.27;//Gas constant Kgfm/kg K
p=1;//Normal pressure in kgf/cm^2
T=273;//Temperature in K
//Calculations
V=(m*R*T)*10^6/(p*10^4);//Volume of charge admitted i... |
dd5280eb6e6df84af4487b555cf25d847b698b79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH4/EX4.4/4_4.sce | 85223bc324e7013d8c23d50bc0482a328c014749 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | 4_4.sce | clc
//initialization of variables
l1=2886 //cm^-1
l2=5668 //cm^-1
//calculations
wave=2*l1-l2
wave2= wave+l1
x=wave/(2*wave2)
//results
printf("anharmonicity constant = %.4f ",x)
|
c5be21ce2e952b876d40e6bd0aa892b30f7cdf2b | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /macros/more/filter2D.sci | 45c8246ec9c1013d32f03d16c41e856455237a00 | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sci | filter2D.sci | //Function migration (image list to matrix) for: filter2D
//Generated by migrate.cpp
//Author: Anirudh Katoch
function res = filter2D(varargin)
select length(varargin)
case 06 then
res = il2mat(raw_filter2D(mat2il(varargin(01)), varargin(02), varargin(03), varargin(04), varargin(05), varargin(06)))
else
erro... |
4bf9f38aca34d96c02f72b7f81db58879ab570b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.5/Example9_5.sce | 2518fbe57aa0e6187861f2d9e57e0ba06971eaba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Example9_5.sce | //Example 9.5
clc
disp("V_CC = +15 V")
vsat=0.9*15
format(5)
disp(vsat,"Therefore, V_sat(in V) = 0.9 V_CC =")
disp(" R1 = 51 k-ohm, R2 = 120 ohm")
vut=(13.5*120)/((51*10^3)+120)
format(8)
disp(vut,"V_UT(in V) = +V_sat*R2 / R1+R2 =")
vlt=(-13.5*120)/((51*10^3)+120)
disp(vlt,"V_LT(in V) = -V_sat*R2 / R1+R2 ... |
acd9b6fea1bd938439cd9c104aaedd8b9ee4d476 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_17.tst | a5480bceab0d88b9a2949c7981ee7ae4d7e54753 | [] | 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 | 27,142 | tst | bow.18_17.tst | 18 29:3.0 35:0.09090909090909091 39:1.0 49:0.125 79:0.3333333333333333 87:0.1111111111111111 117:0.5 132:2.0 136:1.0 205:0.6666666666666666 227:3.0 271:1.0 278:1.0 279:1.0 305:0.5 306:0.5 317:1.0 533:1.0 963:3.0 1365:1.0 1526:1.0 1912:1.0 2265:1.0 2602:1.0 2645:1.0 4153:5.0 4836:1.0 5091:2.0 5093:0.047619047619047616 5... |
522992aec5e728cbd650fe7b590779b5b780672c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH6/EX6.6/6_6.sce | 350d119abe1742627223fded50913b306ce112b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | 6_6.sce | clc
//initialisation of variables
Qt= 150000 //cuses
i= 1/10000
n1= 1
n2= 2/3
d1= 30 //ft
C1= 100
C2= 75
b1= 600 //ft
b2= 2000 //ft
r= 2
A1= (b1+d1)*d1
P1= b1+(2*d1*sqrt(2))
m1= A1/P1
v1= C1*sqrt(m1*i)
Q1= A1*v1
Q2= Qt-Q1
v2= v1/2
A2= Q2/v2
d2= (-b2+sqrt(b2^2+4*1.5*A2))/(2*1.5)
//RESULTS
printf (... |
5d4e057e6534451d8cba27aa75bc20d1a335d24a | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH12/EX12.7/exa12_7.sce | 9ea2e929687cd1b070cabfe59881a2bc886f74de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa12_7.sce | clc;
//Example 12.7
//Page No 526
//Solution
c=3*10^8;
disp("Substituting into equation 12-48");
d=((0.8)*c*(1*10^-6))/2;
disp('m',d,'d = ');
|
764c329ec7088029b46cc7e0098ef446a1153dd0 | db6bf7a48402d01d4a3d8fc2d079c643e11c3ca5 | /compand_function.sci | d86b328d2e1e6b240764fa7a59b47b57d92e4350 | [] | no_license | Pooja-Mahadev-Soundalgekar/scilab_functions | 002690f52e25b752d4df388b93db62222ce73ff1 | 9edbd3691dc3feb0b8beee81dd5dcf595084ffb5 | refs/heads/master | 2021-01-10T16:05:53.828728 | 2016-11-13T15:41:35 | 2016-11-13T15:41:35 | 54,736,869 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,646 | sci | compand_function.sci | //
//Implementation of Matlab function compand() in Scilab.
//
//Name:Pooja Mahadev Soundalgekar
//2nd Year Information Technology
//National Institute of Technology Karnataka
//Email: pooja27ms@gmail.com
//
//Function:compand()
//
//Function argument types:
//
//1. out = compand(in,param,v) same behaviour as of out = ... |
42d79cc5fe278f7488f214b04d93614e318bd901 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.10_18.tst | 25dd4817b9fee5bfdcfd1a6107d887384a458665 | [] | 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 | 13,821 | tst | bow.10_18.tst | 10 26:0.5 101:0.013157894736842105 130:0.3333333333333333 445:1.0 763:1.0 1156:1.0
10 30:0.5 47:1.0 48:1.0 101:0.013157894736842105 191:0.2 239:1.0 313:1.0 605:1.0 653:1.0 654:1.0 660:1.0 1567:1.0
10 5:0.5 46:0.25 73:0.2 101:0.013157894736842105 220:1.0 925:1.0
10 39:0.16666666666666666 48:1.0 72:2.0 191:0.4
10 59:0.1 ... |
bc391c5c903570359af11c19fcf50dd5927881d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH9/EX9.2/Ex9_2.sce | 7212c315310771708206a3042ba6740cf9634814 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,081 | sce | Ex9_2.sce |
// Given :-
clc;
r = 18.00 // compression ratio
T1 = 300.00 // temperature at the beginning of the compression process in kelvin
p1 = 0.1 ... |
b0d1fa27d31bc236d83476bfb91a62c41a18525f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PFT3.prev.tst | 31c3b76b4b49f00be11636ecc1c61583954f04dd | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | tst | PFT3.prev.tst | result postfix=[1, 1, x, -, x, y, *, -, /]
A007318 tria 0 1 1,-1,-1,0,0,0 x,y
result postfix=[1, 1, x, -, 1, x, y, *, -, *, 1, x, 2, ^, y, *, -, *, /]
A003983 tria 1 1 1,-1,-1,0,0,0,0,1,1,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 x,y
result postfix=[1, 1, x, -, 2, ^, 1, x, y, *, -, *, /]
A004736 tria 1 1 1,-2,-1,1,2,... |
96ab20a4ff62a34b1dbe9078502f57d02d27d0a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH7/EX7.2/Chapter7_Ex2.sce | 755c5c9824d041e86e1bda5d67b3d938d80fbc6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,345 | sce | Chapter7_Ex2.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc. USA,pp 436.
//Chapter-7 Ex7.2 Pg No.270
//Title:The gradient for B in the liquid film
//===========================================================================================================
clear
clc
//INPUT
C_B0_by_C_Ai=40;
D_A_by_D... |
2a84155c06ba5d267625ea3fa14a09e907679872 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH5/EX5.37/ex5_37.sce | b4e35a3b999216a2938093524dee46442ad5d779 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | ex5_37.sce | //Page Number: 5.43
//Example 5.37
clc;
//Given,
bw=3.5D+3; //Hz
//Roll off factor
a=0.25;
Rb=(2*bw)/(1+a);
disp('b/s',Rb,'Data Rate');
|
5f41922234e5439e4c05a59df7ef68c030cc465f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH3/EX3.3/Ex3_3.sce | d8ca68b522a6c6f42035e25a79cb338d246e7acf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | Ex3_3.sce | clc;
//page 86
// Given data
P=30; // lb, Force applied to shift lever
alpha=20;// degree, angle made by force P with -ve X axis
Q=P*sind(alpha)//in degree
d=3//in ft
M_o=Q*d//N.m , here negative signs are taken as each component creates moment clockwise
printf("The moment of force P about B is %.2f lb-ft . ... |
5743d2cf2eaeafb6facd3d1b709b1a814bf56140 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/physique/son/read.sce | 574c2fc3f2b0b1cd38bffbfae7e1eb83f074e5f5 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | read.sce | clear;
s=loadwave("son.wav");
fs=44100;
plot(s);
halt();
xbasc();
analyze(s,fmin=100,fmax=3000,rate=fs);
halt();
xbasc();
mapsound(s,dt=0.1,simpl=1,fmin=100,fmax=3000,rate=fs);
//playsnd(s);
|
9c4ef7122328ae3f2b4a50351311a0f42f238c5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH5/EX5.12/5_12.sce | daad7d644fda89a15ab4b55453a774f186fe4e00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 5_12.sce | pathname=get_absolute_file_path('5_12.sce')
filename=pathname+filesep()+'5_12data.sci'
exec(filename)
v1= (L1/L0)*V(3);
v2= (L2/L0)*V(4);
v3= v1+v2;
theta=atan(v3/(D(9)-D(6)));
printf("\nθB: %f rad",theta); |
792b076b614c2b4326f81f5a5f1b56ffb0d6be17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH5/EX5.a.5/Example_a_5_5.sce | 93fae93ac7e5c05c1b4b991a77ef1dba0d469386 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,094 | sce | Example_a_5_5.sce | //Example_a_5_5 page no:204
clc;
Vmag=100;
Vang=0;
f=50;
L1=3+(%i*31.41);
L2=5-(31.83*%i);
L3=10+(%i*150.73);
R1=3;
R2=5;
R3=10;
L1mag=sqrt(real(L1)^2+imag(L1)^2);
L1ang=atand(imag(L1)/real(L1));
I1mag=Vmag/L1mag;
I1ang=Vang-L1ang;
I1real=I1mag*cosd(I1ang);
I1img=I1mag*sind(I1ang)*%i;
I1=I1real+I1img;
... |
f8f4653865d32a1394bb317fe502839766ba7767 | 31e6f49f6786aa5240625154834e364f6cfb8b50 | /test/FunctionCalls/StaticsTest/StaticsTest.tst | 78cdd9a5bcd00aa4868299d887655d32ad5de70a | [] | no_license | eilgin/hack-vm | 14dcad5e39bbe923bc68c981c7636ef68ad344d1 | 290dd3ea76724555d4f6f32c944dcf8939d3866e | refs/heads/master | 2021-01-15T18:01:05.019693 | 2012-09-17T10:37:54 | 2012-09-17T10:37:54 | 5,839,569 | 5 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | tst | StaticsTest.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/08/FunctionCalls/StaticsTest/StaticsTest.tst
load StaticsTest.asm,
output-file StaticsTest.out,
compare-to StaticsTest.cmp,
outp... |
7e41ac32d42faebe64bbcd6a301cb2e6f1197ea1 | 881e0bcc7118244a24f736786ac36140acfb885e | /pima/results/GAssist-ADI-C.pima-5/result4s0.tst | 30a50a288de9dbfdffca56bc35f2baeb878bf5b0 | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,907 | tst | result4s0.tst | @relation pima-5
@attribute 'preg' real [0.0, 17.0]
@attribute 'plas' real [0.0, 199.0]
@attribute 'pres' real [0.0, 122.0]
@attribute 'skin' real [0.0, 99.0]
@attribute 'insu' real [0.0, 846.0]
@attribute 'mass' real [0.0, 67.1]
@attribute 'pedi' real [0.078, 2.42]
@attribute 'age' real [21.0, 81.0]
@attribute 'class'... |
77a5af1fa21903b07efb9f277b7be824bf0198d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH3/EX3.3.5/Example3_3_5.sce | d6b248e5593341bfc4fa15094c61a9cda2a7e540 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Example3_3_5.sce | //Example 3.3.5 page 3.33
clc;
clear;
n= 3.6;
BETA= 21*10^-3;
alpha= 10;
L= 250*10^-4;
r= (n-1)^2/(n+1)^2;
Jth= 1/BETA *( alpha + (log(1/r)/L));
Jth=Jth/1000; //converting for displaying...
printf("The threshold current density is %.2fx10^3",Jth);
Jth=Jth*1000;
Ith =Jth*250*100*10^-8;
Ith=Ith*1000; //... |
82eca93efbbb12e4faa3280d6499efb4bff21024 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH6/EX6.3.2/Example_6_3_2.sce | 3ba5797d849cd3f3ba2e52624506b8a3ffdc55ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | Example_6_3_2.sce | // Example 6.3.2 page 6.12
clc;
clear;
n=1.7; //refractive index
L=5d-2; //distance between mirror
c=3d8; //speed of light
lamda=0.45d-6; //wavelength
k=2*n*L/lamda; //computing number of modes
delf=c/(2*n*L); //computing mode separation
delf=delf*10^-9;
printf("\nNumber of mo... |
ee01527cd35714e5f9318e543d063b062bd11323 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH2/EX2.7.13/ex_2_7_13.sce | 067cbcd4fed1fea71d1b8e964e5a430e8f7cc670 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | ex_2_7_13.sce | //Example 2.7.13;//design
clc;
clear;
close;
format('v',6)
vs=30;//in volts
n=0.51;//
vd=0.7;//in volts
vp=(n*vs+vd);//in volts
c=0.1;//in micro farads
vv=3.5;//in volts
x=log(vv/(vp-vd));//
t2=50;//in micro seconds
r3=-((t2*10^-6)/(x*c*10^-6));//in ohms
f=50;//in Hz
t=(1/f)*10^3;//in ms
t1=(t-(t2*10^-6));//inms
x1=log... |
6688a0b74d48037a9866f055c4decdde13806267 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH3/EX3.12/3_12.sce | c0273f306cf8d54d7d6cd62648cf01c535357bd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | 3_12.sce | //practical interpolation
//example 3.12
//page 99
clc;clear;close;
x=[1.72 1.73 1.74 1.75 1.76 1.77 1.78];
y=[0.1790661479 0.1772844100 0.1755204006 0.1737739435 0.1720448638 0.1703329888 0.1686381473];
h=0.01//interval between values of x
c=1;
for i=1:6
d1(c)=y(i+1)-y(i);
c=c+1;
end
c=1;
for i=1:... |
aa0eb9bf80747cce0c21e5ab8da7609de5fa6561 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/util/msign.sci | 6057aa248191e9c05730a5ae7f340aaa5a9bd4b2 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sci | msign.sci | function x=msign(a)
// msign - computes the matrix sign function.
//%CALLING SEQUENCE
// x=msign(a)
//%PARAMETERS
// a : square hermitian matrix
// x : square hermitian matrix
//%DESCRIPTION
// This macro is called by the function sign to compute square matrix
// sign function.
//!
[m,n]=size(a)
if m<>n... |
0b036cae8e5f3790f2e502c868cbbf80b6491de8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH18/EX18.5/18_5.sce | e77b33ac8fd5122f6a5f91967732917bb22101b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,058 | sce | 18_5.sce | clear;
clc;
//Example - 18.5
//Page number - 652
printf("Example - 18.5 and Page number - 652\n\n");
// Given
// N2 + 3H2 - 2NH3
T_1 = 700;//[K] - Reaction temperature
Max_adia_rise = 100;///[K] - Maximum adiabatic rise in temperature
T_2 = T_1 + Max_adia_rise;//[K] -
delta_H_rkn_700 = -94.2;//[kJ] - S... |
f4ea1e575853c575ac0028eb54f55643110d7da9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.10.a/Ex_2_10_a.sce | c9e161f5a3609a12d02f2706545512989cf6fb2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_2_10_a.sce | // Example 2.10.a;Core Readius
clc;
clear;
close;
n1=1.450;//Waveguide Refractive Index
n2=1.447;//Cladding Refractive Index
h= 1.3;// Wavelenght in micrometers
NA=sqrt(n1^2-n2^2);// Numerical Aperture
a= (2.405*h)/(2*%pi*NA);// Core radius
disp(a,"Core radius in micro meter")
|
95af8e3ed5ff3cc3957e4e0f507964c188505ecb | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony7.sce | 3cab1342f3112359edb58b49ac247a91dd00e4fc | [] | 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 | 260 | sce | prony7.sce | //check o/p when the length of impulse response is smaller than the largest order
impr=[1 2 3];
num_ord=4;
den_ord=4;
[num,den]=prony(impr,num_ord,den_ord);
disp(num);
disp(den);
//output
// 1. 2. 3. 0. 0.
//
// 1. 0. 0. 0. 0.
|
e3151f91beb0cf39bd4174baae7611a33af9193e | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH3/EX3.18/Example3_18.sce | fc399e533d399f92d5b510051bbc233950db57c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,085 | sce | Example3_18.sce | //Example 3.18
//Program to Compute output responce of following sequences
//x[n]=[1,2,3,1]
//h[n]=[1,1,1]
//(1)Linear Convolution
//(2)Circular Convolution
//(3)Circular Convolution with zero padding
clear;
clc ;
close ;
x=[1,2,3,1];
h=[1,1,1];
//(1)Linear Convolution Computation
ylinear=convol (x,h);
//... |
4c1688b3f40cc4e649d9bfb452081c6f0c750da5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH5/EX5.1/Example5_1.sci | af2026b312101a4966cbb4fc431cce59c424c39e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,128 | sci | Example5_1.sci | clc();
clear;
// to calculate the maximum temperature inside the coil when current was 2.5 amp
// the ratio of radii 12/13.5 is so great that the curvature may be neglected
Di= 10/12; // inside diameter of the coil in ft
x=7/48; // th... |
fdfe09fb6ba08afab0b533d0e31b60430f84cf96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH1/EX1.5.7/1_5_7.sci | a5fb27f8f7946556f33498891cd685803f30c8ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sci | 1_5_7.sci | //page 39
clear;
close;
clc;
A=[1 1 1;1 1 3;2 5 8];
disp(A,'A=');
[L,U,P]=lu(A);
disp(L,'L=');
disp(U,'U=');
disp(P,'P=');
disp(P*A,'PA=')
disp(L*U,'LU=')
disp('This shows that PA is the same as LU')
//end |
12fef8bfa1e3cb19df9796b1398f5e082756747c | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH10/EX10.1/example10_1.sce | 2c7b10384dde53e7df1241d381acf102f571219c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | example10_1.sce | clear;
clc;
//Example10.1[Nucleate Boiling of Water in a Pan]
Ts=108;//Temp of surface of bottom of pan[degree Celcius]
Tsat=100;//Saturation temp of water[degree Celcius]
D=0.3;//Diameter[m]
//Properties of water at the saturation temp
rho_l=957.9;//Density of liquid[kg/m^3]
rho_v=0.6;//Density of vapour[kg/... |
06503be6db1473658a44a628bc9f01e701a9f17e | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH10/EX10.6/10_6.sce | 2fab7c44265cf7c3c68b166b8878247d26b909c9 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 818 | sce | 10_6.sce | clc;
KE=1/2*(800*1000/3600)^2/1000;
T0=-50+273;
cp=1.005;
T0_=T0+[24.7/cp];
Ieff=0.9;
T0_s=Ieff*(T0_-T0)+T0;
y=1.4;
pa=0.24;
p0_=[(T0_s/T0)^[y/(y-1)]]*pa;
p0_2!p0_=10;
T0_2s=T0_*[p0_2!p0_^([y-1]/y)];
T0_2=T0_+(T0_2s-T0_)/Ieff;
p0_2=10*p0_;
p0_3=p0_2-(0.14);
T0_3=820+273;
meff=0.98;
cp2=1.15;
T0_4=T0_3-[cp*(T0_2-T... |
52bdea5bf4e57ed45f3df820bec7a374aa86940c | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.07/1_07.sce | cbbd47dfb234b30c556b4ad9952af8e591e2e398 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | 1_07.sce | //pathname=get_absolute_file_path('1.07.sce')
//filename=pathname+filesep()+'1.07-data.sci'
//exec(filename)
//Weight of object at standard gravitational acceleration(in N):
w=100
//Standard acceleration due to gravity(in m/s^2):
g=9.81
//Gravitation acceleration at given location(in m/s^2):
g1=8.5
//Mass of o... |
58997b0e40a4c17351b209a56b9bcab11072fb60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH16/EX16.3/16_3.sce | a33d16858d8030516476e7a841ef0738c00b0aa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | 16_3.sce | v1 = 1; v2 = v1; v3 = v2; v4 = v2;
e = 0.56; // Degree of reaction
P = 1; // Dummy
T = 1200; R = 8.3143;
x1 = (1-e)/2; x2 = (1-e)/2;
x3 = e/2; x4 = e/2;
K = (((x3^v3)*(x4^v4))/((x1^v1)*(x2^v2)))*P^(v3+v4-v1-v2); // Equillibrium constant
dG = -R*T*log(K);
disp(K,"Equillibrium constant is")
disp("J/gmol",dG,"Gib... |
ed26d6bbad7c11697df85f785e77df722385f414 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH7/EX7.1/example7_1.sce | 94c162e0de049f6dbd9daba390490dd7896b61a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | example7_1.sce | //clc()
Pas = 71.2;//kPa
Pbs = 48.9;//kPa
P = 65;//kPa
//P=(Pas-Pbs)*xa+Pbs,xa=mole fraction of n-heptane,liq. condition,therefore
xa = (P - Pbs)/(Pas - Pbs);
//ya = Pa / P , Vapour condition
ya = Pas * xa / P;
P1 = xa * 100;
P2 = ya * 100;
disp("%",P1,"Percentage of hepatne in liquid = ")
disp("%",P2,"Perce... |
9c2855f014018904f31b677153d2d057ee0b2220 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH4/EX4.1/4_1exam.sce | 5150cc756aa51840bde079cd9de39209b68b97d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,946 | sce | 4_1exam.sce | //Engineering and Chemical Thermodynamics
//Example 4.1
//Page no :175
clear ; clc ;
//Let
H2O = 1 ;
NH3 = 2 ;
CH4 = 3 ;
CH3Cl = 4 ;
CCl4 = 5 ;
M_11 = 1.85 ; alp_12 = 14.80 ; I_13 = 12.62 ;
M_12 = 1.47 ; alp_22 = 22.20 ; I_23 = 10.07 ;
M_31 = 0.00 ; alp_32 = 26.00 ; I_33 = 12.61 ;
M_41 = 1.87 ;... |
6ba553a7433d81820924257afb8ea1421a234899 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latc2tf/latc2tf16.sce | 1a9372853063c49675cc23c29a4b078189ace203 | [] | 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 | 287 | sce | latc2tf16.sce | //i/p arg k is of type char
k=['char','v'];
[num,den] = latc2tf(k,'allpass');
disp(num);
disp(den);
//output
//!--error 53
//latc2tf: Wrong type for argument #1 (k); Real or complex vector expected
//at line 78 of function latc2tf called by :
//[num,den] = latc2tf(k,'allpass');
|
17bfd3b5d5412ac6844ef812177c3b799b094cb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH19/EX19.05/19_05.sce | d7efe6eaede899977364afd8d45036fb9fcf3d69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,117 | sce | 19_05.sce | //pathname=get_absolute_file_path('19.05.sce')
//filename=pathname+filesep()+'19.05-data.sci'
//exec(filename)
//Pressures(in bar):
p1=2.2
//Temperatures(in K):
T1=220
T4=1273
//Velocities(in m/s):
C1=260
//Nozzle efficiency:
nn=0.85
//Turbine efficiency:
nt=0.88
//Diffuser efficiency:
nd=0.90
//Specifi... |
8bd9cc51640b6afc3bdbcbd60b459d6f1e821c24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH7/EX7.1/7_1.sce | d225860213db34cada5e97b512cb0226401e5608 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | 7_1.sce | //clc();
clear;
//To determine matter wave energy
V=3*10^3; //velocity of matter wave in m/s
lambda=600*10^-9; //wavelength in m
h=6.6*10^-34; //planck's constant in Js
E=(h*V)/lambda;
printf("matter wave energy in J is");
disp(E);
//answer in book is wrong
|
ea9c1f1f8d139a364d4623661e53807115d67da9 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnHe/enhe.3.tst | 0af0ebeb27294892c7b855ee17dd5e4cb218fce9 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28,690 | tst | enhe.3.tst | a a r o n s o h n א ר ו נ ס ו ן
a b d o u ע ב ד ו
a b e d i ע ב י ד י
a b i g a i l א ב י ג י י ל
a b r a h a m א ב ר ה ם
a b u d ע ב ع ד
a d l e r א ד ל ר
a d n a n ע ד נ א ן
a d o r n o א ד ו ר נ ו
a d r i a n a א ד ר י א נ א
a h e r n א ה י ר ן
a i m a r א י מ א ר
a j a m i ע ' ג מ י
a k i א ק י
a l a l w a n i א ל ... |
17cfeceaeee97375464674adb8da109738d3b260 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH12/EX12.9/Ex12_9.sce | 9cb3f5d230ef154b6cd991aac086ff83d4cba558 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,112 | sce | Ex12_9.sce | clc
hfg = 2202.6 // Latent heat of fusion in kJ/kg
Qh = 5.83 // Heat addition in MJ/s
ws = Qh/hfg // steam flow rate
eg = 0.9 // efficiency of generator
P = 1000 // Power generation rate in kW
Wnet = 1000/eg // Net output
nbrake = 0.8 // brake thermal efficiency
h1_2s = Wnet/(ws*nbrake) // Ideal heat addition
n_interna... |
d022a167476f4d96f6b5d3d07c8cb55557f3add9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/TRASH_f.sci | 6351f4153783bc9765a2b37e2e0d42ffc60ee922 | [
"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 | 934 | sci | TRASH_f.sci | function [x,y,typ]=TRASH_f(job,arg1,arg2)
x=[];y=[];typ=[]
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz,label]=graphics([1:2 4])
xstringb(orig(1),orig(2),'Trash',sz(1),sz(2),'fill')
case 'getinputs' then
[x,y,typ]=standard_inputs(o)
case 'getoutputs' then
x=[];y=[];typ=[];
case... |
d07f23232b43ad5a07162760ead60d5ebbdbd03a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_M._R._Srinivasan_3411.zip/Engineering_Physics_M._R._Srinivasan_3411/CH1/EX1.5/Ex1_5.sce | 04805a32577c8e51f6a1d87143d441e15c9edcfd | [] | 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 | 303 | sce | Ex1_5.sce | errcatch(-1,"stop");mode(2);//Example 1.5
;
;
//To find the refractive index of coil
volume=0.2 //units in CC
thickness=volume/(100*100) //units in cm
n=1
lamda=5.5*10^-5 //units in cm
r=0
u=(n*lamda)/(2*thickness*cos(r))
printf("Refractive index of oil is %.3f",u)
exit();
|
1ecbfc565b60bf4dba40c5e1b637a4410472bab8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH10/EX10.5/Ch10Ex5.sci | 50ed6146c468c2e5a76bb0e3eba07d7b4a74400a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch10Ex5.sci | // Scilab Code Ex10.5: Page-224 (2010)
N_A = 6.023e+023; // Avogadro's number
k = 1.38e-023; // Boltzmann constant, J/K
T = 293; // Temperature of sodium, K
E_F = 3.24; // Fermi energy of sodium, eV
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
C_v = %pi^2*N_A*k^2*T/(2*E_F*e); // Molar specif... |
ae0a68cddd26838e6ca0489dbe7b3e7a75c13b1c | 68ca3dfa429602a00a0e728649484916bdff7d81 | /scilab/chirp_generator.sci | 5785b859a09c5be33d0a2c0ae42960dda20886b3 | [] | no_license | bambang/toodles | f6e4c01a3326cd4dfb9674f11b727d8695daf369 | 2a65c5dec5d23b799d8246650716d4f683d4ae18 | refs/heads/master | 2020-12-28T20:30:53.721415 | 2012-03-12T16:00:12 | 2012-03-12T16:00:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sci | chirp_generator.sci | function [chirp,waveform_distance] = chirp_generator(btproduct, start_frequency, bandwidth)
end_time = btproduct/bandwidth;
sample_rate = 5*bandwidth;
samples = end_time*sample_rate;
sample_step = end_time/samples;
chirp_rate = bandwidth/end_time;
time = [0:sample_step:end_time];
c... |
d605248f878608bc47c3f4e87255aea1e52270c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH22/EX22.7.b/Ex22_7.sce | be3bc75e6df2d4fab73302daff1721bee3484723 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,255 | sce | Ex22_7.sce | clear
//Depends on data22_7.sci file
//Obtain path of solution file
path = get_absolute_file_path('Ex22_7.sce')
//Obtain path of data file
datapath = path + filesep() + 'data22_7.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the shrinkage pressure P (N/mm2)
P = sigmaMax * (D3^2 - D2... |
4118d405316b5843a75069fde7a1215fe40f2d34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH12/EX12.4/Ex12_4.sce | b26fb1fbc61d92e40d4bee901e571e42178b19ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | Ex12_4.sce | //Example number 12.4, Page number 264
clc;clear;
close;
//Variable declaration
n1=1.563; //Core refractive index
n2=1.498; //Cladding refractive index
//Calculation
NA=sqrt(n1**2-n2**2); //numerical aperture
theta0=asin(NA); //acceptance angle(radian)
theta0=theta0*180/%pi; //acceptance an... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.