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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17e5fa033f7e8c90286a4fee26548d926806a3e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH11/EX11.4/Example11_4.sce | 32547d31e615f78b66bc3395e5d3181c680c4f22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,668 | sce | Example11_4.sce | clear ;
clc;
// Example 11.4
printf('Example 11.4\n\n');
// Page no. 322
// Solution fig E11.4
//Basis : M = 1000 lb
M = 1000 ;//[lb]
//Given
F_s = 16/100 ;// Fraction of sugar in F
F_w = 25/100 ;// Fraction of water in F
F_p = 59/100 ; // Fraction of pulp in F
D_p = 80/100 ; // Fraction of pulp in D
E_s = 13/100 ;/... |
42d048e95b5e9e190da3adc79a289073e5a14703 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.1/ex1_1.sce | 8e2a50c4f29308ec135fe7a860f9bd751114be50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | ex1_1.sce | clc;
n=512; //frequency in Hz
l=67; //wavelength in cm
v=n*l; //calculating velocity
disp(v,"Velocity in cm/sec = "); //displaying result |
12512454a6084e5202e5b08b53b569c42556564e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronics_Devices_K._C._Nandi_2288.zip/Fundamentals_Of_Electronics_Devices_K._C._Nandi_2288/CH3/EX3.21.19/ex3_21_19.sce | 4f085e8a349bd62db4ec7973ff1b4c8fe000411b | [] | 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 | 170 | sce | ex3_21_19.sce | errcatch(-1,"stop");mode(2);// Exa 3.21.19
;
;
// Given data
t_d = 3;// total depletion in µm
D = t_d/9;// in µm
disp(D,"Depletion width in µm is");
exit();
|
2da18eb09fc7200ca725a483af7c30cf2140c1ba | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/demos/surface/bezier.sci | 55a07aae2964022702c1769b444931810b20e96b | [
"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 | 2,577 | sci | bezier.sci | function gammatest (N)
// Bezier curve approximating a circle
// Copyright INRIA
[lhs,rhs] =argn(0);
if rhs < 1 ;N=[10,20,50,100];end
x=linspace(0,1,100);
plot2d(cos(2*%pi*x)',sin(2*%pi*x)',1,"151"," ",[-2,-2,2,2]);
xtitle('Bezier curve approximating a circle')
icol=2
for n=N ;
t=sqrt(linspace(0,1,n));
p=[cos(2*%p... |
71d1588f4bddfc6bd46b76becdda6679f5fcff1b | 037362195179268c71b89f6485fb796c82311d07 | /Native Scilab Algorithms/logistic_regression.sci | ef3cc893594fafb75b5d337125ef3a15229610aa | [] | no_license | SoumitraAgarwal/machine-learning-Toolbox-SCILAB | 34a6884fd0138548955e836836181df0c8169ab1 | ef4dc44a9676a2b63e8c8fa0ce7c0452a98b44fa | refs/heads/master | 2020-03-15T03:59:52.960122 | 2017-08-28T16:36:20 | 2017-08-28T16:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,187 | sci | logistic_regression.sci | function logistic_regression(data)
//currently designed to classify inputs with only 2 features and 2 classes
b0 = 5;
t = b0 * rand(100,2);
t = [t 0.5+0.5*sign(t(:,2)+t(:,1)-b0)];
b = 1;
flip = find(abs(t(:,2)+t(:,1)-b0)<b);
t(flip,$)=grand(length(t(flip,$)),1,"uin",0,1);
c0 = t(find(t(:,$)==0),:);
... |
b5783e0e4805c8862fb6ef14a789c63469fb0884 | 0c26c4640400459194bacdf0c95994c35629022d | /OMScilab.sce | ebc7447b18a93c5ee92c9d34a502a49d322a9b31 | [] | no_license | OpenModelica/OMScilab | 56010d3169eb601b02a6ff13f91e1660b8548bb6 | 40b640723721b79bed515707efe777ec9de57d1c | refs/heads/master | 2022-11-07T17:56:14.846050 | 2020-06-20T09:47:05 | 2020-06-20T09:47:05 | 273,512,183 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,349 | sce | OMScilab.sce | // This file is part of OpenModelica.
// Copyright (c) 1998-CurrentYear, Open Source Modelica Consortium (OSMC),
// c/o Linköpings universitet, Department of Computer and Information Science,
// SE-58183 Linköping, Sweden.
//
// All rights reserved.
//
// THIS PROGRAM IS PROVIDED UNDER THE TERMS OF THE BSD NEW LICENSE ... |
4ecec7395388fa367c2ba28925decf2f457a432b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH1/EX1.5/ex_1_5.sce | 37c11b991ed573691ca91bc665515657baa45665 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | ex_1_5.sce | //Ex 1.5
clc;
clear;
close;
format('v',7);
Iout=60;//micro A
VBE=0.7;//V
Beta=150;//unitless
VCC=30;//V
IREF=Iout*(1+2/Beta/(1+Beta));//micro A
R=(VCC-2*VBE)/IREF;//Mohm
disp(IREF,"Reference current(micro A)");
disp(R*1000,"Resistance required(kohm)");;
|
f758040fb3cc00a9a21984588202e190ada4f2df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.12/EX_7_12.sce | c55fec2c5c2b9a19cfa84481b0eec0bd4040d141 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | EX_7_12.sce | // Example 7.12:resonant frequency
clc;
clear;
close;
Cs=0.08;//capacitance of tunned circuit in pico farad
Ls=0.8;//series INDUCTANCE of tunned circuit in henry
Cp=1;//parallel capacitance in pico farad
Rs=5;//SERIES RESISTANCE IN KILLO OHMS
fs=round((1/(2*%pi*sqrt(Ls*Cs*10^-12)))*10^-3);//series tunned freque... |
0501d3193cca53f3741d4e4bbe3a1fa610aec6e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH4/EX4.3/Ex4_3.sce | 3aced56b1a651cdb8bcfdb7b047d97d2d11ca39a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Ex4_3.sce | //Ex4_3 Pg-214
clc
disp(" Ratio of rectification or efficiency of halfwave rectifier,")
disp(" n = 0.406 = DC power deliverd to the load/AC input powerfrom transformer secondary ")
DC_power=500 //ddc power deliverd to the load
n=0.406 //efficiency
AC_in_power=DC_power/n //AC input powerfrom transformer sec... |
680c7b3b4bc83764beb9a83361756405ec7f928f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.2.b/2_2_soln.sce | d5722d4f329b754e3817af29eafee6926e00457c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_2_soln.sce | clc;
pathname=get_absolute_file_path('2_2_soln.sce')
filename=pathname+filesep()+'2_2_data.sci'
exec(filename)
// Solution:
// we know specific weight,
// gamma=(Weigth of the Body/Volume of the Body)
gamma1=(W/V); //lb/ft^3
// rounding off the above answer
gamma1=fix(gamma1)+(fix((gamma1-fix(gamma1))*10)/10); //lb/ft... |
8e8c00a76df48e263f276510cffc79feac10d6df | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r37/packages/invbase/invbase.tst | 2426b92f7d0bf7377b5c2aa1319d9056c4839e7a | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 571 | tst | invbase.tst |
% ***** Example 1 *****
g:=invbase{4*x^2 + x*y^2 - z +1/4,
2*x + y^2*z + 1/2,
x^2*z - 1/2*x - y^2};
h:=invlex g;
% ***** Example 2 *****
on trinvbase$
invtorder revgradlex,{x,y,z}$
g:=invbase{x^3 + y^2 + z - 3,
y^3 + z^2 + x - 3,
z^3 + x^2 + y - 3}... |
c65200c34e492b08704c102903a7777a3fad2497 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.8/example8.sce | 519df72f4996a88ced7f626391daa2e456bb6827 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | example8.sce | //find out transfer function of the system
printf("syms K1 K2 M1 M2")
printf(" the differential equatios in laplace form are \n F(s)=M1*S^2*X1(s)+K1*X1(s)-K2*X2(s)")
printf("\n X1(s)=X2(s)*(s^2*M2+K1+K2)/K1 \n f=K1/((s^2*M2+K1+K2)*(K1+s^2*M1)-K1^2)\nTransfer function X2(s)/F(s)=f")
|
7a0d4b613a6dae25e4cbc5c3f41b854c811cc379 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-5/result10s0.tst | 06bbd3dbddb3df12f1cebcddd17e9fdb56c4de1b | [] | 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 | 1,593 | tst | result10s0.tst | @relation yeast-5
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, E... |
35069f74cc97914a6b11253fff161131264e4e1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH7/EX7.13/7_13.sce | 42b3e83b7ae124c231c2d93c0f689c700dff30c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | 7_13.sce | //example 7.13
clc; funcprot(0);
// Initialization of Variable
T1=293;//kelvin
p2=5;//atm
p1=1;//atm
n=1.3;
h2=426.35;
h1=293.17;
T2=T1*(p2/p1)^((n-1)/n);
k=-n*8.314/28.97*(T2-T1)/(n-1);//Wcvdot/mdot
disp(k,"Wcvdot/mdot in kJ/kg");
k1=k+h2-h1;
disp(k1,"Qcvdot/mdot in kJ/kg");
clear()
|
c280770c2781e583fc0c3070b9151374451960d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.34/EX_7_34.sce | b8ec6cd606384b656403fc1b38ac53c601664d12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | EX_7_34.sce | // Example 7.32:design wein bridge oscillator
clc;
clear;
close;
R=100;//ASSUME RESSITANCE IN KILO OHMS
fo1=10;//tunned frequency in killo hertz
fo2=100;//tunned frequency in hertz
C1= (1/(2*%pi*R*10^3*fo1*10^3))*10^9;//tunned capacitance
C2= (1/(2*%pi*R*10^3*fo2))*10^9;//tunned capacitance
disp(C1,"tunned ca... |
69c19c4300b730bb124f8d834ee52f21508cbe4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.35/Chapter5_Exampl35.sce | 2714794d9db589f56ab276068e70dfb36af3d0e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 934 | sce | Chapter5_Exampl35.sce | clc
clear
//INPUT DATA
p0=1;//suction pressure in bar
p1=1;//pressure in bar
p2=6;//delivery pressure in bar
v0=5;//volume in m^3/min
t0=288;//suction temperature in K
t1=300;//initial temperature in K
k=0.05;//Clearance
n=1.3;//index of compression
N=150;//speed in rpm
//CALCULATIONS
va=(p0/p1)*(t1/t0)*... |
35e2faa28823dc7f656e482b432f6c8d02642701 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/examples_scicos/syslin/syslinsim.sci | d5eded9bc698427ad26dc1725dcb82085a2b8868 | [] | 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 | 575 | sci | syslinsim.sci | ///withoutPrompt
function [t,u,y]=syslinsim(Sys,tf,dt,ui,T,U)
// Define symbolic parameters
%scicos_context.num=Sys.num
%scicos_context.den=Sys.den
%scicos_context.dt=dt
// Add initial input and a fake end point
UT=[[0,T,tf+1];[ui,U,0]];
mopen("foo","wb")
mput(UT,"d")
mclose()
load("bg.cos")
scs_m... |
1a3ff084d7431c33f0c6ce0abad93faa1c7fdf68 | eda0ddb3e310b6d8e0a674f5cccfd207915546d1 | /sci1.sce | 86a73139c61e97d2767530952f0784f994c30b25 | [] | no_license | jithinsisaac/Scilab-Experiments | 046e781291cf08b68eec84084446ffee91adeb14 | 3f4d18b2f32b74abed963f02d6ecb8509d5fabc1 | refs/heads/master | 2022-11-09T08:24:39.953452 | 2020-06-25T07:52:07 | 2020-06-25T07:52:07 | 274,857,905 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | sce | sci1.sce | clc;
clear;
x=input('Enter the Value of x: ');
disp(x);
|
b46e7a5593ece79fd5e092a457df32b7db69c9e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH5/EX5.5/Exp_5_5.sce | 17ba15f4e37ff2d63bc72aa572a697bd25131777 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | Exp_5_5.sce | //Optical Fiber communication by A selvarajan
//example 5.5
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
h=6.6*10^-34//planck's constant
c=3*10^8//velocity of light in m/s
q=1.6*10^-19//charge of an elctron in columb
lambda=0.85*10^-6//wavelength in m
I=0.1//incident light intensity in... |
1f244f9802afec731df560d7c401531e4221e601 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH6/EX6.13/Ex6_13.sce | ece2ebdacf94de18a13a7f00bc3432e1a9bd30f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | Ex6_13.sce | // Scilab Code Ex6.13: Page-351 (2008)
clc; clear;
h = 6.6e-034; // Planck's constant, Js
m = 9.1e-031; // Mass of an electron, kg
e = 1.6e-019; // Energy equivalent of 1 eV, J
E_F0_Be = 14.44 // Fermi energy of Be at 0 K, eV
N_bar_Be = 24.2e+022; // Number density of conduction electrons in Be at... |
898dd249648146c642272cae4794025f5dd9c346 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/zp2sos.sci | 6bb9426724ccbbdff2d6643b6b1ce599ac2f6ad9 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,329 | sci | zp2sos.sci | function [sos,g] = zp2sos(z,p,k)
//This function converts filter poles and zeros to second-order sections.
//Calling Sequence
//[sos] = zp2sos(z)
//[sos] = zp2sos(z, p)
//[sos] = zp2sos(z, p, k)
//[sos, g] = zp2sos(...)
//Parameters
//z: column vector
//p: column vector
//k: real or complex value, default value is 1
/... |
1437fcc39cc7beecd18866217e12bb419d5c59ec | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/overload_copy_runme.sci | c699c8e15f6710b5600b4a15e1631cbb685911a5 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sci | overload_copy_runme.sci | exec("alaqiltest.start", -1);
f = new_Foo();
g = new_Foo(f);
delete_Foo(f);
delete_Foo(g);
exec("alaqiltest.quit", -1);
|
f28405e961eefbc3c07ae496e5010d31bec5eb66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH7/EX7.4/EX7_4.sce | 3e7ee4d313657ce92caed992d5a932869f23a542 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX7_4.sce | clear;
clc;
printf("\nEx7.4\n");
//page no.-219
//given
e=1.6*10^-19;......//CHARGE IN C
R=-0.0125;..........//HALL COEFFICIENT IN m^3/coulumb
E=100;...............//ELECTRIC FIELD IN volt/m
mu=0.36;.............//mobility
n=1/(e*R).............//no. of charge carriers per m^3
J=n*e*mu*E............//curren... |
db482796367fd044dba75761e77ab9c9ec4c3c5c | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp3/exo3&4/calcoef.sci | fe13d6f63acc72057ae2237695e47f8bf9bb1dce | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sci | calcoef.sci | function [cc]=calcoef(T,y)
d = cald(T,y)
[n,m] = size(T)
for i = 1 : n-1
h(i,1)=T(i+1,1)-T(i,1)
end
for i = 1:n-1
cc(i,1)=y(i,1)
cc(i,2)=d(i,1)
cc(i,3)=((y(i+1,1)-y(i,1))/(h(i,1)^2))-(d(i,1)/h(i,1))
cc(i,4)=((d(i+1,1)+d(i,1))/(h(i,1)^2))-2*((y(i+1,1)-y(i,1))/(... |
a43475cd2db1beb2334096616be1e37365cebc6c | ffbbf683392acedc791e4757a3ee66d1ed93fcc7 | /datat.tst | 37d1a5915a8fe7517cd69029a432304620b3e544 | [] | no_license | antoniosalte/TPComplejidadAlgoritmica | 5a6e0dbfee6039e36bd00e6d3be76ed2b554b7ef | ccf29a98659d8a0b3e3b6d6469f512e11fd009e0 | refs/heads/master | 2021-09-23T21:48:17.905011 | 2018-09-27T22:22:18 | 2018-09-27T22:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,233,044 | tst | datat.tst | 0,Huamampallpa,-72.53126621,-13.99202976
1,Campo Verde,-73.68263125,-11.23852662
2,Manantial,-73.73216629,-11.05266063
3,Sumac Wassi,-75.69002867,-14.0320047
4,Ana Jara Velasquez,-75.76846719,-13.96906928
5,Selva Verde,-71.41628373,-12.93040825
6,Angel de la Luz,-80.25141478,-3.694722345
7,Casa Huerta,-76.6739434,-11.9... |
ec10193f5becfc823dfa04353736d9446d2290ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.22/ch7_22.sci | f32dea78960593c049399ae1519b6cd7ecf2b014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sci | ch7_22.sci | // to compute terminal voltage at rated voltage current
clc;
R_a=0.05;
R_se=.01;
N_f=1000;
N_se=3;
I_sf=5.6; //shunt field current
I_L=200;
I_a=I_L+I_sf;
N=N_f*I_sf+I_a*N_se; //excitation ampere turns
I_freq=N/N_f;
E_a=282;
n=1200;
nn=1150;
Ea=E_a*(nn/n);
V_t=Ea-I_a*(R_a+R_se);
disp(V_... |
032da3622b298022204f213619419cd0b06a92fd | bbf51be5b3d0f748122e19bca50b052a118963d9 | /leastfit.sce | 56a64b021b330a1f2d2a2c206f22da4da5b57218 | [] | no_license | prateekkhatkar99/Next-Gen | 7aa0b5e1af9491350c81b9763ccb0a9637f47e73 | d085a70af2c77886d69f565205a2b96f633aab17 | refs/heads/master | 2020-07-05T20:52:58.713328 | 2019-09-04T13:45:52 | 2019-09-04T13:45:52 | 202,771,741 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | leastfit.sce | clear
Xi=0
Yi=0
XiYi=0
Xi2=0
disp("Enter the no of coordinates=")
n=input("Enter the no of coordinates=")
for i=1:n
x(i)=input("Enter the x coordinates=")
y(i)=input("Enter the y coordinates=")
end
for i=1:n
Xi=Xi+x(i)
Yi=Yi+y(i)
XiYi=XiYi+x(i)*y(i)
Xi2=Xi2+x(i)*x(i)
end
disp(Xi)
disp(Yi)
dis... |
989d6f1b5275044483fbbcff73bd1a86d84774a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH7/EX7.5.5/Example_7_5_5.sce | 458cd4ba82fc8e620b5a2631054a1fbdc442a11c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Example_7_5_5.sce |
// Example 7.5.5 page 7.25
clc;
clear;
h=6.626d-34; //plank's constant
c=3d8; //speed of light
eta=70/100; //quantum efficiency
I=3d-6; //photocurrent
E=1.8d-19; //energy of photns
q=1.6d-19; //charge of electron
lamda=h*c/E; //computing wavelength
R=eta*q*lamda/(h*c); //computing... |
d5dbd375ee2b92a87a8665e34d693e0a410be243 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/DEPENDENCIES/graeffe.sci | f04838ae67290a235edcef7f39fcdec11d72e9df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,162 | sci | graeffe.sci | function q = graeffe(A,eps)
n = length(A)-1;
x = poly(0,'x');
for(i = 1:n)
X(i) = x^(n+1-i);
end
X(n+1) = 1;
//disp(X)
//converting this polynomial into standard one where the coefficient of highest order term is 1
A = A/A(1);
p = A*X;
printf('The given polynomial is\n')... |
423e709fe3c24b38aee577a3c595e5afd27f1bcd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH3/EX3.4/Ex3_4.sce | 6ac60b1be7b5d91aa92135e46e5fb3e6f1ff858f | [] | 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 | 494 | sce | Ex3_4.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the (a)Secondary voltage (b)current flowing through windings (c)max value of flux
//Exa:3.4
;
;
f=50;//in Hz
E_1=2500;//in volts
N_1=500;
N_2=100;
P=50*1000;//in watts
E_2=E_1*N_2/N_1;
disp(E_2,'(a)Secondary Voltage (in volts)=');
I_1=P/E_1;
disp(I_1,'(b)Pr... |
a8ba936dccd26ed0e721f5e1651e3c9e96679735 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH7/EX7.3/7_3.sce | f474a0ca52a2fff8fe0c595d6f609a9ceb69cf38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | 7_3.sce | clc
clear
//Initialization of variables
n=7
//calculations
alpha= (n+1)^3 *(2*n+1)^3 /(4*n^4 *(n+3)*(2*n+3))
bet=(n+1)^2 *(2*n+1)^2 /(2*n^2 *(n+2)*(2*n+2))
//results
printf("alpha = %.2f",alpha)
printf("\n beta = %.2f",bet)
|
0fd666cbbfd589c1a26bf169fb8ed5d867d35895 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/runtest0.tst | d7b1cb9e25d2759fd1af029debd1bf0bc9b0c376 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 831 | tst | runtest0.tst |
msglvl +verbose +emsgloc
msglvl +time +usecs
* ----------------------------------------------------------------------------
*Testcase runtest0: all cpus 0 seconds
* ----------------------------------------------------------------------------
*
numcpu 4 # Total CPUs needed for this test...
*
* --------... |
c1618ff90f36f574851e68e2587b37b5ea76c7f1 | d952e4f02590c7f0020bc3f7290465021dce7d49 | /bump.tst | f590b760ceddb6dfaaa092b96f76fb322eea092a | [] | no_license | ThH00/Basilisk_Practice_1 | 6524edea9b7020cd06930d8508d4091f87a772f0 | 2c03d8e0c49e0af74bddfa028b0ea48e3d1c8c46 | refs/heads/master | 2020-05-07T08:03:55.935046 | 2019-04-09T07:03:09 | 2019-04-09T07:03:09 | 180,305,365 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | tst | bump.tst | 44a7fe59a2692020c0a5260c406290ef bump.c
d9ad2cbc1deb72ef20f3a9670b25eb2c bump.s
|
3859a27aeee9d1cef705d57a67d899f6570cf27e | f5cb0bf9666b82eb3c0623aefc0d7229e00a0fd3 | /docs/moonphase_suntime.sce | a2ca6684e3843d6b03e06b70436a03bcb89ecdd7 | [
"MIT"
] | permissive | gaborsimon/WeatherStation | a3aec42bcbcd914623de8d3cd269fc7a94f028b8 | b4527831837ea4f5f9a9c9c95ce414a31952c152 | refs/heads/master | 2021-01-18T23:40:25.039049 | 2017-12-10T13:14:41 | 2017-12-10T13:14:41 | 28,279,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,544 | sce | moonphase_suntime.sce | // 2013.01.03 19:24
clc;
DEG_TO_RAD = %pi / 180.0;
RAD_TO_DEG = 180.0 / %pi;
Y = 2014
M = 2
D = 15
//**************************************************************************
//**************************************************************************
//******
//****** Moon Phase
//******
//*********... |
2535b6f76807a16853e63c2657c2d145c872e090 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH5/EX5.3.a/ch5ex3a.sce | 83a9b7c66b6492352cc2619ecc40bc9a57b8b6dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | ch5ex3a.sce | //signals and systems
//Inverse Z Transform:ROC |z|>1/3
z = %z;
syms n z1;//To find out Inverse z transform z must be linear z = z1
X =(8*z-19)/((z-2)*(z-3))
X1 = denom(X);
zp = roots(X1);
X1 = (8*z1-19)/((z1-2)*(z1-3))
F1 = X1*(z1^(n-1))*(z1-zp(1));
F2 = X1*(z1^(n-1))*(z1-zp(2));
h1 = limit(F1,z1,zp(1));
d... |
fad04737c6475f30f878eb588562bd3a67a9582d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH27/EX27.8/Ex27_8.sce | 00caf42fa48f4a93bf0c7014bc90f6e22fd9ee17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,223 | sce | Ex27_8.sce | //Variable declaration:
m = 50000 //Mass flowrate of the organic fluid (lb/h)
cP = 0.6 //The heat capacity of the organic liquid (Btu/lb. F)
T1 = 150 //Initial temperature of organic fluid ( F)
T2 = 330 //Final temperature of org... |
3feceab9bdaa3908b3643b5b82300192d4a40d9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH7/EX7.5/75.sce | f159d58b3a874cd3a6015271db9dc768561a5e0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,013 | sce | 75.sce | clc;
//Example 7.5
//page no 67
printf("Example 7.5 page no 67\n\n")
//water flow in tank inletand outlet pipes
//applying continuity principle to the control volume
//since generation rate =0
d1=0.09//diameter of inlet pipe
v_in=4//velocity,m/s
v_out=3//velocity,m/s
q_in=(%pi*d1^2)*v_in/4//volumatric flow ra... |
667e4e4721ca0881584cef293c125e3b7a652d70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH8/EX8.7.46/8_7_46.sce | 7e3be798c8d255131d54c4a5a9c8ded5c38b3f25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | 8_7_46.sce | clc
clear
//Input data
Cj=2700 //Jet velocity in m/s
u=1350 //Flight velocity in m/s
m=78.6 //Propellent flow in kg/s
//Calculation
F=m*Cj*10^-3 //Thrust in kN
P=F*u*10^-3 //Thrust power in MW
sig=u/Cj //Jet speed ratio
eff=((2*sig)/(1+sig^2))*100 //Propulsive efficiency in %
//Output
printf('Thrust i... |
ef5622135fe90496881cb53d29892fa6d2edf4ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.18/example6_18.sce | df442e946020f473cd63895c4c5fd58ef66cd4f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | example6_18.sce | syms G1 G2 G3 H1 H2;
T1=G1*G2;
T2=G3*G2;
L1=-G1*H2*G2;
L2=-G3*H2*G2;
L3=-G2*H1;
delta=1-(L1+L2+L3)
del1=1;
del2=1;
TF=(T1*del1 + T2*del2)/delta ;
disp(TF,"C/R = ")
|
963292c3c1a341d2b5a998cf4eeb341cc76ec39e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH5/EX5.8/Ex5_8.sce | 84407b96692402dbc71d1d97517432f8e054e313 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_8.sce | //Ex 5.8
clc;clear;close;
format('v',5);
//vo/v1=1+R2/R1;//
//For v2/v1 i.e. gain=2, R1 & R2 should be equal
Vpp=10;//V
R1=10;//kohm
R2=10;//kohm
//Avg=1/T*integrate('Vpp*sin(2*%pi*t/T)','t',0,T/2);
Avg=-Vpp/(2*%pi)*[cos(%pi)-cos(0)];
disp(Avg,"Average output voltage(V) : ");
|
8d5db4de258d4b7ac4a709debd0d8a98dfa4263f | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.22/ex_4_22.sce | 9ee7d7e019634b6eeaabbd6d2a0979701a0a8e86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | ex_4_22.sce | clc;
z = %z;
syms n z1 ;
X =3/(z-2);
X1 = denom(X);
zp = roots(X1);
X1 = 3/(z1-2);
F1 = X1*(z1^(n-1))*(z1-zp(1));
x1 = limit(F1,z1,zp(1));
disp(x1,'x1[n]=')
disp(x1*'u(n-1)',"x[n]=") |
8afe9f980514adb37c0a29d51036c5fa0115ae86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH19/EX19.2/Ex19_2.sce | 768e8ce7142a10d629af984906dccc52959dbdf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | Ex19_2.sce | //Variable declaration:
//From example 19.1:
T1 = 24 //Outside surface temperature ( C)
Ri = 0.0191 //Insulation resistance (K/W)
Q = 1383 //Revised heat transfer rate (Btu/h)
//Calculation:
T2 = T1-Q*Ri //Temperature at outer surfac... |
72e0fa382408b20187fa6674c6d26f91a09d0e2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH2/EX2.7/ch2_7.sci | 4af75f11566738d9d97566f8bbf59768c43db7f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sci | ch2_7.sci | //determination of self and mutual inductance b/w 2 coils
clc;
U_o=4*%pi*10^-7;
U_r=1600;
A1=4*10^-4;
A2=4*10^-4;
A0=2*10^-4;
N1=500;
N2=1000;
l1=.01*((6+0.5+1)*2+(4+2));
l2=.01*((3+0.5+1)*2+(4+2));
l0=.01*(4+2);
function [R]=reluc(l,A)
R=l/(U_o*U_r*A);
endfunction
R1=reluc(l1,A1);
R2=reluc(l2,A... |
ed83ff39422270acf2f1c6b8dfdb5d022bb888a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH9/EX9.2/Chapter9_example2.sce | 351f6f8fe423ae793db68b9683c649bb7499c2f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | Chapter9_example2.sce | clc
clear
//Input data
d1=0.075//Throat diameter in m
Ca=0.93//Coefficient of air flow
d2=0.005//Orifice diameter in m
Cf=0.68//Coefficient of fuel discharge
ap=1//Approach factor
dp=0.15//Pressure drop in kg/cm^2
da=1.29//Density of air in kg/m^3
df=720//Density of fuel in kg/m^3
//Calcultions
w=(((3.14/... |
558d7f846228de71b8498b82fbee4374e49ea401 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH4/EX4.3/EX4_3.sce | 93e14b03ad3d99193adfcd49bacddf5be0b02ab3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,179 | sce | EX4_3.sce | clc
//code uses userdefined function complexstring
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
//induction machine parameters in ohms
r1=0.39 //pr... |
99a2dcc7532a594d53ee6388e40cb88f98278e6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH12/EX12.8/example_12_8.sce | 68b4863ccd31264cb2d908f1c17614bd4170eab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,778 | sce | example_12_8.sce | //Chapter 12
//Example 12.8
//page 477
//To calculate critcal clearing angle
clear;clc;
Xd=0.25; //direct axis transient reactance of the generator
Xl1=0.28; Xl2_1=0.14;Xl2_2=0.14; //reactances of transmission line
E=1.2; //voltage behind transient reactance
Xinf=0.17; //reactnce before infinite bus
V=1; //infinite b... |
6d53758b27924ad5398081c53e2b01eb65c99630 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH4/EX4.9/4_9.sce | 2d842216ae8465986c5f53e29101b0eb60e91669 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | 4_9.sce | clear;
clc;
v=1;
v1=.4*v;
v2=.6*v;
k=(v2-v1)/v1;
mprintf("the ratio of capacitance to insulator to the capacitance to earth=%d",1/k);
|
d710ec130ccd146ed26a880945344ec81caa3bc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH2/EX2.20/2_20.sce | a830ec4ba403787d2a8c87e515dd84e22f991ea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | sce | 2_20.sce | clc;
//Page no:2-31
//Example-2.20
L1=5;
L2=2;
u=(L1-L2)/(L1+L2);
disp(u,'u= ');
|
45c3ecd477c7624f48e7058fca25e47b4f6de63f | a32ca14eb7efc53e65f80974ac55e96683ea6c24 | /TP1/tp1.sce | 3b0d1b66c442ac08501c4cec1c11c27cb7819b61 | [] | no_license | GHLH/RO05_TP | 3187b861713a2314501a56838b698d49445c9199 | 3eaf94b7114babf849df70e094855929071b8e3b | refs/heads/master | 2021-07-10T21:04:33.226067 | 2017-10-06T21:18:47 | 2017-10-06T21:18:47 | 105,623,668 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | tp1.sce | N = 1000; //le nombre des réalisations
T = 1; // le temps de l'exercice de l'option
h = 0.05;
S0 = 1;
mu = 0.05;
sigma = 0.3;
M = T / h; //nombre de subdivision de l'intervalle [0,T]
t = 0; //la valeur de l'actif aux instants
somme = 0; //la somme de S(t)
Nb = N / M; //nombre de réalisation dans chaque intervalle [0... |
fe901c9908be07fae8d7bfe5cc051d4c1e738975 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH10/EX10.8/lewin_imc1.sce | df0f7f97d0dd426f32593b1acd4497b2552ffca2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | lewin_imc1.sce | // IMC design for Lewin's example
// 10.8
exec('tf.sci');
exec('myc2d.sci');
exec('imc_stable1.sci');
exec('zpowk.sci',-1);
exec('imcsplit.sci',-1);
exec('flip.sci',-1);
num = 1; den = [250 35 1]; Ts = 3;
G = tf(num,den);
[B,A,k] = myc2d(G,Ts);
alpha = 0.9;
[k,GiN,GiD] = imc_stable1(B,A,k,alpha);
... |
d871144cbcb7a499c1fbe87d5f6da6238409bc75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH3/EX3.9/9.sce | 2d42012e8c6303c17f27d21c04f50147e18da804 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9.sce | clc
u=0.032; // Ns/m^2
Re=2000; // maximum value
Rho=854;
del_p=150; // N/m^2
d=(32*u^2*Re/(Rho*del_p))^(1/3);
disp("The maximum inside diameter is found to be ")
disp(d)
disp("m") |
10032e4a41f9df30dba03f440b9aa0bd4a1e18b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH22/EX22.5/Ex22_5.sce | 3249cc957ced66b00d0a9f7ff66d7aac5b528971 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | Ex22_5.sce | clc;
//e.g22.5
VP=5;
IDSS=12*10**-3;
VDD=12;
ID=4*10**-3;
VDS=6;
VGS=VP*(1-sqrt(ID/IDSS));
VS=VGS;
RS=VS/ID;
disp('ohm',RS*1,"RS=");
RD=VDS/ID;
disp('Kohm',RD*10**-3,"RD=")
|
ae33cfe6455f7491c934d08b26e3e9df579e94a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH10/EX10.1/10_1.sce | 56e142b969816d78cc25bb2959a501a0a9a380d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | 10_1.sce | // Part (a)
P1 = 100; P2 = 50;
T1 = 273+300;
T2 = (P2/P1)*T1;
R = 0.287; cv = 0.718;
V1 = 0.8;
m = (P1*V1)/(R*T1);
Q = m*cv*(T2-T1);
disp("If the fluid is in the air")
disp("K",T2,"The final temperature is ")
disp("kJ/kg",Q,"The heat transferred is")
// Part (b)
t2 = 273+81.33; vf = 0.00103; vg = 3.24;
v1 ... |
7634e9dfcac76db0d9fde6bb282181e5beecaddd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/util/%s_simp.sci | c93d7d7c0d629c6d0082d9c480ba8951ba1d3356 | [
"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 | 81 | sci | %s_simp.sci | function [num,den]=%s_simp(num,den)
// implement complex case
// Copyright INRIA
|
766a607bb718d61d8cb694536a0f481440b7f01c | 1479b541ce60e664bfa1c43d5e86b4c92fc80403 | /multiply.sci | 4fa77aa9b084039c997b1bf13a7444f18105080c | [] | no_license | rupakrokade/scilab-test-travis | 821a0cc06c442f3a83362355934dade038055077 | 5deecb579e6ae6b7fa9d3f957d91d6b6c385587a | refs/heads/master | 2020-03-17T09:14:02.879831 | 2018-05-18T10:48:58 | 2018-05-18T10:48:58 | 133,466,724 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42 | sci | multiply.sci | function y=mul(a,b)
y=a*b
endfunction
|
96d1673b887f04eecb24b9587b2a9c7df2190a94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.20/15_20.sce | f767e52bd9eb29e4a409accbef92bde21e777394 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | 15_20.sce | //Example 15.20
//Carp Karp Runge Kutta Method
//Page no. 537
clc;clear;close;
deff('y=f(x,y)','y=x-y')
y=1;x=1;h=0.1;printf('\n')
U=[0,1/5,3/10,3/5,1,7/8];
v=[0,0,0,0,0;1/5,0,0,0,0;3/40,9/40,0,0,0;3/10,-9/10,6/5,0,0;-11/54,5/2,-70/27,35/27,0;1631/55296,175/512,575/13824,44275/110592,253/4096];
a=[37/378,0,250/... |
f166fc6d57fd4ae546f9a0c689a8d3ccac8a5838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH21/EX21.1/21_1.sce | fa94d04d65671e1b5db87ed8fa0176f67727c394 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | 21_1.sce |
clc
//initialisation of variables
clear
a=1.5//ft^2
toh=40//ft
sp=60//rpm
//CALCULATIONS
v=a*1
thv=v*sp/60
li=550//gal/min
av=550/(60*6.24)
slip=(a-av)*100/a
cds=100-slip
thp=10*toh/60
//RESULTS
printf ('slip = %.f per cent',slip)
printf ('\n coefficient of discharge = %.f per cent',cds)
printf (... |
10ed97cf770120619ecc8258bcd7fb64f8be7dd7 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RT16.prev.tst | e26199d376d64b21f11e930d3d46a34ae0b1dc49 | [
"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 | 48 | tst | RT16.prev.tst | linearIndex(3,2) = 8
triangleIndex(8) = (3,2)
|
c3a98e86b6b412cf93237e9fe09548bce00b3eec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH9/EX9.8/Ex9_8.sce | 4c37da16c52f3254941233316c4f7f684cf6e369 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_8.sce | //Ex9_8 Pg-477
clc
R1=2.7 //resistor R1 in ohm
R2=1//resistor R2 in ohm
Vin=0.5 //input voltage in V
Io=Vin/R1 //output current
printf("(1) Output current = %.0f mA \n",Io*10^3)
P=Io^2*R2 //load power
printf(" (2) Load power = %.1f mW \n",P*10^3)
R2=2 // new load resistor R2 in ohm
P=Io^2*R2 //load po... |
a996d4c4dee3da3b989e392fc12587bc775dfe1e | e212b298d8f4b56a3324a1e1bcb498ba214ff274 | /scicos/measured_controller_data.sce | 2dd321c716d356af7ddd862dc1d4156f4048c2eb | [] | no_license | HITliuyu/Applied-Robotics-Project | 5e45e2f5970e08033eed107fb862a05fc91ae872 | 21901a8098efaf3d8cde9f836acf98bc0cac59f2 | refs/heads/master | 2021-01-17T18:13:44.791928 | 2016-06-06T21:20:05 | 2016-06-06T21:20:05 | 60,561,831 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,055 | sce | measured_controller_data.sce | function analysis(in)
step_value = in;
loadmatfile("-ascii", strcat(["F:\ScicosExercise\scicos\data_files_final\d",string(step_value),".dat"]));
data_name = strcat(["d",string(step_value)]);
data = eval(data_name);;
timestamp = data(:,1);
timestamp = timestamp - timestamp(1);
speed = data(:,2);
speed = speed ... |
1bc9d3c6d3973f175f3c3d14ee992b079f4da15a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH5/EX5.29/Ex5_29.sce | 4114b576e07cab568f2736e1238101407de199c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Ex5_29.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 5.29\n\n\n");
// Chapter 5 : Properties Of Liquids And Gases
// Problem 5.29 (page no. 214)
// Solution
//We note that the steam is superheated.From the Mollier chart in SI units,
printf("The enthalpy h=2876.5 kJ/kg and entropy s=6.4952 kJ/kg*K\n");
/... |
0430f0b42d6cbe7e4b2d609704c71e8ab27f1574 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.32/Ex4_32.sce | 387b4245cf0cc6d83175d2ea08359b8032ae4010 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_32.sce | clc
//Variable Initialisation
Ea=230//Input Voltage of motor in volts
Ia=10//Armature Current in Ampere
Ia2=2*Ia//Given condition for armature Current
Ia3=2*Ia//Given condition for armature Current
Ra=1.5//Armature resistance in ohm
Rb=15//Braking Resistance in ohm
N1=1500//Rated Speed of Motor in rpm
N2=1200/... |
e7e3b1a1bb1a02db2b59d1b25084f64d106dacd4 | dc5a2fe4380e1453a12f15f5080b10f3ababb9de | /AutomationTools/bin/1.0/common/ATLAS/tools/txtfile/sh_bcc_auto2pc.tst | 3b5ee479605eac4c483eb7680eb1b3005639f22c | [] | no_license | jameshilliard/PythonCode | f72ad62bb8b8cafbc94cbe7c0d3065343fdf0f98 | 422543bc049f57a67d53ec0b89caef076297cdc5 | refs/heads/master | 2020-04-09T00:06:25.689609 | 2015-03-14T13:14:34 | 2015-03-14T13:14:34 | 32,722,067 | 3 | 0 | null | 2015-03-23T09:21:52 | 2015-03-23T09:21:52 | null | UTF-8 | Scilab | false | false | 3,099 | tst | sh_bcc_auto2pc.tst | -v G_USER=jma
-v G_CONFIG=1.0
-v G_TBTYPE=bcc
-v G_TST_TITLE="My Network Broadband Connection Coax"
-v G_PROD_TYPE=MC524WR
-v G_HTTP_DIR=test/
-v G_FTP_DIR=/log/autotest
-v G_TESTBED=tb40
-v G_FROMRCPT=jma@actiontec.com
-v G_FTPUSR=root
-v G_FTPPWD=@ctiontec123
-v U_USER=admin
-v U_PWD=admin1
-v G_LIBVERSION=1.0
-v G_... |
2ab4c266de41decdd30cad5ef52cc184c6383e54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH1/EX1.19/example_19.sce | bf812c4968c435977c0ca48dc33ee885336ae665 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | example_19.sce | clc
clear
printf('example 1.19 page number 54\n')
//to find the economic pipe diameter from nomograph
//from the nomograph,we get the values of w and density
w=450 //in kg/hr
density=1000 //in kg/m3
d=16 //in mm
u=(w/density)/(3.14*d^2/4);
Re=u*density*d/0.001;
if Re>2100 then printf("flow is... |
d0ee94a8f2748066b32db937f1edf676a4a3c22f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG20IE.prev.tst | 761070be92f10bcebf55444554390b68ae420b8d | [
"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 | 549 | tst | PG20IE.prev.tst | [[2,2,0],[0,2,1],[2,2,1]] [4,3,5] [12,5,13] [24,7,25] [40,9,41] [60,11,61] [84,13,85] [112,15,113]
[[-2,2,0],[0,2,-1],[-2,2,-1]] [0,1,-1] [-4,3,-5] [-12,5,-13] [-24,7,-25] [-40,9,-41] [-60,11,-61] [-84,13,-85]
[[1,2,0],[0,2,2],[1,2,2]] [3,4,5] [4,3,5]*2 [15,8,17] [12,5,13]*2 [35,12,37] [24,7,25]*2 [63,16,65]
[[-1,2,... |
f16a5ef2bc673c78e95d999699a646b3633f560c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH9/EX9.5/Ex9_5.sce | ad0a3975024f2019027d0abf03df6fa966663d12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | Ex9_5.sce | clear all; clc;
disp("To calculate the thermal efficiency,the units have to be consisitent. With hp=0.707 Btu/s=2545Btu/h, we have ETAth=Ps+Qe/Qin")
ETA_th=(2512*0.707+1259*7)/(7*1750)
printf(" Thus ETA_h= %0.3f",ETA_th)
ETA_th=2512*0.707/(7*1750)
printf("\n For the simple shaft power system,we have ETA_th= %0... |
83a427e95f96af8c2e103131ff6b7204cfab6565 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH2/EX2.10/example2_10.sce | 5b69c23849862a989dfb36ee5de8a9a6f3e84e45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | example2_10.sce | //example2.10
clc
disp("P=4, A=P=4")
disp("Running light it is on no load.")
disp("Therefore, N_0=1000 rpm Z=540 and psi=25*10^-3 Wb")
e=(100*540)/240
disp(e,"Therefore, E_b0(in V)=(psi*P*N*Z)/(60*A)=")
disp("i)Induced emf, E_b0=225 V")
disp("ii) From voltage equation, V=(E_b)+[(I_a)*(R_a)]")
... |
18bdf77c4c12ab0d9c3fa8fb9a9dbf3a98682194 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.45/Ex12_45.sce | c0e36dabb2f6451642d7b138c309fd3be0a1586f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | Ex12_45.sce | //Chapter 12
//page no 539
//given
clc;
clear all;
M=1; //number of solition Collisions
N=1; // number of solition Collisions
x=2;
y=1/2;
p=3;
p2=4;
Tb=100; //ps
l=1; //difference in wavelength in nm
D=7*10^-2; //ps/nm^2*km
Zr=y*y*(Tb/l/l/D); //regerat... |
428a1899722c79429dc486536ca1bca934462f38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH18/EX18.5/example18_5.sce | cf11d0fa0a0b7066bb1323c455638abd86793a1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | example18_5.sce | clc
// Given that
X = 2.3e-5 // magnetic susceptibility of aluminium
mu_ = 4 * %pi * 1e-7 // magnetic permeability of space
// Sample Problem 5 on page no. 18.23
printf("\n # PROBLEM 5 # \n")
printf("Standard formula used \n ")
printf(" mu_r = 1 + Chi \n")
mur = 1 + X
mu = mu_ * mur
printf("\n Permeability of alumini... |
4b6bdd5fc20dd85aaa7e3a2ec2fb620d2aea0d77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH22/EX22.2/22_2.sce | a3bf487f588ef164953993e118573a6aeebf911a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | 22_2.sce | //Example 22.2
//MLP
//Page no. 758
clc;clear;close;
deff('y=f(x)','y=x^3-x^2+x-1')
printf('Input\t\tDesired\t\tNetwork\t\tError\n\t\t Output\t\t Output\n---------------------------------------------------------\n')
in=[0.7572,0.7601,0.7620,1.4831,1.4874,1.4900,2.0913,2.0934,2.1006,2.8391,2.8496,2.8529,3.4555,3... |
53690135d1d10ea4dfd05d35ad5c23b9beedc6ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.20/Ex1_20.sce | 1c1bcfc00711162077bb4ab45b84958af2353533 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 972 | sce | Ex1_20.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 20
clc;
disp("CHAPTER 1");
disp("EXAMPLE 20");
//VARIABLE INITIALIZATION
I=20; //current source in Amperes
v1=10; //voltage source in Volts
v2=40; //voltage source in Vo... |
8803d663fe2ffa77592ac48d223280e5e36622f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH10/EX10.2/Ex10_2.sce | b6323e6f6ba585cb1df9ab729050c1a3912e4efb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | Ex10_2.sce | clc
alpha=10^4//cm^-1
R=0.1
Px=1
P0=2
x=(-1/alpha)*log(Px/(P0*(1-R)))
disp(x,"x in meter is =")
|
4603798a2e90e67e8fca58db96c534df62bba422 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH35/EX35.28/35_28.sce | a1ae92c7099b5bc01a1ec9a9b931f6f3c9b92c02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | 35_28.sce | //ques-35.28
//Calculating precessional frequency of electrons in a magnetic field
clc
Ho=15000;//magnetic field (in G)
g=5.585;
Bn=5.0508*10^-31;//(in J/G)
h=6.6262*10^-34;//(in Js)
f=(g*Bn*Ho)/h;
printf("The precessional frequency of electrons is %d MHz.",f*10^-4);
|
9b05e974b198c5a9590e0a1bf151385864bf4e1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH4/EX4.4/Ex4_4.sce | 45fb473b5fc7d6dccc7f03044c4e064a3fcd8d8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex4_4.sce | clear;
clc;
//page no. 108
rho = 0.00238;//slug/cuft
h = 6;//in
V_0 = sqrt(2*(h/12)*(62.4 - rho*32.2)/rho);
printf('The velocity of the air stream = %d fps',V_0);
//there is a small error in the answer given in textbook
|
61b7000b222b3dc04619dbf4a50e16b03743785e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH8/EX8.6/Ex8_6.sce | c3d3d1ac5af746a1bbe4790a2fc44c5a85466579 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | Ex8_6.sce | //===========================================================================
//chapter 8 example 6
clc;clear all;
//variable declaration
M = 500; //meter constant in revolutions per kWh
n = 40; //number of revolutions made
T1 = 58.1; //time in seconds
P = 5; //power in kW
//calcul... |
c9b13ec260a9c298a8c8d5f9ecf18755b5b044c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH5/EX5.3/5_3.sce | 8498d9f016bd5b0590587057641880c9022ad6f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | 5_3.sce | clear
clc
//initialisation of variables
g= 32.2 //ft/swc^2
Q= 40 //cuses
w= 5.5 //ft
h= 9 //in
d= 0.75 //ft
V= 3 //ft/sec
//CALCULATIONS
D= ((Q*2)^2/(g*(w*2)^2))^(1/3)
v= Q*d/w
D1= sqrt((2*v^2*d/g)+h/64)-(d/2)
dD= D1-d
El= -dD+((v^2*(1-(V/v)^2))/(2*g))
Els= Q*El*62.4/550
//RESULTS
printf('Critical dept... |
1ed8fac0634729a01b7f65ff7b3a8e2f842292de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH3/EX3.11/3_11.sce | 7c6fd5f43ff680c67439dbcba18419e2fca85b2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | 3_11.sce | clc
clear
//Initialization of variables
so3=6
h2=-296840 //kJ/kmol
h3=-395720 //kJ/kmol
t2=400 //C
t1=25 //C
//calculations
Hr=so3*(h3-h2)
cp=[1.059 0.967 0.714]
n=[82.76 11 8]
M=[28 32 64]
Ht= sum(cp.*n.*M)
Hre=Ht*(t2-t1)
Hpr=Hre-Hr
Tf=t1 + Hpr/3261.6
//results
printf("temperature of exit gases = %d ... |
fd3d2b4f95d847aca618e9cf710a9d2902c53cd7 | 7c129ce7f747d44e6c7cedea4c007088e87aa90c | /Programs/Echo_Generation.sce | bbcb106e138405995c8486e60518e66c779fb33f | [] | no_license | KilariSandhya/Digital-Signal-Processing | 08d97a6d46ff46c533c7a2114c19883980c85e38 | bad9dab8f5e02a8f1638ce20351e9eba1a0a11d0 | refs/heads/master | 2022-11-18T03:23:47.628061 | 2020-07-20T07:46:02 | 2020-07-20T08:00:23 | 281,047,630 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Echo_Generation.sce | clc;clear;close;
[x,fs,byts]=wavread('m01uh.wav');
sound(x,fs);
l=length(x);
disp(l);
r=0.8;
alpha=0.5;
for n=r+1:1:l
z1(n)=x(n);
z2(n)=alpha*x(n-r);
y(n)=z1(n)+z2(n);
end
sound(y,fs);
figure(1);
t1=0:1/fs:(length(z1)-1)/fs;
t2=0:1/fs:(length(z2)-1)/fs;
t3=0:1/fs:(length(y)-1)/fs;
subplot(311);plot(t1,z1);x... |
3164e77803ca7f3e92aaef812c3a3cc13d5811a7 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /AMPL_Codes/Endsem_2/endsem2.sce | 5469983ff8a0e3d3c82489030ca8d526c41ae408 | [] | 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 | 2,975 | sce | endsem2.sce | clc,clear
function [numCust,Completed,numArrival] = JobsDone(lambda,u,x,arrivals,L)
Queue = x-1;
//Currently there are x-1 persons in the que other thwn the last person
totalTime = 0
//In the begining the total arrival time is 0
Completed = 0
//Jobs completed till now are zero , i.e there are zero departures
arrivalsTo... |
5f2c0dd70bf0325cf610bdcc4c36d94a149a0bec | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/dsc.tst | 46203a5b338ca32e73d9ed9e915acd8f401ef235 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 281 | tst | dsc.tst | ## Test @dsc recursive-descendant operation
read <svnfodder.fi
index
set interactive
@dsc(:19) resolve expect all commmits following :19
@dsc(:27) resolve expect both commits on alternate branch and the last merge
@dsc(:23) resolve expect all master-branch commits :23 and after
|
db98b835b99e8509163f8560ab1f83c76d9cb509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH33/EX33.3/Ex33_3.sce | d8721d896909a715a96ceb971cbafa291a7171ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | Ex33_3.sce |
//To Find Thermal Coefficients a and b
//Example 33.3
clear;
clc;
acupb=2.76*10^-6;//Coefficient(a) for Copper-Lead Thermocouple
afepb=16.6*10^-6;//Coefficient(a) for Iron-Lead Thermocouple
acufe=acupb-afepb;//Coefficient(a) for Copper-Iron Thermocouple
bcupb=0.012*10^-6;//Coefficient(b) for Coppe... |
103238ac3a38b1b76c8cef5aeda6324c142e3d80 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/udm.tst | 8e4f87e29aee1709e94faf5de1dccac30429c259 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,341,482 | tst | udm.tst | пещера пещера N;NOM;SG;LGSPEC1
пещера пещералэсь N;ABL;SG;LGSPEC1
пещера пещераен N;INS;SG;LGSPEC1
пещера пещераосын N;INS;PL;LGSPEC1
пещера пещерае N;NOM;SG;PSS1S;LGSPEC1
пещера пещерае N;IN+ALL;SG;LGSPEC1
пещера пещераосы N;NOM;PL;PSS1S;LGSPEC1
пещера пещератӥ N;PROL;SG;LGSPEC1
пещера пещераосын N;IN+ESS;PL;LGSPEC1
п... |
2d4ce50a37d322bd1ff3718f31f2cff2f893cf19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.11/Ch03Ex11.sce | 079962202a7fff489cf2b85f4518cf51c2e6b000 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,274 | sce | Ch03Ex11.sce | // Scilab code Ex3.11: Pg 91-92 (2008)
clc; clear;
C_1 = 3e-06; //Capacitance, F
C_3 = 12e-06; //Capacitance, F
C_2 = 6e-06; //Capacitance, F
V = 400; // Supply voltage, V
// The reciprocal of the resulting capacitance of capacitors co... |
84e4420ba61bde5a7f6792a2c54ccb507cde6a9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH9/EX9.6/Chapter96.sce | 49c661b50f67f784c5f96cf6c6ba1f8f830743af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter96.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 9, Example 6")
//In a laboratory experiment,A current(I)=100A burns out a nickel wire having Diameter(D)=1mm or 0.001mm,length(L)=0.3m
I=100;
D=.001;
L=0.3;
//... |
2db87dfa3f71d727a9b29fa5a82c7fbe3a5e4c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH19/EX19.6/Ex19_6.sce | c9f8bea981b397485ac11803f956a7646a1e28f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,364 | sce | Ex19_6.sce | b=225//width in mm
D=300//depth in mm
fck=15//in MPa
fy=415//in MPa
l=4.2//span, in m
W1=(b/10^3)*(D/10^3)*25//self-weight, in kN/m
W2=6//live load, in kN/m
W=W1+W2//in kN/m
Wu=1.5*W//in kN/m
Mu=Wu*l^2/8//in kN-m
d=270//assume, in mm
Mulim=0.138*fck*b*d^2/10^6//in kN-m
//as Mulim > Mu, it will be a singly r... |
e475a344ed0bbb21224a60ad7c8c453eb06fdec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH6/EX6.3/Exa6_3.sce | b90ef505a9be63771cee519041d3ec2e641f8b52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,045 | sce | Exa6_3.sce | //Exa 6.3
clc;
clear;
close;
//Alternative A :
disp("Alternative A: ");
P=150000;//in Rs
A=60000;//in Rs
S=15000;//in Rs
i=25;//in % per annum
n=5;//in years
//Formula : (A/P,i,n) : ((i/100)*(1+i/100)^n)/(((1+i/100)^n)-1)
//Formula : (A/F,i,n) : (i/100)/(((1+i/100)^n)-1)
AE_A=-P*((i/100)*(1+i/100)^n)/(((1+... |
a4b4b8d759735f5e7eafb09e4fcdfdd071521409 | 44dccf35d0d05580e3fc20af3b7697b3c638d82d | /testcases/detectHarrisFeatures/8.sce | 634b6e3229d5f58607122b668b3cfa9be6daac4d | [] | no_license | surirohit/Scilab-Image-Processing-Toolbox-Unclean | 213caacd69badd81ec0f99a800f44a2cf8f79b5d | 3a8057f8a8d05e7efd83704a0e732bdda23fa3a0 | refs/heads/master | 2020-04-09T07:31:20.042501 | 2016-06-28T09:33:57 | 2016-06-28T09:33:57 | 60,406,367 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 100 | sce | 8.sce | i = imread('test2.jpg');
corners = detectHarrisFeatures(i,'SensitivityFactor',1.1);
disp(corners);
|
d061a51dfc11cddc1d8f52b68acd5fe07a3daf12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH7/EX7.3/Ex7_3.sce | 8e643066e775b44f21ee2e06454f9b72a6dfe9e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,484 | sce | Ex7_3.sce | // determine blade angles at hub,mean and tip diameters
clc
Dt=4.5 // meter
Dh=2 // meter
p=20e6 //watts
N=150 // rpm
nh=0.94 // hydraulic efficiency
n0=0.88 // overall efficiency
h=21 // head
g=9.8
Q=(p)/(n0*h*9800) //
mprintf('\n Q =%f m3/s',Q)
vf=(4*Q)/(%pi*(Dt^2-Dh^2)) // velocity of flow
mprintf('\n... |
d2ae59d0daacfc1b1cb031cdd2dec495ce8ce5dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH3/EX3.11/3_11.sci | b3b5c09f3be16830115c3bb0b16ee5577c5ee2ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sci | 3_11.sci | //3.11
clc;
phi=acosd(0.8);
alpha_actual=85-phi;
alpha_true=90-phi;
er=(alpha_true-alpha_actual)/(alpha_true)*100;
printf("percentage error at full load=%.2f",er) |
0645066177a870ed6a18481bc37e0258a509b4d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH10/EX10.5/5.sce | bd9f76dbfc8276f1c6ed43b252a268dc7a48586b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | 5.sce | clc; funcprot(0); //Example 10.5
//Initializing the variables
R = poly(0,'R');
//Calculations
r = R*(1 - (49/60)^7);
disp(r,"Radius at which the actual velocity is equal to the mean velocity :"); |
7679aa58d722d0f44a7c906ae74ad0344299805f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH2/EX2.8/ex2_8.sce | 5ee04efee389649f71e516804fe08b80184dc4e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | ex2_8.sce | // Exa 2.8
format('v',6);clc;clear;close;
// Given data
del_a1 = 0.02;// limiting error in current
del_a2 = 0.5;// limiting error in resistor
A1 = 2;
A2 = 120;
e1 = del_a1/A1;
e2 = del_a2/A2;
n = 2;
// limiting error
e_T = (n*e1)+e2;
e_T_Per= e_T*100;// limiting error in percentage
disp("The limiting erro... |
8cb4834e5cc72cd01d3a13e68191d375241762f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH20/EX20.8c/20_8c.sce | d1e049b114d05b68ebd60760c259387c9be6a265 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sce | 20_8c.sce | printf("\t example 20.8c \n");
printf("\t approximate values are mentioned in the book \n");
m=270; // cfm
t1=70;
t2=120;
L=1.5; // ft
B=1.5; // ft
c=0.25
row=0.075; // lb/ft^3
Q=(m*row*60*c*(t2-t1));
printf("\t heat : %.2e Btu \n",Q);
V=(m/(L*B*60)); // fps
printf("\t velocity is : %.0f fps \n",V);
print... |
05170d3f401dc0741372b1faaad18542cfd9f5b7 | 5d0ddbd6f42843ded4d5ba18966dc130725607d2 | /c13.code/uintah/branches/pearls/src/orderAccuracy/test_config_files/Examples/RMCRT_divQ_cpu_gpu.tst | d62eb4ba57542f67a26ad03e98072e59dee8e129 | [
"MIT"
] | permissive | alvarodlg/lotsofcoresbook2code | b93ad62e015d205e4f550028ceb54254023021ee | a2dbeb306fa29ae6663ae29b2c4c132608375cf0 | refs/heads/master | 2020-12-31T03:02:22.579614 | 2015-09-02T15:23:18 | 2015-09-02T15:23:18 | 54,509,919 | 2 | 1 | null | 2016-03-22T21:27:56 | 2016-03-22T21:27:56 | null | UTF-8 | Scilab | false | false | 3,374 | tst | RMCRT_divQ_cpu_gpu.tst | <!--______________________________________________________________________ -->
<!-- This parametric study compares the divQ against a pre computed 'gold standard' -->
<!-- First run the input file with large number of divQ rays. -->
<!-- Then copy that uda to your home directory and point... |
025a60a4d4f1f8eb4d79f3d619d3e60daf3f27cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH14/EX14.3.b/14_3_soln.sce | 7417a101f9bce75c0ef746a16bb7ef43287fda48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,401 | sce | 14_3_soln.sce | clc;
pathname=get_absolute_file_path('14_3_soln.sce')
filename=pathname+filesep()+'14_3_data.sci'
exec(filename)
// Solutions:
// inlet pressure,
p_in=14.7; //psi
// actual horsepower at 100 psig,
act_HP=((p_in*Q)/(65.4*(eff_o/100)))*(((p_out+14.7)/p_in)^0.286-1); //HP
// actual horsepower at 115 psig,
act_HP1=((p_in*... |
b0ab652bb8aae9a74d611349f13fa22aecd6839c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH6/EX6.17/17.sce | 4ccd314164657cb84356ca1017f4699884b48ee7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,367 | sce | 17.sce | clc
clear
//Input data
ma=18 //Mass flow rate of air in kg/s
Mi=0.6 //Inlet mach number
h=4600 //Altitude in m
Pi=55 //Inlet pressure in
Ti=-20+273 //Inlet temperature in K
eff_d=0.9 //Diffuser efficiency
pr_d=5 //Diffuser pressure ratio
T3=1000+273 //Inlet turbine temperature in K
Pe=60 //Exit pressur... |
d16a7fdf0a23fa861774954020549f63aff914e8 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 2/P2/Códigos_base/minquad_all.sce | 2414f57cc4e35766a1578adf8e4913d2c689a5bb | [
"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 | 470 | sce | minquad_all.sce | clear;
x=0:1:2 // O X, claramente
x = x'
y = [exp(x/14)-1.5] // Y do problema
n=size(x,1);
M=[x x.^2] //x e x^2 polinomio (formato bx + cx^2), se quiser a+bx+cx^2 ficaria [x.^0 x x.^2]
disp(M)
disp(y)
cu = M' * M
pau = M' * y //SE VOCÊ CRIOU Y COM PONTOS SEPARADOS (SEM SER FUNÇÃO DE X), AQUI TEM QUE SER y'
... |
47c06597a99ce3e0bf4f23948695318928f692c8 | ae90aa32e949a5eab9665f526f886f05860161d2 | /code/nand2tetris/08/ProgramFlow/FibonacciSeries/FibonacciSeries.tst | e4f1a1e3a4e08f7673a298dcbc996a9d2c64e7d9 | [
"CC-BY-SA-3.0",
"MIT"
] | permissive | cccbook/sp | 4097ab760cfb013b689dc4739a439de29d85d324 | aff23e6b18ba6221022b14b024fd562427c46d9a | refs/heads/master | 2022-05-22T03:31:33.324045 | 2019-06-06T07:04:37 | 2019-06-06T07:04:37 | 156,299,694 | 257 | 96 | MIT | 2022-03-19T08:48:32 | 2018-11-05T23:56:37 | Assembly | UTF-8 | Scilab | false | false | 549 | tst | FibonacciSeries.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/08/ProgramFlow/FibonacciSeries/FibonacciSeries.tst
load FibonacciSeries.asm,
output-file FibonacciSeries.out,
compare-to FibonacciSeries.cmp,
output-list RAM[3000]... |
798226e009324e1682f2d13864c7ced1ecd74d11 | 92bc4c8555d4d13922df9f13a611b76b99808b42 | /interpolation/linear.sce | 5cc61666c4c687302ff5e56d3d1d5ef21a377fb8 | [] | no_license | bertolinocastro/topics-in-computational-physics | f464d7c449715ba9ed04094c0fca985cd0adfcb0 | 4b64f6cdbf3f13823bdd1d59e39db8c753c8f5fd | refs/heads/master | 2020-04-29T08:52:32.230156 | 2019-05-26T01:57:12 | 2019-05-26T01:57:12 | 176,002,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | linear.sce | x = [0,15,30,45,60,75,90]
y = [1.0,0.9659,0.8660,0.7071,0.5000,0.2588,0.0000]
// number of interpolated points between two known ones
nP = 2
// new interpolated points
newX = []
newY = []
// iterating the n-1 elements of the set of points
for i=1:length(x)-1 do
disp('index i: '+ string(i))
// distance betwe... |
e7f0a42cb519101f995ee477cc18ba91c8e4da05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.35/Ex4_35.sce | 2f35e1d32d87b8db835134b741da932ba45a076e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Ex4_35.sce | clc
//Variable Initialisation
Ea=400//Input Voltage of motor in volts
Ia=200//Armature Current in Ampere
d=0.5//Duty Ratio
Ra=0.03//Armature resistance in ohm
Rs=0.05
K=3e-3//Motor Constant
//Solution
E0=d*Ea
Pin=E0*Ia//Input power in watt
R=Ra+Rs
Eb=E0-(Ia*R)
Wm=Eb/(K*Ia)
Wmrpm=Wm*30/%pi
T=K*(Ia^2)
pri... |
01c353dc3c99f6155914635a68809d9d70d0f7e9 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshift/test_5.sce | 9b78b55a2bd3f3974089ce862376e668e8732726 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | test_5.sce | // Test # 5 : Input Argument #2 is of complex type
exec('./allpassshift.sci',-1);
[n,d]=allpassshift(0.1,%i);
//!--error 10000
//Wt must be real,numeric and scalar
//at line 40 of function allpassshift called by :
//[n,d]=allpassshift(0.1,%i);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.