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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ae64d7cee3db1c21231a8676e52f760fae83c8c8 | 80e60271486963dc7c51f3afaecadd6d3ecbcb05 | /json.tst | 0ac62a5dda023c0af77ddd3fba7e3e6d9891bf53 | [] | no_license | iurantr/python_exercises | 5e7ac5c57fd7924135a00957dc8559075f14b723 | f26dc2ca501962449fd6bd6a7f2c1bcd59faf83d | refs/heads/master | 2020-03-24T19:35:49.856020 | 2018-08-03T12:55:44 | 2018-08-03T12:55:44 | 142,935,652 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | tst | json.tst | {"a": 28, "b": 25, "c": [], "d": [12], "e": {"e1": 3}} |
247679548cfc4c5b74574665f2f15bece8217a9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.2/Example5_2.sce | 9f2a095d56fa213e551ecf175992f3d0f92498b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Example5_2.sce | //Example 5.2
clc;
clear;
close;
format('v',9);
//Given data :
v1=400*10^-3;//m/s
d1=300/1000;//meter
d2=450/1000;//meter
A1=%pi*d1^2/4;//m^2
A2=%pi*d2^2/4;//m^2
Q1=A1*v1*1000;//litres/sec(1m^3=1000litres)
disp(Q1,"Discharge of pipe in litres/sec : ");
v2=(Q1/1000)/A2;//m/s(Q1=Q2)
disp(v2,"Mean velocity o... |
1e64b8e456939dbdd7cd69fd7b3f4b25ccdc2c76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH3/EX3.09/3_09.sce | 57cbf7600f7bc7e7f0e149d7e834a320c445c1da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | 3_09.sce | //Problem 3.09:
//initializing the variables:
T = 230; // in deg celcius
P = 2500; // in psia
Pa = 14.7; // in psia
//calculation:
//critical values
Tc = 417 // in K
Pc = 76 // in atm
w = 0.074 // acentric factor
Tr = (T + 273)/Tc
Pr = P/(Pa*Pc)
printf("\n\nResult\n\n")
printf("\n the reduced tempera... |
27bcdd794fb139e2459194137da343fc893f0479 | e806e966b06a53388fb300d89534354b222c2cad | /macros/ForegroundDetector.sci | 16a1e81d307e9532e295ec90382de1ace1c4e0c6 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,963 | sci | ForegroundDetector.sci | function [varargout] = ForegroundDetector(varargin)
// This function creates a ForeggroundDetector struct which is used to detect Foreground with Gaussian Mixture Models.
//
// Calling Sequence
// result = ForegroundDetector()
// result = ForegroundDetector(Name, Value, ..)
//
// Parameters
// results: ForegroundDet... |
b59f4c97796f72f9a25d414c19742815a67ed4ab | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Phrawparadata.sci | c4c79c26398917e5580523068bb70f75691fd880 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sci | Phrawparadata.sci | // 08.08.21
// 09.10.27
function Out=Phrawparadata(VL,FaceL)
Out=Facesdata(list(VL,FaceL),'rawpara');
endfunction
|
dbec3fc756bd0f2736661b940172e6dbc35058cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH2/EX2.8.b/ex_2_8_b.sce | d9b29fadd297684ead0691ea031da15b9586dace | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_2_8_b.sce | //example 2.8//
//multiplication in hexadecimal form//
clc
//clears the screen //
clear
//clears all the existing variables //
x=hex2dec('2B')
//first number to be multiplied is x //
//hexadecimal to decima l conversion //
y=hex2dec ('3' )
//second number to be multiplied is y //
z=x*y
//multiplication//
a... |
c540a0d3e07a5095ee4503e2632d6d168f3817bc | 1d62731ed2ebc3c84ed27d40c7d0417f6ce0ab0e | /tests/household.tst | 4f8138c5a08c1de3d6692c79e4720364c2e1d040 | [] | no_license | kishmakov/rs | 064fd19aeac4dafda8788a35aa3bb5c5e78c687c | c5e932c36fd2a62625aaf5b374f754ee8b839602 | refs/heads/master | 2021-01-10T08:25:21.901462 | 2013-03-23T18:04:55 | 2013-03-23T18:04:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,271 | tst | household.tst | Совместная жизнь
1 Должен ли мужчина платить за кафе?
1 Приготовление пищи — женская обязанность?
1 Должны ли вы делать друг другу сюрпризы?
1 За порядок в доме ответствены двое?
1 Бюджет должен быть общим?
1 Допустимо ли совершать крупные покупки не посоветовавшись?
1 Стульчак должен быть опущен?
1 Должна ли женщина р... |
4700cf0d84fa7dce6b09d53055beeb012bcfc451 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/shiftdata/shiftdata11.sce | c984a6fa5334941fe83ad65c0e8ee78bf550f2a2 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | shiftdata11.sce | //check o/p when no i/p args are passed to the function
a=shiftdata();
//output
//!--error 10000
//Incorrect number of input arguments.
//at line 62 of function shiftdata called by :
//a=shiftdata();
|
3136ef748ebbb20b9cc258f918d59edcd4cb2a3f | 2611daf17c8f8b7eebf4f956fbe248d030634499 | /parseScilabfunction.sci | 390c5ec9c624146384938efd2109393df5268bc5 | [] | no_license | roopak13/scilab | 17508b8c4c6a12f13dcbf05856545d90550b2448 | 9d1f15a88c71508e9adf5294ef6d33a7b2839a28 | refs/heads/master | 2021-01-10T04:28:26.740686 | 2016-03-28T08:19:54 | 2016-03-28T08:19:54 | 54,877,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sci | parseScilabfunction.sci | a = 1,b = 2
c= a+b
d = a-b
e = a*b
f = a/b
g = a^b
exec("foo.sci")
|
a34914fcdf62035769d039b7868c5ffb0f68a657 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH6/EX6.18/Ex6_18.sce | f58fe770caaa4d69f05b3ef4dcfd586a5bd3d949 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,004 | sce | Ex6_18.sce | // Chapter 6 example 18
//------------------------------------------------------------------------------
clc;
clear;
// Given data from fig
R_a = 1000; // resistance shown in fig a
W1 = 0.15*10^-3 // width of geometry fig 6.72a
L1 = 3*10^-3 // Length of geometry fig 6.72a
W2 = 75*10^-6 // width of g... |
d011fd1064e592c851000e4ac106ffa42c9fa5e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH8/EX8.4/8_4.sce | a335ab8be6fe21952441b7f7f2f5cad75f7b4d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | 8_4.sce | clc
//initialisation of variables
d= 4 //in
v= 30 //ft/sec
a= 22.5 //degrees
w= 62.4 //lbs/ft^3
g= 32.2 //ft/sec^2
//CALCULATIONS
P= w*(%pi*(d/12)^2/4)*v^2*sqrt(2*(1-cosd(a)))/g
//RESULTS
printf ('Resultant force tending to move the pipe= %.f lbs',P)
//ANSWER GIVEN IN THE TEXTBOOK IS WRONG
|
94b554359446cf6f269eb92332e35f277256455c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH3/EX3.3/3_3.sce | dae11bbcdba78497f545fe007c5ae3432fb422cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_3.sce |
clc
//initialisation of variables
z1= 10 ///m
h1= 10 //m
v1= 12 //ft/sec
v2= 4 //m/sec
k= 0.6
w= 62.4 //lb/in^2
g= 32.2 //ft/sec^2
//CALCULATIONS
p= (w/144)*(z1+h1+(v1^2/(2*g))-(v2^2/(2*g))-(k*(v1-v2)^2/(2*g)))
//RESULTS
printf ('pressure at bottom end = %.2f lb/in^2',p)
|
5033cd24c945553970414fa654c188f0fd561f06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH1/EX1.17/Ex1_17.sce | a9369a0358542a556ea534d2309576a9f9974a21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Ex1_17.sce | //exa 1.17
clc;clear;close;
format('v',8);
pf=0.8;//power factor
delf=1;//%//drop in frequency(delf/f)
//delP=-2*(sind(theta))^2*delf
theta=acosd(pf);//degree
delP_BY_delf=-2*sind(theta)^2;//increase in load wrt frequency
disp(-delP_BY_delf,"1% drop in frequency, Increased in Load(%)");
|
75e40efdef4945aca1d9a0def096b165d6d8e6f9 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/disparitySGBM/test2.sce | aef52897c4be9cba3c9ff41a240951a05b3888eb | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,051 | sce | test2.sce | //Checking if error message pops up when only 12 inputs are given instead of 13
//Reading first stereo image
I1 = imread("stereo1.png");
//Reading second stereo image
I2 = imread("stereo2.png");
// Number of disparities
numofDisparities = 144;
// Minimum of disparity value
minDisparity = 0;
// Matched blocked size
sad... |
1aa543f73175411b6016bc5a80f2746503e8aeb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH15/EX15.5/example15_5.sce | 52e8605201084a6807ca10cb0eac686813204783 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | example15_5.sce | v=15;
i=50*10^(-3);
disp("Part a");
r=v/i;
disp("the resistance (in Ω) of R is"); disp(r);
disp("Part b");
p=v*i;
disp("The average power dissipated (in mW) in R is"); disp(p*1000); |
9556292d0af9c6e7e24f5d9828b20ca8a7cbc7ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH9/EX9.4.5/Example_9_4_5.sce | bd0bd4f271f7356445f8b48027dc7bbfe380aac0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Example_9_4_5.sce | // Example 9.4.5 page 9.16
clc;
clear;
output=22; //laser output
sensitivity=-35; //APD sensitivity
sl=0.05; //loss correspond to one splice in dB
fl=0.4; //fiber loss in dB/km
connector_loss=2;
saftey_margin=6;
penalties=1.5
allowed_loss=output-sensitivity;
Length = (allowed_loss-(connector_... |
0aceea41e0d144675d8f0144a6afb10ef6e5f5a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH5/EX5.4/5_4.sce | bacb6e2b9aded7c7a517334824ab5aac8062077f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | 5_4.sce | clc
//Initialization of variables
W=14.5 //B/lbm
Q=141.7 //B/lbm
Tr=520 //R
Ta=1040 //R
//calculations
n1=W/Q
n2=1-Tr/Ta
Wc=n2*Q
//results
printf("Thermal efficiency = %.2f percent",n1*100)
printf("\n Work done in carnot cycle = %.1f Btu/lbm",Wc)
|
88d40ec40b6dae0950daada808d93e73d80a4140 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.14/Ex1_14.sce | 29d40e4b33f7781e90d3bd57cd9d4705a124ac79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,501 | sce | Ex1_14.sce | clc;
p=20000; // rated power of transformer
vbh=2500; // base voltage in volts for h. v. side
vbl=250; // base voltage in volts for l. v. side
ibh=p/vbh; // base current in Ampere for h. v. side
zbh=vbh/ibh; // base impedance in ohm
ze=2.6+4.3*%i; // equivalent leakage impedance referred to h. v. side in ohm
zep... |
0555dc238588fd2a1f0bc5f87fb213d6c48b6f92 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH10/EX10.2/Ex10_2.sci | 34aec28f0233c33c171c15b8ed48a8c904bfafc7 | [] | 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 | 353 | sci | Ex10_2.sci | clear all;
t=-%inf:%inf;
w=2*%pi*%i
K=4
k=0:0.004:4;
sigma=0
Wmax=w.*k./K;
function x=f(t);
x=sign(t).*exp(-sigma.*abs(t)).*exp(-%i.*w.*t)
endfunction
Y=intg(-10,10,f)
// for the CTFS of x(t)=u(t)
f=1 // Analog frequency f=1 Hz
U=(1/%i*2*%pi*f)+(1/2).*[ones(1,1)]
disp(Y,'The CTFS of sgn(t)=')... |
071bfc64017c837909a74deaae7ab2ac90fa90bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH5/EX5.18/Ex5_18.sce | d76469d026cc88a2f3b710d9c4a5180cb770357f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_18.sce | //Example 5_18
clc();
clear;
//To calculate the glancing angle
h=1
k=1
l=0
lamda=0.065*10^-9 //units in m
n=2
a=0.26*10^-9 //units in nm
sintheta=(n*lamda*sqrt(h^2+k^2+k^2))/(2*a)
theta=asin(sintheta)*180/%pi //units in degrees
printf("Theta=%.2f degrees",theta)
//the answer in the textbook is given ... |
857a0914b22540bb6393e140b3843c8c694f1df2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH15/EX15.8/15_8.sce | 2fd92e08a5c590c4eac5551e0c3e77496b4c1e30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,048 | sce | 15_8.sce | //To find turning moment
clc
//Given:
D=300/1000, L=450/1000, r=L/2, d=50/1000, l=1.2 //m
N=200 //rpm
mR=225 //kg
theta=125 //degrees
p1=30*1000, p2=1.5*1000 //N/m^2
//Solution:
//Calculating the angular speed of the crank
omega=2*%pi*N/60 //rad/s
//Calculating the area of the piston
A1=%pi/4*D^2 //m^2
//C... |
c4a2a2f8a58e609a4f723cac1d4f7749b8517a43 | 2a6e8d853589f99603c8973e55748050d0f77719 | /residue.sci | 3e0e3bdb6ba4e2dedafd619ac3c3ba80f26f5a62 | [] | no_license | sanchit95/Scilab-Control-System | 3ee8a09de4933fe4b15e72a9c114d49e89dc6608 | 0dc379795f261c7b35fff6cb8b087b0d617b10dc | refs/heads/master | 2022-09-24T07:46:02.477146 | 2022-09-21T11:23:04 | 2022-09-21T11:23:04 | 60,767,025 | 8 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 7,792 | sci | residue.sci | // residue function
//RESIDUE Partial-fraction expansion (residues).
// [R,P,K] = RESIDUE(B,A) finds the residues, poles and direct term of
// a partial fraction expansion of the ratio of two polynomials B(s)/A(s).
// If there are no multiple roots,
//
// B(s) R(1) R(2) R(n)
// -... |
3c5a46feb4acc7231f3ae89c0984fad26c4d0b89 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/scicos/do_color.sci | feb3a0cc203b7f269fe98efb4df6fa4a1e7a1e2d | [
"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 | 549 | sci | do_color.sci | function scs_m=do_color(scs_m)
// do_block - edit a block icon
while %t
[btn,xc,yc]=xclick(0);
pt=[xc,yc]
[n,pt]=getmenu(datam,pt);
if n>0 then n=resume(n),end
K=getblock(scs_m,[xc;yc])
if K<>[] then break,end
end
o=scs_m(K)
graphics=o(2)
gr_i=graphics(9)
if type(gr_i)==10 then,gr_i=list(gr_i,[]),end
if gr_... |
8faaf8adb9e5e9a1ce0d2b5f4cb89dc93b3b6794 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH15/EX15.19/Ex15_19.sce | 4a8fd672bea45c35e32ee32a347707ffed733597 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Ex15_19.sce | // Example 15_19
clc;funcprot(0);
// Given data
T=25;// °C
p=0.1;// MPa
// Calculation
n_H2=1;// The stoichiometric coefficient of the reaction
n_O2=0.5;// The stoichiometric coefficient of the reaction
n_H2O=1;// The stoichiometric coefficient of the reaction
g_f_H2O=-237.178;// MJ/kgmole
// [(abar_f)_i]_c... |
f551782de47aeabdd1c59fcec1df3ccf05a989a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.28/M_Ex_3_28.sce | e4838c09c1191cf7c0b282645d5435972669a37b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | M_Ex_3_28.sce | clc
//Chapter3: Modulation
//Example3.28, page no 177
//Given
R=1//Antenna Resistance assumed to be 1 ohm for ease of calculation
Ic=10.8// current with no modulation
Pc=Ic^2*R//power with no modulation
It=12.15//modulated current
Pt=It^2*R// modulated power
ma=(sqrt(2*(((It/Ic)^2)-1)))//modulation depth)
m... |
0758b3bb7284288a5429a622ae68f8136969e182 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH7/EX7.12/7_12.sce | af23fee2ae94746d025073e8d9b77ba6711fef8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_12.sce | //Problem 7.12: A silicon iron ring of cross-sectional area 5 cm2 has a radial air gap of 2 mm cut into it. If the mean length of the silicon iron path is 40 cm, calculate the magnetomotive force to produce a flux of 0.7 mWb.
//initializing the variables:
A = 5E-4; // in m2
l = 0.4; // in m
r = 2E-3; // in m
u0 ... |
29125c8d676f9814caca2e0b0041467f0e85d49b | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH3/EX3.2.9/Convolution_Property.sce | 7b2dfedc4a9529338e41d234b75fe0b5f12e44cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Convolution_Property.sce | //Graphical//
//Example 3.2.9
//Convolution Property Proof
clear;
clc;
close;
function [Ztransfer]= ztransfer_new (sequence,n)
z = poly (0, 'z' , 'r' ); Ztransfer = sequence *(1/z )^n'
endfunction
x1 = [1,-2,1];
n1 = 0:length(x1)-1;
X1 = ztransfer_new(x1,n1)
x2 = [1,1,1,1,1,1];
n2 = 0:length(x2)-1;
X2 = ztransfer_ne... |
2a1128ff1497dec12b8e6fc48b52788e55341c57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH12/EX12.3/ex_12_3.sce | fc5e64864c2f60dc064581add6ddd01f82b5129a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 871 | sce | ex_12_3.sce |
//solution
//given
P=50*10^3//N
d=75//mm
ft=25//N/mm^2
t=20//N/mm^2
//let B1 be the width of strap
//B1=d
B1=75//mm
//t11=B1/4//mm
printf("the thickness is,%f mm\n",B1/4)
printf("the thickness can be taken as 20mm\n ")
t11=20//mm
//let t1 be thickness of strap at thnner side
//P=2*B1*t1*ft//N
//t1=P/(2*B1*ft)//mm
prin... |
ac3e31319301dc7d302c460f14394773387edfa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.2/Ex5_2.sce | 64696bad82ba7d5321fe8ffe86a484ef1658dea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | Ex5_2.sce | //pagenumber 285 example 2
clear
ic=1.3*10^-3;//ampere
colres=2*10^3;//ohm
re=500;//ohm
v1=0.026;//volt
beta1=100;
vcc=15;//volt
c1=10*10^-6;//farad
ib=ic/beta1;
ri=0.01/ib;
volgai=beta1*colres*ib/0.01;
disp("voltage gain = "+string((volgai))+"<180");
disp("voltage gain reduced ce removed");
disp("whe... |
fcf68cc520f42c10b9e65cf37f2bc062ab88ef66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH2/EX2.27/Ex2_27.sce | 2a12e9ec204812203250062d88175e99fa5fbf3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | Ex2_27.sce | clc
Nd=6*10^16
disp("Nd = "+string(Nd)+" cm^-3") //initializing the value of donor concentration.
Na=10^17
disp("Na = "+string(Na)+" cm^-3")//initializing the value of acceptor concentration.
no=1.5*10^10
disp("no = "+string(no)+" cm^-3")//initializing the value of electron and hole per cm^3.
p=((Na-Nd)+sqrt((Na... |
5999c6b1930233b7d08b6cc4ae5d69d60fca1552 | 7aa77691bc0b5d9ee58a4a4f0de52da13ffda85d | /projet/test/positionnement_noeud/test3.sce | d3fc44812e15bd5b897f64352f49f00087b0288a | [] | no_license | hadjiszs/Visu_algo | 17be65bd17953697500800aed1d35443ee3836a7 | f550b4597a2de310c699c509fbddf7ab4971206f | refs/heads/master | 2020-12-24T08:24:01.127475 | 2018-11-19T22:48:24 | 2018-11-19T22:48:24 | 37,379,266 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,906 | sce | test3.sce | // Test avec la matrice suivante :
K3 = [
5 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
0 8 0 -1 0 0 0 0 0 0 0 0 0 -1 -1 0 0 0 0 0 -1 -1 0 0 0 -1 -1... |
1dec61e1db43109d6c609e3db8aa6898edbf5573 | 3d76fea8c13ccbbd85a72caff487d44353b3c546 | /2018-2019/Fall 2018/Object Oriented (Java)/homework1/TestPeriod.tst | f749f831dd0fa8e9d5bcdda29070e1878a1a9dc8 | [] | no_license | munoz24/schoolWork | 7b3c4b77b10d0ff449098052858dbd0470ff2507 | abfb2203a28005be129f52bed79c38d0f869a49d | refs/heads/master | 2020-04-26T02:10:35.656695 | 2019-03-01T03:33:18 | 2019-03-01T03:33:18 | 173,226,541 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | tst | TestPeriod.tst | 1674379837=true
1097059735=false
512696856=false
1293245769=true
82369862="13.0 hr."
731734514=false
|
f4e2172cb1a6f75bd548549ad149bd86f9eed7c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH7/EX7.7/Ex7_7.sce | 4f3a38f1a875fec4809ed0fbee2059157b3ca838 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | sce | Ex7_7.sce | clear;
clc;
//Example 7.7
Vbe=0.7;
b=100;
Re=.5;
Rc=5;
Rl=10;
R1=40;
Cc=10;
R2=5.7;
Rs=.1;
Vt=0.026;
Icq=0.99;
gm=Icq/Vt;
printf('\ntransconductance=%.3f mA/V\n',gm)
r=b*Vt/Icq;
printf('\ndiffusion resistance=%.2f KOhm\n',r)
Ri=r+(1+b)*Re;
printf('\ninput resistance=%.2f KOhm\n',Ri)
x=Rc*Rl/(Rc+Rl);... |
cf61bd0f5e7d795373aaf2341076a33fc1938304 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH5/EX5.14/ex5_14.sce | b45be8d6a99700a6040ce813146e4fad454bf004 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | ex5_14.sce | // Exa 5.14
clc;
clear;
close;
format('v',6)
// Given data
V_L = 400;// in V
f = 50;// in Hz
I_L = 17.32;// in A
phi = acosd(0.8);
I_Ph =I_L/sqrt(3);// in A
disp(I_Ph,"The phase current in A is");
V_Ph=V_L;// in V
Z_Ph = V_Ph/I_Ph;// in ohm
Z_Ph= Z_Ph*expm(phi*%i*%pi/180);// in ohm
R= real(Z_Ph);// in oh... |
2e1271efb79ce3bba81ee601fb76326e855e77a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.7/ex_2_7.sce | 72e64920995a4b5818111f437678dbd3fa7c6e14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | ex_2_7.sce | // Example 2.7: Calculate the collector to emitter voltage(Vce) and Collector current (Ic)
clc;
clear;
Vcc= 12 ;// as Ic=0 so Vce=Vcc (In volts)
Rc= 3;// Collector Resistance in killo oms
Ic=Vcc/Rc; // Collector Current in Amperes
Vce=Vcc;
disp(Vce,"Colletor to emitter voltage (in volts)")
disp(Ic," Collector c... |
929ce3b4d54f889e85fb013d049abdd72a340be5 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.19/Ex2_19.sce | 145f9d4f20b2fa55e3c930833ffac64e5f015f6c | [] | 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 | 459 | sce | Ex2_19.sce | errcatch(-1,"stop");mode(2);//Caption:Find the ratio of the speed as a generator to speed as a motor
//Exa:2.19
;
;
V=250;//in volts
I_L=80;//in amperes
R_a=0.12;//in ohms
R=100;//in ohms
I_f=V/R;//in amperes
I_a1=I_L+I_f;//in amperes (generator)
E_1=V+(I_a1*R_a);//in volts (generator)
I_a2=I_L-I_f;//in am... |
a153b15e035ca5eadec0229fe3d164a17ff4909c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH25/EX25.22/Chapter25_example22.sce | f93430edb52235720d0147b19ecbc78121c04db0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 990 | sce | Chapter25_example22.sce | clc
clear
//Input data
p=[5,20]//Pressure limits in atm
T3=650+273//Temperature in K
T1=60+273//Temperature in K
T2=T1//Temperature in K
Cp=0.24//Specific heat at constant pressure in kJ/kg.K
g=1.4//Ratio of specific heats
R=29.27//Characteristic gas constant in kg.m/kg.K
J=427//Mechanical equivalent of heat ... |
25be87e463b0e85036fe9a7786bfa000a73815a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH20/EX20.3.i/I20_3.sce | cf35653158278a77e6241e9bfffe61e6ff3c6545 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | I20_3.sce | clc
//Initialization of variables
T=298 //K
m=32*1.66054*10^-27 //kg
k=1.38066*10^-23 //j/k
V=10^-4 //m^3
h=6.62608*10^-34 //J/s
//calculations
q=(2*%pi*m*k*T)^1.5 *V/h^3
//results
printf("Translational partition function = %.2e",q)
|
dc3dbd78183c61dd209a83e350c0b7e109045a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH2/EX2.5/Ex2_5t.txt | 7b15877e5ae6580e51e84ddd8a8ef1a9fede7f38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | txt | Ex2_5t.txt | //caption:Find magnitude of limiting error fot R1 and R2
//Ex2.5
clc
clear
close
R1=36//resistance(in ohm)
R2=75//resistance(in ohm)
er=0.005//limiting error(in ohm)
dR1=R1*er
disp(dR1,'magnitude of limiting error for R1(in ohm)=')
dR2=R2*er
disp(dR2,'magnitude of limiting error for R2(in ohm)=') |
5ea2d58e2ff1b47d0975a0dd2e5a4838a604a9e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch7_3.sce | 122832eeb8a54f60776d29cdc2a70b090f9b1a05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | ch7_3.sce | clc
disp("Example 7.3")
printf("\n")
t1=-10:0.05:10
v=5*cos (%pi*t1/6+%pi/6)
figure
a= gca ();
plot(t1,v)
xtitle ('v vs %pi*t/6','%pi*t/6','v ');
a. thickness = 2;
|
bb3abaeb5546f79a3d12938d193b84af03779fa5 | 61e39cdb9efce4bc7bc35be444b193c1066f1bf2 | /regulafalsi.sce | d8d58e55ad13594e40894b436a5e747b123640ee | [] | no_license | nancyanand2807/SCILAB-CODES | 866c1c99754975f9f0deb271d3844c854db1645c | 69bf72606e8cd62aae3d1302c734f425d381a121 | refs/heads/master | 2020-06-02T00:39:27.236873 | 2019-06-09T11:26:55 | 2019-06-09T11:26:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | regulafalsi.sce | deff('d=f(x)','d=x^3-100')
a=input("Enter the value of a:")
b=input("Enter the value of b:")
n=input("Enter the number of iterations n:")
for i=1:n
c=(a*f(b)-b*f(a))/(f(b)-f(a))
disp([i,c])
if f(a)*f(c)<0 then
b=c
end
if f(b)*f(c)<0 then
a=c
end
c1=(a*f(b)-b*f(a))/(f(b)-f(a))
if abs(c1-c)<... |
1abf7804fbe719decbc7ad825146c8dbe04660bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH11/EX11.13/EX13.sce | 84675de9617123637b04755623f119f233d61acb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,115 | sce | EX13.sce | // Example 11.13: (a) Amplifier type
// (b) Input resistance, Output resistance, Transfer ratio
clc, clear
r_pi=1e3; // in ohms
gm=0.1; // in mho
disp("Part (a)");
disp("Q1 is a common collector and Q2 is common emitter stage. Hence the given circuit is cascade of cc and CE stages. As the Rin of ... |
e52ca4f47af21d509958d82d706bb910947b6c37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH1/EX1.2/Chapter1_example2.sce | 5758adbc0921b91a6e33b1436d4f1a92881b08ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Chapter1_example2.sce | clc
clear
//Data taken from Ex.No.1
BHP=51//Brake horse power in h.p
N=1000//Speed in r.p.m
FHP=17//Friction horse power in h.p
//Input data
O1=BHP/2//Half of b.h.p output in h.p
O2=10//Brake horse power in h.p
//Calculations
//Case(i)
IHP1=(O1+FHP)//Indicated Horse power in h.p
mn1=(O1/IHP1)*100//Mechani... |
a87b829e0d953d7d45a2b4affdffc3683c7cbfb4 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0085.tst | af2ac3ae2a87dd28debbfdb6d467ca5629065221 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 763 | tst | 0085.tst | spLiTter eunG {}
fILter V { Not ::D:eBE:e:e:BD:cB << m OR noT N ( BItAnD ( ::C:f:3:aE:cc0, 252.132.19.216/17, ), ) nOT MLz ( ) << 251.224.7.234 or noT 255.113.2.4 > S }
fIlTeR MjH {noT zP oR NL or sD OR n Or ui Or MtiyF I OR NOt RDWF }
n braNCh hy
grOUper p {ModuLE c{ } ModulE s{ } agGREgATE Nt }
UngRoU... |
89e6a5574710385881290c98a2334ee5d1cd20ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH29/EX29.16/29_16.sce | 490fd1d521c45fdf135ba80d03f92acd23d72fdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,147 | sce | 29_16.sce | clear//
//Variables
hfe = 99.0 //hfe
hie = 2.0 * 10**3 //hie (in ohm)
Rc = 22.0 * 10**3 //Load resistor of frist stage (in ohm)
R4 = 100.0 //Emitter resistance of first stage (in ohm)
R1 = 220.0 * 10**3 ... |
906e9a820afca9f8190fb3a9f46f75978d3b6d9f | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/101.tst | 4af71cf0ce624013dee491416ddbc5717dc12b68 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | tst | 101.tst | int f(int, int b);
int f(int a, int b);
int a, b, c, d;
int f(int c, int d)
{
c = d;
}
void main(void)
{
f(a=b,c=d);
}
|
c0a0aacee8cba011f4489196e42f149c1d750650 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/DEVELOPMENT-LANGUAGES/uralic/mdf.tst | 0cc9227f1c16d630ddc7198629eed49ea9b78572 | [] | 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 | 439,295 | tst | mdf.tst | ваймамс V;AC2;PL;1;CAUS
перямс V;NEG;TR
грек N;HUM;DAT;PL;PSS1S;LGSPEC1
вайгяль N
комитет N;GEN;DEF;SG;LGSPEC1
альбом N;IN+ESS;SG;PSS1S;LGSPEC1
лектор N;HUM;TRANS;SG;LGSPEC1
конюх N;HUM;TRANS;SG;LGSPEC1
азкс N;NOM;SG;PSS3P
пиче N;GEN;DEF;SG
единоросс N;HUM;DAT;DEF;PL;LGSPEC1
дурак N;HUM;NOM;SG;LGSPEC1
шавомс V.PTCP;GEN... |
cb98faa72c4a3766a53aa2021e401ece2f7d3030 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH16/EX16.10/16_10.sci | 602aeafe6a84eccc2b097a79e3d39dce58b39945 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sci | 16_10.sci | //16.10
clc;
P_consumed=3000/3;
E_per_phase=440/(3^0.5);
IL=P_consumed/E_per_phase;
printf("\nCurrent in each line=%.2f A",IL)
R=E_per_phase/IL;
printf("\nResistance of resistor=%.2f ohm",R) |
047f7fc560a990a71f274fcde6a3a1a3aa7e8d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH7/EX7.21/exp7_21.sce | be4e46859eae1fe585c456ddb26180d6df287238 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | exp7_21.sce | //example7.21
clc
disp("The given values are,")
disp("R_f=0.1 ohm, I_DC=10 A, R_s= 0 ohm, E_s(RMS)=30 V")
e=30*sqrt(2)
format(8)
disp(e,"Now, (E_sm)=E_sm(RMS)*sqrt(2) =")
disp("(I_DC)=(2*I_m)/pi")
i=(%pi*10)/2
disp(i,"I_m(in A)=(pi*I_DC)/2=")
disp("Now, (I_m)=(E_m)/(2*R_f+R_s+R_L)")
disp("Therefore, 15.7079 ... |
5402f822f28c072acbd3b5bdce0aa31b84353246 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH5/EX5.5/5.sce | 6ac55128398c0de1a62bd8fe53849eb9b44b7d8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | 5.sce | clc
clear
//input
f=0.5 //focal length
u=0.8 //distance of object
f1=0.2 //focal length of converging lens
d=1 //distance behind the first lens
//calculation
x=(1/f)-(1/u)//lens formula
y=1/x
u1=-(y-d)//second lens
a=1/f1 +(1/-u1)//lens formula
b=1/a
//output
printf("the image lies %3.3f m behind secon... |
bfc58e0b3e754214e73b81cadb1182dfbdeec875 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH18/EX18.1/Chapter18_example1.sce | ac0dc121a612beb17de8d290733f8c00ee294953 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,372 | sce | Chapter18_example1.sce | clc
clear
//Input data
n=6//Number of cylinders
d=9//Bore in cm
l=10//Stroke in cm
N=2500//Speed in r.p.m
Ta=25+273//Temperature of air entering the compressor in K
q=16800//Heat rate in kcal/hour
T=60+273//Temperature of air leaving the cooler in K
p=1.6//Pressure of air leaving the cooler in kg/cm^2
t=14.5... |
3e60b5b126e840d15427a8d40789129d5eb0e808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH2/EX2.4.1/2_4_1.sci | aae98fbdf8f3d3820b832f5d7198557fd81c590c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sci | 2_4_1.sci | //page 107
clear;
close;
clc;
A=[1 2;3 6];
disp(A,'A=');
[m,n]=size(A);
disp(m,'m=');
disp(n,'n=');
[v,pivot]=rref(A);
r=length(pivot);
disp(r,'rank=')
cs=A(:,pivot);
disp(cs,'Column space=');
ns=kernel(A);
disp(ns,'Null space=');
rs=v(1:r,:)';
disp(rs,'Row space=')
lns=kernel(A');
disp(lns,'Left null sapce=');
|
7524f1d507a94ec49a6a2870161847fc05148934 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.9/example9_sce.sce | ce603369f2a9f2ee680525496e8e4cde56a02dad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | example9_sce.sce | //chapter 13
//example 13.9
//page 568
printf("\n")
printf("given")
hic=2*10^3;hie=hic;hfe=100;hfc=100;Av=25000;B=1/33.4;R8=10*10^3;R5=R8;
Ze=(hic+R8)/hfc
Zo=Ze/(1+Av*B)
Zout=(R5*Zo)/(R5+Zo);
printf("output impedance is %3.2fohm\n",Zout) |
134588dc9570d4686d5d7bfb49a2064acc381762 | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH7/EX7.1/Example7_1.sce | 088c1ca88e21eeda301cd803b9f08415f42a8790 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Example7_1.sce | //Example 7.1
clc
s=%s;
tau1=0.5;
tau2=1;
R2=1;
//From Eq.(7.8)
g=R2/((tau1*s+1)*(tau2*s+1))
disp(g,'H2(s)/Q(s)=')
Qs=1/s;
H2s=g*Qs;
disp(H2s,'H2(s)=')
syms t;
H2t=ilaplace(H2s,s,t);
disp(H2t,'H2(t)=') |
cfbfee6c21d85f781cd6475ce0f732f04ee9f743 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH2/EX2.5/Example_2_5.sce | 70338697800131b81ecaf2a7e549e095c513d73c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Example_2_5.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 2
//First Law of Thermodynamics
//Example 5
clear;
clc;
//Given:
n_water = 10^3; //moles of water
T = 373; //tempearture(K)
P = 101.3; //pressure(kPa)
sv_liquid = 0.00104; //specific volume of liquid(m^3/kmol)
sv_vapour = 1.675; //specific... |
874e0e5140434a5abf6440a39805c05b27a5d788 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH4/EX4.5/example_4_5.sce | 57764412b5bfcbe7ba23438e85c074d924b89df0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | example_4_5.sce | clear;
clc;
disp("--------------Example 4.5---------------")
data_rate=1; // 1 Mbps
frac= 0.25 // 4B/5B coding adds 25% to the baud rate
add=data_rate*frac;
N = (data_rate+add)*10^6; // Hz
NRZI_B= N/2; // minimum bandwidth using NRZ-I
Manchester_B = data_rate; // minimum bandwidth using Manchester scheme
// d... |
af204b00193ee84940b7a87e0fc08d2d0b8960af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH1/EX1.9/exa_1_9.sce | 3e04e818c6293e68198d8eda8ea1b12f033d94d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 882 | sce | exa_1_9.sce | //Exa 1.9
clc;
clear;
close
// given data
K_A=0.5;// in W/m degree C
K_B=0.8;// in W/m degree C
Ti_A=600;// inside temp. of slab A in degree C
To_B=100;// outside temp. of slab B in degree C
t_A=4*10^-2;// thickness of slab A
t_B=6*10^-2;// thickness of slab B
// Heat transfer rate per square meter through t... |
d51605c5e82eb110da7900eec1c99c168fa4ceb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH5/EX5.28/Ex_5_28.sce | ecfd716b9fe3160c72bc12c2c88d54ac86f89b75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Ex_5_28.sce | // Exa 5.28
format('v',6);
clc;
clear;
close;
// Given data
A=2000;//V/V
Bita= 0.1;// inV/V
Ri= 1;// in kohm
Ri= Ri*10^3;// in ohm
Ro= 1;// in kohm
Ro= Ro*10^3;// in ohm
Af= A/(1+A*Bita);
disp(Af,"The gain Af in volt is : ")
Rif= Ri*(1+A*Bita);// in ohm
disp(Rif*10^-3,"The input resistance in kohm is : "... |
86c025f023e55610f2d1395e18a212d47bc68f28 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH2/EX2.2/Ex2_2.sce | a12e38694250b3dfcc55268d5816693ade5e3bea | [] | 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 | 258 | sce | Ex2_2.sce | errcatch(-1,"stop");mode(2);//caption:Find limiting error in percentage
//Ex2.2
V=150//maximum range of voltmeter(in V)
A=0.02//magnitude of accuracy(in V)
Vm=83//voltage measured
dA=A*V
%er=(dA/Vm)*100
disp(%er,'limiting error(in %)=')
exit();
|
16730222367df3d8ae120e649c4591a5fb906683 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH2/EX2.10/Ex2_10.sce | 99fe93709468cf617dcca502d67edbf1c236556e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Ex2_10.sce | //Initilization of variables
F3=500 //N
alpha=60 //degree //angle made by F3 with F2
beta=40 //degree //angle made by F1 with F3
theta=80 //degree //angle made by F1 with F2
//Calculations
// Solving by using law of sines
F1=(F3*sind(alpha)/sind(theta)) //N //by law of sines
F2=(F3*sind(beta)/sind(theta)) //N /... |
054615e027b4cd8906a60a3068d1d420f35eae07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH11/EX11.8/Ex11_8.sce | 328a3489d75cbdc210c2426b2c4a48c1bcb83672 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | Ex11_8.sce | clc();
clear;
//Given :
Eg1= 0.72; //Energy gap for Germanium in eV
Eg2= 1.10; //Energy gap for Silicon in eV
Eg3= 5.6; //Energy gap for diamond in eV
//Fraction of electron : n/N = exp(-Eg/(2*k*T)) , k*T = 0.026 eV
F1 = exp(-Eg1/(2*0.026)); // For Germanium
F2 = exp(-Eg2/(2*0.026)); // For Silicon
F3 = exp(-E... |
4258f3f07edce5f427b15dd423a00c1e2fa9cd96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.20/Example_9_20.sce | a8d3ee8fdcccf9be7adf5943e96e132030743a98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | Example_9_20.sce | clc;
clear;
printf("\n Example 9.20\n");
e=0.75; //Emissivity of grey surface
r=1-e; //reflectivity of surface
Ts=400; //Temperature of surface
T_amb=295;
sigma=5.67e-8;
q1=3e3; //Rate of radiation arriving at grey surface
//From equation 9.118
Eb=sigma*Ts^4;
printf("\n Emissive Power = %.0f W/m^2",Eb);
... |
b806e6ba996243cda519cd7542b650177b815a6d | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /AMPL_Codes/endsem/SCILAB_18i190002/takehome3.sce | 6ebefb2bf4e672bca3daee0259f4f9ad90afff39 | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,061 | sce | takehome3.sce | //SHUBHAM SHARMA
//Roll no:18i190002
//Msc PhD OR
clc,clear
function[TR_busy, TR_total, TR_idle] =JobsDoneInOneArrival(m,u,X)
IS = X
TR = [0]
i = 1
S = grand(1,1, "exp", 1/u)
while (IS > 0)
A = grand(1,1, "exp", 1/m)
TR(i+1) = TR(i) + A
JC =0
while TR(i+1) > S &IS >0
... |
97466a9e86a9b999229db74e3df268c22da192fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH9/EX9.2/Chap9_Ex2.sce | f8eb9da3b194a9afe5034aad3b378e98c8ff4504 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,486 | sce | Chap9_Ex2.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-9, Example 2, Page 222
//Title: Horizontal Drift Of Solids
//==========================================================================================================
clear
clc
//INPUT
Lmf=0.... |
b2fd7d1944a5e4e4ce17ec8f79ef8a6142bdef64 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elementary_Heat_Power_H._L._Solberg_2420.zip/Elementary_Heat_Power_H._L._Solberg_2420/CH3/EX3.8/3_8.sce | 2e91379bee51494bfb17fb2c509422bee05ca3e2 | [] | 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 | 196 | sce | 3_8.sce | errcatch(-1,"stop");mode(2);
//Initialization of variables
C=1/4000
F=125 //lb
n=3500 //rpm
//calculations
Bhp=F*n*C
//results
printf("Bhp developed by the engine = %.1f",Bhp)
exit();
|
ffe13b87520f61a4d48e6eaae1a2a899728f3248 | 68e53df229b123d7681a4f7fa4db43b4982d5362 | /dlyap.sce | 581602eacf41605d0786eb86bfe94da41dcc1867 | [] | no_license | yeoleparesh/Control-system | 06c30e594d51fec7a8ffabc452a7866b38604a23 | dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b | refs/heads/master | 2021-01-17T12:38:05.661769 | 2019-01-03T12:03:53 | 2019-01-03T12:03:53 | 59,283,431 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | dlyap.sce | //function dlyap
//lyapunov
A = [3.0 1.0 1.0
1.0 3.0 0.0
0.0 0.0 3.0];
B = [25.0 24.0 15.0
24.0 32.0 8.0
15.0 8.0 40.0];
X = dlyap (A, B);
// Sylvester
A = [1.0 2.0 3.0
6.0 7.0 8.0
9.0 2.0 3.0];
B = [7.0 2.0 3.0
... |
d5a89dae9de35a8566de4fe0ffecf6d6d97463d0 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/finHistogramme.sci | df506ec15ffaa984aa54181d96ad326276996079 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sci | finHistogramme.sci | //Renvoie la première valeur en nuance de où l'histogramme est différent de 0 en partant de la fin.
//Pour le futur, inclure des pourcentages de pertes pour l'image, par exemple, des valeurs qui n'influe que très peu seront ignorées.
function indexHisto=finHistogramme(histogram)
for indexHisto = 1:256
if(h... |
0c989ee0cf7250b6c4897bf40d9c48bae341a91e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH9/EX9.9/Ex9_9.sce | ca734ccc2ffb9260bb9f5fa02eeeb7a563726bd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_9.sce | clc
// initialization of variables
clear
E=72 //GPa
t=60 //mm
M=24 //kN.m
//part(a)
ro=100 //mm
r1=150 //mm
A=t*r1
Am=t*log((ro+r1)/ro)
R=ro+r1/2
E=E*10^3
Mx=M*10^6
Phi=Am*Mx*%pi/(A*(R*Am-A)*E)
printf('part(a)')
printf('\n Phi = %.5f rad',Phi)
//part(b)
//Mx=Mx+P*R*sin(th)
delta_P=Am*Mx*R*2/(A*(R*Am-... |
154f1cd1f76685430b68be4f26f5316957a80ca2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH3/EX3.2/ex3_2.sce | 1699a1995b5949f3e6fa990cef1bde961d61d850 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | ex3_2.sce | clc;
t=40*1e-2;
//pulse covers 2x distance in arriving back
//so, 30*1e-6=2*x/v
//and, 2nd pulse will cover a distance of 2*40 cm in 80*1e-6 seconds
//therfore, 80*1e-6=(2*40*1e-2)/v
//compare both equation
e1=30;
e2=40*2
x=e1*t*2/(2*e2);
disp(+'m',x,'distanc of the flow from near end =')
|
bddbc63a5e72268b756448e310ef767fb846494d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2549/CH2/EX2.9.2/Ex2_9_2.sce | 1c26a5975a1291f8aad3c64dbe7a2a664f949093 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | Ex2_9_2.sce | // Ex2.9.2
//calculation of transition capacitance
clc;
clear;
//given
W=2.38*10^-6; //width of depletion layer for V=-1
W1=4.8*10^-6;//width of depletion layer for V=-5
A=0.8*10^-6;//area of junction
epslnR=16;//for Ge
epslnO=8.854*10^-12;//permittivity of free space
epsln=epslnR*epslnO;//permittivity of sem... |
39eb8f5a4169c89b120f37e4eb0ed6d38dcd2929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH23/EX23.12/Ex23_12.sce | 81f7d2850907c4265b4edeb274b09c7539ac697d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | Ex23_12.sce | clc;
VCC=18;
Rx=2*10**3;
VBE=0.7;
Ix=(VCC-VBE)/Rx;
I=Ix;
disp('mA',I*10**3,"I=");
|
7b349c4ed96456dd6027b6a251df08ce61f3bce9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH5/EX5.3/Exa5_3.sce | c1170137ed4d3bc3c33f3bb8fd010ef253dd490a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,598 | sce | Exa5_3.sce | //Exa 5.3
clc;
clear;
close;
//Evaluation at i=8%
disp("Evaluation at i=8%");
//Alternative 1 :
disp("Alternative 1 : ");
P=500000;//in Rs
A1=50000;//in Rs
G=50000;//in Rs
i=8;//in % per annum
n=6;//in years
//Formula : (F/P,i,n) : (1+i/100)^n
//Formula : (F/A,i,n) : (((1+i/100)^n)-1)/(i/100)
//Formula :... |
e961a1a9c89b84a3142934f754433376139ce253 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH3/EX3.10/EX3_10.sce | 5b549270d94da23750a31d8a5bbf3b147549201d | [] | 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 | 907 | sce | EX3_10.sce | clc;funcprot(0);//Example 3.10
//Initilisation of Variables
Ti=20;...//Uniform temparature of the wood piece in degrees celcius
To=120;...//Rised Surface temparature in degrees celcius
t1=2*60;....//time after exposure of surface in degrees celcius
t2=20*60;....//time after exposure of surface in degrees celcius
... |
8569a937e6b238bcc074e11a42c6a7837a7f05f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH24/EX24.1/ques1.sce | 6c61d4967ed5087e879f5b87917748692e97fade | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | ques1.sce | clc
clear
x=poly(0,'x');
p=x^3-4*x-9
disp("Finding roots of this equation by bisection method");
disp('f(2) is -ve and f(3) is +ve so a root lies between 2 and 3');
l=2;
m=3;
function y=f(x)
y=x^3-4*x-9;
endfunction
for i=1:4
k=1/2*(l+m);
if(f(k)<0)
l=k;
else
m=k;
end
end
disp(k)
|
3299e44666067430868f31bf5caa12c2cc2dc38c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH4/EX4.9/Ex4_9.sce | 20d218ff86c03b4114f1d7fce75e7138eb8e9a07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | Ex4_9.sce | clc
//initialisation of variables
g=9.8//m/s^2
h=20//m
//CALCULATIONS
V=sqrt(2*g*h)//m//s
//RESULTS
printf('The velocity is=% f m/s',V)
|
27aa9cb97a94567820c0ab60a897a67e927ad6f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.25/5_25.sce | 9c4cb87c17e6d80b43bf40c858fe5ff70d4d1741 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,491 | sce | 5_25.sce | T=300;//initial temperature in kelvin//
T1=692;//temperature in kelvin//
T2=1180;//temperature in kelvin//
T3=1500;//final temperature in kelvin//
Lf=1800;//Latent heat of fusion in cal per mol//
Tf=692;//temperature of fusion in kelvin//
Lv=27700;//Latent heat of vapourization in cal per mol//
Tv=1180;//tempera... |
70a3807a5f8d1157cef6a0bc878e5ebff260ea19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH14/EX14.9/Ex14_9.sce | 13eaaa07f8815d44b27203acd3e2a28f520705c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_9.sce |
clc
//initialisation of variables
P0=100 //lbf/in^2
T0=660 //R
Mx=1.5//lbf/in^2
P0x=0.272//lbf/in^2
T0x=0.690 //R
Ax=1.176 //lbm
Px=P0x*P0//lbf/in^2
Tx=T0x*T0//R
Mx=0.701//lbf/in^2
Px1=2.458 //lbf/in^2
Tx1=1.320 //R
P0x1=0.9298 //lbf/in^2
Ax=1.094 //lbf/in^2
P0y=0.721 //lbf/in^2
T0y=0.911 //R
A=2.0 /... |
5f397cbe58fbc4063e2ae1a8fa68cbbe531d412b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH5/EX5.6/Ex5_6.sce | 3aff2922d961530c1809c2a33d8e79931727eddb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,282 | sce | Ex5_6.sce | clear ;
clc;
// Example 5.6
printf('Example 5.6\n\n');
printf('Page No. 120\n\n');
// given
x = 0.90;// dryness fraction
m = 0.25;// Mass flow rate in kg/s
P = 0.7;// pressure in bar
T1 = 10;// in degree celcius
//from steam table
h_10= 42*10^3;// Specific enthalpy of water at 10 degree celcius in J/kg
... |
b586d52a20b43a4b17b018965336e280321b7132 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH7/EX7.22/Example_7_22.sce | ef498982abda3714ee74631679406916bf57e148 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,093 | sce | Example_7_22.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 7
//Properties of Solutions
//Example 22
clear;
clc;
//Given:
C_water = 4.18*10^3; //heat capacity of water (J/kg K)
C_ethanol = 2.58*10^3; //heat capacity of ethanol (J/kg K)
G1 = -758; //heat of mixing 20 mol percent ethanol water at 298 K... |
8463f87749fcf71bd7a45f463ed1a94b0d5e0c6d | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 7/MPotencia.sci | 3d2307e4e86901feef887334d2c3175cce449123 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sci | MPotencia.sci | // sempre eh bom colocar função na extensão .sci
// vou colocar as variáveis iguais ao do caderno...se tu não gostar, pode mudar. Eh so pra me nao se perder.
function [y, x]= MPotencia(A)
[l,c] = size(A);
y = ones(l,1);
err = 1;
while (err > 1E-4)
z = A*y ;
maximo =... |
95779171b790aecfd396d7703ff1cb3c6f8a9148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH25/EX25.2/25_2.sce | 3237ecd4af4c0ed6e12d7fc3b80d4289a10cf9c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,411 | sce | 25_2.sce | clear//
//Variables
hie = 1.0 * 10**3 //hie (in ohm)
hre = 1.0 * 10**-4 //hre
hoe = 100.0 * 10**-6 //hoe (in mho)
RC = 1.0 * 10**3 //Collector resistance (in ohm)
RS = 1000.0 //Source resistance (in oh... |
94e4313bda6efb3f73f53da75623621fadc914f6 | a88bc351c907b9f0e662e251314c78a075880265 | /Scilab/Jacobi.sce | 84c7dd8dd8de5930a1c574a052ac9a7df246fb7e | [] | no_license | decospdl/Exercise | 2ff1161f101a892ac511c62e1dce67a07606107a | 14d61a9553aab9af259edc8af504fdaa8568ec8f | refs/heads/master | 2020-05-26T15:22:22.243902 | 2019-06-13T22:55:10 | 2019-06-13T22:55:10 | 188,279,547 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | Jacobi.sce | clear;
clc;
close;
matriz = input("Digite a matriz: ");
erroAdmitido = input("Digite o erro admitido: ");
aproxAnterior = input("Digite aproximação inicial: ")
linha = size(matriz, "r");
coluna = size(matriz, "c");
diferenca = ones(linha);
while erroAdmitido
for i = 1:(linha)
diagonal = 1/matriz(i,i);
... |
64817f9f64a88dd028ca0589294372bc3ecfac04 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69.zip/Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69/CH12/EX12.14/12_14.sce | 2f53ab41474104f349a149bd41f92329f6f0c347 | [] | 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 | 178 | sce | 12_14.sce | errcatch(-1,"stop");mode(2);; ;
D2 = 0.1;
D3 = 0.04;
D4 = 0.02;
THD = sqrt((D2^2)+(D3^2)+(D4^2))*100;
disp(THD,'Total harmonic distortion(Percentage) = ');
exit();
|
bcf8495c8f1dcf3b40767ed74e6e213e586655fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.4/Ex3_4.sce | 7f9cd70a7e5b1ea3581ae0f8fd484690151a4ecb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | Ex3_4.sce | //Example 3_4
clc;
clear;
close;
format('v',5);
//given data :
//Let T=1 for calculation
T=1;
//i=5*t/T+5;//A
Iav=1/T*integrate('5*t/T+5','t',0,T);
disp(Iav,"Average value(A)");
Irms=sqrt(1/T*integrate('(5*t/T+5)^2','t',0,T));//V
disp(Irms,"rms value(A)");
//Answer is not accurate in the book.
|
e4b18c4370a9614f1075a06eccf4b7717c6ac5c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH5/EX5.2/Ex5_2.sce | f1339ae7a26dcc1250fa2b9656b2b9c0bd0d2bc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex5_2.sce | //Example 5_2
clc();
clear;
//To show d100:d110:d111=sqrt(6):sqrt(3):sqrt(2)
//For d100
h=1
k=0
l=0
d100=1/sqrt(h^2+k^2+l^2) //Units in terms of a
//For d110
h=1
k=1
l=0
d110=1/sqrt(h^2+k^2+l^2) //Units in terms of a
//For d111
h=1
k=1
l=1
d111=1/sqrt(h^2+k^2+l^2) //Units in terms of a
printf("... |
7efe8e193d1b165145501b0aeb0723eba86c29ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH5/EX5.22/22.sce | 3dcfb24a0f0db4e3bb5a9fb2e38e631dc285da50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,895 | sce | 22.sce | clc
clear
//Input data
At=24 //Throat area in cm^2
A2=50 //Exit area in cm^2
Po=700 //Stagnation pressure in kPa
To=100+273 //Stagnation temperature in K
Ax=34 //Area before the shock in cm^2
Ay=34 //Area after the shock in cm^2
//Calculation
a1=Ax/At //Ratio of areas
Mx=1.78 //Mach number upstream of sh... |
72bd8f6ef14991b287dd35e4e4ef0da110ad0816 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH5/EX5.8/Ex5_8.sce | e814c0eba1a6e30c75e8536be6098a9299305584 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_8.sce | clc
//initialisation of variables
v=25*10^-2//m
a=8//m^3/min
t=1/60//sec/min
f=0.015
p=100//m
p1=1.2//kg/m^3
p2=2.7//m/s
g=9.8//m/s^2
q=998//kg/m^3
v1=9802//N/m^3
//CALCULATIONS
V=(4*a*t)/((%pi)*(v)^2)//m/s
hf=(f)*((p)*(p2)^2*(p1))/(v*2*g*v1)//m^-3
P=v1*hf*10//Pa
//RESULTS
printf('The pressure drop is=... |
8f8fc5c7fa9370dfdad0e533f4b7cbae893567c5 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/waveguides/waveguide.sce | 0e7534330dce4a585b93f65bd6bc8406d5711c98 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | waveguide.sce | function [ez]=ez(m,n,k,rho,phi,z)
amn=1;
bmn=1;
gammamn=1;
ez=besselj(m,gammamn*rho).*exp(%i*m*phi).*(amn*sin(k*z)+bmn*cos(k*z));
endfunction
|
a96f059ce10173e7f13025c4982b647ba7ecac3d | 3dbdc1a91ad07ea5fc4c4fa52a6fa2a6870125a6 | /calculo-numerico/RungeKuttaOrdem4.sce | 6892ee52b84e4eb0041ce147fefb2cd8d1abe8e6 | [
"Apache-2.0"
] | permissive | geovani-moc/Algoritmos | 226ceea9b599bb1979770ac001f5108a0533bb00 | d2d838c158da62a94946a7af29b24ca7396af34e | refs/heads/master | 2023-01-09T12:40:50.330766 | 2020-11-06T17:46:46 | 2020-11-06T17:46:46 | 256,744,544 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,869 | sce | RungeKuttaOrdem4.sce | // Geovani Pereira dos Santo - IFNMG - 2019
function [x, y, yDerivado] = rungeKutta(funcao, funcaoDerivada, limiteInferior, limiteSuperior, passo, valorInicial, valorInicialDerivada)
x(1) = limiteInferior;
y(1) = valorInicial;
yDerivado(1) = valorInicialDerivada;
quantidadePassos = (limiteSup... |
adbaf1e02508db25c8fe93f130d8b7c840e76a07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH2/EX2.21/Example_2_21.sce | 2c3dcc584bf7ae56b29d2dc95a0cbed1a8933baa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Example_2_21.sce | //Scilab Code for Example 2.21 of Signals and systems by
//P.Ramakrishna Rao
//Z- transform of a^n u(n)
clear;
clc ;
close ;
syms a n z;
x1 =1/2;
x2=1/3;
X1= symsum (x1*(z^(-n)),n ,0, %inf );
X2= symsum (x2*(z^(-n)),n ,0, %inf );
X=X1+X2;
//Display the result
disp (X,"Z-transform of u(n) is:");
disp('ROC... |
39b6e4ab4f54eefb38552804d0c1b0f25945bfe3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.25/ch7_ex_25.sce | eaae0cb7750c97323fad10392ef56b4275643d5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,386 | sce | ch7_ex_25.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 25
disp("CHAPTER 7");
disp("EXAMPLE 25");
//VARIABLE INITIALIZATION
va=25000;
v1=2200; //primary voltage in Volts
v2=110; //secondary voltage in Volts
f=50;
R1=1.75;
X1=2.6;
R2=0.0045;
X2=0.0075;
//SOLUTION
//... |
031c1ce6589b6840c32b91413344c544ed590889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH4/EX4.2/Example4_2.sce | cabb19466a9ca86b3ba05ed01eac38e5bfa9f9fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example4_2.sce | // Example 4.2
clear; clc; close;
format('v',7);
// Given data
Tst=1; // in N-m
Ist=5;//in Ampere
V=28;//in volt
//Calculations
kf=Tst/Ist;//in Nm/A
omega_m=V/kf//in radian/sec
No=omega_m*60/(2*%pi)//in rpm
disp(No,"No load speed in rpm = ");
|
a096ceaa338269030fafa66df339d2a41651ca99 | 1988df91caa448a35bbf274a6d2698fe434571b1 | /tst/io/scan.tst | a9ebcb1618fb73a4c98f5b78630556db379dceba | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 104 | tst | scan.tst | declare sentconst \=\=\+\=\> A\+\-\1;
taut \=\=\+\=\> and A\+\-\1;
declare sentconst \1AB;
assume \1AB;
|
e9b141a3ee7dcd1b8abbdde8d25354ab3dc870b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH16/EX16.17/16_17.sce | 572f6c36d5fca90226e5bde0e8f8a6b55e5bc24b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,852 | sce | 16_17.sce | //To find MI and size
clc
//Given:
a1=5*10^-5, a2=21*10^-5, a3=85*10^-5, a4=8*10^-5 //m^2
N2=98, N1=102 //rpm
rho=8150 //kg/m^3
sigma=7.5*10^6 //N/m^2
//Solution:
//Refer Fig. 16.20
//Calculating the net area
a=a3-(a1+a2+a4) //Net area, m^2
//Calculating the value of 1 m^2 on the turning moment diagram in te... |
5ee4b5efa4aa9aecae748440c43ef417c952ac38 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/metanet/g_aranum.sci | 3ca8ba76b57f648a35c8d9662975acf33940fa12 | [
"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 | 78 | sci | g_aranum.sci | function mm=g_aranum(g)
[lhs,rhs]=argn(0), if rhs=0 then g=the_g, end
mm=g(6)
|
5239987129a3d1b2da6e54e608c32d6cd33e9db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH8/EX8.8/Ex8_8.sce | 0e9b8ddd953a672d9007881fd5759e4998f856c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex8_8.sce | clear ;
clc;
// Example 8.8
printf('Example 8.8\n\n');
printf('Page No. 236\n\n');
// This question doesnot contain any calculation part.
//By refering figure 8.7 which shows Poer factor-load curve for a motor with a capacitor and one without a capacitor.
printf('there is no computational part in the problem... |
e2927603ceb3a8eaca50e3dae7b60e4e13535c8c | 67a55a3ce27f3b074becff1487807e97611a0db3 | /migraphx_driver/glue/SST.tst | b47196c406af58e00d02a362552adc7fe53080c9 | [] | no_license | mvermeulen/migraphx_sample | 083425ea5de80bd5fa6ecb84a3a7dc8423ce3872 | ea1f7bb3298ee74800bf2baecd16e0de05cc0e1c | refs/heads/master | 2020-05-05T00:56:04.103853 | 2020-03-11T15:45:29 | 2020-03-11T15:45:29 | 179,588,065 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107,793 | tst | SST.tst | label 5650
1 1122,112,188,170,14186,1105,1510,12759,5012,119
0 8362,2087,2836,7520,1193,26481,1105,7127
1 3643,1366,1106,2810,1115,1185,4371,1110,25156,1106,9712,24063,170,1558,1578,1112,170,2595,1870,1107,14850,2109,13140,119
1 1103,3176,117,13452,117,1390,117,7678,22556,1105,1839,1132,1155,1112,2430,6775,1158,154... |
ade2010646a1f7d88ae4b9388fe8d481ebe8caa3 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TE32.prev.tst | ad9d85f1bdcbc0edd795d9a17bbbf4e7382b6909 | [
"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 | 1,197 | tst | TE32.prev.tst | considerNonPrimitive
Expanding for base=2, level=2, reasons+features=base,primitive,same,similiar,accel igtriv,norm
Refined variables=a,b,c,d
[0+1a,0+1b,0+1c,0+1d]: unknown -> [1] [0,0,0,0] a³+2b³+4c³-9d³
---------------- level 0
expanding queue[0]^-1,meter=[2,1,1,2]: a³+2b³+4c³-9d³
[0+2a,0+2b,0+2c,0+2d]: unknown accel... |
2fba51a83d52ac022a520ff79f96b7ad83f2a4d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH2/EX2.8/Ex2_8.sce | 3ed483d56454da2f45a0293e69c5b3e0be6a9b7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | Ex2_8.sce | clc;
//page no 52
//problem 2.8
//All frequencies in kHz
//The time is in ms
//Power in WATTS
//All voltage in volts
//following values are copied from Ex2-7
T=0.2; //ms
f1=1/T;
//There are only odd numbered harmonics
Ap2p=40; // peak to peak
R=50; //ohm
A=Ap2p/2;
C1=4*A/%pi;
C3=4*A/(3*%pi);
C5=4*A/... |
cb39b080b9cdf5b50024b01585ad64007a9a183e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH4/EX4.15/Example4_15.sce | 93ac6eccf711d0b3648674a1f64ced068eea8320 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,262 | sce | Example4_15.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 4 : OVERHEAD POWER TRANSMISSION
// EXAMPLE : 4.15 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
D_12 = 26 ; // distances in feet
D_23 = 26 ; // dist... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.