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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d3a6587f6745bd4e62dcb860dd4882fccc0fcaa0 | ad618ca6b5ed579648f418556d871a22f9a21aaf | /sci_scripts/SkeletonizeImage.sci | f7b144aeb4edb3e1a9848086805bbe6acfde3bf3 | [] | no_license | manojgudi/sci_ocr | 6de17d33475b7f2429a3dbe39fd0711138e3e14a | d18e7bc7a244d73f59830dd914f7aa9059726696 | refs/heads/master | 2020-05-20T10:05:31.612844 | 2013-03-15T05:16:45 | 2013-03-15T05:16:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,092 | sci | SkeletonizeImage.sci | /// Author: Manoj Gudi, March 2013
/// manoj.p.gudi@gmail.com
/// Released under General Public License V3
exec mat_functions.sci
function [grayscale_skeleton_image] = SkeletonizeImage(rgbimage)
gray_char_image = RGB2Gray(rgbimage);
gray_char_image = gray2inv_bin(gray_char_image);
... |
7b948387cc3da1f9614bd82c778889e5c2820469 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH1/EX1.12/1_12.sce | 69fa2106d328f04c849328d8d9208576ca033abd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_12.sce | clc;
//page no 29
//prob no 1.12
//Given:
A1=10;A2=25;A3=30;NF1=2;NF2=4;NF3=5;
At=A1*A2*A3;
disp(At,'The power gain is');
// The noise figure is given as
NFt=NF1+((NF2-1)/A1) + ((NF3-1)/(A1*A2));
disp(NFt,'The noise figure is');
// Noise temp can be found as
Teq=290*(NFt-1);
disp('K',Teq,'The noise tempe... |
ef0733331a2c718985e07a8e4ccc0bd10c1587b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH9/EX9.4/chapter9_ex4.sce | e7df06010e812d642696ebf4ae64078441fa505b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | chapter9_ex4.sce | clc
clear
//input
i=0.4;//no load current in amperes
pf=0.25;//lagging power factor
v=250;//supply voltage in volts
f=50;//supply frequency in hertz
//calculations
ie=i*pf;//loss component of no load current in amperes
im=((i^2)-(ie^2))^0.5;//magnetizing component in amperes
p=v*ie;//no load power loss in... |
f647c078706c12ae097ac3643573db014c069d99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH5/EX5.6/Chapter56.sce | 358bef46de58066738c5056744348123d60821ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,492 | sce | Chapter56.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 5, Example 6")
//Air at 1atm pressure and temprature(Tin)=30°C enters a tube of 25mm diameter(D) with a velocity(U) of 10m/s
D=0.025;//in metre
U=10;
Tin=30;
/... |
709aa27dc5a8c52a32b4a083108dc16613648530 | 0b49de312685c7ca5b2ad71845b859c3a3c7fd5d | /vendor/ast-sudoku/src/cmd/sudoku/sudocoo.tst | 16842be7d2edee1f84dd1f6ac9f8d0824bfc2251 | [] | no_license | htoigo/sudokurry | 0ac9bc4472b4169a2f87753b477217338b06982b | a7f78fe3cdaa2bacb81fb4595b906a34e674880d | refs/heads/master | 2021-01-01T18:31:07.985262 | 2018-06-04T17:38:46 | 2018-06-04T17:38:46 | 98,352,641 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268,344 | tst | sudocoo.tst | # : : generated from /home/gsf/src/cmd/sudoku/sudocoo.rt by mktest : : #
# regression tests for the sudocoo command
UNIT sudocoo
TEST 01 basics
EXEC
INPUT - $'...47962...4...395926.......31....69...936.....9...283.5.8947164.8...952.97'\
$'.52.3.
1..4.7.....6.....3.8.....45.6..8.39...5.7.8.....6....4...1.9....3... |
b11e21482bf64e5134da6555a708466bce44899c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH4/EX4.2/Ex4_2.sce | 8ccd96475b9a3cc3a1f5986b5a6a2ca33c9ce3f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | Ex4_2.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear;
//example 4.2
//calculation of voltage at which an internal discharge can occur
//given data
d1=1//thickness(in mm) of the internal void
dt=10//thickness(in mm) of the specimen
epsilon0=8.89*10^-12//electrical permittivity(in F/m) o... |
097a60e9f46cf1f07b58dff9d0dbdaece147de25 | d5bd4b5a4760efd0a3d16d7c39c7b495c5874d28 | /Scripts/Demodulation.sce | ea8c960e2a910ace2d53f2542c6f09c9055de72d | [] | no_license | APU-PhasedArrayBeamForming/Array-Based-Beam-Forming | 27a61bc3cf93e544364121e508dc4d140b7e0cb1 | 4cde46b7aa3f4e995297ac72fc5038fa0cdf083d | refs/heads/master | 2021-01-25T08:01:17.468481 | 2017-06-15T18:47:40 | 2017-06-15T18:47:40 | 93,699,808 | 1 | 1 | null | 2017-06-15T18:47:40 | 2017-06-08T02:36:01 | Scilab | UTF-8 | Scilab | false | false | 576 | sce | Demodulation.sce | y=wavread("./personalMod.wav");
//I/Q data broken apart
f = 1110000
O = 2*%pi*f
Q = y(1,:);
I = y(2,:);
n = size(I,2)
p = floor(log(n)/log(2));
n = 2^p
I = I(1:n);
Q = Q(1:n);
dt = 0.5e-6
//Demodulation
t = linspace(0,dt*(n-1),n)
E = I + %i*Q;
D = exp(%i*O*t);
B = E./D;
Br = real(B);
//plot(abs(fE));
//Fast Four... |
54e6487987948f3f81e8d36d32dc3ccee35f0014 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH2/EX2.29/ex2_29.sce | a99d15819a54679cb392bd2f8b9b0131e399cde9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | ex2_29.sce | //Page Number: 112
//Example 2.29
clc;
//Given
c=3D+8; //m/s
fc=9D+9; //Hz
er=1;
er1=4;
p11=1.841;
//(i) air filled
a=(p11*c)/(2*%pi*fc*sqrt(er));
disp('cm',a*100,'Inside diameter if air filled:');
//(ii) dielectric field
a1=(p11*c)/(2*%pi*fc*sqrt(er1));
disp('cm',a1*100,'Inside diameter if dielectric ... |
91a7cbca943938232a3f942f4d03993641cad375 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/system.tst | 9571b2a9c7f9b7d51b735b0d10dd125952e69633 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,206 | tst | system.tst | ## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later vers... |
ae40ec926df7d07cfdd32ad8f3ffbbf7a9ff59ca | 39d212a1aaf3f1dfc8993d47aef9f7b8d4c34008 | /7.sce | fbaad3fc2a8d3b70afd59c2a1fd37b622fbd9a7d | [] | no_license | majsterkovic/ni-scilab | 25e6ef2c46c0973a48f651b7dfaafed5dbffb5c6 | 05d98042fb4bc424638f0832d1a14bdfce625d53 | refs/heads/master | 2023-03-12T09:50:27.944550 | 2021-03-01T22:35:17 | 2021-03-01T22:35:17 | 343,575,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sce | 7.sce | A=testmatrix('magi',5)
B = A(2:3, 1:5)
C = A(:,:) + B(:,:) |
a5ef210c81c9ac14b30c1db5a1bf742a950c1ef7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH17/EX17.10/EX17_10.sce | 7a8f1c79b7f89c42103dcc444fc7d87f793ad4ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,549 | sce | EX17_10.sce | clc;funcprot(0);//EXAMPLE 17.10
// Initialisation of Variables
psi=500000;...............//Modulus Elasticity of Epoxyin psi
f=500;.....................//Force applied on Epoxy in pounds
q=0.10;....................//Stretchable distence in in.
rho=0.0451;..................//Density of Epoxy in lb/in^3
d=1.24;....... |
61970fbc53d9b04f45187f4300d0c5da1b707eca | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH5/EX5.8/Example5_8.sce | af554f29643283ecf87fb647915b3317b5942518 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Example5_8.sce | //Example 5.8
//Program to Calculate Dynamic Drain Resistance of JFET
clear;
clc ;
close ;
//Given Data
u=80; // Amplification Factor
gm=200*10^(-6); // S, Transconductance
//Calculation
rd=u/gm; //Dynamic Drain Resistance
//Displaying The Results in Command Window
printf("\n\t The Dynamic Drain Resistance ... |
09d9b7338e4598baa014d448544c0f1c328fd82f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH2/EX2.11/EX2_11.sce | b63c68f438f2f5405ee6f24c8d566fb9e49db201 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX2_11.sce | // Exa 2.11
format('v',9)
clc;
clear;
close;
// Given data
Rho = 10;// in Ω-cm
Mu_d = 500;// in cm^2/v.s.
e = 1.6*10^-19;// electron charge in C
// The number of donor atom
n_d = 1/(Rho * e * Mu_d);// in per cm^3
disp(n_d,"The number of donor atom per cm^3 is ");
|
3265a39d8343282bde2a2c201efec12dce9d7969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.32/Ex24_32.sce | 93d2464d87219699353ba4a194e2da9cae3211ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,089 | sce | Ex24_32.sce | // Example 24_32
clc;funcprot(0);
//Given data
T_1=15+273;// K
p_1=1;// bar
p_r=6;// Pressure ratio
T_4=750+273;// K
e=0.75;// Effectiveness of heat exchanger
n_c=0.80;// Isentropic efficiency of compressor
n_t=0.85;// Isentropic efficiency of turbine
C_pa=1;// kJ/kg.K
C_pg=1;// kJ/kg.K
r=1.4;// Specific ... |
763e5f7475c48d019501608cbfa42cbd178ea51c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH8/EX8.13/Ex8_13.sce | 2624417a72364964802fd741269510783651a4eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,196 | sce | Ex8_13.sce | clc
clear
printf("Example 8.13 | Page number 226 \n\n");
//Part(a)Temperature of the mixture when ice-water equilibrium.
//Change in entropy during the process for:
//Part(b) ice
//Part(c) water
//Part(d) universe
//Given Data
mi = 5 //kg //mass of ice
Ti = 273 - 10 //K //Temperature of ice
ci = 2.1 //kJ/... |
65f6f31af3da3a30718350fb8940f8da183d3e08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH5/EX5.8/example5_8.sce | 5c3db5e9f45ca4d4dd602804dcf06c222350219c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | example5_8.sce | r=5*10^3;
v=6;
disp("Part a");
disp("the minimum voltage is 0 V and the maximum output voltage is 6 V");
disp("Part b");
v1=0.25*v;
v2=0.75*v;
disp("the two possible output voltages (in V) are"); disp(v1); disp(v2);
disp("Part c");
i=v/r;
disp("the current (in mA) throught the potentiometer in this position i... |
c2ac7ebf81b1c546cbc88a8cd459d3c177a7b1fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH3/EX3.9/3_9.sce | c36cc08d4a8a77170c68b3e742180b09c3dca4e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | 3_9.sce | //finding transfer function from state diagram by applying gain formula
//state diagram is shown in fifure 3-21
syms s
//initial conditions are sset to zero
M1=s^-1*s^-1
L11=-3*s^-1
L21=-2*s^-1*s^-1
delta=1-(L11+L21)
delta1=1
x=M1*delta1/delta
disp(x,"Y(s)/R(s)=") |
be32fa23c0749e505ce70d42d8941ddab9a9fe36 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH12/EX12.3/Ch12Ex03.sce | fb216b0a97138d696bab0101988ebbf69b071ffc | [] | 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 | 405 | sce | Ch12Ex03.sce | // Scilab code Ex12.3: Pg.576 (2008)
clc; clear;
h_cross = 1.055e-34; // Reduced Planck's constant
c = 3e+08; // Velocity of light, m/s
m = 91.16*1.6e-10; // Mass of Z0, J/c^2
R = h_cross*c/m; // Range of Weak interaction, m
printf("\nThe range of the weak interaction = %4.2e m or %4.2e fm", R, R*1e+1... |
2d058d3d1ada8b2e929650acacd15d3214c72ed8 | 743962f1d0e2d5a341cf583d6c7888e219f4ea1f | /RBF/RBF_Interpolation_Scilab/RBF_evaluate.sce | 7bb57c252c15cfa8e0fa71ea12e47a5178d8e4e7 | [] | no_license | addNaNs/NA_seminarski | 7a17cf8ff2fc2aedaaa5658ce13c6ce4f4a5f4fa | 28f667703f599fc0e041398312a884efd7cd1e75 | refs/heads/master | 2020-12-22T17:48:18.517965 | 2020-01-29T01:16:43 | 2020-01-29T01:16:43 | 236,879,155 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 108 | sce | RBF_evaluate.sce | function Est = RBF_evaluate(A, X, W, r0)
Est = point_distance_vector(A,X,r0) * W;
endfunction
|
cf286586c26e3394a6d316382af4d764a5a0cef5 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_pid_z.sci | eb741f45914ec75f803ae80f3b2b82435f2edde6 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 2,909 | sci | mdaq_pid_z.sci | // Generated with MicroDAQ toolbox ver: 1.1.
function [x,y,typ] = mdaq_pid_z(job,arg1,arg2)
block_desc = [
'This block is a PID controller in a discrete time domain.';
'E - PID error input';
'T - PID tracking input';
'G - PID gains input (Kp, Ki, Kd)';
'';
'Set PID(z) parameters';
'';]
x=[];... |
890bcbd846880aa33031257654849f7e891b92ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH18/EX18.7/18_7.sce | e4b7a9a907b07c85c0ad7fa38006626d3541212f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 646 | sce | 18_7.sce | //Example 18.7
//Gauss Seidel Method
//Page no. 637
clc;clear;close;
deff('y=f(x)','y=4*x-4*x^2')
h=0.2;k=0.04;
r=k/h^2;
printf('\n k\t|\ti -->\t')
for i=0:5
printf(' %i\t',i)
end
printf('\n |\t|\tx -->\t')
for i=0:5
printf('%.2f\t',(i)/5)
end
printf('\n------------------------------------------... |
ac8cf7da8232a3722cace5dbeece378dd494c8d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH12/EX12.6/12_6.sce | 8b3766f02eb2bda9b24bb5b4ef00c39adb2b43ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 12_6.sce | clear;
clc;
V=10;R1=5;R2=%i*5;R3=3+(%i*4);
Zab=R2+(1/((1/R1)+(1/R3)));
A=real(Zab);
B=imag(Zab);
I=V/(R1+R3);
Voc=I*R3;
C=real(Voc);
D=imag(Voc);
printf("The equivalent Thevenin circuit has an emf of %f /_ %f volts and an internal impedance of (%f + j%f) ohms",fix(abs(Voc)*100)/100,fix(atan(D,C)*180/%pi),A,B)... |
bd9f35c70bb0ff03a83e6c93c10ff880784654b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH11/EX11.3/11_3.sce | e7263fe1898bb30f554125292bf59efbc5fb40de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | 11_3.sce | // example:-11.3,page no.-593.
// program to calculate the noise figure ig anteena is replaced by amplifier.
L=10^0.2;T=300;To=290;Te=150;
Fl=1+(L-1)*(T/To);
Fld=10*log10(Fl); // converting in to dBm.
Fa=1+(Te/To)
Fad=10*log10(Fa);// converting in to dBm.
Fcas=Fl+L*(Fa-1);
Fcasd=10*log10(Fcas);// converting in ... |
eebb5fe6f6c16b5fc26f3c7ed406c9e466e3a818 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/utils/c30_detect.sce | ec44165c7159896b23a0537234bd26f67634d529 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 2,941 | sce | c30_detect.sce | // ***********************************************************
// * ScicosLab Pack Installer *
// * Requires: Scicoslab v4.4.1 *
// * Built/Tested On: XP, Windows 7 *
// * Description: C30 compiler path detecting script *
... |
49e4f14f8e1629f2be458948255d34144f98c74a | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH9/EX9.6/9_6.sce | 2461a595b041246c26a75393cf28e57a3e5b79fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | 9_6.sce | //stability of non minimum phase loop transfer_function
s=%s;
sys=syslin('c',10*(s+2)/(s^3+3*s^2+10))
nyquist(sys)
show_margins(sys,'nyquist')
printf("Z=0 hence sys is closed loop stable but as it is a non minimum phase loop_function it should satisfy angle criterion")
Z=0//no of zeroes of 1+G(s)H(s) in RHP
P=2/... |
4937f68303dd1af968b5e4c74b4a1c52410dd6b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH14/EX14.4/Ex14_4.sce | e6028d7f97bdc866d430afe33f8bdf56f76bd265 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,869 | sce | Ex14_4.sce |
clear//
//Variable Declaration
t=30 //Thickness in mm
h=200 //Depth of the section in mm
w=160 //Width in mm
the=50 //Angle in degrees
//Calculations
A1=t*h //Area of the web portion in mm^2
A2=(w-t)*t //Area of the flange portion in mm^2
x_bar=(A1*t*0.5+A2*(t+(w-t)*0.5))/(A1+A2) //Location of x_bar in ... |
5e808429420b85104f8eb4a73ca4404033b083cd | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/taylorwin/taylorwin1.sce | 79cb61bafe5edac0d12b80716bd8952f196dded7 | [] | 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 | 230 | sce | taylorwin1.sce | //check o/p when i/p argument is n where n is the order of the taylor window required.
w = taylorwin(6);
disp(w);
////output
// 0.4773212
// 1.0315675
// 1.4911113
// 1.4911113
// 1.0315675
// 0.4773212
|
47b5bdf3663c8ae5e3f529b27943d3dd1c317414 | 6aa756c869f14f9ebbcfebb73deebe7a0a5920bc | /trabalhos_SCILAB_26-08-2021/questao_13.sce | 6067ffe4c6f29d16d2731026e1066715deb581c7 | [] | no_license | guilhermedpadua/trabalhos | c74704429ad86f4999fdb6d80436103aa39638f4 | 730974b6548413d07ed74fe1a9be680167b853f9 | refs/heads/main | 2023-07-18T17:51:07.206298 | 2021-09-23T02:02:37 | 2021-09-23T02:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,881 | sce | questao_13.sce |
clear;
clc;
function [vsaida] = intersecao(vetor1, vetor2)
vsaida = [];
vsaida_comprimento = 0;
for i=1:length(vetor1)
ja_esta = 0;
for j=1:length(vetor2)
if(vetor2(j) == vetor1(i))
for k=1:vsaida_comprimento
if(vsaida(k) == vetor1(i))
... |
01ea46709e4ec9910c8da341ba123d9a0ecf2985 | 4da581946b1d34d19dde6701f7b0cb7a6b4f04cc | /schedule.sci | 2e6c0c14b14842429b82f28b2e131cbcecae721c | [] | no_license | acdcsg66/my_master_research | 3d94069b54aa9edacd79511722c07b8b02d531b3 | f7d36bad83b6284ae50fe8efcbc92180652d3b78 | refs/heads/master | 2016-08-12T08:11:49.121756 | 2016-05-05T05:14:04 | 2016-05-05T05:14:04 | 51,115,104 | 0 | 0 | null | null | null | null | SHIFT_JIS | Scilab | false | false | 401 | sci | schedule.sci | function schedule
global Schedule generations objectives
//1の時にparetoで評価する
//実行の前にScheduleを確認すること
Schedule=zeros(generations,objectives);
//Schedule(:,7)=1;
Schedule(:,1:4)=1;
//Schedule(:,7)=1;
//Schedule(:,1:6)=1;
for n=5:5:50 //begin:step:end
//Schedule(n,1:4)=0;
Schedule(n,7)=1; //場合によって0を入れることも出来る
end
end... |
aca84109a769cb5da6ee886841121824c8a64cd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH1/EX1.6/Ex1_6.sce | de5edc931f421b252628e512565790992276b470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,326 | sce | Ex1_6.sce | clc
// Example 1.6.py
// Consider the flow through a rocket engine nozzle. Assume that the gas flow
// through the nozzle in an isentropic expansion of a calorically perfect gas.
// In the combustion chamber, the gas which results from the combustion of the
// rocket fuel and oxidizer is at a pressure and temperature... |
964140f4fcc50f6b2db886dea45acbc2b1ed8c45 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/tests/atmosphere.tst | 2fbf78e1f1836847713fa41868623f4e06c8539a | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | tst | atmosphere.tst | //<-- NO CHECK REF -->
exec('atmosphere/atmosphere.sci');
isa_ref_csv = read_csv('tests/isa_atm_sample.csv');
nlin = size(isa_ref_csv)(1);
for i = 2:nlin
h_ref = strtod(isa_ref_csv(i,1));
T_ref = strtod(isa_ref_csv(i,3));
rho_ref = strtod(isa_ref_csv(i,5));
p_ref = strtod(isa_ref_csv(i,6));
[T_K, p_... |
91957af4b47973bc9e773cc73e0948c746f7cc77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3816/CH8/EX8.9/8_9.sce | 7c93913798d82da4e625fe9a006f97157eefaa87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | 8_9.sce | clc;
clear;
disp('Self Excitation')
Sm=24*10^(-3);//minimum capacitive susceptance
C=Sm/314;
disp(C,'The capacitance at self excitation is:')
disp('For generating 3KV:')
Sm1=43*10^(-3);//Using method of interpolation we get 43ms for 1.73KV/Ph(3KV line)
C1=Sm1/314;
disp(C1,'The capacitance for generating 3KV i... |
ede58507dfc12acef5faa0c7a9324f00066b9949 | f3921ba261cdd9c9c4201d85a3b3bcbc42a26421 | /protobuflib/pblib_write_wire_type.sci | 011c4c7adf632feafb3a3f00007d1203ab7da9f9 | [] | no_license | manojgudi/protobuf-scilab | 9bbe77a52ad8bd50d762a6e4a388236f88dacc0c | d5a8e967848b48c1628859f3f52fb59ac3502429 | refs/heads/master | 2020-12-02T15:54:15.894328 | 2015-01-08T19:04:45 | 2015-01-08T19:04:45 | 28,736,110 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,759 | sci | pblib_write_wire_type.sci | exec pblib_write_varint.sci
function [buffer] = pblib_write_wire_type(value, wire_type)
//pblib_write_wire_type
//
// buffer = pblib_write_wire_type(value, wire_type)
//
// These values must match the WireType enum in
// http://protobuf.googlecode.com/svn/trunk/src/google/protobuf/wire_format.h
//
// All Wire ... |
5eb82df1f54c87e040eb88b4d3aced862d29a74d | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH8/EX8.23.02/8_23_02.sci | a4c769c2772ce0d58deca2bbe8fb06f80c5e073d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 8_23_02.sci | //coefficient//
s= poly ( 0,'s' );
sys = syslin ('c',10/(s+2)); //G(s)H(s)
disp(sys,"G(s)H(s)")
F=1/(1+sys)
syms t s;
Co=limit(s*F/s,s,0) //Ko=Lt s->0 (1/(1+G(s)H(S))
d=diff(s*F/s,s)
C1=limit(diff(s*F/s,s),s,0) //K1=Lt s->0 (dF(s)/ds)
a=(2*t);
b=diff((2*t) ,t);
e=Co*a+C1*b;
disp(e," steadt state error")
|
bc47e77f25a6e4f253d90fd6c0aeb618344e822a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH1/EX1.6/1_6.sce | 4b1bd0c1a5c4b620bd6da91fe28f1d9c97e3385a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,072 | sce | 1_6.sce | clc
//initialisation of variables
t1=300 //temparature in k
r=10 //compression ratio
p1=1 //pressure in bar
g=1.4
p3=40 //pressure in bar
x=0.166 //x=v4/v5=t4/v1=(v4/v2)*(v2/v1)
t4=2000 //temparature in k
p4=40 //pressure in bar
cv=0.718 //calorific value(const volume)
cp=1.005 //calorific value(const preu... |
66a36eaa05b2a208143afb1b7306e25399ab3d47 | 26a377346a0dc49631395932b6a454abeecbd6a6 | /TP exo02 CN thomas.sce | f7f9dccbeb3dd988992219a7bf96a64aca665b34 | [] | no_license | Younes-97/TP_CN | 0552ef4799985d51115126fcef98eb645f9b0e6d | 0d7eaea53a6d824a894e7926fa118a1fe5dd40a5 | refs/heads/main | 2023-01-24T15:23:54.697366 | 2020-11-26T00:12:47 | 2020-11-26T00:12:47 | 316,080,053 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | TP exo02 CN thomas.sce | function Tp_jouet(n)
//on donne la précision 16 chiffres après la virgule
format("e",16);
//on génère la matrice A
A=rand(n,n);
disp("A=",A);
//on génère le vecteur colonne xex
xex=rand(n,1);
disp("xex",xex);
//on calcul b
b=A*xex;
disp("b=",b);
... |
59c509aab244f5ac9ddfb61d09f8acb52559ffb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH11/EX11.26/ex11_26.sce | 2427e7b2af4e07f48b45684484aa94ea25e236bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,008 | sce | ex11_26.sce | //Two-Port Networks : example 11.22 :(pg11.52 & 11.53)
printf("\nApplying KVL to Mesh 1 \nV1 = 2I1 + I2 - - - -(i)");
printf("\nApplying KVL to Mesh 2 \nV2 = 10I1 + 11I2 - - - -(ii)");
//observing (i) & (ii)
printf("\nV1 = (4/5)I1 - (4/5)I2 \nV2 = (2/5)I1 - (12/5)I2");
printf("\nZ-parameters:");
a=2;b=1;c=10;d=11... |
46bb3fe624c7fae0d5d616ab3f2abadebe9ef6b6 | c565d26060d56f516d954d4b378b8699c31a71ef | /2-DOF_manual/codes-local/twodof_para.sce | 247ec8193daa74edd32b548c162aa1aefd81d37d | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 1,471 | sce | twodof_para.sce | mode(0)
s=%s;
z=%z;
global Rc Sc Tc gamm
//TFcont = syslin('c',-280.14/((s-31.32)*(s+100)*(s+31.32)));
//TFcont = syslin('c',0.667/((73.5*s+1)*(1*s+1)))//second order
//TFcont = syslin('c',0.668/(75.013*s+1))//first order
TFcont = syslin('c',0.42/(35.61*s+1));//first order
SScont = tf2ss(TFcont);
//TFdisc=ss2tf(SScon... |
679de037bb26f9bee5a16415cb4fe24c24918de3 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_VecFunc/sum.sce | f3d62cd8a09b0baa773809ec39d439c4322c9536 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | sum.sce | // Function Name: sum
// Return the sum of of all elements in array
// Calculating the sum.
inputvec1 = [5, 4, 3];
result = armaVec("sum",inputvec1)
// Function Name: trapz
// Compute the trapezoidal integral of Y with respect to spacing in X, in each column (dim=0) or each row (dim=1) of Y
// Calculating t... |
77613f3c5535e7062c23db4cc8458d1501ee3004 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH3/EX3.2/3_2.sce | 60bce80df3c9ec5d685c9dd0f0f1d900a9f96a3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,266 | sce | 3_2.sce | T = 1200 ; // allowable torque in N-m
t = 40e06 ; // allowable shear stress in Pa
f = (0.75*%pi)/180 ; // allowable rate of twist in rad/meter
G = 78e09; // modulus of elasticity
// Part (a) : Solid shaft
d0 = ((16*T)/(%pi*t))^(1/3)
Ip = T/(G*f) ; // polar moment of inertia
d01 = ((32*Ip)/(%pi))^(1/4); // from r... |
323622753739d7c0f36a3e9388a57a6d44c3fe9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH10/EX10.1/Ex10_1.sce | d176ea6c368f65d13d291e9f1ffc3a3a25edbdb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_1.sce |
//Example NO.10.1
//Page No.305
//To find magnetization & flux density.
clc;clear;
H = (10^6);//Magnetic field strength -[A/m].
x = (0.5*10^-5);//Magnetic suceptibility.
M = (x*H);//Magnetization.
printf("\nMagnetization of the material is %.0f A/m",M);
u0 = (4*%pi*10^-7);
B = (u0*(M+H));//Flux density.
pri... |
c89394360f0d5971af0602f93d080181e15be158 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.wine-10-1tra/result6s0.tst | 9632def7f0f5da547677e053ac027670a7e3d5a1 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 780 | tst | result6s0.tst | @relation wine
@attribute Alcohol real[11.0,14.9]
@attribute MalicAcid real[0.7,5.8]
@attribute Ash real[1.3,3.3]
@attribute AlcalinityOfAsh real[10.6,30.0]
@attribute Magnesium real[70.0,162.0]
@attribute TotalPhenols real[0.9,3.9]
@attribute flavanoids real[0.3,5.1]
@attribute NonflavanoidsPhenols real[0.1,0.7]
@attr... |
8cb555dd2e2155cfa855bcf332c3027d2254c96a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH8/EX8.14/8_14.sce | 85ec3cb21999e8e4c0ffbbd654a244963b35c361 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | 8_14.sce | //To determine the starting torque in terms of full load torque
clc;
clear;
sfl=4/100;
Rir=5; // Ratio of starting current to the full load current at rated voltage
x=70.7/100; // Auto transformer tapping
Rsd=((Rir)^2)*sfl/3; // Ratio of the starting load to full load torque for a star -delta starter
... |
73c7cd3d58960acc876f94cd1b716da754542007 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH6/EX6.11/6_11.sce | 5ca3232adfb97bc09fca878721dcbccd92d758ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,494 | sce | 6_11.sce | clear;
clc;
printf("\t\t\tExample Number 6.11\n\n\n");
// alternate calculation method
// example 6.10 (page no.-302)
// solution
// data for this example is taken from previous example (6-10)
// properties for use in equation (6-34) are evaluated at free-atream conditions of 10 degree celsius
v = 14.2*10^(... |
e57ba1cf719c00a7fcba973438f2bf899663ed3a | e9854f13c702aad5562ed1644c47b99122268448 | /BioChem_Scilab_Old/Reator_CSTR_monitora_SCILAB_jun_20_2017.sce | 92a5ea113ed94ff904b2ef679b603478936297c6 | [] | no_license | ucfilho/Biochemical_Engineering | dd5edfdd2d0a531a9c59d21f44938e0993375824 | 683a02465783ab91c3e7bb06c591b914e7c17350 | refs/heads/master | 2023-05-28T02:50:42.486495 | 2023-05-25T20:53:48 | 2023-05-25T20:53:48 | 228,916,024 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | Reator_CSTR_monitora_SCILAB_jun_20_2017.sce |
function dy=f(x,y)
S=y(1);X=y(2);P=y(3);
M=MI*S/(S+Ks)
dy(1)=D*S0-D*S-M*X/Yxs;
dy(2)=D*X0-D*X+M*X;
dy(3)=D*P0-D*P+M*X*Ypx;
endfunction
S0=100;X0=0;P0=0;// g/l g/l g/l
Ks=2;MI=0.4;Vol=300;F0=60;Yxs=0.5;Ypx=0.6;// g/l g/h h^-1 m3 m3/h
D=F0/Vol;
Xr=10;Sr=50;Pr=10;
y0=[Sr;Xr;Pr];x0=0;
t=1:100;
... |
2c7e6355ddb93b4e8f63dc0daafdd8f4b3f8c2ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH3/EX3.1/1.sce | a794d2fbdaad4b002585b6c9db83af23fb0cab84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 1.sce | // Caption: Finding Torque acting on the rotor
close;
clc;
syms alpha;
I=10;//current
B_o=0.5;//magnetic field
R=0.1;
l=0.6;
T=2*I*B_o*R*l*sin(alpha);
disp(T,'Torque acting on the rotor='); |
7ef9fd92478e1360b71f5ad4ccaad94cfb8db801 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH2/EX2.8/ex2_8.sce | ceca15c0ce0123560307c50a6ed67c6d9039f6e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | ex2_8.sce | // Example 2.8, page no-40
clear
clc
R=25000*10^3 //sattelite orbit in m
mu=39.8*10^13 //constant G*M in Nm^2/kg
A=43000*10^3 //appogee distance in m
P=7000*10^3 //perigee distance in m
v=sqrt(mu/R)
a=(A+P)/2
v1=sqrt(mu*((2/R)-(1/a)))
printf("Velocity of satellite A at point X is v=%... |
b4cd0005651cf076b0fa174f305ec3ece7c6e3e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH15/EX15.1/Ex15_1.sce | 4909bcea4c48ab59a8d58ecc7acd34343906cb23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 780 | sce | Ex15_1.sce | //Comparison of cooling water required
clc,clear
//Given:
bp=100 //Brake power in kW
deltaT=30 //Temperature raised of water in degreeC
p_p=30,p_d=26 //Percentage of energy going to coolent in petrol and diesel
eta_p=26,eta_d=31 //Efficiency of petrol and diesel engine in percent
s=4.1868 //Specific heat capacit... |
9f44a584bbce85a246e1eeec40ab423e461346ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH13/EX13.3/Ex13_3.sce | 04abb8e8dbbc907e7db45cd779fa8e75ab049077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,283 | sce | Ex13_3.sce | // Problem no 13.3,Page No.302
clc;clear;
close;
L=2 //m //span
w=20*10**3 //N/m //u.d.L
b=12.5 //cm //width of Flange
t=2.5 //cm //flange thickness
w_t=2.5 //cm //web thickness
D=20 //cm //Overall depth
w_d=17.5 //m //Depth of web
//Calculations
F=w*L*2**-1 //N //Max S.F
a_1=b*t //Area of flange
a_2=w_d*w_t //Are... |
ff0959f579c412d2e900a499b0953146b9e99d33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH8/EX8.6/example6.sce | 21b1e52543e8972c71fd4b20e353fe3c9e6eb5ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | example6.sce | clc
clear
//input data
Hi=0.25//Vaccum gauge reading in m of Hg vaccum
P0=1.5//Pressure gauge reading in bar
Z01=0.5//Effective height between gauges in m
P=22//Power of electric motor in kW
Di=0.15//Inlet diameter in m
Do=0.15//Outlet diameter in m
Q=0.1//Discharge of pump in m^3/s
dHg=13600//Density of merc... |
bfeaf1c53c2a527cc884135eb9daa4aca5ee1788 | c3f30c57c194640b9ce943b27456d4d7bd7a6706 | /EXP7/exp7.sce | 59d1f0e4001ff92d673d14b24b97162c7b9e7a69 | [] | no_license | dikshitakambri/Image-Processing-Using-Scilab | af7d2f738c271edb0f12c9825b7a044233668f67 | 9cb0a7f2b0ac402c54bd297f28d578a2905c3da8 | refs/heads/master | 2023-04-18T00:11:42.093266 | 2021-04-27T08:23:52 | 2021-04-27T08:23:52 | 362,016,834 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,361 | sce | exp7.sce | //EXP 7
//Dikshita Kambri 118A2044
clc;
clear all;
im=imread("C:\Users\hp\Documents\Image Processing-Scilab\Images\toyobjects.png");
[r c] = size(im);
im = double(im);
prex = (1/6)*[-1 -1 -1;0 0 0;1 1 1];
prey = (1/6)*[-1 0 1;-1 0 1;-1 0 1];
sobx = (1/8)*[-1 -2 -1;0 0 0;1 2 1];
soby = (1/8)*[-1 0 1;-2 0 2;-1 0 1];
/... |
4838dbf6d86d51af4736ebc4ff63ca6f86ded6ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH2/EX2.16/Ex2_16.sce | 16f34c937fc11c52947a4159065306c9731a5d92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,011 | sce | Ex2_16.sce | clc
d = 80 // diameter in mm
h = 250 // height in mm
D = sqrt((d^2+4*d*h))/10 // blank diameter in cm
D1 = 0.5*D // diameter after first draw in cm
// let reduction be 40% in second draw
D2 = D1-0.4*D1 // diameter after scond draw in cm
R = (1 - (d/(10*D2)))*100 // percentage reduction for third draw
l1 = ((D)^... |
a23261e5e57a57162a5d13dad7850844f810da08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH10/EX10.3/Ex10_3.sce | 4a4e9ed5644b15f21bcd75233a112a3d272a4b37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex10_3.sce | clc
Ip=3*10^-4//mA
I0=0.2//*
h=6.62*10^-34//Jsec
q=1.6*10^-19//C
c=3*10^8//m/sec
lambda=80*10^-9//m
Popt=%pi*(0.03)^2*I0
disp(Popt,"Popt in Watt is= ")
R=Ip/Popt
disp(R,"R in A/W is= ")
n=R*(h*c/(q*lambda))
disp(n,"n in % is= ") //textbook ans is wrong
|
756e73c0a14183755a1e7beec9b1be0ebcad045d | 59ea89f1162f8048d9f7f10f6e6a3a1567c56607 | /expe/eyes/_old/presentation-v2019/spatial_attention_eyes_open_practice.sce | 08849177711fb6d1aa722a4b2bd655da46c76465 | [] | no_license | elshafeh/own | a9b8199efb3511aa1b30b53755be9337d572b116 | ef3c4e1a444b1231e3357c4b25b0ba1ba85267d6 | refs/heads/master | 2023-09-03T01:23:35.888318 | 2021-11-03T09:56:33 | 2021-11-03T09:56:33 | 314,668,569 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,569 | sce | spatial_attention_eyes_open_practice.sce | # header
scenario = "spatial attention open PRACTISE SESSION 1";
write_codes = true; # send codes to output port
active_buttons = 2;
button_codes = 1, 2;
default_font_size = 30;
default_text_color = 255,255,255; # white
default_background_color = 0,0,0; # black
# SDL code
begin;
#########... |
28943db6af82eb3216a80d9631a95bd69f8823bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH5/EX5.1/Ex5_1.sce | 1322e523f9ede4a507f070f7761a4dce6d5d0c62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ex5_1.sce | clear ;
clc;
// Example 5.1
printf('Example 5.1\n\n');
printf('Page No. 110\n\n');
// given
Q = 0.30*10^6;// Heat transfer rate in W/sq.m
T1 = 540;// Mean gas temperature in degree celcius
T2 = 207;// Steam temperature in degree celcius
K_tube = 40;// Thermal conductivity of tube in W/m-K
K_scale = 2.5 ;// ... |
e998e7709837bd4907dc532c583052b44cff7b22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH15/EX15.2/ex15_2.sce | f3a8473c2a0d6da7fabec15514ba03a844182756 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex15_2.sce | //Calculate shunt resistance
clear;
clc;
//soltion
//given
//At I= 1 mA
I1=1*10^-3;//A
Im=0.1*10^-3;//A
Rm=500;//ohm
Rsh=Rm*Im/(I1-Im);
printf("Shunt resistance= %.4f Ω\n",Rsh);
//At I= 1 mA
I2=10*10^-3;//A
Rsh=Rm*Im/(I2-Im);
printf("Shunt resistance= %.4f Ω\n",Rsh);
//At I= 1 mA
I3=100*10^-3;... |
8c6739244ef6e6fcbd4c0a638f58843668fdfc58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH2/EX2.6/Exa2_6.sce | 035e8e57c4d6620382ff0ef0911a599d77351e69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Exa2_6.sce | //Exa 2.6
clc;
clear;
close;
//given data
ni=1.4*10^18;//in atoms/m^3
Nd=1.4*10^24;//in atoms/m^3
n=Nd;//in atoms/m^3
p=ni^2/n;//in atoms/m^3
ratio=n/p;//unitless
disp(p,"Concentration of holes in per m^3 : ");
disp(ratio,"Ratio of electron to hole concentration : "); |
0bbc53c8a580317582a3ad618ae3578c2b755f5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH21/EX21.5/Ex21_5.sce | 3eefe89f804de431712a32bd0cce00e2b5b18606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Ex21_5.sce | //Ex21_5 Pg-1069
clc
disp("Refer to figure 21.12")
R1=20000 //timing resistor R1 in ohm
R2=R1 //timing resistor R2 in ohm
D=(R1+R2)/(R1+2*R2)*100 //duty cylce
printf(" Duty cycle = %.1f %%",D)
|
16548481f268d5b12d35d06af36e5cd01a7d2443 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH23/EX14.23.1/Ex14_23_1.sce | 19dfb324d457c28544bcbb682db9574c16f38352 | [] | 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 | 232 | sce | Ex14_23_1.sce | //Section-14,Example-1,Page no.-PC.69
//To calculate K_p and K_x.
clc;
//K_p=K_c*((R*T)^dl_n)
dl_n=2-(1+3)
T=673
R=0.0821
K_c=0.495
P=2
K_p=K_c*((R*T)^dl_n)
disp(K_p)
//K_p=K_x*((P)^dl_n)
K_x=K_p/((P)^dl_n)
disp(K_x)
|
eba9ac1236ea2c7f662b9b91f195a1e64b1a25af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.24/Exa2_24.sce | 79fea73f00653f477fdd5adcc8e085bb004ddafd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 848 | sce | Exa2_24.sce | //Exa 2.24
clc;
clear;
close;
//Given data :
format('v',6);
phase=3;//no. of phase
P=6;//no. of poles
Pin_rotor=80;//Power input of rotor in KW
f=50;//in Hz
fdash=100;//alternations per minute
fdash=100/60;//in Hz
S=fdash/f;//unitless
disp(S,"Slip : ");
Ns=120*f/P;//synchronous speed in rpm
N=Ns-Ns*S;//i... |
c09c0a29596fa5618cbb852b6f32064dbd05ac9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.1/Ex2_1.sce | 8b13744d3f022d0dfc21b48ebb4654dac90a947b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex2_1.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.1
//Given Data Set in the Problem
D=30/100
d=4.5/100
F=500
//Calculations
A_ram=%pi/4*D^2 //Area of ram
A_plunger=%pi/4*d^2 //Area pof plunger
P_plunger=F/A_... |
c23f5be4483e2aff746891452e91d9e7482ccdcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH7/EX7.10/7_10.sce | 20888683de93995b56f126016167347d00422858 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_10.sce |
clc
//initialisation of variables
clear
p1=750//lb/in^2
p2=680//lb/in^2
f=0.008
k=62.4
l=3000//ft
g=32.2
//CALCULATIONS
h=(p1-p2)*144/k
k1=h*2*g/(4*f*l)
v=(5280)^0.2
d=v*v/k1
//RESULTS
printf (' velocity of supply pipe= %.2f ft/sec ',v)
printf ('\n Diameter of supply pipe= %.3f ft ',d)
|
ce1758ad657313e39adb35adf9c74a1f9d531a30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.26/Exa_1_26.sce | 370cfcd30657fd857200d628e91d31445808a375 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_1_26.sce | //Exa 1.26
clc;
clear;
close;
format('v',6);
//Given Data :
m=1;//Kg
t=80;//degree C
mw=10;//Kg
t1=25;//degree C
delta_t=5;//degree C
t2=delta_t+t1;//degree C
Sw=4.187;//Kj/KgK
//m*S*(t-t2)=mw*Sw*(t2-t1)
S=mw*Sw*(t2-t1)/m/(t-t2);//Kj/KgK
disp(S,"Specific heat of metal in KJ/KgK : ");
|
6eaa3b651c62bfed66bbe13ac873889545511782 | 63d888492eb5760997d28f7e464620ab560589cc | /DataStoreTest/Src/C#/Level_1F/Level_1F/DataStore.tst | dfd28576fe3fc7f0ba4f6113de2b256f6f79a4d8 | [] | no_license | Samraksh/TestSuite | ef4ea58b7bf844d6263d52ad2a4fe2d91852bf48 | 5a2ad0157ff878e9460fc85d222191ce7dcd595f | refs/heads/master | 2022-10-28T22:51:33.354774 | 2020-03-10T18:29:06 | 2020-03-10T18:29:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | tst | DataStore.tst | COM_receive file enable testTemp\test_results.txt
sleep 1000
COM_send string start
sleep 30000
COM_receive file disable testTemp\test_results.txt
|
5b5e6376acbe5841c00dfa76f6f6a0ed12165063 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH2/EX2.5/example2_5.sce | b4f9a523495187f361189045cd638cdb20b4312f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | example2_5.sce | //clc()
F = 300;//N
a = 9.81;//m/s^2
m = F/a;//kg
disp("kg",m,"mass in kg = ")
lb = 4.535924/10;//kg
m1 = m/lb;
disp("lb",m1,"mass in pounds = ") |
6379f49e456e4805014eab159486316a159530e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH10/EX1.9/Ex_B_1_9.sce | bca21a6f173a1b2f45687deb63b41afb3aed5e3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Ex_B_1_9.sce | //Part B Ex 1.9
clc;clear;close;
format('v',6);
G1=20;//dB
G2=30;//dB
G3=40;//dB
Ap1=10^(G1/10);//Power Gain
disp(Ap1,"Power gain for 20 dB");
Av1=10^(G1/20);//Voltage Gain
disp(Av1,"Voltage gain for 20 dB");
Ap2=10^(G2/10);//Power Gain
disp(Ap2,"Power gain for 30 dB");
Av2=10^(G2/20);//Voltage Gain
disp(A... |
0684c62541598dcf0f5518f6fe97d6756e8d1b13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH5/EX5.2.b/Example5_2b.sce | 8d2c3223c8822590eeda441ebbeffe20ddb6b6f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,615 | sce | Example5_2b.sce | clear;
clc;
//Caption : Program to find transistor currents for npn transistor and check whether transistor is in saturation region or not after adding a Emitter Transistor.
//Given Values
//Silicon Transistor
Beta=100; //Beta
Rc=3;
Rb=50;
Re=2;
Vbb=5; //in V
Vcc=10; //in V
Vce=0.2; //in V
Vbe=... |
2d5694b2b6174e9d77404ea7b2b50960208e5c8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH11/EX11.6/Ex11_06.sce | b69b735575e965d0ad0fab8767799cc8e1e1576c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 803 | sce | Ex11_06.sce |
// Scilab Code Ex11.6: Page-418 (2014)
clc; clear;
r1 = 2.30e-002; // Radius of inner edge of storing region of CD-ROM, m
r2 =5.80e-002; // Radius of outer edge of storing region of CD-ROM, m
A = %pi*(r2^2 - r1^2); // Area of the usable region of CD-ROM, Sq.m
N = 700e+006*8; // Total number of bits i... |
6cd1c389bd0c4bce3faebc056a09cbc30986dbd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH2/EX2.1/eg2_1.sce | 7d675feeaf75f54732503de64bfd0df4f7cc32bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | eg2_1.sce | clear;
clc;
//i=p/v;
//a=i/alpha;
//vol=2*l*a;
//calculating itf or the 2 supplies 250V and 400V
//a=v2/v1;
a=.625;
sav=(1-a)*100;
printf("the percenatge saving in the conductor material is:%.2f per cent",sav);
|
d8b85f749da198a1756b5c343bbf6737b894194e | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH9/EX9.1/1.sce | 0e448e662957c73827745005ac3314686528b7c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 1.sce | clc;funcprot(0); //Example 9.1
//Initializing the variables
Vp = 10;
LpByLm = 20;
rhoPbyRhoM = 1;
muPbymuM = 1;
//Calculations
Vm = Vp*LpByLm*rhoPbyRhoM*muPbymuM;
disp(Vm, 'Mean water tunnel flow velocity (m/s):'); |
5bcb8b6d2909b42669b527b00e7c0e94132b3546 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH5/EX5.30/ex_5_30.sce | 17f88a29d72e2ffa5ac66b8cbd9099f1d1e263e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | ex_5_30.sce | // example 5.30
// evaluate the given double integral using the simpsons rule;
// I= double integral f(x)=1/(x+y) in the range x=[1,2],y=[1,2];
// 1)
h=.5;
k=.5;
deff('[w]=f(x,y)','w=1/(x+y)')
I=(1/16)*[{f(1,1)+f(2,1)+f(1,2)+f(2,2)}+2*{f(1.5,1)+f(1,1.5)+f(2,1.5)+f(1.5,2)}+4*f(1.5,1.5)]
// 2)
h=.25;
k=.2... |
ee125c727a64213b93646f41846f51c1115f2417 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH31/EX31.12/31_12.sce | e115a2b1edf38a343f982e1b3548eae2d7e227aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 31_12.sce | clear//
//Variables
C1 = 0.1 * 10**-6 //Capacitance (in Farad)
C2 = 1.0 * 10**-6 //Capacitance (in Farad)
C3 = 100.0 * 10**-12 //Capacitance (in Farad)
L = 470.0 * 10**-6 //Inductance (in Henry)
//Calculation
C = (1.0/C1 + 1.0/C2 +1.... |
a5148a5ab74a4c69ab3d94b90cd55db781a5c2a3 | da61229fdeb9703e2f3d8a7ff11c4cb8fe3c38bd | /T3/tst9_rv.2.tst | 1ec6bcd259f7b74ba204feddd86327ca818a2698 | [] | no_license | andreianghel/ACS | 152eb64c14064ff7c88a1afd64ea370445764996 | 837c2ec0265b8d0d9ab4008385fc25cf29e65e98 | refs/heads/master | 2021-05-27T18:25:12.818905 | 2013-03-19T17:12:30 | 2013-03-19T17:12:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | tst | tst9_rv.2.tst | x = 1
y = 2
z = 3
w = x + 2
v = x + y * z
u = x + y * y * z + z
u = u + 1 |
5421d0f45ffe0df2a35c6fe9e4cf172c9ea7f027 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_kiksnet_password.sci | 9581bf445ab15435b22408643ce011737ec1cb07 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,871 | sci | kiks_gui_kiksnet_password.sci | function [] = kiks_gui_kiksnet_passwor(title)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// !! L.3: Matlab function dialog not yet converted, original calling sequence used
h = dialog("Visible","off","PaperUnits","points");
// !! L.4: Matlab function set not yet converted, ori... |
51f628ba3a195ad35a2865980a517370b51cbb62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH12/EX12.3/12_3.sce | ecf0c2119dbcbad643157a527e96d103576e2c88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | 12_3.sce | clc
//initialisation of variables
h1=13.5//ft
h2=19.0//ft
h3=27.5//ft
c1=2.0*10^4//ft
c2=2.1*10^4//ft
c3=2.2*10^4//ft
//CALCULATIONS
H=h1+h2+h3//ft
C=c1+c2+c3//ft
//RESULTS
printf('the most economical distributions of the available head=% f ft',C)
|
c7104392a47d9b676b5e11127c0177eebf4e6289 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH13/EX13.2/13_2.sce | 06af7e065c236dc916abb093a9d20ab207097c25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | 13_2.sce | //Eg-13.2
//pg-523
clc
clear
//F = x^2*y = dy/dx
deff('[out] = func(in1,in2)','out = in1^2*in2')
y(1) = 1; //Initial condition
x(1) = 0;
z(1) = exp(x(1)^3/3);
h = 0.1;
printf('x yEuler yexact\n')
for(i = 1:10)
x(i) = 0.1*i;
y(i+1) = y(i) + h*func(x(i),y(i));
z(i... |
f8643fd36056e1dc609ea00552e2b8a98f404c66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH4/EX4.19/EX4_19.sce | 83eb4cce6cd0a49e2e70cfb3b8211c2bbdfa2a1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | EX4_19.sce | // Exa 4.19
format('v',6)
clc;
clear;
close;
// Given data
q = 1.6 * 10^-19;// in C
N_A = 3 * 10^20;// in /m^3
A = 1;// in µm^2
A = A * 10^-6;// in m^2
V = -10;// in V
V_J = 0.25;// in V
V_B = V_J - V;// in V
epsilon_o = 8.854;// in pF/m
epsilon_o = epsilon_o * 10^-12;// in F/m
epsilon_r = 16;
epsilon =... |
63ffb60c88a27de9470017d6377d5cec7e9b6d3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH11/EX11.14/11_14.sce | 16779a912428e781099b0c717d888ec27b6ebf25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | 11_14.sce | clc
//Initialization of variables
m=2362 //g
cp=1 //Btu/lbm F
T=0.83 //F
mass=0.1 //g
//calculations
Qm=m*cp*T/mass
Qv=-Qm
//results
printf("Heat transferred = %d Btu/lbm fuel",Qv)
|
d02f8b5ed2b201789165868e72e9b087a0d25509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /287/CH18/EX18.3/Exa18_3.sci | 506826b581700bb4fd82ad71ad8ce9d8d3d2aebf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sci | Exa18_3.sci | //Determine the traffic intensity
t = 120;
I = (2*t)/3600;
disp(I*36, 'Traiffic Intensity (in CCS)'); |
863b81a73ff970a431ecde6d797671d33b08b570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH2/EX2.2.1/CH02Exa2_2_1.sci | 2873cd1087da1f00779b5899059ee98c6efa2bb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,371 | sci | CH02Exa2_2_1.sci | // Scilab code Exa2.2.1 To calculate the binding energy of Ca(20,40) and %_age discrepancy : Page 66 (2011)
// For Ca(20,40), actual binding energy is ......
m_p = 1.007825; // Mass of proton, amu
m_n = 1.008665; // Mass of neutron, amu
Z = 20; // Number of protons
N = 20; // Number of neutrons
M_n = 39.962591;... |
af6bb8e68c1329b53b02ab57d0804488e7a1a7fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH9/EX9.4/9_4.sce | 17f02a191c99b0da863be6f9a23da4ce998877c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | 9_4.sce | clc
//initialisation of variables
h1= 3422.25 //kJ/kg
m= 8 //kg/s
s2= 7.3755 //kJ/kg K
s1= 6.8803 //kJ/kg K
e= 0.8
h2s= 2496.8 //kJ/kg
//CALCULATIONS
h2= h1+e*(h2s-h1)
W= m*(h1-h2)
S= s2-s1
//RESULTS
printf (' \n Enthalpy = %.1f kW',W)
printf (' \n Entropy = %.4f kJ/kg K',S)
|
82dcdf4c486d6dd0c0cd26a7750f0623410095a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH9/EX9.6/9_6.sce | febef31b739213eae425cf34920aa9f5057bcbee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | 9_6.sce | // example:-9.6,page no.-498.
// design a low pass filter for fabrication using micrstrip lines.
disp("from table,the normalized low pass prototype element values are = ")
L1=3.3487;C2=0.7117;L3=3.3487;Rl=1.0000;
n=1+(1/3.3487);
disp(L1)
disp(Rl)
disp(C2)
disp(L3)
disp(n) |
f03765ab5466d5ae6313cfbfbdc1e088a706076e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH6/EX6.4/Ex6_4.sce | 87530ec6aabc3ef7b2d539424cfed5a1b02061d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Ex6_4.sce | // Exa 6.4
clc;
clear;
// Given
// Referring Fig 6.42 to get expression for unknowns Rs and Ls
// Solution
printf('It is a bridged-T network. At balance,Z1+Z3+ Z1*Z3/Z2 = 0 \n ');
printf('Z1 = 1/jwC \n ');
printf('Z3 = 1/jwC \n ');
printf('Z2 = R \n ');
printf('Z4 = Rs+jwLs \n ');
printf('substit... |
36d109cf86e3c6f2f6471ff66ccad1b50c4e7c28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH1/EX1.3/Ex1_3.sce | a8993a58e905fd665c30a5a8be63ae15c6d99760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Ex1_3.sce | // Exa 1.3
clc;
clear;
// Given
// A 3_1/2 digit DVM
V = 19.99; // Max voltage in Volts
// Solution
printf('The maximum number of counts that can be made with 9 3_1/2 digit DVM is 1999 \n The samllest change in input that can be measured is 1 count \n');
// 1 count in volts corresponds to resolution ... |
0337dff1628fb6ca11b2e136dd4670843f58541a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH13/EX13.11/Ex13_11.sce | 114b6c9aba25cc2a151b6e023e63839d996ab186 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | sce | Ex13_11.sce |
// Given:-
// Methane is formed from carbon and hydrogen according to
// C + 2H2 ----- CH4
// In the present case, all substances are at the same temperature and pressure, 25C and 1 atm, which correspond to the standard reference state values
hCbar = 0
hH2bar = 0
gRbar = 0
// With enthalpy of formation and absolute... |
ad2cce064c3ecd5399f8a11774297e5dfd9b65d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH8/EX8.7/Ex8_7.sce | d03f9d41c9fce1481a08f30a0f642502df00043f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_7.sce | clc
//Chapter8
//Ex_7
//Given
N=500 //no.of turns
B=5 //in Tesla
l=1 //in m
r=10^-3 //in m
uo=4*%pi*10^-7 //in H/m
d=10*10^-2 //in m
I=(B*l)/(uo*N)
disp(I,"current in Amperes is")
E_vol=B^2/(2*uo)
v=%pi*l*d^2/4
E=E_vol*v
disp(E,"Energy stored in the solenoid in joules is")
|
c82ec609d052e180987da75c87e1e93dc458b304 | 19eb97436a3be9642517ea9c4095fe337fd58a00 | /private/shell/browseui/shellurl.tst | da3dbca9b5844fc6f4ed04f23f49bc4fd2f380f2 | [] | no_license | oturan-boga/Windows2000 | 7d258fd0f42a225c2be72f2b762d799bd488de58 | 8b449d6659840b6ba19465100d21ca07a0e07236 | refs/heads/main | 2023-04-09T23:13:21.992398 | 2021-04-22T11:46:21 | 2021-04-22T11:46:21 | 360,495,781 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,627 | tst | shellurl.tst | BVT Check-in Test Cases for ShellUrl parsing:
1. Absolute Shell Urls:
===========================================
1.1 Navigation:
-------------------------------------------
desktop
desktop/
/desktop
/desktop/
\desktop
\desktop/
desktop
desktop/
/desktop
/desktop/
\desktop
\deskTop/
My compUter <A... |
9a0bac9ccbc62415dcc45d925baf1b634bc89314 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH7/EX7.4b/eg7_4b.sce | f6eaba5fc75097e9dc1f30ce19ef5613aa315d07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 844 | sce | eg7_4b.sce | tech1 = [140 136 138 150 152 144 132 142 150 154 136 142];
tech2 = [144 132 136 140 128 150 130 134 130 146 128 131 137 135];
num1= 12;
num2= 14;
mean1= mean(tech1);
mean2= mean(tech2);
//disp(mean1)
//disp(Sp)
alpha = 0.9;
S1 = variance(tech1) //*num1/(num1-1);
S2 = variance(tech2) // *num2/(num2-1);
Sp = (... |
5ed1783ca42150b131ab86b379e6950a0b3ef425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH9/EX9.1/9_1.sce | 493d71abcc02bfce8606dd7a322c3cd4014bb9c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_1.sce | //clear//
clc
clear
exec("9.1data.sci");
t = 0:10:1500;
function w=f(t,x)
w =zeros(1,1);
t1=535+90.45*x
k= .000273*exp(16306*((1/535)-(1/t1)));
w(1)=k*(1-x)
endfunction
X=ode([0],t0,t,f);
T=535+90.45*X;
scf(1)
plot2d(t,T);
xtitle( 'Figure E9-1.1', 't (Seconds)', 'T (oR)' ) ;
scf(2)
plot2... |
04929ba62102f34c5e57acaca05c878bc07ac0fa | 2157e5477a68100718fef686429f6ab2d846fffe | /macros/mps_linprog.sci | eec27cee12243713eb56866fedf8fb94570f1866 | [] | no_license | sidn77/FOSSEE-Optimization-toolbox | 44ca727e3f2dff5b61b43384421ae9e633d95bb1 | 58416c0613131665e14c0143791fb1f305c411e0 | refs/heads/master | 2021-01-11T04:58:15.068871 | 2016-09-29T11:31:12 | 2016-09-29T11:31:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,786 | sci | mps_linprog.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// Author: Bhanu Priya Sayal, Guru Pradeep Reddy
// Organization: FOSSEE, IIT Bombay
// Email:bhanupriyasayal@gmail.com,gurupradeept@gmail.com
// This file must be used under the terms of the BSD.
// This source file is licensed as described in the file LICENSE, which
// y... |
ee6f92243ad7573359e20df497e8e497fa90fc15 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2mb/test_6.sce | 22aa8bd5bdb57f2bde34f31cf98fd3a70e91ad2c | [] | 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 | 244 | sce | test_6.sce | // Test # 6 : Input Argument #2 is of complex type
exec('./allpasslp2mb.sci',-1);
[n,d]=allpasslp2mb(0.33,%i);
//!--error 10000
//Wt must be vector and real
//at line 45 of function allpasslp2mb called by :
//[n,d]=allpasslp2mb(0.33,%i)
|
59bd7294d64aaddfa38ade53ad2c5710de0ce0d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH10/EX10.2/ch10_2.sce | 31a56a23dd6c0ded931dc4202738f4e055b4b65f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | ch10_2.sce | // Determine the settings of the tap changers required to maintain the voltage of load bus bar
clear
clc;
l1=150;
tstr=1;
load2=72.65;
R=30;
P=(l1*(10^6))/3;
X=80;
Q=(load2*(10^6))/3;
Vs=(230*(10^3))/sqrt(3);
Vr=Vs;
ts2=1/(1-(((R*P)+(X*Q))/(Vs*Vr)));
ts=sqrt(ts2);
mprintf("ts=%.2f p.u\n",ts);
|
4f12c34316050b67c54564685295f8101c4216ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH12/EX12.12/12_12.sce | 48b439a152294053795c3c52c33565799459d8c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | 12_12.sce | clear
clc
disp('Exa-12.12');
m238U=238.050786; //mass of various quantities
m206Pb=205.974455;
m4He=4.002603;
c2=931.5; //constants
Na=6.023*10^23; //avagadro's number
Q=(m238U-m206Pb-8*m4He)*c2;
t12=(4.5)*10^9*(3.16*10^7); //half life years to seconds conversion
w=0.693/t12; // lamb... |
8a59d5142720950f716bc633ae495fe5522438a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH19/EX19.17/Ex19_17.sce | c6a8814da93a8af6c4245684a96d833e2dc41fa9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 914 | sce | Ex19_17.sce | b=400//in mm
D=500//in mm
Pu=1600//in kN
Mux=90//in kN-m
Muy=50//in kN-m
fck=15//in MPa
fy=415//in MPa
p=1.5//assume 1.5% steel, placed on four sides
m=p/fck
c=50//cover (assume), in mm
//to find Mux1
n=c/D//n=d'/D
l=Pu*10^3/fck/b/D
//referring to Fig.19.20, for Pu/ fck/ b/ D = 0.53 and p/ fck = 0.1
f=0.0... |
264f02476508961bf6277928a187465e61ac2235 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH22/EX22.9/Ex22_9.sce | 13a64b8e8ca9368f2ee80b48275f587f5c9778e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,578 | sce | Ex22_9.sce | //Variable declaration:
po = 53*16.0185 //Density of oil (kg/m^3)
co = 0.46*4186.7 //Heat capacity of oil (J/kg. C)
pi = %pi
muo = 150/1000 //Dynamic viscosity of oil (kg/m.s)
ko = 0.11*1.7303 //Thermal conductivity of oil (W/m. C)
qo = 2883... |
b5207e2473c79328a9aec8f753d044357b4e25c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH9/EX9.05/9_05.sce | 16887865a47323fcfddf7c7b09828061cd41a5a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,381 | sce | 9_05.sce | //pathname=get_absolute_file_path('9.05.sce')
//filename=pathname+filesep()+'9.05-data.sci'
//exec(filename)
//Pressure at state 1(in bar):
p1=1
//Pressure at state 2(in bar):
p2=6.2
//Pressure at state 3(in bar):
p3=6.2
//Pressure at state 4(in bar):
p4=1
//Temperature at state 1(in K):
T1=300
//Fuel by a... |
527c50a6687fdd91b6886f2d78672454fd326d05 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.19_1.tst | 3719c94ab056690ce0d8c7d6bed6439cd6e53389 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 421,358 | tst | 5.19_1.tst | 19 555:1 1203:1 1354:1 1460:1 1745:1 1982:1 2005:1 2083:1 3444:1 3830:1 4244:1 4350:1 4628:1 4736:1 5019:2 5029:1 5059:1 5223:1 5313:1 5409:1 6000:1 6376:1 7114:1 7162:1 7652:1 8114:1 8172:7 8556:1 9002:1 9400:1 11124:1 11142:1 11282:1 11284:1 12634:1 12647:1 13103:1 13487:1 14135:1 14276:1 15273:1 15618:85 15771:1 159... |
ae7e29e0e910cf70b5e1c6123c82aebd13d3f398 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH4/EX4.13/EX4_13.sce | 5dc4b43d3f212ad7959b93632cb43b0a122b864b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX4_13.sce | // Exa 4.13
format('v',6)
clc;
clear;
close;
// Given data
I_o = 10;// in nA
// I = I_o * ((e^(v/(Eta * V_T))) - 1) as diode is reverse biased by large voltage
// e^(v/(Eta * V_T)<< 1, so neglecting it
I = I_o * (-1);// in nA
disp(I,"The Diode current in nA is ");
|
7cc33609f07078ad37688af17f338b1c58fbe64b | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV27.prev.tst | ef75258c4d50c7a2d7d46ac0b32b54b469673f13 | [
"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,416 | tst | BV27.prev.tst | [1,2,3,4,5] >> 6 =
shift by -6
icol=0 sum= 0 + this(0)=1 * dipows(0)=1 * binoms(0)=1
icol=1 sum= 1 + this(1)=2 * dipows(1)=-6 * binoms(1)=1
icol=2 sum= -11 + this(2)=3 * dipows(2)=36 * binoms(2)=1
icol=3 sum= 97 + this(3)=4 * dipows(3)=-216 * binoms(3)=1
icol=4 sum= -767 + this(4)=5 * dipo... |
099e307a2afcb2af79204e53b51fd4c4e53c98fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH4/EX4.8/Example_4_8.sce | 8164a069430588cf34ad29602f2872f5eedbf911 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | sce | Example_4_8.sce | //Chemical Engineering Thermodynamics
//Chapter 4
//Second Law of Thermodynamics
//Example 4.1
clear;
clc;
//Given
//Basis: 1 Kg of steam
//P1 = 30;Intial pressure in Kgf/cm^2
//P2 = 3;Final pressure in Kgf/cm^2
//T = 300;//Operating temperature
//From figure A.2.8,
H1 = 715;//Initial enthalpy of steam... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.